CN106126569A - A kind of rapid data method of servicing and system - Google Patents

A kind of rapid data method of servicing and system Download PDF

Info

Publication number
CN106126569A
CN106126569A CN201610436679.8A CN201610436679A CN106126569A CN 106126569 A CN106126569 A CN 106126569A CN 201610436679 A CN201610436679 A CN 201610436679A CN 106126569 A CN106126569 A CN 106126569A
Authority
CN
China
Prior art keywords
data
page
user
metadata
field
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
CN201610436679.8A
Other languages
Chinese (zh)
Other versions
CN106126569B (en
Inventor
王刚
顾翔宇
袁毅
谢慧
孙振兴
Original Assignee
Nanjing Le Yunle 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 Nanjing Le Yunle Technology Co Ltd filed Critical Nanjing Le Yunle Technology Co Ltd
Priority to CN201610436679.8A priority Critical patent/CN106126569B/en
Publication of CN106126569A publication Critical patent/CN106126569A/en
Application granted granted Critical
Publication of CN106126569B publication Critical patent/CN106126569B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/248Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention relates to a kind of rapid data method of servicing and system, the method configures metadata for business object, thus when the page shows, metadata is resolved by backstage, obtain concrete business datum, and back page, the data that backstage is resolved by foreground are illustrated on the page by page presentation resolving.The present invention, by the way of page configuration, can quickly build data query and safeguard the page, it is possible to the carrying out of fraction limit is inquired about and safeguard, has good maintainability and extensibility.

Description

A kind of rapid data method of servicing and system
[technical field]
The invention belongs to computer realm and database field, particularly relate to a kind of rapid data service based on metadata Method and system
[background technology]
In existing data management field, it usually needs the merits such as data maintenance, workflow examination and approval, complex data computation are provided Energy.Wherein, data maintenance work accounts for ratio greatly.And, during the data maintenance in later stage, due to demand Change, causes often occurring that field increase and decrease, display change, increase the requirements such as source of new data maintenance.Especially in business the most not In stable industry, this situation is commonplace, causes the system expandability poor, difficult in maintenance.
In prior art, there are two kinds of solutions for the problems referred to above: the first is in the process of construction of data system Reserve a little field as standby more, but this processing method is limited for the number of reserved field eventually, it is impossible to deal with Large batch of field changes, and there is the situation of data redundancy, wastes resource, in use contains for reserved field Justice display is the most directly perceived.The second is based on new demand and again customizes data system, and current most situation is all Can make in this way, but only to being introduced into the data system of maintenance phase, customization is just understood relatively easy, and for having entered For entering to safeguard the system of phase, customization can bring practical operation difficulty, cycle length, affect the problems such as original system is stable;If Being system newly developed, multiple customizations will form a main system, and multiple aid systems share the situation of a business library, greatly The difficulty that the adding system that increases is safeguarded.
In a word, solution of the prior art or there is data redundancy and the unsharp problem of reserved field implication, Or the problem that there is subsequent expansion difference and not easy care.Therefore the solution of a kind of new data management is needed badly.
[summary of the invention]
In order to solve the problems referred to above of the prior art, the present invention proposes a kind of rapid data method of servicing and system.
The technical solution used in the present invention is as follows:
A kind of rapid data method of servicing, the method comprises the steps:
1) each business object in metadata definition data service system is used, including the metadata of the table of business object Information and data detail metadata information;
2) when receiving the page request that user sends, from this page request, business object id of request operation is obtained Subscriber group information with this user place;
3) according to described business object id, function and filtercondition that corresponding service object provides are obtained;
4) according to described subscriber group information, function and the filtercondition of this user group is obtained;
5) result acquired in combining step 3 and 4, thus obtain this user can function and filtercondition;
6) the data detail metadata information that this business object is corresponding is obtained;
7) according to data detail metadata information, resolve the default value of each field, the range of choice, page interrogation condition and Sequence;
8) result obtained according to step 5-7, builds data query statement, performs data query in associated databases, Thus obtain the data that this business object is corresponding.
9) according to the metadata information of this business object, and step 5-8 obtain result and data, resolve generate table Lattice, list, button and query page.
Preferably, also include by menu management, Role Management, user organizes management and authority is set up in data rights management System;Wherein,
Described menu management includes bouquet, concrete business and module three-stage menu, configurable specifically used in module Business object, the metadata that associated configuration is good, thus form menu tree, character personality dish can be built on the basis of this menu tree Dan Shu;
Described Role Management has the role of different rights can to different user's distribution, and described role can be self-defined;
Described user organizes management and includes static group and dynamic group both of which, and described static group is by adding that system provides Adding method, adds user's group to by system user, and described dynamic group is by the way of configuration querying condition, from system user Draw a circle to approve user dynamically, add access customer group;
The management of described data permission is role to be associated with data permission, described data permission comprise the authority of table with Field authority, wherein the authority of table comprises the increase to table, deletes, revises, inquires about and go filtration authority, and it is right that field authority comprises Whether the field of this table has access rights.
Preferably, the described generation form that resolves includes adding the metadata of every for form string to a metadata one by one In object array, a corresponding object of field, video data based on this object array and acquisition generates form.
Preferably, the described generation list that resolves comprises the following steps:
A) open the dialog box of forms pages, and generate an empty form;
B) for each field of list, corresponding page control is generated according to its display styles;
C) metadata will be converted into page elements about the definition that the page is relevant;
D) obtain the range of choice, i.e. for there being the field of the range of choice, load corresponding selection according to range of choice index Scope.
E) trigger event of linkage between load field.
F) obtain the default value of each field and carry out page filling.
Present invention also offers a kind of rapid data service system, this system includes:
Metadata configurations module, for using each business object in metadata definition data service system, including industry The metadata information of the table of business object and data detail metadata information;
Metadata parsing module, for when receiving the page request that user sends, obtaining from this page request please Ask business object id of operation and the subscriber group information at this user place;According to described business object id, obtain corresponding service pair As the function provided and filtercondition;According to described subscriber group information, obtain function and the filtercondition of this user group;Merging obtains The result taken, thus obtain this user can function and filtercondition;According to data detail metadata information, resolve each word Default value, the range of choice, page interrogation condition and the sequence of section;Build data query statement, associated databases performs number It is investigated inquiry, thus obtain the data that this business object is corresponding.
Page presentation parsing module, for the metadata information according to this business object, and metadata parsing module obtains The result obtained and data, resolve and generate form, list, button and query page.
Preferably, this system also includes authority management module, and this authority management module includes menu management module, Jiao Seguan Reason module, user organize and manage module and data authority management module, wherein,
Described menu management module is used for managing bouquet, concrete business and module three-stage menu, configurable tool in module The business object that body uses, the metadata that associated configuration is good, thus form menu tree, angle can be built on the basis of this menu tree Color individual character menu tree;
Described Role Management module has the role of different rights can to different user's distribution, and described role can make by oneself Justice;
Described user organizes management module and includes static group and dynamic group both of which, and described static group is to be provided by system Adding method, system user is added to user's group, described dynamic group is by the way of configuration querying condition, from system use Family is drawn a circle to approve user dynamically, adds access customer group;
Described data permission management module is for being associated role with data permission, and described data permission comprises table Authority and field authority, wherein the authority of table comprises the increase to table, deletes, revises, inquires about and go filtration authority, field authority Comprise whether the field to this table has access rights.
The beneficial effect comprise that by the way of page configuration, can quickly build data query and maintenance The page, it is possible to the carrying out of fraction limit is inquired about and safeguard.Owing to its configuration is all carried out on the page, there is good safeguarding Property, and when certain data field needs to adjust, it is possible to modify by configuring, immediately come into force, solve and be difficult to extension Problem.Meanwhile, all of data query and safeguard the page share one resolve the page, resolve the page adjust after, all of data Inquire about and safeguard that the page all can change accordingly, also bringing conveniently to system maintenance.
[accompanying drawing explanation]
Accompanying drawing described herein is used to provide a further understanding of the present invention, constitutes the part of the application, but It is not intended that inappropriate limitation of the present invention, in the accompanying drawings:
Fig. 1 is the metadata resolving of the present invention;
Fig. 2 is authority models graph of a relation of the present invention;
Fig. 3 is present system overall logic frame diagram;
Fig. 4 is that student personal data is checked and the graph of a relation of maintenance platform Yu other operation systems;
Fig. 5 is that student personal data is checked and maintenance platform function structure chart.
[detailed description of the invention]
The present invention is described in detail, illustrative examples therein and saying below in conjunction with accompanying drawing and specific embodiment Bright being only used for explains the present invention, but not as a limitation of the invention.
The present invention during the rapid build to data service system, use metadata as the basis of data, services, Data object is defined by configuring metadata.
The specific embodiment of table that use metadata to define business object be presented herein below:
Field name Implication
Table English name Addressable table name in data base
Table display Name This table is in the business object title of interface display
Whether there is increase button Whether this table provides increase function
Whether there is deletion button Whether this table provides deletion function
Whether there is amendment button Whether this table provides amendment function
Whether use Whether this table is continuing with
Filtercondition This table in subsequent process, the filtercondition of operated scope of data
Detailed for data, the following is detailed concrete of the data using metadata to define a field of business object Embodiment:
By the metadata in above-mentioned data list, the present invention is made that specific definition, wherein to a field:
Field is English: need consistent with the field name in data base.
Whether show: if NO, then on the page, do not show this field.
Default value: default value uses the mode of two tuples to be defined, i.e.<type, value>, wherein type include fixed value, Variable;Fixed value represents that its value is a fixing character, as a line illustrates or a line in choice box;Variable then represents it Value is for dynamically obtain, and system provides conventional variable expression way, Dynamic expansion, such as variable curdata can represent and work as On the front date, variable uid represents that random id, variable curuser represent the ID of login user, etc..
Display styles: use the interface plug-in unit element of the present invention to be defined, then uses textbox such as text, and combobox is then Use combobox to represent, during page parsing, will resolve according to this.
Linkage field, linked manner and linkage condition are for carrying out in forms pages the table of the incidence relation between field Stating, linkage field needs the field that this business object is internal, and linked manner has style, select mode, and style represents style Linkage, such as, be set to read-only by linkage field, and select represents that choice box links, and linkage condition is then expressed as two comboboxs The incidence relation of middle content, when a field needs to link multiple field, the above three of this field is about the field of linkage All available array represent.
Whether offer is inquired about: represent whether this field provides query function.When a business object has at least one word Section provides query function, then on the page of display, it is provided that general polling function.Inquiry is provided, then if none of field Query function is not provided;.
Whether major key: being used for defining whether this field is major key, it is all main for can having multiple field in same business object Key, thus form associating major key, when a business object neither one major key, its additions and deletions provided change function and will carry Show.
Ascending order/descending: define whether this field participates in page tabular sequence, if sequence, which kind of sort method of use, Optionally there are ascending order, descending.
The range of choice: use the form of select, define the drop-down content in this field combobox, taking of this drop-down content Value is fixed as two fields, id (i.e. the identifier of content) and value (occurrence of content).
Above-described embodiment completes the configuration of metadata by two tables, when business object is increased and decreased by needs, just Can increase and decrease by the way of for this business object configuration metadata.
On the basis of the metadata of configuration, metadata can be resolved by the data, services of the present invention, thus obtains And show corresponding business object.Specifically, after metadata configurations completes, when certain user send a page display please When asking, need on the basis of metadata is resolved, obtain concrete business datum, and return the corresponding page. Basic process includes:
1) from the request of the page, obtain the id of the business object of request operation, the page number of display and current number of pages, send out Go out the subscriber group information at the user place of request;
2) according to described business object id, business object is resolved;
3) according to described business object id, the data detail of business object is resolved;
4) according to above-mentioned analysis result, build data query statement, associated databases performs data query, thus obtains Take the data that business object is corresponding.
See accompanying drawing 1, it illustrates concrete resolving:
Wherein above-mentioned steps 2 includes:
2.1) function and the filtercondition that business object provides is obtained, concrete, according to business object id, from business object In corresponding metadata configurations table, obtain overall row filtercondition, the table name of business object or view name, business object provides Button name, pushbutton method;
2.2) role is obtained to the function of business object and filtercondition, concrete, according to the subscriber group information of role, obtain Take the row filtercondition of this user group, and button name, corresponding pushbutton method.
2.3) step 2.1 and 2.2 results obtained are merged, thus obtain this user can final row filtration Condition, button name and pushbutton method.
Above-mentioned steps 3 includes:
3.1) detailed configuration information is obtained.Specifically, the data detail metadata information that business object is corresponding is obtained.
3.2) according to detailed configuration information, the default value of each field is first resolved, if default value is fixed value, the most directly Connecing and value taken out, if default value is variable, then the method calling correspondence obtains the occurrence of variable, and is assigned to default value word Section.
3.3) according to detailed configuration information, the range of choice of each field is resolved.For there being the field of the range of choice, obtaining After taking the select statement of the range of choice, this statement is put in array, and record array position.Resolve in all fields After, batch performs the select statement in array, obtains the range of choice of each field.Subsequent page can be according to array bit Put, obtain drop-down selection content.
3.4) according to detailed configuration information, page interrogation condition is resolved.Specifically, if there being field to provide querying condition, Then obtain field English name and the field display Name of this field, and form the two-dimensional array of a querying condition.
3.5) according to detailed configuration information, sequence is resolved.Concrete, if there being field to provide sequence, then according to this field Name and ordering rule, form sort by.
The concrete steps of above-mentioned steps 4 include:
4.1) according to resolve obtain table or view name, row filtercondition, sort by, and the page needed for number of pages and The line number of every page of display forms query statement, after performing this query statement, takes out data;
4.2) detailed according to resolving the data obtained, obtain the data that in table, data item is corresponding one by one, according to these data Build and back page.
By the parsing to metadata, following data can be transmitted in backstage to foreground, and foreground is based on the following data construct page:
1) button information, including button noun, button icon, method that button is corresponding.
2) whether data managing detailed catalogue, including field English name, display Name, show, display styles, sort, select model Enclose, whether can be sky etc..
3) available querying condition array, in array, each element includes field English name and the display name providing inquiry Claim.
4) number of pages and every page of display line number.
5) data message, including the concrete data that each field is corresponding, i.e. the data message of display on the page.
6) range of choice, the range of choice includes multiple index, the number of the corresponding field having the range of choice of each index Group, described array is the array acquired in above-mentioned steps 3.3.
After completing resolving, foreground uses the page to show parsing, page presentation resolving according to analysis result Data after mainly being changed on backstage, are illustrated on the page by the way of parsing.The corresponding page of a set of page layout, What all of data maintenance page all accessed is the same page.The page contains the analytical function of JS.The layout of data maintenance Mainly comprise form, list, button and query page, sequentially generate in page presentation resolving, specifically comprise the following steps that
1) generation form is resolved.
The metadata of the every string generated on backstage is added in the object array of a metadata one by one, a field pair Answer an object;For there being the field of drop-down selection, having display format attribute in its object, this attribute is relevant process letter Several, this process function is mainly indexed by the drop-down range of choice of this field and finds the range of choice, then according to selecting model The value enclosed obtains show value.
Based on the object array after processing with from the video data obtained with backstage, adopting form structure interface, generate table Lattice.It addition, foundation backstage resolves the current page obtained, every page of display line number, total line number are called and constructed interface accordingly, generate table Lattice page-turning function, and load the trigger event function of page change.
2) generation button is resolved
Button name based on backstage acquisition, the method that button icon is corresponding with button, call buttons structure interface, generate Button.
3) generation query page is resolved
Query page is mainly made up of three parts, one be inquiry field, one be inquiry relation, finally be inquiry in Hold.Inquiry field is based on the list of fields filling of the provided inquiry that backstage generates, and acquiescence is " not limiting ", the most all fields Inquiry.Inquiry relation is fixing, has " comprising ", " being equal to ", " being more than ", " being less than ", acquiescence to use " comprising ";Inquiry content is Text box.
Inquiry is containing two kinds of inquiry modes, and the when that one being to inquire about field for not limiting, inquiry content is an entirety, right The all of field providing inquiry is retrieved according to inquiry content;Another kind is when inquiring about field and being a certain fixed field Waiting, inquiry content can be separated with space, uses multiple queries content to retrieve simultaneously.
4) generation list is resolved
The parsing of metadata is completed by the display of list mainly in accordance with backstage, and page layout can use two fixing hurdles Formula.Comprise the steps of
4.1) open the dialog box of forms pages, and generate an empty form;
4.2) for each field, corresponding page control is generated according to its display styles;
4.3) metadata will be converted into page elements, such as about the definition that the page is relevant: if it is yes for whether must filling out When, corresponding page elements is arranged to readonly=true.
4.4) obtain the range of choice, i.e. for there being the range of choice, load corresponding selection model according to range of choice index Enclose.
4.5) trigger event of linkage is loaded.
4.6) obtain the default value of each field and carry out page filling.
5) push button function
For button, the present invention mainly provides increase on the page, deletes, revises three kinds of buttons, three kinds of button correspondences Operation consistent with common operational approach, from the page, i.e. obtain number, carry out data manipulation by major key.
In above-mentioned resolving, the subscriber group information that the present invention is directed to user role is resolved, the most actually Also need to the authority of each user is allocated management.Authority allocation manager is mainly the configured addressable page, presses It is allocated according to authority system, in order to fraction limits many people and uses data.See accompanying drawing 2, authority system be divided into menu, role, User's group and data permission are controlled.
Menu management:
The system of the present invention provides three-stage menu.Wherein, first order menu is bouquet, returning of the most multiple similar traffic Class, Level-2 menu is concrete business, the most corresponding each business, and Level-3 menu is module, the concrete mould under the most each business Block.Module configures specifically used business object, the metadata that associated configuration is good.Material is thus formed a menu tree.So After, on the menu tree that system is overall, can pull for the role defined, form the individual character menu tree of this role, use On the page being illustrated in correspondence.
Role Management:
Role Management is the core of rights management, and role is not that system is customed, but can be self-defining, from And join the role with different rights can to different user's components.Entered with menu, user's group and data permission by role Row association, it is achieved authority is distributed.
User organizes management:
User organizes and supports static group and dynamic group both of which in management.Static group refers to the interpolation side provided by system Method, adds from system user;Dynamic group is then by the way of configuration querying condition, draws a circle to approve use from system user dynamically Family.User's group is by realizing control of authority with associating of role.
Data permission manages:
Data permission management is role to be associated with data permission, and data permission comprises authority and the field power of table Limit.Wherein the authority of table comprises the increase to table, deletes, revises, inquires about and go filtration authority, and field authority comprises this table Whether field has access rights.After arranging, play a role in metadata resolving.Form different roles to see according to authority To different data.
In system processing procedure, after user logs in, it is necessary first to select user's group, after user organizes and selectes, it can The menu corresponding to role that can comprise and data permission can merge display.
Seeing accompanying drawing 3, it is combined with the system overall logic frame diagram of authority, as it can be seen, the power of present system Limiting mode is relatively-stationary, but concrete data are then based on what business determined, as there being how many menus on menu tree Then it is based on what business determined.Based on above-mentioned logical framework, the rapid data clothes of the present invention can be built by following 5 steps Business system,
1) determine business datum, can be existing table or attempt in data base, it is also possible to be table that is newly created or that import;
2) metadata definition of business datum is carried out;
3) it is the newly-built or selected role of user;
4) it is the newly-built or selected user's group of user and menu;
5) configuration role and user's group, menu and the relation of data permission.
Implement case: student personal data is checked and maintenance platform
In colleges and universities, it is generally the case that the related data of student leaves in multiple relevant operation system, lack one Unified checks place, and the most multiple operation systems are the most all collecting the personal information of student, and student to tie up in multiple systems Protect, and data exist substantial amounts of inconsistence problems.For solving this problem, need to build student personal data and check and safeguard flat Platform, meanwhile, the business in operation system is ever-increasing, and the content that the personal information of student is collected also is constantly to adjust, These situations bring the requirement of maintainability and extensibility to platform construction.
Using the present invention to build student personal data maintenance platform, run into during well solving platform construction can Maintainability and the demand of extensibility.Specifically, data are divided into two classes, a class to be to need student to fill in, and then pass through data The mode shared shares to the data that other operation systems use;One class then obtains from different business systems, for student The unified data checked.
The graph of a relation of platform and other operation systems as shown in Figure 4, wherein, passes through between platform and other operation systems Data sharing instrument carries out the exchange of data, and exchange is two-way, as a example by learning work system, learns deciding on awards through discussion of work system generation and appraises and chooses excellent Data are synchronized in platform by shared instrument, and platform interior has the table of the list structure that it is identical, deposit the data synchronizing to come, These part data only limit student and inquire about use;Meanwhile, platform interior deposits the height of the natural information of student, such as student, body Weight, telephone number etc., this partial information will exchange to learn in work system by data sharing platform.
At platform interior, its function structure chart as it is shown in figure 5, wherein, is divided into three parts in data base, one is business number According to metadata configurations information, two be authority configure data, three is business datum.
Being divided into four classes in module, one is metadata configurations management, has the configuration of data object and data object detail to join Put;Equations of The Second Kind is authority configuration management, mainly have user to manage, user organizes management, Role Management, data permission management, menu Management;3rd class is that data check generic module, is divided into according to data that student data is checked, educational administration's data are checked, all-purpose card Data are checked, book borrowing and reading is checked, its number of modules, according to metadata and authority configuration data genaration, its module only has inquiry unit Point, do not have additions and deletions to change button;4th class is that information makes a report on class, mainly have individual essential information to make a report on, outside school winning information make a report on, Contact method is made a report on, employment intention is made a report on.Wherein, individual's essential information can only be revised in making a report on can not increase and delete, disappears Breath winning information then can change with additions and deletions look into, the data of contact method be then everyone give tacit consent to mobile phone, dormitory, qq, mailbox, wherein In addition to dormitory, can only revise, dormitory is read-only information.Employment intention is then to provide employment intention to select towards graduate, most Information belongs to the choice box of band combobox.
Checking and safeguard in data in the page, the data permission configuration of student needs additional description, and the most each student can only Checking and safeguard the information of oneself, it is achieved in that on the data permission of role, is realized by definition line filtercondition.? Row filtercondition uses the variable (login ID) pre-defined, in metadata resolving, by replacing the side of variable Method, thus reach only to take out the data of this student.
The above is only the better embodiment of the present invention, thus all according to the structure described in present patent application scope, The equivalence that feature and principle are done changes or modifies, in the range of being all included in present patent application.

Claims (8)

1. a rapid data method of servicing, it is characterised in that the method comprises the steps:
1) each business object in metadata definition data service system is used, including the metadata information of the table of business object With data detail metadata information;
2) when receiving the page request of user's transmission, from this page request, obtain business object id of request operation and be somebody's turn to do The subscriber group information at user place;
3) according to described business object id, function and filtercondition that corresponding service object provides are obtained;
4) according to described subscriber group information, function and the filtercondition of this user group is obtained;
5) result acquired in combining step 3 and 4, thus obtain this user can function and filtercondition;
6) the data detail metadata information that this business object is corresponding is obtained;
7) according to described data detail metadata information, resolve the default value of each field, the range of choice, page interrogation condition and Sequence;
8) result obtained according to step 5-7, builds data query statement, performs data query in associated databases, thus Obtain the data that this business object is corresponding.
9) according to the metadata information of this business object, and step 5-8 obtain result and data, resolve generate form, table List, button and query page.
Method the most according to claim 1, it is characterised in that also include organizing pipe by menu management, Role Management, user Authority system is set up in reason and data rights management;Wherein,
Described menu management includes bouquet, concrete business and module three-stage menu, configurable specifically used business in module Object, the metadata that associated configuration is good, thus form menu tree, character personality menu can be built on the basis of this menu tree Tree;
Described Role Management joins the role with different rights can to different user's components, and described role can be self-defined;
Described user organizes management and includes static group and dynamic group both of which, and described static group is the interpolation side provided by system Method, adds user's group to by system user, and described dynamic group is by the way of configuration querying condition, from system user dynamically Delineation user, add access customer group;
The management of described data permission is role to be associated with data permission, and described data permission comprises authority and the field of table Authority, wherein the authority of table comprises the increase to table, deletes, revises, inquires about and go filtration authority, and field authority comprises this table Field whether have access rights.
3. according to the method described in claim 1-2 any one, it is characterised in that described parsing generates form and includes form The metadata of every string is added in the object array of a metadata one by one, a corresponding object of field, right based on this As the video data of array and acquisition generates form.
4. according to the method described in claim 1-3 any one, it is characterised in that described parsing generates list and includes following step Rapid:
A) open the dialog box of forms pages, and generate an empty form;
B) for each field of list, corresponding page control is generated according to its display styles;
C) metadata will be converted into page elements about the definition that the page is relevant;
D) obtain the range of choice, i.e. for there being the field of the range of choice, load the corresponding range of choice according to range of choice index.
E) trigger event of linkage between load field.
F) obtain the default value of each field and carry out page filling.
5. a rapid data service system, it is characterised in that this system includes:
Metadata configurations module, for using each business object in metadata definition data service system, including business pair The metadata information of the table of elephant and data detail metadata information;
Metadata parsing module, for when receiving the page request that user sends, obtains request behaviour from this page request Business object id made and the subscriber group information at this user place;According to described business object id, obtain corresponding service object and carry The function of confession and filtercondition;According to described subscriber group information, obtain function and the filtercondition of this user group;Merge acquisition As a result, thus obtain this user can function and filtercondition;According to data detail metadata information, resolve each field Default value, the range of choice, page interrogation condition and sequence;Build data query statement, associated databases performs data and looks into Ask, thus obtain the data that this business object is corresponding.
Page presentation parsing module, for according to the metadata information of this business object, and metadata parsing module obtains Result and data, resolve and generate form, list, button and query page.
Rapid data service system the most according to claim 5, it is characterised in that also include authority management module, this power Limit management module includes that menu management module, Role Management module, user organize management module and data authority management module, its In,
Described menu management module is used for managing bouquet, concrete business and module three-stage menu, can configure and specifically make in module Business object, the metadata that associated configuration is good, thus form menu tree, role can be built on the basis of this menu tree Property menu tree;
Described Role Management module joins the role with different rights can to different user's components, and described role can make by oneself Justice;
Described user organizes management module and includes static group and dynamic group both of which, and described static group is by adding that system provides Adding method, adds user's group to by system user, and described dynamic group is by the way of configuration querying condition, from system user Draw a circle to approve user dynamically, add access customer group;
Described data permission management module is for being associated role with data permission, and described data permission comprises the authority of table With field authority, wherein the authority of table comprises the increase to table, deletes, revises, inquires about and go filtration authority, and field authority comprises Whether the field of this table there are access rights.
7. according to the rapid data service system described in claim 5-6 any one, it is characterised in that described parsing generates table Lattice include adding the metadata of every for form string one by one in the object array of one metadata, field corresponding one right As, video data based on this object data and acquisition generates form.
8. according to the rapid data service system described in claim 5-7 any one, it is characterised in that described parsing generates table Singly comprise the following steps:
A) open the dialog box of forms pages, and generate an empty form;
B) for each field of list, corresponding page control is generated according to its display styles;
C) metadata will be converted into page elements about the definition that the page is relevant;
D) obtain the range of choice, i.e. for there being the field of the range of choice, load the corresponding range of choice according to range of choice index.
E) trigger event of linkage between load field.
F) obtain the default value of each field and carry out page filling.
CN201610436679.8A 2016-06-17 2016-06-17 A kind of rapid data method of servicing and system Active CN106126569B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610436679.8A CN106126569B (en) 2016-06-17 2016-06-17 A kind of rapid data method of servicing and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610436679.8A CN106126569B (en) 2016-06-17 2016-06-17 A kind of rapid data method of servicing and system

Publications (2)

Publication Number Publication Date
CN106126569A true CN106126569A (en) 2016-11-16
CN106126569B CN106126569B (en) 2018-06-12

Family

ID=57469797

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610436679.8A Active CN106126569B (en) 2016-06-17 2016-06-17 A kind of rapid data method of servicing and system

Country Status (1)

Country Link
CN (1) CN106126569B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107102865A (en) * 2017-05-18 2017-08-29 福建星瑞格软件有限公司 A kind of method for being rapidly completed WEB demands
CN107453946A (en) * 2017-07-20 2017-12-08 阿里巴巴集团控股有限公司 Field management method and device and electronic equipment
CN108268798A (en) * 2017-06-30 2018-07-10 勤智数码科技股份有限公司 A kind of data item authority distributing method and system
CN108268790A (en) * 2016-12-30 2018-07-10 北京国双科技有限公司 The configuration method and device of data permission
CN109087707A (en) * 2018-07-18 2018-12-25 上海理工大学 It is a kind of for establishing the method and apparatus of lung image database
CN109614085A (en) * 2018-10-23 2019-04-12 深圳微迅信息科技有限公司 Function realizing method, device, computer equipment and storage medium
CN109739873A (en) * 2018-12-27 2019-05-10 广州市玄武无线科技股份有限公司 A kind of business datum querying method, device, equipment and readable storage medium storing program for executing
CN110020116A (en) * 2017-09-29 2019-07-16 北京国双科技有限公司 Filter condition determines method and device
CN111191221A (en) * 2019-12-30 2020-05-22 腾讯科技(深圳)有限公司 Method and device for configuring authority resources and computer readable storage medium
CN111767050A (en) * 2020-05-20 2020-10-13 贝壳技术有限公司 List page generation method and device
CN112445833A (en) * 2019-08-30 2021-03-05 普天信息技术有限公司 Data paging query method, device and system for distributed database
CN112465362A (en) * 2020-12-03 2021-03-09 合肥天源迪科信息技术有限公司 Big data client view system for government and enterprise
CN113515552A (en) * 2021-05-31 2021-10-19 南京一鸣科技有限公司 Metadata-based high configurability query statistical method in management information system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101359290A (en) * 2008-09-11 2009-02-04 中兴通讯股份有限公司 Method for customizing service document based on metadata and apparatus
CN101930443A (en) * 2009-06-22 2010-12-29 金蝶软件(中国)有限公司 Data service system and data service realization method
CN103853543A (en) * 2012-12-07 2014-06-11 北京云天时空科技有限公司 Method used for quickly constructing forms in enterprise information system development process
US20150324423A1 (en) * 2012-11-26 2015-11-12 Zte Corporation Report creation method, device and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101359290A (en) * 2008-09-11 2009-02-04 中兴通讯股份有限公司 Method for customizing service document based on metadata and apparatus
CN101930443A (en) * 2009-06-22 2010-12-29 金蝶软件(中国)有限公司 Data service system and data service realization method
US20150324423A1 (en) * 2012-11-26 2015-11-12 Zte Corporation Report creation method, device and system
CN103853543A (en) * 2012-12-07 2014-06-11 北京云天时空科技有限公司 Method used for quickly constructing forms in enterprise information system development process

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108268790A (en) * 2016-12-30 2018-07-10 北京国双科技有限公司 The configuration method and device of data permission
CN107102865A (en) * 2017-05-18 2017-08-29 福建星瑞格软件有限公司 A kind of method for being rapidly completed WEB demands
CN108268798A (en) * 2017-06-30 2018-07-10 勤智数码科技股份有限公司 A kind of data item authority distributing method and system
CN108268798B (en) * 2017-06-30 2023-09-05 勤智数码科技股份有限公司 Data item authority allocation method and system
CN107453946A (en) * 2017-07-20 2017-12-08 阿里巴巴集团控股有限公司 Field management method and device and electronic equipment
CN107453946B (en) * 2017-07-20 2020-07-17 阿里巴巴集团控股有限公司 Field management method and device and electronic equipment
CN110020116A (en) * 2017-09-29 2019-07-16 北京国双科技有限公司 Filter condition determines method and device
CN109087707A (en) * 2018-07-18 2018-12-25 上海理工大学 It is a kind of for establishing the method and apparatus of lung image database
CN109614085B (en) * 2018-10-23 2019-11-29 深圳微迅信息科技有限公司 Function realizing method, device, computer equipment and storage medium
CN109614085A (en) * 2018-10-23 2019-04-12 深圳微迅信息科技有限公司 Function realizing method, device, computer equipment and storage medium
CN109739873A (en) * 2018-12-27 2019-05-10 广州市玄武无线科技股份有限公司 A kind of business datum querying method, device, equipment and readable storage medium storing program for executing
CN112445833A (en) * 2019-08-30 2021-03-05 普天信息技术有限公司 Data paging query method, device and system for distributed database
CN111191221A (en) * 2019-12-30 2020-05-22 腾讯科技(深圳)有限公司 Method and device for configuring authority resources and computer readable storage medium
CN111191221B (en) * 2019-12-30 2023-05-12 腾讯科技(深圳)有限公司 Configuration method and device of authority resources and computer readable storage medium
CN111767050A (en) * 2020-05-20 2020-10-13 贝壳技术有限公司 List page generation method and device
CN112465362A (en) * 2020-12-03 2021-03-09 合肥天源迪科信息技术有限公司 Big data client view system for government and enterprise
CN113515552A (en) * 2021-05-31 2021-10-19 南京一鸣科技有限公司 Metadata-based high configurability query statistical method in management information system
CN113515552B (en) * 2021-05-31 2024-03-26 南京一鸣科技有限公司 Metadata-based high-configurability query statistical method in management information system

Also Published As

Publication number Publication date
CN106126569B (en) 2018-06-12

Similar Documents

Publication Publication Date Title
CN106126569A (en) A kind of rapid data method of servicing and system
US8150879B2 (en) Building custom dimension trees
US8812950B2 (en) Spreadsheet software services
US10579678B2 (en) Dynamic hierarchy generation based on graph data
EP2116954A1 (en) Apparatus and method for accessing data in a multi-tenant database according to a trust hierarchy
US8195698B2 (en) Hierarchy manager for master data management
US8935218B2 (en) Multi-client generic persistence for extension nodes
US9547646B2 (en) User-created members positioning for OLAP databases
US20140317563A1 (en) Generate field mapping
CN102254029A (en) View-based data access system and method
CN101923549A (en) User-defined visual intelligent track clue analytical system and establishing method
CN107169007A (en) The display interface method to set up and device of a kind of mobile terminal
CN106484824B (en) Knowledge mapping isomery storing framework middleware based on multivariate data library supporting assembly
CN103914290A (en) Operating command processing method and device
CN102207861A (en) Method for expressing personalized information in business
KR20210150838A (en) System for providing virtual space renting service using virtual space archive
US9652740B2 (en) Fan identity data integration and unification
CN108228762B (en) Method and system for configuring master database universal templates
US20230096930A1 (en) Platform-agnostic data storage and retrieval in a multiplatform computing environment
CN102316128A (en) A kind ofly be used to generate network service method and device
CN112905600A (en) Data query method and device, storage medium and electronic equipment
CN115543428A (en) Simulated data generation method and device based on strategy template
CN115017185A (en) Data processing method, device and storage medium
US10255564B2 (en) Context specific resource editors
CN108984176B (en) High-definition desktop development system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210525

Address after: 210000 Xuanwu District, Jiangsu, Beijing East Road 63, Nanjing

Patentee after: Wang Gang

Address before: 211100 room 407, building 3, No.9 Shengli West Road, Jiangning District, Nanjing City, Jiangsu Province

Patentee before: NANJING LEYUNLE TECHNOLOGY Co.,Ltd.