CN104424522B - A kind of transaction processing system and its configuration method - Google Patents

A kind of transaction processing system and its configuration method Download PDF

Info

Publication number
CN104424522B
CN104424522B CN201310382175.9A CN201310382175A CN104424522B CN 104424522 B CN104424522 B CN 104424522B CN 201310382175 A CN201310382175 A CN 201310382175A CN 104424522 B CN104424522 B CN 104424522B
Authority
CN
China
Prior art keywords
metadata item
configuration information
dynamic table
allocation list
dynamic
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.)
Active
Application number
CN201310382175.9A
Other languages
Chinese (zh)
Other versions
CN104424522A (en
Inventor
傅晓波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Beijing Software Services Co Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201310382175.9A priority Critical patent/CN104424522B/en
Publication of CN104424522A publication Critical patent/CN104424522A/en
Application granted granted Critical
Publication of CN104424522B publication Critical patent/CN104424522B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Engineering & Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Operations Research (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Data Mining & Analysis (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Stored Programmes (AREA)

Abstract

This application provides a kind of transaction processing system and its configuration methods, compare solidification, compatible and all poor scalability problem to solve current transaction processing system function.The method includes: to combine metadata item according to business demand, and utilizing metadata item configuration information to generate includes the allocation list of the metadata item configuration information during transaction processing system operation;By the metadata item configuration information in the allocation list be spliced into it is corresponding build table statement, and build table statement described in executing and establish the corresponding dynamic table of the metadata item;The access component of the dynamic table is generated according to the metadata item configuration information in the allocation list;The access component of the dynamic table and the dynamic table is loaded in the transaction processing system.

Description

A kind of transaction processing system and its configuration method
Technical field
This application involves computer technologies, configuration method and a kind of business processing system more particularly to a kind of system System.
Background technique
With society development, IT application in enterprise continuous improvement, the automation of the information management of medium-sized and small enterprises and Intelligent imperative, therefore, most enterprises all use transaction processing system to be managed and handle the business of itself.But Be, common transaction processing system be it is more cured, as customized for the enterprise demand, therefore wherein business processing The contents such as module, database are all that just configuration is completed at the beginning of system is established, and can not be modified.Therefore, the business processing System is just only for the industry where the enterprise or the enterprise, and other industry is not available the system, and system compatibility is poor, Simultaneously when increasing some business newly to enterprise, which may also can not be handled, and the scalability of system is poor.
For example, JXC System is an indispensable basic industry for the Sales Channel of the traditional forms of enterprises Business support platform.It can be organic by an enterprise online buying, sale and stock control and the e-commerce platform on line Ground combines, while fine by way of manual typing can also obtain business under Support Line, forms a degree of automation The higher operation flow ecosystem.Integrated purchase, sales and stock management on line, under line can reduce excessive workflow hand-manipulated, The production efficiency of enterprise is greatly improved.
But current JXC System is realized using fixed mode, is normally based on the current business of the enterprise It establishes, can not often support the individual demand of different industries well, also be unable to satisfy the demand of the Added Business of enterprise. Even if moreover, different industries operation flow having the same in procurement, sales, inventory business, also due to the reasons such as characteristic of industry, cause It cannot but be compatible with very well in detail.Therefore different industries, different scales enterprise can only selectivity use be suitble to oneself JXC System support oneself business.
Therefore, current transaction processing system function compares solidification, is only applicable to single enterprise or industry, compatibility and Scalability is all poor.
Summary of the invention
The application provides a kind of configuration method of system, compares solidification to solve current transaction processing system function, simultaneous Capacitive and all poor problem of scalability.
Correspondingly, present invention also provides a kind of transaction processing systems.
To solve the above-mentioned problems, this application discloses a kind of configuration methods of system characterized by comprising
During transaction processing system operation, metadata item is combined according to business demand, and match confidence using metadata item Breath generates the allocation list comprising the metadata item configuration information;
By the metadata item configuration information in the allocation list be spliced into it is corresponding build table statement, and build predicative described in executing Sentence establishes the corresponding dynamic table of the metadata item;
The access component of the dynamic table is generated according to the metadata item configuration information in the allocation list;
The access component of the dynamic table and the dynamic table is loaded in the transaction processing system.
Preferably, described to combine metadata item according to business demand, and being generated using metadata item configuration information includes institute State the allocation list of metadata item configuration information, comprising: sieve from the metadata item that various businesses model provides according to business demand The metadata item for meeting the business demand is selected, and the metadata item filtered out is determined as to the service fields of dynamic table;For The service fields configure corresponding attribute information;Using the service fields and the corresponding attribute information of service fields as first number According to item configuration information, and generate the allocation list comprising the metadata item configuration information.
Preferably, the metadata item configuration information by the allocation list, which is spliced into, corresponding builds table statement, comprising: Metadata item configuration information is obtained from the allocation list;Determine the splicing logic of dynamic table, and will according to the splicing logic What the metadata item configuration information was spliced into the dynamic table builds table statement.
Preferably, the access component includes fetcher code source file and the editable page, described according to the allocation list In metadata item configuration information generate the access component of the dynamic table, comprising: according to the metadata item in the allocation list Configuration information determines programming language specification, and the fetcher code source document of the dynamic table is generated according to the programming language specification Part;Page info is determined according to the metadata item configuration information in the allocation list, and according to described in page info generation The editable page of dynamic table.
Preferably, further includes: generate the preview page of the editable page, and can be compiled according to described in the adjustment of preview effect Collect the position of every content and effect in the page.
Preferably, before the access component that the dynamic table and the dynamic table are loaded in the transaction processing system, Further include: it is compiled using fetcher code source file of the compiler to the dynamic table, generates corresponding executable file.
Preferably, the access component that the dynamic table and the dynamic table are loaded in the transaction processing system, It include: that the dynamic table and the executable file are loaded in the transaction processing system;The editable page is put into In corresponding web container, and it is loaded onto the transaction processing system.
Correspondingly, disclosed herein as well is a kind of transaction processing systems, comprising:
Configuration module, for combining metadata item according to business demand, and utilize member during transaction processing system operation Data item configuration information generates the allocation list comprising the metadata item configuration information;
Build table module, for by the metadata item configuration information in the allocation list be spliced into it is corresponding build table statement, and Table statement is built described in execution establishes the corresponding dynamic table of the metadata item;Match confidence according to the metadata item in the allocation list Breath generates the access component of the dynamic table;
Loading module, for loading the access group of the dynamic table and the dynamic table in the transaction processing system Part.
Preferably, the configuration module, comprising: screening submodule, the metadata item for being provided from various businesses model It is middle to filter out the metadata item for meeting the business demand according to business demand, and the metadata item filtered out is determined as dynamic The service fields of table;Submodule is configured, for configuring corresponding attribute information for the service fields;Submodule is generated, is used for Using the service fields and the corresponding attribute information of service fields as metadata item configuration information, and generate comprising first number According to the allocation list of item configuration information.
Preferably, the table module of building includes: dynamic table setting up submodule;The dynamic table setting up submodule includes: to obtain Unit is taken, for obtaining metadata item configuration information from the allocation list;Concatenation unit, for determining that the splicing of dynamic table is patrolled Volume, and table statement is built by what the metadata item configuration information was spliced into the dynamic table according to the splicing logic.
Preferably, the access component includes fetcher code source file and the editable page, described to build table module, comprising: Source file generates submodule, for determining programming language specification according to the metadata item configuration information in the allocation list, and according to The fetcher code source file of the dynamic table is generated according to the programming language specification;The page generates submodule, for according to described in Metadata item configuration information in allocation list determines page info, and generates compiling for the dynamic table according to the page info Collect the page.
Preferably, the page generates submodule, is also used to generate the preview page of the editable page, and according to pre- Effect of looking at adjusts the position of every content and effect in the editable page.
Preferably, the loading module is also used to carry out using fetcher code source file of the compiler to the dynamic table Compiling, generates corresponding executable file.
Preferably, the loading module, for loading the dynamic table in the transaction processing system and described holding Style of writing part;The editable page is put into corresponding web container, and is loaded onto the transaction processing system.
Compared with prior art, the application includes following advantages:
Metadata item is dynamically combined during operation system operation and generates allocation list using metadata item configuration information, And establish dynamic table and its access component according to allocation list dynamic, so as to the dynamic table of dynamically load during operation and its Component is accessed, user is allow to access processing dynamic table newly added in business processing.The application can be transported in system In development cycle between the departure date rather than before system publication, dynamic table is dynamically configured and loaded according to user demand, thus The individual demand of user can be added in system in time, improve the scalability and compatibility of transaction processing system, Be adapted to the system can for individual business fast custom and response in different industries, the enterprise of different scales or industry.
Detailed description of the invention
Fig. 1 is the configuration method flow chart of system provided by the embodiments of the present application;
Fig. 2 is the model schematic in JXC System provided by the embodiments of the present application;
Fig. 3 is the system architecture schematic diagram of JXC System provided by the embodiments of the present application;
Fig. 4 is allocation engine processing schematic provided by the embodiments of the present application;
Fig. 5 is transaction processing system structure chart provided by the embodiments of the present application;
Fig. 6 is transaction processing system preferred structure figure provided in an embodiment of the present invention;
Fig. 7 is dynamic table setting up submodule structure chart in transaction processing system provided in an embodiment of the present invention.
Specific embodiment
In order to make the above objects, features, and advantages of the present application more apparent, with reference to the accompanying drawing and it is specific real Applying mode, the present application will be further described in detail.
The embodiment of the present application provides a kind of configuration method of system, can operation system run during dynamic composite unit Data item and utilization metadata item configuration information generate allocation list, and establish dynamic table and its access group according to allocation list dynamic Part adds user newly in business processing so as to the dynamic table of dynamically load during operation and its access component The dynamic table added accesses processing.The application dynamically can configure and load dynamic table in the system runtime, so as to The new demand of user is added in system, the scalability and compatibility of transaction processing system are improved.
It is described in detail below by specific embodiment.
Pass through in the embodiment of the present application and the extension that dynamic table is realized in operation during system operation such as configures, establishes and load And compatibility, therefore aforesaid operations can respectively by the allocation engine of system, build table engine and load engine implementation.Wherein, engine It (Engine) is the core component that program or system are developed on e-platform, using engine, developer can establish rapidly, be laid with journey Function needed for sequence, or using the operating of its auxiliary program, normal engine is the support section of a program or set of system.From And the configuration method of system specifically comprises the following steps.
Referring to Fig.1, the configuration method flow chart of system provided by the embodiments of the present application is given.
Step 101, during transaction processing system operation, metadata item is combined according to business demand, and utilize metadata Item configuration information generates the allocation list comprising the metadata item configuration information.
Wherein, the runtime refers to transaction processing system after exploitation, and the environment that puts into production runs the period used.Industry Business processing system is after initialization has the metadata metadata item of correlation with specific business (such as procurement, sales, inventory business), the runtime Between when the business model of system default is unable to satisfy the individual business of user, allocation engine can be according to the practical need of user It asks, combine metadata item and is supplemented using metadata item configuration information, adjusts out a new model, thus using metadata Item and metadata item configuration information generate allocation list.
It is described to combine metadata item according to business demand in the preferred embodiment of the application, and utilize metadata item Configuration information generates the allocation list comprising the metadata item configuration information, may include following sub-step:
Sub-step 1 filters out according to business demand from the metadata item that various businesses model provides and meets the business The metadata item of demand, and the metadata item filtered out is determined as to the service fields of dynamic table;
Sub-step 2 configures corresponding attribute information for the service fields;
Sub-step 3, using the service fields and the corresponding attribute information of service fields as metadata item configuration information, and Generate the allocation list comprising the metadata item configuration information.
Wherein, allocation engine generates new model by the dynamic combined to metadata item, will be in all compositions of model Appearance is stored in allocation list.It may include the selection page of metadata item, attributes edit function (such as length tune in allocation engine Whole, remarks supplement etc.), field sequence, submit save, a series of functions of page preview etc., be in system one it is independent Component.
The model refers to the model of database table in system, and model can refer to the Java of database table such as in Java Object (JavaBean).JavaBean is the software assembly model for describing Java, can be with by JavaBean in Java model The unlimited function of expanding java applet, can quickly generate new application program by the combination of JavaBean.
The metadata metadata item is the basic data of business, can be used as the service fields of database table, can Increased, extended, metadata item is set up used in table for matching, therefore all "current" models are unable to satisfy business demand, can To customize the model for meeting business demand by dynamic configuration, combination metadata item.
The allocation list is system configuration engine component part, for saving the table structure of configured dynamic table.Wherein, Whether the information that table structure, that is, database table saves, including table name, field name, type, length, remarks, order of the field, field are led Key, whether unique index etc..Wherein, dynamic table is a kind of database table, is that dynamic configuration obtains during system operation.
For example, transaction processing system is a JXC System, metadata item is obtained from a variety of different business models, Including goods model, commodity code, product name, cargo price, descriptive labelling, commodity classification, commercial specification etc..For another example for For the declaration form model of insurance industry, insurance application number, the insurance application amount of money, insurer, insurant etc. are relevant first number According to item.
To which the model for this can filter out the metadata item for meeting business demand, the metadata item that will be filtered out Service fields as dynamic table.Corresponding attribute information is automatically configured for each service fields again, type, length such as field The attribute informations such as degree, remarks, so that service fields and the corresponding attribute information of service fields are combined into metadata item with confidence Breath, the i.e. table structure of database table, to generate allocation list.
It is above-mentioned metadata item is supplied to allocation engine to use, model that can be new with fast custom, the new model configured Schema(metadata item configuration information) it is stored in allocation list.
After generating allocation list by allocation engine, it can use and build the access group that table engine establishes dynamic table and dynamic table Part, the access component includes fetcher code source file and the editable page.Building includes system dynamic generation model in table engine A series of relevant tools, including page Core Generator, background model Core Generator, build table tool etc..To build table engine Can by the relevant a series of resource of model new described in the metadata item configuration information dynamic generation in allocation list, including Dynamic table, the associated documents (i.e. fetcher code source file) of the access visit logical code of dynamic table, dynamic table editable page Face etc..Wherein, the operating procedure of table engine is built referring to step 102 and 103.
Step 102, by the metadata item configuration information in the allocation list be spliced into it is corresponding build table statement, and execute institute It states and builds table statement and establish the corresponding dynamic table of the metadata item.
Wherein, the table tool of building for building table engine is to configure dynamic table in the system runtime and generate the table rope of the dynamic table Draw, the tool of component needed for the volume of data library table such as table constraint.Dynamic table is exactly to be established by building table tool in the present embodiment 's.
Building table tool and can obtaining metadata item configuration information from allocation list for table engine is built, then matches metadata item Confidence breath be spliced into it is corresponding build table statement, be such as spliced into database schema definitional language (Data Description Language, DDL), DDL sentence is the language for the real world entities to be stored in descriptive data base, a database Mode includes description definition of all entities in the database, including structure definition, operating method definition etc..Then table tool is built It is called and executes to table statement is built, to establish the corresponding dynamic table of the metadata item according to the statement for building table statement.
Wherein, splicing refers to the logic according to database table language, structural requirement, carries out to metadata item configuration information Combination, so that be configured to descriptive data base table builds table statement.
In the embodiment of the present application, dynamic table is one of transaction processing system database table, and storage is business datum, Be it is user oriented in system, for users to use, for example, in JXC System apparel industry storage bill table and raw material industry Storage bill table etc., for storage be corresponding business data.What business, the nature difference of industry caused to store in dynamic table Data are different, and such as above two storage bill table is due to difference in industry, wherein the business datum stored is different.
It is described that the metadata item configuration information of allocation list is spliced into corresponding build in the preferred embodiment of the application Table statement, comprising: metadata item configuration information is obtained from the allocation list;Determine the splicing logic of dynamic table, and according to institute It states splicing logic and builds table statement for what the metadata item configuration information was spliced into the dynamic table.
For example, customized in JXC System establish a cash statement, wherein service fields (i.e. metadata item) include: Stock number, product number, name of product, stockpile number etc..Table engine is built after the starting that is triggered, using building table tool from matching The metadata item configuration information that table is retrieved and obtains dynamic table is set, the spelling of dynamic table is then determined according to metadata item configuration information Connect logic.Such as after the metadata items configuration information such as obtain field, type, it can determine splicing logic are as follows:
Create table jxc_stock_ dynamic table numbering (`id`int (11) NOT NULL AUTO_INCREMENT, The type defaut service fields default value { circulation } of { circulation } service fields service fields)
Then metadata item configuration information is compiled by software according to the splicing logic, is converted to convenient for computer The format of storage, inquiry and manipulation, be spliced into dynamic table builds table statement:
create table jxc_stock_0001(`id`int(11)NOT NULL AUTO_INCREMENT,stock_ id varchar(20),product_code varchar(30),product_name varchar(128),total_num bigint)
Then it can call and build table statement and execute to generate dynamic table.
Step 103, the access component of the dynamic table is generated according to the metadata item configuration information in the allocation list.
Build table engine and obtain metadata item configuration information from allocation list, and according to the metadata item configuration information determine with Relevant functional information is accessed, and generates the access component of dynamic table by the functional information relevant to access.Wherein, it accesses Component refers to the related functional components to access in systems to dynamic table, allow user to the dynamic table in system into Row access, editor.The access component may include fetcher code source file and the editable page.
Wherein it is possible to establish fetcher code source document relevant to access by the background model Core Generator for building table engine Part, the background model Core Generator are the Core Generators of the corresponding model code of dynamic table and table data access code.And And the page Core Generator by building table engine generates the editable page relevant to access, the page Core Generator is dynamic The editable page that table corresponds to model is directly facing the Core Generator of the page of user.
In the preferred embodiment of the application, the metadata item configuration information according in the allocation list generates institute State the access component of dynamic table, comprising:
(1) generation method of fetcher code source file.
The generation method of the fetcher code source file includes: true according to the metadata item configuration information in the allocation list Determine programming language specification, and generates the fetcher code source file of the dynamic table according to the programming language specification.
Corresponding programming language specification can be determined by the metadata item configuration information in allocation list, in cataloged procedure Typesetting, name, statement, scope and some additional characters being related to use etc., to write according to the linguistic norm The fetcher code of the dynamic table, the fetcher code includes the code that data in dynamic table are written and read etc. with operations, and is compiled It is translated into corresponding fetcher code source file.It can also include configuration text relevant to fetcher code in the fetcher code source file Part, such as DO class, the DAO class, sqlmap of the corresponding model of dynamic table (Javabean).
(2) generation method of the editable page.
The generation method of the editable page includes: to determine page according to the metadata item configuration information in the allocation list Face information, and generate according to the page info editable page of the dynamic table.
The page info that the editable page can be determined according to the metadata item configuration information in allocation list, such as in the page Show which field, the table name etc. of the dynamic table shown in the page, the data type etc. of each field shown in the page, thus according to The editable page of dynamic table is generated according to page info.The editable page be it is user oriented, user can be compiled by this Volume page accesses to data in dynamic table, and the operation such as execute read-write.
In one preferred embodiment of the application, the method can also include: the pre- of the generation editable page It lookes at the page, and adjusts the position of every content and effect in the editable page according to preview effect.
After the editable page for generating the dynamic table, the preview page of the editable page can also be generated, from And the preview effect according to the editable page, content every in the editable page is adjusted, the position including every content With effect etc., as adjusted the front-rear position that each field is shown in the editable page in dynamic table, the word that each field is shown is adjusted Body, size, color etc..
It can be new with dynamic generation by the metadata item configuration information in allocation list to through the above steps, build table engine The relevant a series of resource of model, including dynamic table, the access visit logical code of dynamic table associated documents (access generation Code source file), the corresponding editable page of dynamic table etc..
Step 104, the access component of the dynamic table and the dynamic table is loaded in the transaction processing system.
After building the access component that table engine generates dynamic table and dynamic table, load engine can be by dynamic table and its access Component is loaded onto transaction processing system, to add new model in transaction processing system, allows user based on new mould Type carries out corresponding business processing operation.
Wherein, load engine refers to according to individual business demand within the runtime, is formed by model to dynamic configuration On-the-flier compiler, dynamically load are carried out, to reach configuration, the experience and effect used that can come into force is completed in load.
In one preferred embodiment of the application, the dynamic table and the dynamic are loaded in the transaction processing system It can also include: to be compiled using fetcher code source file of the compiler to the dynamic table before the access component of table, it is raw At corresponding executable file.
To load the access component of the dynamic table and the dynamic table in the transaction processing system, comprising: The dynamic table and the executable file are loaded in the transaction processing system;The editable page is put into corresponding net In network container, and it is loaded onto the transaction processing system.
Transaction processing system the runtime can with direct compilation fetcher code source file (code source file of such as .java), And the executable file of corresponding .class is generated, it such as can be with by local system compiler that ToolProvider is got Java source file is compiled into executable file.Wherein, ToolProvider is the class in Java, is mentioned for lookup tool supplier Method is supplied, for example, the supplier of compiler.
It is then possible to load the dynamic table and the executable file in the transaction processing system, make itself and industry Processing system of being engaged in fusion, and the editable page is put into corresponding web container, by the web container comprising the editable page It is loaded onto the transaction processing system, in order to be called execution to dynamic table, fetcher code and the editable page, in system Middle generation new model.
For example, executable file clzzName can be loaded as the class text of executable calling by classloader Part, to be fused to the component part of system.Wherein, unlike ordinary procedure, java applet (class file) is not Local executable program.When running java applet, JVM(Java virtual machine is run first), then again Java class It is loaded into operation inside JVM, this part for being responsible for load Java class is just called Class Loader.
To establish corresponding model in systems for the individual demand of user, facilitate use during system operation Family carries out business processing.Simultaneously as different industries, the different dynamic table of customization of service personalization, therefore user exists During using transaction processing system, different industries, business generate business datum be stored in different dynamic tables it In, achieve the effect that data separating stores, has avoided data and store excessively too fat to move problem.
Above-mentioned technical proposal provided by the embodiments of the present application is discussed by taking JXC System as an example below.
Each kinds of goods have corresponding storage bill and outbound list in system, and general kinds of goods model and correspondence can be used in user General storage bill and outbound single model carry out the goods entry, stock and sales processing of kinds of goods can when user has personalized business demand To create customized kinds of goods model and corresponding customized storage bill and outbound single model in systems, as shown in Figure 2.
It, can be using as schemed when establishing customized kinds of goods model and corresponding customized storage bill and outbound single model System architecture shown in 3.
By taking storage bill as an example, within the system runtime, allocation engine screens symbol by configuration interface from metadata warehouse The metadata item filtered out is determined as the service fields of dynamic table by the metadata item for closing the business demand of storage bill, and is industry The business corresponding attribute information of field configuration, thus using the service fields and the corresponding attribute information of service fields as metadata Item configuration information, i.e., the corresponding user-defined data table structure of the storage bill of subsequent foundation is to generate allocation list.Allocation engine processing is shown It is intended to as shown in Figure 4.
Then it builds table engine and obtains metadata item configuration information from allocation list and establish corresponding storage bill (dynamic table), enter The fetcher code source file of library list and the editable page of storage bill.
Load engine is compiled generation executable file to the fetcher code source file of storage bill, and together with storage bill It is loaded onto JXC System, while the editable page of storage bill being put into corresponding web container, be loaded onto goods entry, stock and sales system System.So as to use the customized storage bill in JXC System, user is facilitated to carry out business processing.
In the prior art, enterprise software as JXC System is in implementation process according to demand constantly with patch Method optimizing, supplementary service function, either from resource, or for the angle of time be all very inefficient;And this Application is directed to transaction processing system, and such as JXC System supports the business of different industries by personalized customization, can be to avoid list Business contradiction of one system in conglomerate implementation process.As in insurance industry by way of dynamic creating table according to new danger The different declaration form of kind fast custom, quick response complexity, changeable insurance business market.
In conclusion the embodiment of the present application can screen metadata item conduct according to business demand during system is run The service fields of dynamic table, and corresponding attribute information is configured for service fields, and then be combined into metadata item configuration information simultaneously Allocation list is generated, thus the customization that data can be personalized according to business demand, and business can be quickly determined for compliance with and needs The basic data asked continues the operations such as table for after and provides preparation.
Secondly, system supports the operation expanding and compatibility of runtime can after the completion of the allocation list creation of new business demand To build table statement for what metadata item configuration information was spliced into the dynamic table according to splicing logic, by executing, to build table statement fast The generation dynamic table of speed, and fetcher code source file and the editable page according to metadata item configuration information generation dynamic table, Component needed for dynamically establishing system for new business demand.
Again, on-the-flier compiler and dynamically load are carried out to fetcher code source file, while loads dynamic table and editable page Face, by itself and system globe area, to system can be allow to be compatible with different industries, and expand for users to use after loading is complete Open up every business.
Referring to Fig. 5, transaction processing system structure chart provided by the embodiments of the present application is given.
Correspondingly, the embodiment of the present application also provides a kind of transaction processing systems, comprising: configuration module 501 builds table module 502 and loading module 503.
Wherein: configuration module 501, for combining metadata item according to business demand during transaction processing system operation, And the allocation list comprising the metadata item configuration information is generated using metadata item configuration information;
Build table module 502, for by the metadata item configuration information in the allocation list be spliced into it is corresponding build table statement, And table statement is built described in executing and establishes the corresponding dynamic table of the metadata item;According to the metadata item configuration in the allocation list Information generates the access component of the dynamic table;
Loading module 503, for loading the access of the dynamic table and the dynamic table in the transaction processing system Component.
In conclusion dynamically combining metadata item during operation system operation and utilizing the life of metadata item configuration information Dynamic table and its access component are established at allocation list, and according to allocation list dynamic, it should so as to dynamically load during operation Dynamic table and its access component, allow user to access processing dynamic table newly added in business processing.The application can Dynamically to configure and load according to user demand and is dynamic in the development cycle during system is run rather than before system publication State table improves the scalability and compatibility of transaction processing system so as to which the individual demand of user to be added in system Property, make the system that can be adapted to different industries, the enterprise of different scales or industry for individual business fast custom and response In.
Referring to Fig. 6, transaction processing system preferred structure figure provided in an embodiment of the present invention is given.
In one preferred embodiment of the application, the configuration module 501, comprising: screening submodule 5011 is used for from various The metadata item for meeting the business demand is filtered out according to business demand in the metadata item that business model provides, and will screening Metadata item out is determined as the service fields of dynamic table;Submodule 5012 is configured, it is corresponding for being configured for the service fields Attribute information;Submodule 5013 is generated, for using the service fields and the corresponding attribute information of service fields as first number According to item configuration information and generate the allocation list comprising the metadata item configuration information.
In one preferred embodiment of the application, the access component includes fetcher code source file and the editable page, institute Stating and building table module 502 includes: that dynamic table setting up submodule 5021, source file generation submodule 5022 and the page generate submodule 5023。
Referring to Fig. 7, dynamic table setting up submodule structure chart in transaction processing system provided in an embodiment of the present invention is given.
Wherein, dynamic table setting up submodule 5021 includes: acquiring unit 50211, for obtaining member from the allocation list Data item configuration information;Concatenation unit 50212, for determining the splicing logic of dynamic table, and according to the splicing logic by institute That states that metadata item configuration information is spliced into the dynamic table builds table statement;Unit 50213 is executed and establishes, it is described for executing It builds table statement and establishes the corresponding dynamic table of the metadata item.
Source file generates submodule 5022, for determining programming language according to the metadata item configuration information in the allocation list Speech standardizes, and the fetcher code source file of the dynamic table is generated according to the programming language specification.
The page generates submodule 5023, for determining that the page is believed according to the metadata item configuration information in the allocation list It ceases, and generates the editable page of the dynamic table according to the page info.
In one preferred embodiment of the application, the page generates submodule 5023, is also used to generate the editable page The preview page in face, and the position of every content and effect in the editable page are adjusted according to preview effect.
In one preferred embodiment of the application, the loading module 503 is also used to using compiler to the dynamic table Fetcher code source file is compiled, and generates corresponding executable file.
In one preferred embodiment of the application, the loading module 503, for loading institute in the transaction processing system State dynamic table and the executable file;The editable page is put into corresponding web container, and is loaded onto the industry Business processing system.
In conclusion the embodiment of the present application can screen metadata item conduct according to business demand during system is run The service fields of dynamic table, and corresponding attribute information is configured for service fields, and then be combined into metadata item configuration information simultaneously Allocation list is generated, thus the customization that data can be personalized according to business demand, and business can be quickly determined for compliance with and needs The basic data asked continues the operations such as table for after and provides preparation.
Secondly, system supports the operation expanding and compatibility of runtime can after the completion of the allocation list creation of new business demand To build table statement for what metadata item configuration information was spliced into the dynamic table according to splicing logic, by executing, to build table statement fast The generation dynamic table of speed, and fetcher code source file and the editable page according to metadata item configuration information generation dynamic table, Component needed for dynamically establishing system for new business demand.
Again, on-the-flier compiler and dynamically load are carried out to fetcher code source file, while loads dynamic table and editable page Face, by itself and system globe area, to system can be allow to be compatible with different industries, and expand for users to use after loading is complete Open up every business.
For system embodiments, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
Although the preferred embodiment of the application has been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications can be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the application range.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, the computer equipment includes one or more processors (CPU), input/output Interface, network interface and memory.Memory may include the non-volatile memory in computer-readable medium, random access memory The forms such as device (RAM) and/or Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is to calculate The example of machine readable medium.Computer-readable medium includes that permanent and non-permanent, removable and non-removable media can be with Realize that information is stored by any method or technique.Information can be computer readable instructions, data structure, the module of program or Other data.The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory techniques, CD-ROM are read-only Memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or Other magnetic storage devices or any other non-transmission medium, can be used for storage can be accessed by a computing device information.According to Herein defines, and computer-readable medium does not include non-persistent computer readable media (transitory media), such as The data-signal and carrier wave of modulation.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, commodity or the equipment that include a series of elements not only include that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, commodity or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in process, method, commodity or the equipment for including the element.
Configuration method to a kind of system provided herein and a kind of transaction processing system above have carried out in detail Thin to introduce, specific examples are used herein to illustrate the principle and implementation manner of the present application, and above embodiments are said It is bright to be merely used to help understand the present processes and its core concept;At the same time, for those skilled in the art, foundation The thought of the application, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification is not It is interpreted as the limitation to the application.

Claims (12)

1. a kind of configuration method of system characterized by comprising
During transaction processing system operation, metadata item is combined according to business demand, and raw using metadata item configuration information At the allocation list comprising the metadata item configuration information, the metadata item is the basic data of business;
By the metadata item configuration information in the allocation list be spliced into it is corresponding build table statement, and build table statement described in executing and build Found the corresponding dynamic table of the metadata item;
The access component of the dynamic table is generated according to the metadata item configuration information in the allocation list;
The access component of the dynamic table and the dynamic table is loaded in the transaction processing system;
Wherein, described to combine metadata item according to business demand, and generated using metadata item configuration information comprising first number According to the allocation list of item configuration information, comprising:
The metadata for meeting the business demand is filtered out according to business demand from the metadata item that various businesses model provides , and the metadata item filtered out is determined as to the service fields of dynamic table;
Corresponding attribute information is configured for the service fields;
Using the service fields and the corresponding attribute information of service fields as metadata item configuration information, and generate comprising described The allocation list of metadata item configuration information.
2. the method according to claim 1, wherein the metadata item configuration information by the allocation list It is spliced into and corresponding builds table statement, comprising:
Metadata item configuration information is obtained from the allocation list;
It determines the splicing logic of dynamic table, and the metadata item configuration information is spliced into described move according to the splicing logic State table builds table statement.
3. the method according to claim 1, wherein the access component includes fetcher code source file and can compile The page is collected, the metadata item configuration information according in the allocation list generates the access component of the dynamic table, comprising:
Programming language specification is determined according to the metadata item configuration information in the allocation list, and according to the programming language specification Generate the fetcher code source file of the dynamic table;
Page info is determined according to the metadata item configuration information in the allocation list, and according to described in page info generation The editable page of dynamic table.
4. according to the method described in claim 3, it is characterized by further comprising:
The preview page of the editable page is generated, and adjusts every content in the editable page according to preview effect Position and effect.
5. according to the method described in claim 3, it is characterized in that, loaded in the transaction processing system dynamic table and Before the access component of the dynamic table, further includes:
It is compiled using fetcher code source file of the compiler to the dynamic table, generates corresponding executable file.
6. according to the method described in claim 5, it is characterized in that, described load the dynamic in the transaction processing system The access component of table and the dynamic table, comprising:
The dynamic table and the executable file are loaded in the transaction processing system;
The editable page is put into corresponding web container, and is loaded onto the transaction processing system.
7. a kind of transaction processing system characterized by comprising
Configuration module, for combining metadata item according to business demand, and utilize metadata during transaction processing system operation Item configuration information generates the allocation list comprising the metadata item configuration information, and the metadata item is the basic data of business;
Build table module, for by the metadata item configuration information in the allocation list be spliced into it is corresponding build table statement, and execute The table statement of building establishes the corresponding dynamic table of the metadata item;It is raw according to the metadata item configuration information in the allocation list At the access component of the dynamic table;
Loading module, for loading the access component of the dynamic table and the dynamic table in the transaction processing system;
Wherein, the configuration module, comprising:
Submodule is screened, meets the industry for filtering out from the metadata item that various businesses model provides according to business demand The metadata item of business demand, and the metadata item filtered out is determined as to the service fields of dynamic table;
Submodule is configured, for configuring corresponding attribute information for the service fields;
Submodule is generated, for matching confidence using the service fields and the corresponding attribute information of service fields as metadata item Breath, and generate the allocation list comprising the metadata item configuration information.
8. system according to claim 7, which is characterized in that the table module of building includes: dynamic table setting up submodule;Institute Stating dynamic table setting up submodule includes:
Acquiring unit, for obtaining metadata item configuration information from the allocation list;
The metadata item is matched confidence for determining the splicing logic of dynamic table, and according to the splicing logic by concatenation unit What breath was spliced into the dynamic table builds table statement.
9. system according to claim 7, which is characterized in that the access component includes fetcher code source file and can compile The page is collected, it is described to build table module, comprising:
Source file generates submodule, for determining programming language specification according to the metadata item configuration information in the allocation list, And the fetcher code source file of the dynamic table is generated according to the programming language specification;
The page generates submodule, for determining page info, and foundation according to the metadata item configuration information in the allocation list The page info generates the editable page of the dynamic table.
10. system according to claim 9, it is characterised in that:
The page generates submodule, is also used to generate the preview page of the editable page, and adjust according to preview effect The position of every content and effect in the editable page.
11. system according to claim 9, it is characterised in that:
The loading module is also used to be compiled the fetcher code source file of the dynamic table using compiler, generation pair The executable file answered.
12. system according to claim 11, it is characterised in that:
The loading module, for loading the dynamic table and the executable file in the transaction processing system;By institute It states the editable page to be put into corresponding web container, and is loaded onto the transaction processing system.
CN201310382175.9A 2013-08-28 2013-08-28 A kind of transaction processing system and its configuration method Active CN104424522B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310382175.9A CN104424522B (en) 2013-08-28 2013-08-28 A kind of transaction processing system and its configuration method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310382175.9A CN104424522B (en) 2013-08-28 2013-08-28 A kind of transaction processing system and its configuration method

Publications (2)

Publication Number Publication Date
CN104424522A CN104424522A (en) 2015-03-18
CN104424522B true CN104424522B (en) 2019-01-15

Family

ID=52973427

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310382175.9A Active CN104424522B (en) 2013-08-28 2013-08-28 A kind of transaction processing system and its configuration method

Country Status (1)

Country Link
CN (1) CN104424522B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106843818B (en) * 2015-12-03 2021-01-15 创新先进技术有限公司 Business model generation method and device
CN106708514B (en) * 2016-12-01 2019-11-19 携程旅游信息技术(上海)有限公司 Method based on code document object model, object generator dynamic generation class
CN108615136B (en) * 2016-12-13 2022-04-19 中国地质调查局发展研究中心 Task flow control method and system
CN107943819A (en) * 2017-10-09 2018-04-20 中国电子科技集团公司第二十八研究所 A kind of data managing method and device based on metadata configurations
CN107992286A (en) * 2017-12-06 2018-05-04 广州华旻信息科技有限公司 Intelligent coding method, device, terminal device and storage medium
CN113778542A (en) * 2020-08-31 2021-12-10 北京沃东天骏信息技术有限公司 Service configuration table generation method and device
CN112416970A (en) * 2020-12-03 2021-02-26 四川长虹电器股份有限公司 Method for reducing query number on relational database

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101320365A (en) * 2008-07-09 2008-12-10 金蝶软件(中国)有限公司 Method and apparatus for dynamic layout of document page
CN101667122A (en) * 2009-09-21 2010-03-10 东软集团股份有限公司 Method and device for supporting additional information by POJO extension
CN103019684A (en) * 2012-11-20 2013-04-03 北京思特奇信息技术股份有限公司 Dynamic template-based business page configuring method
CN103092589A (en) * 2011-11-03 2013-05-08 浙江省公众信息产业有限公司 SSH (Struts, Spring and Hibernate) frame based code automatic generation method
CN103135976A (en) * 2011-11-30 2013-06-05 阿里巴巴集团控股有限公司 Code automatic generation method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101320365A (en) * 2008-07-09 2008-12-10 金蝶软件(中国)有限公司 Method and apparatus for dynamic layout of document page
CN101667122A (en) * 2009-09-21 2010-03-10 东软集团股份有限公司 Method and device for supporting additional information by POJO extension
CN103092589A (en) * 2011-11-03 2013-05-08 浙江省公众信息产业有限公司 SSH (Struts, Spring and Hibernate) frame based code automatic generation method
CN103135976A (en) * 2011-11-30 2013-06-05 阿里巴巴集团控股有限公司 Code automatic generation method and device
CN103019684A (en) * 2012-11-20 2013-04-03 北京思特奇信息技术股份有限公司 Dynamic template-based business page configuring method

Also Published As

Publication number Publication date
CN104424522A (en) 2015-03-18

Similar Documents

Publication Publication Date Title
CN104424522B (en) A kind of transaction processing system and its configuration method
US10222951B2 (en) Modeling system for graphic user interface
CN102722372B (en) Method and system for automatically generating codes through classification and configuration
EP2378415B1 (en) Service integration modeling and execution framework
US8196099B2 (en) Updating application design
US10296305B2 (en) Method and device for the automated production and provision of at least one software application
CN106886406A (en) The generation method and device of exploitation code or document
CN101601012A (en) Has the programming framework that scene is supported towards producer graph
CN101617292A (en) Programming and execution towards producer graph
US8843836B2 (en) Model driven content development
CN103744647A (en) Java workflow development system and method based on workflow GPD
JP2013518321A (en) Pattern-based user interface
JP2019207687A (en) Generating project deliverables using objects of data model
Blumöhr et al. Variant configuration with SAP
CN115878092A (en) Code generation method, device and medium based on micro-service architecture
Řepa et al. Adaptive and resilient business architecture for the digital age
KR100656419B1 (en) Apparatus and method for developing information system
CN103778154A (en) Form property reverse writing method and device
US20180039527A1 (en) Configuring Content Management Systems
Čerāns et al. Extensible visualizations of ontologies in OWLGrEd
CN109446719A (en) A kind of implementation method of the customized product tree of element type
Belo et al. Automatic generation of ETL physical systems from BPMN conceptual models
Bonnet et al. A model-driven approach for smart card configuration
CN113052675B (en) Data display method and device
Lange et al. Simplified view generation in a deep view-based modeling environment

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

Effective date of registration: 20211117

Address after: No. 301, floor 3, building 9, zone 4, Wangjing Dongyuan, Chaoyang District, Beijing

Patentee after: ALIBABA (BEIJING) SOFTWARE SERVICE Co.,Ltd.

Address before: Box 847, four, Grand Cayman capital, Cayman Islands, UK

Patentee before: ALIBABA GROUP HOLDING Ltd.

TR01 Transfer of patent right