CN104182410A - Dynamic proxy system and method of target relation mapping system - Google Patents
Dynamic proxy system and method of target relation mapping system Download PDFInfo
- Publication number
- CN104182410A CN104182410A CN201310198359.XA CN201310198359A CN104182410A CN 104182410 A CN104182410 A CN 104182410A CN 201310198359 A CN201310198359 A CN 201310198359A CN 104182410 A CN104182410 A CN 104182410A
- Authority
- CN
- China
- Prior art keywords
- mapping
- dynamic
- model
- relation
- request
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/80—Information retrieval; Database structures therefor; File system structures therefor of semi-structured data, e.g. markup language structured data such as SGML, XML or HTML
- G06F16/84—Mapping; Conversion
- G06F16/86—Mapping to a database
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/28—Databases characterised by their database models, e.g. relational or object models
- G06F16/284—Relational databases
- G06F16/288—Entity relationship models
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides a dynamic proxy system of a target relation mapping system. The dynamic proxy system comprises an interception unit, a judging unit, an analyzing unit, a dynamic mapping unit and an access unit, wherein the interception unit is used for intercepting a mapping request which is generated according to a data request sent by a client to a server; the judging unit is used for judging whether dynamic mapping support is required to be provided to the mapping request or not; the analyzing unit is used for analyzing mapping parameters according to the mapping request when the dynamic mapping support is required to be provided; the dynamic mapping unit is used for dynamically mapping a target model and a relation data model in the target relation mapping system according to the mapping parameters; the access unit is used for performing data access on the basis of the target model which is dynamically mapped and feeding an access result back to the client. Correspondingly, the invention also provides a dynamic proxy method of the target relation mapping system. The dynamic proxy method of the target relation mapping system is provided to the target model during operation from transverse and longitudinal dimensions, so that the method can be well combined with the traditional static mapping scheme of the target relation mapping system.
Description
Technical field
The present invention relates to field of computer technology, in particular to a kind of dynamic proxy method of dynamic proxy system and a kind of Object Relation Mapping system of Object Relation Mapping system.
Background technology
In the design of object-oriented (OO) software product, devisers are when the relational database management system in the face of being comprised of relational database such as MySQL, MSSQL, this class of ORACLE, Object Relation Mapping scheme (ORM, Object/Relation Mapping) becomes mainstream technology gradually.The relation of relational data model and object model (Object Model) in ORM system management, conventionally relational data model (NRDM) is corresponding one by one with object model, the structure of an entity class in the structural correspondence object model of a table in NRDM, field in table is the attribute of correspondent entity object, and the line item in table is corresponding an entity object (Entity Object) again.Thereby the object model of ORM system has docked relational database management system neatly, has isolated relational data model.Developer is without the contradiction of paying close attention to relational data model and object model, only need transmit object model at data access layer (DAO), ORM can match object model on concrete relational data model intelligently, triggers relational database management system and carries out data access request.Nowadays the ORM mapping scheme that industry also has a lot of maturations and is widely used, such as Hibernate, MyBatis, Apache OJB etc.They are faced while processing the relatively-stationary pattern of object model, can provide intelligently the mapping scheme of the ORM based on object model completely, because they have carried out the corresponding relation of relational data model and object model agreement configuration (configuration of statement formula), namely so-called static mappings in ORM system.Yet, along with constantly development of enterprise's application, business demand no longer rests in the aspect of static mappings to the mapping scheme of ORM system, large enterprise's application in the face of mass users data and high access, many systems have adopted the framework of minute storehouse submeter, also there is the online implementing later stage in certain applications, the demand of client's custom field.For example, if a system has adopted submeter strategy (, e-commerce system adopts submeter storage to user's order correlation table conventionally) according to business demand, mean that the ORM system of self must be supported the corresponding a plurality of relational data models of an object model; For later stage client custom field, also mean relational data model and the Entity object model that need to revise in ORM system, even revise list structure in relational database, the loaded down with trivial details work such as migration legacy data.So now traditional ORM static mappings scheme is just intelligent no longer so, and this just need to provide a kind of technical scheme of dynamic mapping.
Summary of the invention
Consider the technical matters occurring in correlation technique, technical matters to be solved by this invention is, a kind of dynamic proxy technology of Object Relation Mapping system is provided, and supports dynamic mapping and simple possible.
In view of this, according to an aspect of the present invention, provide a kind of dynamic proxy system of Object Relation Mapping system, having comprised: interception unit, for tackling the mapping request of the request of data generation sending according to described user end to server; Judging unit, for judging whether that being required to be described mapping request provides dynamic mapping support; Resolution unit, when providing described dynamic mapping to support, according to described mapping request analysis mapping parameters at need; Dynamic mapping unit, for carrying out dynamic mapping according to described mapping parameters by the object model of described Object Relation Mapping system and relational data model; Addressed location, carries out data access for the object model based on after dynamic mapping, will access result feedback to described client.
In the mapping request of being required to be, provide dynamic mapping support, the present invention can resolve mapping parameters, according to mapping parameters, object model and relational data model is carried out to dynamic mapping, and well docks simple possible with former Object Relation Mapping system.
In technique scheme, preferably, described dynamic mapping unit can comprise: mapping object is changed subelement, during for the title of the title that comprises specified relationship data model at described mapping parameters and object model, in described Object Relation Mapping system, described object model is mapped to described specified relationship data model, and the described object model of described Object Relation Mapping system after based on dynamic mapping, carries out data access to described specified relationship data model.
Can change in a lateral direction the mapping object of object model, avoid the complex mapping relation of the corresponding a plurality of relational data models of an object model, realize horizontal dynamic mapping.
In technique scheme, preferably, described dynamic mapping unit can comprise: attribute upgrades subelement, for at described mapping parameters, comprise described object model Update attribute time, according to described Update attribute, extended field is write in the expansion relation data model corresponding with described object model, the described object model of described Object Relation Mapping system based on Update attribute, carries out data access to the former relational data model corresponding with described object model and described expansion relation data model.
The renewal that can realize in a longitudinal direction the attribute of object model also correspondingly writes corresponding extended field in corresponding expansion relation data model, without former relational data model and the Entity object model revised in former Object Relation Mapping system, realize longitudinal dynamic mapping.
In above-mentioned arbitrary technical scheme, preferred, can also comprise: adapter, for making object model and the adaptive described Object Relation Mapping system of relational data model through dynamic mapping.
By adapter, can make the dynamic proxy system of Object Relation Mapping system well dock with former Object Relation Mapping system, guarantee the consistance of system style, also be convenient to later maintenance.
In technique scheme, preferred, described judging unit, according to default dynamic mapping data area, determines whether that described mapping request provides described dynamic mapping support.
According to a further aspect in the invention, also provide a kind of dynamic proxy method of Object Relation Mapping system, having comprised: the mapping request that the request of data that interception sends according to described user end to server generates; Judge whether to be required to be described mapping request dynamic mapping support is provided; When need provide described dynamic mapping to support, according to described mapping request analysis mapping parameters; Based on described mapping parameters, the object model in described Object Relation Mapping system and relational data model are carried out to dynamic mapping; The object model of described Object Relation Mapping system after based on dynamic mapping carries out data access, will access result feedback to described client.
In the mapping request of being required to be, provide dynamic mapping support, the present invention can resolve mapping parameters, according to mapping parameters, object model and relational data model is carried out to dynamic mapping, and well docks simple possible with former Object Relation Mapping system.
In technique scheme, preferred, when the title that comprises specified relationship data model at described mapping parameters and the title of object model, in described Object Relation Mapping system, described object model is mapped to described specified relationship data model; The described object model of described Object Relation Mapping system after based on dynamic mapping, carries out data access to described specified relationship data model.
Can change in a lateral direction the mapping object of object model, avoid the complex mapping relation of the corresponding a plurality of relational data models of an object model, realize horizontal dynamic mapping.
In technique scheme, preferred, during the Update attribute that comprises described object model at described mapping parameters, according to described Update attribute, extended field is write in the expansion relation data model corresponding with described object model; The described object model of described Object Relation Mapping system based on Update attribute, carries out data access to the former relational data model corresponding with described object model and described expansion relation data model.
The renewal that can realize in a longitudinal direction the attribute of object model also correspondingly writes corresponding extended field in corresponding expansion relation data model, without former relational data model and the Entity object model revised in former Object Relation Mapping system, realize longitudinal dynamic mapping.
In above-mentioned arbitrary technical scheme, preferred, by adapter, make object model and the adaptive described Object Relation Mapping system of relational data model through dynamic mapping.
In above-mentioned arbitrary technical scheme, preferred, can also comprise: according to default dynamic mapping data area, determine whether that described mapping request provides described dynamic mapping support.
By adapter, can make the dynamic proxy system of Object Relation Mapping system well dock with former Object Relation Mapping system, guarantee the consistance of system style, also be convenient to later maintenance.
The method and system of dynamic proxy ORM when the present invention provides operation to object model and relational data model horizontal, vertical two dimensions, and simple and reliable practical, can well dock with traditional ORM static mappings scheme, as be all ORM system dynamic mapping plug-in unit is provided, thereby, guarantee the consistance of system " style ", be also convenient to later maintenance.
Accompanying drawing explanation
Fig. 1 shows the schematic diagram of the dynamic proxy system of Object Relation Mapping system according to an embodiment of the invention;
Fig. 2 shows the block diagram of dynamic object relationship map system according to an embodiment of the invention;
Fig. 3 shows the process flow diagram of the dynamic proxy method of Object Relation Mapping system according to an embodiment of the invention;
Fig. 4 shows the process flow diagram of the dynamic proxy method of Object Relation Mapping system according to an embodiment of the invention.
Embodiment
In order more clearly to understand above-mentioned purpose of the present invention, feature and advantage, below in conjunction with the drawings and specific embodiments, the present invention is further described in detail.It should be noted that, in the situation that not conflicting, the application's embodiment and the feature in embodiment can combine mutually.
Set forth in the following description a lot of details so that fully understand the present invention, still, the present invention can also adopt other to be different from other modes described here and implement, and therefore, the present invention is not limited to the restriction of following public specific embodiment.
Fig. 1 shows the schematic diagram of the dynamic proxy system of Object Relation Mapping system according to an embodiment of the invention.
As shown in Figure 1, the dynamic proxy system 100 of Object Relation Mapping system according to an embodiment of the invention, comprising: interception unit 102, the mapping request generating for tackling the request of data that sends according to user end to server; Judging unit 104, for judging whether that being required to be this mapping request provides dynamic mapping support; Resolution unit 106, when providing dynamic mapping to support, according to mapping request analysis mapping parameters at need; Dynamic mapping unit 108, for carrying out dynamic mapping according to mapping parameters by the object model of Object Relation Mapping system and relational data model; Addressed location 110, carries out data access for the object model based on after dynamic mapping, will access result feedback to client.
In the mapping request of being required to be, provide dynamic mapping support, the present invention can resolve mapping parameters, according to mapping parameters, object model and relational data model is carried out to dynamic mapping, and well docks simple possible with former Object Relation Mapping system.
Preferably, dynamic mapping unit 108 can comprise: mapping object is changed subelement 1082, during for the title of the title that comprises specified relationship data model at mapping parameters and object model, in Object Relation Mapping system, object model is mapped to specified relationship data model, the object model of Object Relation Mapping system after based on dynamic mapping, carries out data access to specified relationship data model.
Can change in a lateral direction the mapping object of object model, avoid the complex mapping relation of the corresponding a plurality of relational data models of an object model, realize horizontal dynamic mapping.
In technique scheme, preferably, dynamic mapping unit 108 can comprise: attribute upgrades subelement 1084, for at mapping parameters, comprise object model Update attribute time, according to Update attribute, extended field is write in the expansion relation data model corresponding with object model, the object model of Object Relation Mapping system based on Update attribute, carries out data access to the former relational data model corresponding with object model and expansion relation data model.
The renewal that can realize in a longitudinal direction the attribute of object model also correspondingly writes corresponding extended field in corresponding expansion relation data model, without former relational data model and the Entity object model revised in former Object Relation Mapping system, realize longitudinal dynamic mapping.
Preferably, the dynamic proxy system 100 of Object Relation Mapping system can also comprise: adapter, and for making object model and the relational data model adaptive object relationship map system through dynamic mapping.
By adapter, can make the dynamic proxy system of Object Relation Mapping system well dock with former Object Relation Mapping system, guarantee the consistance of system style, also be convenient to later maintenance.
In technique scheme, preferred, judging unit, according to default dynamic mapping data area, determines whether that mapping request provides dynamic mapping support.
As shown in Figure 2, in another kind of embodiment, according to the dynamic proxy system 200 of Object Relation Mapping system of the present invention, mainly comprise dynamic mapping proxy server 202, dynamic mapping manager 204 and adapter 206, wherein, dynamic mapping proxy server 202(comprises interception unit 102 and judging unit 104 as shown in Figure 1) be mainly used in interception mapping request, and judge whether to provide dynamic mapping support for mapping request.Dynamic mapping manager 204(comprises resolution unit 106 and dynamic mapping unit 108 as shown in Figure 1) be mainly used in resolving mapping parameters corresponding to mapping request, and carry out dynamic mapping (comprising horizontal dynamic mapping and longitudinal dynamic mapping) based on mapping parameters.Adapter 206 is for adaptive dynamic mapping manager 204 and traditional Object Relation Mapping system.
Fig. 3 shows the process flow diagram of the dynamic proxy method of Object Relation Mapping system according to an embodiment of the invention.
As shown in Figure 3, the dynamic proxy method of Object Relation Mapping system according to an embodiment of the invention, can comprise the following steps:
Step 302, the mapping request that the request of data that interception sends according to user end to server generates; Judge whether to be required to be mapping request dynamic mapping support is provided; Step 304, when need provide dynamic mapping to support, according to mapping request analysis mapping parameters; Step 306, carries out dynamic mapping based on mapping parameters by the object model in Object Relation Mapping system and relational data model; Step 308, the object model of Object Relation Mapping system after based on dynamic mapping carries out data access, will access result feedback to client.
In the mapping request of being required to be, provide dynamic mapping support, the present invention can resolve mapping parameters, according to mapping parameters, object model and relational data model is carried out to dynamic mapping, and well docks simple possible with former Object Relation Mapping system.
In technique scheme, preferred, when the title that comprises specified relationship data model at mapping parameters and the title of object model, in Object Relation Mapping system, object model is mapped to specified relationship data model; The object model of Object Relation Mapping system after based on dynamic mapping, carries out data access to specified relationship data model.
Can change in a lateral direction the mapping object of object model, avoid the complex mapping relation of the corresponding a plurality of relational data models of an object model, realize horizontal dynamic mapping.
In technique scheme, preferred, during the Update attribute that comprises object model at mapping parameters, according to Update attribute, extended field is write in the expansion relation data model corresponding with object model; The object model of Object Relation Mapping system based on Update attribute, carries out data access to the former relational data model corresponding with object model and expansion relation data model.
The renewal that can realize in a longitudinal direction the attribute of object model also correspondingly writes corresponding extended field in corresponding expansion relation data model, without former relational data model and the Entity object model revised in former Object Relation Mapping system, realize longitudinal dynamic mapping.
In above-mentioned arbitrary technical scheme, preferred, by adapter, make object model and the relational data model adaptive object relationship map system through dynamic mapping.
Preferably, the dynamic proxy method of Object Relation Mapping system can also comprise: according to default dynamic mapping data area, determine whether that mapping request provides dynamic mapping support.
By adapter, can make the dynamic proxy system of Object Relation Mapping system well dock with former Object Relation Mapping system, guarantee the consistance of system style, also be convenient to later maintenance.
How the dynamic mapping scene of facing below in conjunction with traditional ORM system carries out dynamic mapping if describing in detail.
1. horizontal submeter relational data model
XX e-commerce system, owing to considering that system Transaction Information amount is excessive, has adopted submeter strategy to transaction related information table.For example, in this phylogenetic relationship database, there is acquiescence to have an order (Order0) table, along with the increase of transaction data amount has produced Order1, Order2, Order3 gradually ... their common trait is that list data structure is identical, table name difference.Here it is horizontal submeter relational data model.Along with order table incremental submeter, the ORM subsystem of this system will be faced with the identical relational data model of the corresponding a plurality of structures of a solid model.In background technology, mention, traditional ORM system is the allocation plan of statement formula to Object Relation Mapping, and for example, solid model Order configuration mapping relations data model is Order0.It just only can be mapped to this data model of Order0 in ORM system so.Therefore, it can only provide static ORM mapping.In the face of this horizontal submeter relational data model, while just needing solid model operation, can correctly mate corresponding relational data model.For example, current business need to be obtained relational data model Order3.
It is as follows that the present invention processes above demand committed step:
1. dynamic mapping proxy server is intercepted dynamic mapping request;
2. dynamic mapping proxy server forwards mapping request to dynamic mapping manager;
3. dynamic mapping manager is resolved mapping parameters, and verifies mapping parameters legitimacy;
4. dynamic mapping manager is updated to Order3 by the Order0 of object model Order mapping in ORM system;
5. the object model Order of ORM system after based on dynamic mapping carries out data access to relational data model Order3, and returns to ORM system result.
Below 1.~4. step is the core process of processing horizontal submeter data model of the present invention.
2. vertical submeter relational data model
The processing scheme of horizontal submeter relational data model of the present invention belongs to horizontal dynamic mapping strategy, according to mapping, requires to dynamically update the relational data model that object model shines upon.And client's custom field relational data model belongs to longitudinal dynamic mapping strategy, the field of tables of data in the attribute of entity object and expansion relation data model in upgating object model when its requires operation.Thereby, relative processing horizontal submeter relational data model, the in addition step of expansion relation data model.Therefore, it is exactly vertical submeter relational data model in essence.For example, in XX gate system, in relational data model, there is a subscriber's meter (User).According to system requirement investigation in early stage, to the description of telephone number (Phone), only need provide Work Telephone (WorkPhone), mobile phone (MobilePhone).Therefore, in User table, the description of Phone only has WorkPhone and two fields of MobilePhone.Yet after online implementing, client proposes also to need home phone number (HomePhone).During this demand that facing customers proposes, traditional ORM system just need to remove to revise object model for this very tiny variation, even moves User table historical data, in User shows, increases HomePhone field.Although this is also a solution, if client proposes more custom field demand later, solution so is above exactly a large engineering of tool for developer undoubtedly simply.
In order to solve the problems of the technologies described above, processing committed step of the present invention is as follows:
1. dynamic mapping proxy server is intercepted dynamic mapping request;
2. dynamic mapping proxy server forwards mapping request to dynamic mapping manager;
3. dynamic mapping manager is resolved mapping parameters, and verifies mapping parameters legitimacy;
4. dynamic mapping manager is that in ORM system, object model User adds HomePhone attribute, expands the relational data model that User is corresponding simultaneously.
User relational data model structure is as follows:
A.User relational data model (being former relational data model):
UserId | WorkPhone | MobilePhone | Other fields |
B.User expansion relation data model:
UserId | ExpandField | ExpandValue | IsDelete |
According to structure shown in upper table User relational data model, dynamic mapping manager writes UserId, ExpandField, ExpandValue, tetra-fields of IsDelete in User_Expand table.
5. dynamic mapping manager writes extended field information in User expansion relation data model;
6. traditional ORM system writes User legacy data information in its former relational data model, finally returns to ORM system result.
Below 1.~5. step is the core process of processing client custom field relational data model of the present invention.
Next in conjunction with Fig. 4, describe in detail whole according to whole dynamic mapping treatment scheme of the present invention.
As shown in Figure 4, step 402, client user sends request of data to application server.
Step 404, the request controller in application server is resolved this request, and calls Service Logic processing Program.Operation layer is processed the related service logic before this request, and calling data access layer interface.
Step 406, dynamic mapping proxy server is intercepted this data access calls.
Step 408, according to mapped identification (identify in advance which mapping request scope dynamic mapping support need to be provided), judge whether this request needs to provide dynamic mapping support, if do not need directly to enter step 414, processing procedure according to traditional objects relationship map system is processed, otherwise enters step 410.
Step 410, dynamic mapping proxy server forwards mapping request to dynamic mapping manager, and mapping parameters is resolved in dynamic mapping management, and verifies mapping parameters legitimacy.
Step 412, dynamic mapping manager carries out dynamic mapping by object model and relational data model, by the adaptive traditional ORM system of adapter.
Step 414, the object model of traditional ORM system after based on dynamic mapping carries out this data access, finally returns to ORM system result to this business service layer.
Business service layer receives after the result of traditional ORM system, carries out corresponding business processing and returns to Request Control layer; Request Control layer is the client user to this request by the last response of the result receiving.
More than be described with reference to the accompanying drawings according to technical scheme of the present invention, the method and system of dynamic proxy ORM when the present invention provides operation to object model and relational data model horizontal, vertical two dimensions, and simple and reliable practical, can well dock with traditional ORM static mappings scheme, as be all ORM system dynamic mapping plug-in unit is provided, thereby, guaranteed the consistance of system " style ", be also convenient to later maintenance.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.
Claims (10)
1. a dynamic proxy system for Object Relation Mapping system, is characterized in that, comprising:
Interception unit, for tackling the mapping request of the request of data generation sending according to described user end to server;
Judging unit, for judging whether that being required to be described mapping request provides dynamic mapping support;
Resolution unit, when providing described dynamic mapping to support, according to described mapping request analysis mapping parameters at need;
Dynamic mapping unit, for carrying out dynamic mapping according to described mapping parameters by the object model of described Object Relation Mapping system and relational data model;
Addressed location, carries out data access for the object model based on after dynamic mapping, will access result feedback to described client.
2. the dynamic proxy system of Object Relation Mapping system according to claim 1, is characterized in that, described dynamic mapping unit comprises:
Mapping object is changed subelement, during for the title of the title that comprises specified relationship data model at described mapping parameters and object model, in described Object Relation Mapping system, described object model is mapped to described specified relationship data model, the described object model of described Object Relation Mapping system after based on dynamic mapping, carries out data access to described specified relationship data model.
3. the dynamic proxy system of Object Relation Mapping system according to claim 1, is characterized in that, described dynamic mapping unit comprises:
Attribute upgrades subelement, for at described mapping parameters, comprise described object model Update attribute time, according to described Update attribute, extended field is write in the expansion relation data model corresponding with described object model, the described object model of described Object Relation Mapping system based on Update attribute, carries out data access to the former relational data model corresponding with described object model and described expansion relation data model.
4. according to the dynamic proxy system of the Object Relation Mapping system described in any one in claims 1 to 3, it is characterized in that, also comprise:
Adapter, for making object model and the adaptive described Object Relation Mapping system of relational data model through dynamic mapping.
5. according to the dynamic proxy system of the Object Relation Mapping system described in any one in claims 1 to 3, it is characterized in that, described judging unit, according to default dynamic mapping data area, determines whether that described mapping request provides described dynamic mapping support.
6. a dynamic proxy method for Object Relation Mapping system, is characterized in that, comprising:
The mapping request that the request of data that interception sends according to described user end to server generates;
Judge whether to be required to be described mapping request dynamic mapping support is provided;
When need provide described dynamic mapping to support, according to described mapping request analysis mapping parameters;
Based on described mapping parameters, the object model in described Object Relation Mapping system and relational data model are carried out to dynamic mapping;
The object model of described Object Relation Mapping system after based on dynamic mapping carries out data access, will access result feedback to described client.
7. the dynamic proxy method of Object Relation Mapping system according to claim 6, it is characterized in that, when the title that comprises specified relationship data model at described mapping parameters and the title of object model, in described Object Relation Mapping system, described object model is mapped to described specified relationship data model;
The described object model of described Object Relation Mapping system after based on dynamic mapping, carries out data access to described specified relationship data model.
8. the dynamic proxy method of Object Relation Mapping system according to claim 6, it is characterized in that, at described mapping parameters, comprise described object model Update attribute time, according to described Update attribute, extended field is write in the expansion relation data model corresponding with described object model;
The described object model of described Object Relation Mapping system based on Update attribute, carries out data access to the former relation data module corresponding with described object model and described expansion relation data model.
9. according to the dynamic proxy method of the Object Relation Mapping system described in any one in claim 6 to 8, it is characterized in that, by adapter, make object model and the adaptive described Object Relation Mapping system of relational data model through dynamic mapping.
10. according to the dynamic proxy method of the Object Relation Mapping system described in any one in claim 6 to 8, it is characterized in that, also comprise: according to default dynamic mapping data area, determine whether that described mapping request provides described dynamic mapping support.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310198359.XA CN104182410A (en) | 2013-05-24 | 2013-05-24 | Dynamic proxy system and method of target relation mapping system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310198359.XA CN104182410A (en) | 2013-05-24 | 2013-05-24 | Dynamic proxy system and method of target relation mapping system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104182410A true CN104182410A (en) | 2014-12-03 |
Family
ID=51963461
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310198359.XA Pending CN104182410A (en) | 2013-05-24 | 2013-05-24 | Dynamic proxy system and method of target relation mapping system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104182410A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105843605A (en) * | 2016-03-17 | 2016-08-10 | 中国银行股份有限公司 | Data mapping data and device |
CN106649375A (en) * | 2015-10-31 | 2017-05-10 | 阿里巴巴集团控股有限公司 | Method and equipment for processing relational data |
CN113626223A (en) * | 2021-08-12 | 2021-11-09 | 北京京东振世信息技术有限公司 | Interface calling method and device |
CN115774707A (en) * | 2023-02-15 | 2023-03-10 | 广州汇通国信科技有限公司 | Object attribute based data processing method and device, electronic equipment and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101216760A (en) * | 2007-12-28 | 2008-07-09 | 北京方正国际软件系统有限公司 | Dynamic mapping interface calling system and method |
US20100023862A1 (en) * | 2008-07-24 | 2010-01-28 | Xiaorong Tai | User Navigation via Vectors Dynamically Mapped to Distinct Media Attributes |
-
2013
- 2013-05-24 CN CN201310198359.XA patent/CN104182410A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101216760A (en) * | 2007-12-28 | 2008-07-09 | 北京方正国际软件系统有限公司 | Dynamic mapping interface calling system and method |
US20100023862A1 (en) * | 2008-07-24 | 2010-01-28 | Xiaorong Tai | User Navigation via Vectors Dynamically Mapped to Distinct Media Attributes |
Non-Patent Citations (2)
Title |
---|
ANDY_ZHENG: "再谈基于注解运行时动态ORM映射", 《HTTPS://MY.OSCHINA.NET/ANDY0807/BLOG》 * |
黄凯: "基于Java的动态代理机制的ORM技术的研究和实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106649375A (en) * | 2015-10-31 | 2017-05-10 | 阿里巴巴集团控股有限公司 | Method and equipment for processing relational data |
CN106649375B (en) * | 2015-10-31 | 2020-08-04 | 阿里巴巴集团控股有限公司 | Relation data processing method and device |
CN105843605A (en) * | 2016-03-17 | 2016-08-10 | 中国银行股份有限公司 | Data mapping data and device |
CN105843605B (en) * | 2016-03-17 | 2019-03-08 | 中国银行股份有限公司 | A kind of data mapping method and device |
CN113626223A (en) * | 2021-08-12 | 2021-11-09 | 北京京东振世信息技术有限公司 | Interface calling method and device |
CN115774707A (en) * | 2023-02-15 | 2023-03-10 | 广州汇通国信科技有限公司 | Object attribute based data processing method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102167879B1 (en) | Test methods, systems, devices and readable storage media | |
CN111814197B (en) | Data sharing method and device, server and storage medium | |
CN110147407B (en) | Data processing method and device and database management server | |
EP3637280A1 (en) | Data storage method and device, and storage medium | |
CN101071434B (en) | User distributing method, device and system for distributed database system | |
CN103019685B (en) | A kind of system and method dynamically generating business interface based on page elements | |
CN104182410A (en) | Dynamic proxy system and method of target relation mapping system | |
CN103888281A (en) | Server gray scale upgrading method and apparatus, and corresponding gray scale upgrading server | |
CN110858194A (en) | Method and device for expanding database | |
CN103118100A (en) | Guarantee method and guarantee system for improving usability of virtual machine application | |
CN111459403B (en) | Storage hardware management method and device | |
CN111159897A (en) | Target optimization method and device based on system modeling application | |
CN111385370A (en) | ID allocation method, device, storage medium and ID allocation system | |
CN105284145A (en) | Method of coordinating a communication network | |
CN114064073A (en) | Software version upgrading method and device, computer equipment and storage medium | |
CN104077371A (en) | Method and system for monitoring abnormal data of database | |
CN111176715A (en) | Information calling method and server | |
CN107329809A (en) | A kind of distributed transaction processing method and system towards multi-data source | |
US11770264B2 (en) | Method and apparatus for processing resource of block chain, device and medium | |
CN105930354A (en) | Storage model conversion method and device | |
CN105677427A (en) | Module upgrading method and device | |
CN104111892A (en) | Internal memory dynamic distribution method and system | |
CN112559233B (en) | Method, device, equipment and computer readable medium for identifying fault type | |
CN114840562A (en) | Distributed caching method and device for business data, electronic equipment and storage medium | |
CN114218904A (en) | Configurable report export design method and 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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20141203 |