CN107818146A - A kind of database schema method and framework - Google Patents

A kind of database schema method and framework Download PDF

Info

Publication number
CN107818146A
CN107818146A CN201710975856.4A CN201710975856A CN107818146A CN 107818146 A CN107818146 A CN 107818146A CN 201710975856 A CN201710975856 A CN 201710975856A CN 107818146 A CN107818146 A CN 107818146A
Authority
CN
China
Prior art keywords
database
class
new model
configuration
sql
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710975856.4A
Other languages
Chinese (zh)
Other versions
CN107818146B (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.)
Huzhou Yinglie Intellectual Property Operation Co ltd
Original Assignee
Shanghai Feixun Data Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201710975856.4A priority Critical patent/CN107818146B/en
Publication of CN107818146A publication Critical patent/CN107818146A/en
Application granted granted Critical
Publication of CN107818146B publication Critical patent/CN107818146B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/211Schema design and management
    • G06F16/212Schema design and management with details for data modelling support
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

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)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of database schema method and framework, method to include:Establish new model foundation class and extension object base class so that database manipulation is carried out by object;Extend the new model foundation class, for by the automation of the sentence of SQL, format or modularization, so that sentence calls.Framework includes:Configuration layer, it is related for configuration database, it whether there is with shared data bank object or checking corresponding table;Model layer, for establishing relevant rudimentary class, meet that single database inherited and inherited under scene more uses so that database manipulation is carried out by object.The present invention can support model tabulation, support the transaction rollback of multithreading safety and operational error, it is easy to operate, without artificial memory and input SQL statement, encapsulation is reliable, and the degree of coupling is low, it is applied widely, durability is high, uses light and flexible, improve development efficiency.

Description

A kind of database schema method and framework
Technical field
The present invention relates to iOS to develop database technical field, more particularly to a kind of database schema method and framework.
Background technology
Database is a kind of local persistent storage mode, has three kinds of databases in iOS exploitations, they are respectively SQLite, CoreData and Realm, CoreData are that Apple Inc. releases API for data persistence, relative to For SQLite, CoreData eliminates the trouble for writing SQL statement, and, as iOS native databases, advantage is combined with system for it Good, the API of support is more, and it is slower that shortcoming is then in response to speed.Realm is increased income out by the Y Combinator start-up groups hatched A cross-platform move database come, not only supports Android, iOS, also supports macOS, Linux, ReactNative And Xamarin, the Realm support model in practice are tabulated, but shortcoming is not support cross-thread calls.SQLite is a Light-weight database, still most commonly used database engine in the world, and increase income and cross-platform, its sentence sometimes It is similar with MySQL, can be general with the relevant database on Android backstages, but invoked procedure is sufficiently complex.
At present, the application for database also has many extensions, such as Publication No. CN103793431A patent document Disclose " a kind of new database access framework ", using the teaching of the invention it is possible to provide unified application programming interfaces call to programmer, program Member need not understand the complicated data access implementation pattern of bottom, by the advanced algorithm of autonomous Design, programmer is only needed simply Code call can realize delete, be newly-increased, renewal, the database manipulation such as inquiry, support the databases of all main flows, can be with The development efficiency of programmer is greatly improved, improves the Programming's quality of programmer.Also Publication No. CN103699620A patent Document discloses a kind of " method and system for realizing database manipulation in object-oriented using ORM frameworks ", and it is to all SQL Sentence is uniformly processed, and can produce SQL scripts automatically, is avoided the trouble of a large amount of SQL statements of artificial memory, is improved exploitation Efficiency.
Such as FMDB again, it is a set of third party's framework, and SQLite API is encapsulated, uses more face To object, the C language code of many troubles, redundancy is eliminated, additionally it is possible to multithreading safety is provided, prevents data corruption, there is provided Many facilities, but shortcoming be in the project directly in use, still not light enough, can not detaching structure query language (SQL) sentence, it is more complicated to being used for the people for being unfamiliar with database;In addition, can not also directly be tabulated by model, it is necessary to Every table is safeguarded one by one, but nearly hundred line code of every table, development cost are high.For above-mentioned problem, it is necessary to Improvement is made to FMDB, carries out function optimization.
The content of the invention
The technical problem to be solved in the present invention is to be directed to above-mentioned the deficiencies in the prior art, there is provided one kind being capable of support model system Table, multithreading safety and transaction rollback are supported, easy to operate, without artificial memory and input SQL statement, encapsulation is reliable, coupling Spend low, database schema method applied widely and high durability and framework.
To achieve these goals, the technical solution adopted by the present invention is:
A kind of database schema method, methods described include:
New model foundation class and extension object base class are established, for meeting single inherit and the databases inherited under scene more Use so that database manipulation is carried out by object;
Extend the new model foundation class, for by the automation of the sentence of SQL, format or module Change, so that the sentence of the SQL of the object base class after the new model foundation class and extension calls.
Further, methods described also includes configuration database, for shared data bank object or whether verifies corresponding table In the presence of.
Further, the configuration database includes:When database starts, calling or configuration data library name;Call or Configuration database path;Singleton database object;Singleton isochronous queue.
Further, the new model foundation class includes being defined as below:Attribute list parses;Field constrains;Database Action;
The extension object base class includes being defined as below:Major key increases certainly;Attribute list parses;Field constrains;Data Storehouse acts.
Further, when the attribute list parsing includes the operation using the Object-Oriented Programming Language bottom for expanding C Characteristic, mapping class attribute list and attribute type list are corresponded and are converted to form corresponding to database and attribute.
Further, the field constraint includes setting and ignores field and using SQL keyword for one Individual field enters row constraint;
The database movement includes:Abstract structure query language statement;Encapsulate the abstract structure query language Statement result.
A kind of database framework, the framework include:
Configuration layer, it is related for configuration database, it whether there is with shared data bank object or checking corresponding table;
Model layer, for establishing relevant rudimentary class, meet that single database inherited and inherited under scene more uses so that logical Cross object and carry out database manipulation.
Further, the model layer includes:
New model basis generic module, attribute list parsing is performed for establishing new model foundation class;Field constrains;Database Action;
Object base class expansion module, major key is performed from increasing for extending object base class;Attribute list parses;Field is about Beam;Database movement.
Further, the configuration layer includes:
Configuration module is called, database name calls or configuration, database path call for when database starts, performing Or configuration;
Singleton module, for by database object, isochronous queue singleton.
Further, the model layer also includes new model foundation class expansion module, for extending the new model basis Class, by the automation of the sentence of SQL, format or modularization, after the new model foundation class and extension The object base class SQL sentence call.
After adopting the above technical scheme, the beneficial effects of the invention are as follows:1st, by establishing new model foundation class, list is realized Inherit and database manipulation is carried out by object under scene, database support model is tabulated, by extending pair in original FMDB As foundation class, realize inherit also can carry out database manipulation more under scene by object;It is applicable so as to expand database Scope;
2nd, by extending the new model foundation class, by sentence automation, formatting or the mould of SQL Block is in case call so that database manipulation can be achieved without artificial memory and input SQL statement, improve development efficiency Development cost is saved simultaneously;
3rd, by when database starts, call or configuration data library name;Calling or configuration database path;Singleton number According to storehouse object;Singleton isochronous queue;So that database supports multithreading safety and transaction rollback;
4th, attribute list parsing is carried out by using characteristic during the operation for the Object-Oriented Programming Language bottom for expanding C, it is real Showed directly invoking for SQL statement, and preferably ensure database need not each pair one open table and safeguarded, directly built by model The function of table.
Brief description of the drawings
In order to illustrate the embodiments of the present invention more clearly or prior art technical scheme, accompanying drawing is as follows:
Fig. 1 is a kind of database schema method configuration diagram in the embodiment of the present invention 2;
Fig. 2 is a kind of database framework schematic diagram in the embodiment of the present invention 3.
Embodiment
It is the specific embodiment of the present invention and with reference to accompanying drawing below, technical scheme is further described, But the present invention is not limited to these embodiments.
Existing FMDB frameworks are the database frameworks commonly used in iOS exploitations, and it is encapsulated in a manner of Objective-C SQLite C language API, uses more object-oriented, eliminates many troublesome, redundancy C codes, contrast apple is certainly The CoreData frameworks of band, more light weight and flexibly.But SQL statement operation can not be departed from, this is to being unfamiliar with database Relative difficulty for operating personnel, operates also partially cumbersome for known technology people, and existing FMDB frameworks can not lead in addition Model directly tabulation is crossed, it is necessary to be safeguarded to every table, and every table troublesome maintenance, is opened all without the code of nearly hundreds of row It is high to send out cost.
The object of the invention is exactly to solve the above defect, makes database manipulation more light and flexible, improves development efficiency.
Embodiment 1
The present embodiment provides a kind of database schema method, and methods described includes:
New model foundation class and extension object base class are established, for meeting single inherit and the databases inherited under scene more Use so that database manipulation is carried out by object;
In view of database can not directly carry out building table by object under existing FMDB frameworks, in the present embodiment, to existing FMDB frameworks have carried out another layer of encapsulation, establish a new model foundation class --- and XTDBModel, the XTDBModel are inherited Table under former data framework, while the method for encapsulating various database manipulations is realized with code, so enable to data Storehouse operation directly can just carry out building table by an object, carry out the operation such as database insertion, deletion, inquiry, renewal.
Such as:
Thus database manipulation can be very convenient, as long as customized entity class is inherited from into XTDBModel, so that it may To start operating database.
Further, do not propped up in the Object-Oriented Programming Language (Objective-C) due to expanding C in existing FMDB frameworks Hold inherit scenes, inherit just refers to that subclass needs to inherit the scene of multiple parents more, i.e., existing FMDB frameworks do not support it is more after The subclass held inherits XTDBModel, can not carry out follow-up database manipulation;In order to support to inherit the subclass energy of multiple parents Database manipulation is enough carried out, so being extended to existing object base class (NSObject), forms a NSObject+ XTFMDB new object foundation class, it is encapsulated into and new model foundation class identical function;NSObject is institute in Objective-C There is the base class of class, when each custom entities class carries out database manipulation, can inherit the data in NSObject, so expanding NSObject is opened up, can be achieved to inherit the subclass of multiple parents in the case where not inheriting XTDBModel scene, also can be right by one As using database manipulation.This make it that database manipulation is more intelligent, quick and smooth, have also been enlarged database and is applicable model Enclose.
Extend the new model foundation class, for by the automation of the sentence of SQL (SQL), format or Modularization, so that the SQL of the object base class after the new model foundation class and extension sentence calls.
Existing FMDB frameworks are when in use, it is necessary to by the input of SQL statement, this for being unfamiliar with the people of database and Speech uses more complicated, and the mode of artificial memory and input is also comparatively laborious and efficiency is low in addition, and flexibility ratio is inadequate, right XTDBModel is extended to form an AutoSql, is responsible for automating SQL statement, format, modularization, convenient XTDBModel and NSObject+FMDB are called to it, realize the flexible operating without artificial memory and input SQL statement, Improve database development efficiency.
Embodiment 2
As shown in figure 1, the present embodiment and the difference of embodiment before are, the present embodiment provides a kind of more detailed number According to library architecture, methods described also includes configuration database, whether there is for shared data bank object or checking corresponding table.
The configuration database includes:When database starts, calling or configuration data library name;Calling or configuration database Path;Singleton database object;Singleton isochronous queue.These are prepared for the initialization operation of data, facilitate number It is more accurate when being operated according to storehouse, more targeted, database is supported multithreading safety and transaction rollback.
It is detailed in the new model foundation class (XTDBModel) to include being defined as below:Attribute list parses;Field is about Beam;Database movement;
The extension object base class includes being defined as below:Major key increases certainly;Attribute list parses;Field constrains;Data Storehouse acts.
Specifically:The foundation of new model foundation class and the extension implementation of object base class are essentially identical, and difference is Major key (PKID), PKID are the attributes carried in FMDB models foundation class (DBModel), and the subclass for inheriting DBModel can be after The XTDBModel in the present embodiment is held, therefore XTDBModel need not define PKID, and NSObject+XTFMDB is in the present embodiment For no succession DBModel subclass service, so without PKID attributes, it is necessary to which self-defining major key adds PKID from increasing Attribute is as digital major key, it is ensured that uniqueness.Wherein, NSObject+XTFMDB make use of Objective-C category special Property it is full decoupled, can perfectly solve the scene inherited more, while the also perfect marrow for realizing software development high cohesion lower coupling.
The attribute list parsing includes the fortune using Object-Oriented Programming Language (Objective-C) bottom for expanding C (Runtime) characteristic during row, Runtime systems can make class with dynamic creation class and object in the present embodiment using Runtime Parsing, form corresponding to SQLite and attribute are converted to for mapping class attribute list and attribute type list to be corresponded, The method that database manipulation can be directly invoked so that without as under existing FMDB frameworks, safeguarding that this is significantly to each table The time of database access is shortened, improves efficiency.
The field constraint includes setting and ignores field and enter row constraint for a field using SQL keywords;Such as: SQL keyword constraints are realized as follows:
(NSDictionary*)modelPropertiesSqliteKeywords
{
return@{
@"title":@" UNIQUE " ... // desired keyword is added, separated with space
};
}
Field is ignored in setting to be not intended to participation by listing and specifying in code and build the field of table, for example, some and regard Scheme relevant attribute etc. so that database these fields for needing to ignore operation of automatic identification in operation;Such as:(NSArray*) ignoreProperties
{
return@[
@" abcabc " ... //abcabc is mutually in requisition for the field ignored
];
}
The database movement definition includes:Abstract SQL statement;Encapsulate the abstract SQL statement result.Database movement The premise of execution is to need corresponding data function definition, and the mode defined is as follows:First, SQL languages business used Sentence is kept completely separate, and is taken out additions and deletions and is changed the various situations about being likely encountered looked into, such as batch insertion, renewal;According to condition inquiry etc., When abstract, isolate operation object and querying condition and be packaged into available database movement collection as parameter and SQL statement combination Close, in case calling.
At present in the present embodiment, the operating method taken out is 11 kinds, is to insert single (insert), batch insertion respectively (insertList) all data in single (update), batch updating (updateList), inquiry table, are updated (selectAll) (selectWhere), is according to condition inquired about, single (findFirstWhere) is according to condition inquired about, according to condition inquires about (hasModelWhere) whether is included, current Model (deleteModel) is deleted, according to condition deletes certain Model (deleteModelWhere) this table (dropTable), is deleted, each own related code is realized, is applied generally to various Operation to tables of data.
The present embodiment is the further optimization to FMDB frameworks, is integrated with its original good characteristic, supports multithreading peace Entirely, operation failure transaction rollback is supported, can effectively prevent the confusion of data;And new function optimization is added, lower coupling is supported, The fast run-up table of model of more scenes, the operation for departing from SQL statement input is supported, does not produce and conflicts with original FMDB frameworks, seal Filled a variety of operating methods, met the operational requirements of multitype database table, realize it is simple, it is easy to operate, durability is high, can improve Development efficiency.
Embodiment 3
As shown in Fig. 2 a kind of database framework, the framework includes:
Configuration layer 100, it is related for configuration database, it whether there is with shared data bank object or checking corresponding table;
Model layer 200, for establishing relevant rudimentary class, meet that single database inherited and inherited under scene more uses, make Database manipulation must be carried out by object.
The model layer 200 includes:
New model basis generic module 210, attribute list parsing is performed for establishing new model foundation class;Field constrains;Number Acted according to storehouse;
Object base class expansion module 220, major key is performed from increasing for extending object base class;Attribute list parses;Word Section constraint;Database movement.
The configuration layer 100 includes:
Configuration module 110 is called, for when database starts, performing database name calling or configuration, database path Call or configure;
Singleton module 120, for by database object, isochronous queue singleton.
The model layer 200 also includes new model foundation class expansion module 230, for extending the new model foundation class, By the automation of SQL sentence, format or modularization, so as to the object base after the new model foundation class and extension The SQL of class sentence calls.
It should be noted that the framework that the present embodiment provides is according to the database schema method pointed out in above-described embodiment Come what is realized, the database schema method to be pointed out in above-described embodiment provides physical support and service.
It is as follows that the database framework of the present embodiment accesses operation implementation process:In view of some parts and existing FMDB frameworks Under operation it is identical, therefore here is omitted, first, can be called in configuration layer 100 when database application APP starts and configure letter Number, that is, perform database name and call or configure, database path calls or configuration, by database object, isochronous queue singleton Action, so as to shared data bank object or checking corresponding table whether there is;Configuration layer 100 configure after the completion of, it is necessary to we from A class Model is defined, and defines some attributes, such as age-sex wherein, then allows this Similar integral in new model New model foundation class in basic generic module 210, new model foundation class can internally parse this Model, and generate correspondingly A database tuple type, and the type of corresponding field is changed one by one;In database access process, we can also be right Model setting constraints, such as there is which field to be not involved in building table, or the uniqueness of specified name, specify corresponding operation side Method etc.;Then, the SQL statement encapsulated in new model foundation class expansion module 230 is called, operating database action, is at present 11 Kind, additions and deletions, which change, looks into, single batch etc., referring particularly to embodiment 2, without hand-written SQL statement again, the knot with regard to that can obtain our needs Fruit, operation are flexible and light.
Specific embodiment described herein is only to spirit explanation for example of the invention.Technology belonging to the present invention is led The technical staff in domain can be made various modifications or supplement to described specific embodiment or be replaced using similar mode Generation, but without departing from the spiritual of the present invention or surmount scope defined in appended claims.

Claims (10)

  1. A kind of 1. database schema method, it is characterised in that methods described includes:
    Establish new model foundation class and extend object base class, for meeting that single inherit makes with the database under more succession scenes With so that database manipulation is carried out by object;
    Extend the new model foundation class, for by the automation of the sentence of SQL, format or modularization, with The sentence that toilet states the SQL of the object base class after new model foundation class and extension calls.
  2. 2. a kind of database schema method according to claim 1, it is characterised in that methods described also includes configuration data Storehouse, it whether there is for shared data bank object or checking corresponding table.
  3. 3. a kind of database schema method according to right wants 2, it is characterised in that the configuration database includes:In number When starting according to storehouse, calling or configuration data library name;Calling or configuration database path;Singleton database object;Singletonization is same Walk queue.
  4. 4. a kind of database schema method according to claim 1, it is characterised in that the new model foundation class includes It is defined as below:Attribute list parses;Field constrains;Database movement;
    The extension object base class includes being defined as below:Major key increases certainly;Attribute list parses;Field constrains;Database moves Make.
  5. 5. a kind of database schema method according to claim 4, it is characterised in that the attribute list parsing includes adopting With characteristic during the operation of the Object-Oriented Programming Language bottom for expanding C, by mapping class attribute list and attribute type list one by one Corresponding conversion is form and attribute corresponding to database.
  6. 6. a kind of database schema method according to claim 4, it is characterised in that the field constraint includes setting and neglected Omit field and enter row constraint for a field using SQL keyword;
    The database movement includes:Abstract structure query language statement;Encapsulate the abstract structure query language statement As a result.
  7. 7. a kind of database framework, it is characterised in that the framework includes:
    Configuration layer, it is related for configuration database, it whether there is with shared data bank object or checking corresponding table;
    Model layer, for establishing relevant rudimentary class, meet that single database inherited and inherited under scene more uses so that by right As carrying out database manipulation.
  8. 8. a kind of database framework according to claim 7, it is characterised in that the model layer includes:
    New model basis generic module, attribute list parsing is performed for establishing new model foundation class;Field constrains;Database moves Make;
    Object base class expansion module, major key is performed from increasing for extending object base class;Attribute list parses;Field constrains; Database movement.
  9. 9. a kind of database framework according to claim 7, it is characterised in that the configuration layer includes:
    Configuration module is called, database name is called or configuration, database path are called or matched somebody with somebody for when database starts, performing Put;
    Singleton module, for by database object, isochronous queue singleton.
  10. 10. a kind of database framework according to claim 8, it is characterised in that the model layer also includes new model base Plinth class expansion module, for extending the new model foundation class, by the automation of the sentence of SQL, format or Modularization, so that the sentence of the SQL of the object base class after the new model foundation class and extension is adjusted With.
CN201710975856.4A 2017-10-19 2017-10-19 Database architecture method and framework Active CN107818146B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710975856.4A CN107818146B (en) 2017-10-19 2017-10-19 Database architecture method and framework

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710975856.4A CN107818146B (en) 2017-10-19 2017-10-19 Database architecture method and framework

Publications (2)

Publication Number Publication Date
CN107818146A true CN107818146A (en) 2018-03-20
CN107818146B CN107818146B (en) 2023-09-01

Family

ID=61608153

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710975856.4A Active CN107818146B (en) 2017-10-19 2017-10-19 Database architecture method and framework

Country Status (1)

Country Link
CN (1) CN107818146B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108804573A (en) * 2018-05-23 2018-11-13 北京五八信息技术有限公司 A kind of cross-platform processing method, device, equipment and the storage medium of database
CN109634936A (en) * 2018-12-13 2019-04-16 山东浪潮通软信息科技有限公司 A kind of storage method handling high-volume data in iOS system
CN113961558A (en) * 2021-10-08 2022-01-21 上海信宝博通电子商务有限公司 Front-end data storage method and device and storage medium
CN115203176A (en) * 2022-09-15 2022-10-18 太平金融科技服务(上海)有限公司深圳分公司 Database operation method, database operation device, database operation equipment, storage medium and program product

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183370A (en) * 2007-12-13 2008-05-21 浪潮通信信息系统有限公司 Topological modelling approach based on class definition and relationship definition
CN102841889A (en) * 2011-06-20 2012-12-26 中兴通讯股份有限公司 Method and device for achieving efficient database access based on ORM (object relational mapping) architecture
CN102945230A (en) * 2012-10-17 2013-02-27 刘运通 Natural language knowledge acquisition method based on semantic matching driving

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183370A (en) * 2007-12-13 2008-05-21 浪潮通信信息系统有限公司 Topological modelling approach based on class definition and relationship definition
CN102841889A (en) * 2011-06-20 2012-12-26 中兴通讯股份有限公司 Method and device for achieving efficient database access based on ORM (object relational mapping) architecture
CN102945230A (en) * 2012-10-17 2013-02-27 刘运通 Natural language knowledge acquisition method based on semantic matching driving

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
念茜: "Objective-C的"多继承"", 《CSDN》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108804573A (en) * 2018-05-23 2018-11-13 北京五八信息技术有限公司 A kind of cross-platform processing method, device, equipment and the storage medium of database
CN109634936A (en) * 2018-12-13 2019-04-16 山东浪潮通软信息科技有限公司 A kind of storage method handling high-volume data in iOS system
CN113961558A (en) * 2021-10-08 2022-01-21 上海信宝博通电子商务有限公司 Front-end data storage method and device and storage medium
CN115203176A (en) * 2022-09-15 2022-10-18 太平金融科技服务(上海)有限公司深圳分公司 Database operation method, database operation device, database operation equipment, storage medium and program product
CN115203176B (en) * 2022-09-15 2023-03-07 太平金融科技服务(上海)有限公司深圳分公司 Database operation method, device, equipment, storage medium and program product

Also Published As

Publication number Publication date
CN107818146B (en) 2023-09-01

Similar Documents

Publication Publication Date Title
CN106528129B (en) A kind of Web application interface generation system and method
Mannaert et al. Towards evolvable software architectures based on systems theoretic stability
CN107818146A (en) A kind of database schema method and framework
CN105677875B (en) A kind of visual modeling platform based on the unified constraint of normal data element
US8392880B2 (en) Rapid application development for database-aware applications
CN103279358B (en) A kind of explanation type Service Component dynamic fixing method of Industry-oriented application
CN104360859B (en) A kind of visual service development method and system
US7860823B2 (en) Generic interface for deep embedding of expression trees in programming languages
CN102541996B (en) JDBC (java database connectivity) based data access layer building method and device utilizing same
US9507820B1 (en) Data modeling system for runtime schema extensibility
US8838654B1 (en) Data modeling system for runtime schema extensibility
US20070055692A1 (en) Incremental approach to an object-relational solution
CN101008952A (en) Method and device for generating persistence layer
CN105205103B (en) The method and apparatus for accessing database
CN107885528A (en) A kind of architecture mode modeling method based on body
CN112698819A (en) Method, device and storage medium for designing tree-oriented object programming program
Jossic et al. Model integration with model weaving: a case study in system architecture
CN112650526B (en) Method, device, electronic equipment and medium for detecting version consistency
US8762421B2 (en) Accessing entities of data access layer
CN111626444B (en) Model maintenance dynamic self-adaption method, device and system based on regulation and control cloud and storage medium
CN114036039A (en) Object layer construction method of automatic test framework and UI automatic test framework
Aboulsamh et al. Towards a model-driven approach to information system evolution
Maruna et al. The business process transformation framework implementation through metamodel extension
CN1322418C (en) System for realizing object continuous service and method thereof
CN116881269A (en) Method and system for realizing object relation mapping framework based on JSON

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20201123

Address after: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Hangzhou Jiji Intellectual Property Operation Co.,Ltd.

Address before: 201616 Shanghai city Songjiang District Sixian Road No. 3666

Applicant before: Phicomm (Shanghai) Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20231225

Address after: 313000 room 1019, Xintiandi commercial office, Yishan street, Wuxing District, Huzhou, Zhejiang, China

Patentee after: Huzhou YingLie Intellectual Property Operation Co.,Ltd.

Address before: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee before: Hangzhou Jiji Intellectual Property Operation Co.,Ltd.

TR01 Transfer of patent right