CN105183817A - Question bank modeling method and system based on domain-driven design - Google Patents

Question bank modeling method and system based on domain-driven design Download PDF

Info

Publication number
CN105183817A
CN105183817A CN201510536595.7A CN201510536595A CN105183817A CN 105183817 A CN105183817 A CN 105183817A CN 201510536595 A CN201510536595 A CN 201510536595A CN 105183817 A CN105183817 A CN 105183817A
Authority
CN
China
Prior art keywords
exercise question
entity
topic
domain
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510536595.7A
Other languages
Chinese (zh)
Inventor
唐聪
宋文略
许轶
肖迪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Focusedu International Education Consultation Co Ltd
Original Assignee
Beijing Focusedu International Education Consultation 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 Beijing Focusedu International Education Consultation Co Ltd filed Critical Beijing Focusedu International Education Consultation Co Ltd
Priority to CN201510536595.7A priority Critical patent/CN105183817A/en
Publication of CN105183817A publication Critical patent/CN105183817A/en
Pending legal-status Critical Current

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/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • G06F16/2246Trees, e.g. B+trees
    • 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
    • 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/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases

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)
  • Software Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention provides a question bank modeling method and system based on domain-driven design. The method comprises: performing architecture partitioning on a question bank system by using a domain-driven technique to obtain a domain layer, an application layer and infrastructure layers; performing domain modeling on the domain layer according to topics, courses and answering records in the question bank system by using a domain layer modeling tool so as to obtain a domain model; according to data characteristics of the domain model, determining correspnoding storage databases of the infrastructure layers on the basis of a preset strategy; and according to types of data stored in the infrastructure layers, storing different types of stored data in the corresponding storage databases. According to the present invention, a reusable and robust question bank model architecture can be constructed, features of various types of databases and reasonable applicable scenes are utilized to the greatest extent, effective and efficient storage of various types of data is implemented, the system design architecture is simplified, and extensibility of system distribution is improved.

Description

A kind of exam pool modeling method based on Domain Driven Design and system
Technical field
The present invention relates to data modeling technical field, particularly relate to a kind of exam pool modeling method based on Domain Driven Design and system.
Background technology
Certain education theory is followed in the foundation of examination pool, utilizes computer technology to generate the organic assembling of some all knowledge point of examination question course containing generally certain subject.For examination pool modeling, people often think its topic type data standard, simple alternately, and ignore its object modeling process.
At present, the design and implimentation of most problem database systems is with the data modeling of facing relation data.Mainly there is following problem in prior art:
1, data-oriented modeling pattern, lacks secondary relationship between object, and code reuse is poor;
2, problem database system constantly increases along with topic type and quantity, users ' individualized requirement is continuous, and ambient systems is mutual day by day frequent, the adaptability of data-oriented modeling and relation data library storage, extensibility, maintainability all face the challenge, can not the continuous change of the type of adaptation topic very well and business demand;
3, relational database has natural impedance for object oriented designing, causes data model efficiently cannot reduce association in exercise question object modeling process and inheritance;
4, be on the increase across table, the inquiry of connection table, to inquiry complete set exercise question, need the data of being polymerized multiple tables, and need extra structure to store the corresponding relation of topic type and table.
Summary of the invention
In view of the above problems, the present invention proposes and a kind ofly overcome the problems referred to above or the exam pool modeling method based on Domain Driven Design solved the problem at least in part and system, to build reusable, healthy and strong exam pool modeling framework, utilize the feature of types of databases to greatest extent and be reasonably suitable for scene, realize effective, the efficient storage of Various types of data, simplify system configurations, improve the extensibility of system distribution.
According to an aspect of the present invention, provide a kind of exam pool modeling method based on Domain Driven Design, the method comprises:
Adopt domain-driven technology that problem database system is carried out framework division, obtain field layer, application layer and infrastructure layer;
Employing field layer modeling tool carries out field modeling according to the exercise question in problem database system, course and answer record to described field layer, obtains domain model;
According to the data characteristics of described domain model, determine the stored data base of corresponding infrastructure layer according to preset strategy;
According to the type storing data in infrastructure layer, dissimilar storage data are stored in corresponding stored data base.
Wherein, described employing field layer modeling tool carries out field modeling according to the exercise question in problem database system, course and answer record to described field layer, comprising:
For each course creates multiple exercise question entity and at least one cover topic entity, described exercise question entity is associated by exercise question ID value object with every suit topic entity;
According to described exercise question entity, create two large subclasses, be respectively atom topic type and compound topic type, described compound topic type is the set comprising atom topic type;
According to the answer record of each atom topic type, create answer result entity;
Described answer result entity is associated with topic types value object by exercise question ID value object with corresponding exercise question entity.
Wherein, described method also comprises:
Be respectively described exercise question entity and cover topic entity increases an item, and set up the incidence relation of described exercise question entity or cover topic entity and corresponding item by exercise question ID value object.
Wherein, after answer is submitted to, described method also comprises:
Adopt issue field event to encapsulate answer record, and this event is submitted to the messaging bus of described infrastructure layer;
From messaging bus, extract described event, according to Event Distillation result, add up and upgrade current answer statistical information.
Wherein, dissimilar storage data are stored in corresponding stored data base, comprise by the described type according to storing data in infrastructure layer:
Exercise question and cover topic data acquisition Document image analysis MongoDB are stored;
Exercise question to be classified the tree structure of Category, adopt catalog data base LDAP to store;
By answer statistical information, adopt relational database MySQL to store, and adopt the reading buffer memory of Redis database realizing data.
According to another aspect of the present invention, provide a kind of exam pool modeling based on Domain Driven Design, this system comprises:
Framework divides module, for adopting domain-driven technology that problem database system is carried out framework division, obtains field layer, application layer and infrastructure layer;
Field modeling module, for adopting field layer modeling tool to carry out field modeling according to the exercise question in problem database system, course and answer record to described field layer, obtains domain model;
Database determination module, for the data characteristics according to described domain model, determines the stored data base of corresponding infrastructure layer according to preset strategy;
Dissimilar storage data, for according to the type storing data in infrastructure layer, are stored in corresponding stored data base by data memory module.
Wherein, described field modeling module, comprising:
First instance creating unit, for creating multiple exercise question entity and at least one cover topic entity for each course, described exercise question entity is associated by exercise question ID value object with every suit topic entity;
Class creating unit, for according to described exercise question entity, create two large subclasses, be respectively atom topic type and compound topic type, described compound topic type is the set comprising atom topic type;
Second instance creating unit, for the answer record according to each atom topic type, creates answer result entity; Described answer result entity is associated with topic types value object by exercise question ID value object with corresponding exercise question entity.
Wherein, described system also comprises:
Item creation module, for being respectively described exercise question entity and cover topic entity increases an item, and sets up the incidence relation of described exercise question entity or cover topic entity and corresponding item by exercise question ID value object.
Wherein, described system also comprises:
Package module, for after answer is submitted to, adopts issue field event to encapsulate answer record, and this event is submitted to the messaging bus of described infrastructure layer;
Statistical module, for extracting described event from messaging bus, according to Event Distillation result, adding up and upgrading current answer statistical information.
Wherein, described data memory module, specifically for storing exercise question and cover topic data acquisition Document image analysis MongoDB; Exercise question to be classified the tree structure of Category, adopt catalog data base LDAP to store; By answer statistical information, adopt relational database MySQL to store, and adopt the reading buffer memory of Redis database realizing data.
Beneficial effect of the present invention is:
Exam pool modeling method based on Domain Driven Design provided by the invention and system, adopt field modeling to build reusable, healthy and strong exam pool modeling framework, the change of topic type can not change original core business code; Utilize the feature of types of databases to greatest extent and be reasonably suitable for scene, realizing effective, the efficient storage of Various types of data, reducing the difficulty adopting the relationship object impedance of relational database generation to realize system simply; By field event, realize event model modeling and asynchronous message treatment mechanism that statistics waits operation, simplify system configurations, improve the extensibility of system distribution.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 is the process flow diagram of a kind of exam pool modeling method based on Domain Driven Design that the embodiment of the present invention proposes;
Fig. 2 is the schematic diagram of class figure corresponding to exercise question entity that propose of the embodiment of the present invention and interactive relation mutually;
Fig. 3 is the structured flowchart of a kind of exam pool modeling based on Domain Driven Design that the embodiment of the present invention proposes.
Embodiment
Be described below in detail embodiments of the invention, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has element that is identical or similar functions from start to finish.Being exemplary below by the embodiment be described with reference to the drawings, only for explaining the present invention, and can not limitation of the present invention being interpreted as.
Those skilled in the art of the present technique are appreciated that unless expressly stated, and singulative used herein " ", " one ", " described " and " being somebody's turn to do " also can comprise plural form.Should be further understood that, the wording used in instructions of the present invention " comprises " and refers to there is described feature, integer, step, operation, element and/or assembly, but does not get rid of and exist or add other features one or more, integer, step, operation, element, assembly and/or their group.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, and all terms used herein (comprising technical term and scientific terminology), have the meaning identical with the general understanding of the those of ordinary skill in field belonging to the present invention.Should also be understood that those terms defined in such as general dictionary, should be understood to that there is the meaning consistent with the meaning in the context of prior art, unless and by specific definitions, otherwise can not explain by idealized or too formal implication.
Fig. 1 shows the process flow diagram of a kind of exam pool modeling method based on Domain Driven Design of the embodiment of the present invention.
With reference to Fig. 1, the exam pool modeling method based on Domain Driven Design that the embodiment of the present invention proposes comprises:
Problem database system is carried out framework division by S11, employing domain-driven technology, obtains field layer, application layer and infrastructure layer;
S12, employing field layer modeling tool carry out field modeling according to the exercise question in problem database system, course and answer record to described field layer, obtain domain model;
S13, data characteristics according to described domain model, determine the stored data base of corresponding infrastructure layer according to preset strategy;
S14, according to the type storing data in infrastructure layer, dissimilar storage data to be stored in corresponding stored data base.
The embodiment of the present invention, for the domain model modeling of problem database system core realm layer, and by the data characteristics according to domain model, the stored data base of corresponding infrastructure layer is determined according to preset strategy, dissimilar storage data are stored in corresponding stored data base, the structure of optimized integration facility layer, and then the high-efficient and lasting realizing domain model.
Wherein, described step S12, specifically comprises following not shown step:
S121, to create multiple exercise question entity and at least one cover topic entity for each course, described exercise question entity and every suit topic entity are associated by exercise question ID value object;
S122, according to described exercise question entity, create two large subclasses, be respectively atom topic type and compound topic type, described compound topic type is the set comprising atom topic type;
S123, answer record according to each atom topic type, create answer result entity;
S124, described answer result entity to be associated with topic types value object by exercise question ID value object with corresponding exercise question entity.
It should be noted that, field layer is the heart of whole software, includes the service logic of core, defines the behavior of domain model, mutual.Wherein, the main tool of field layer comprises polymerization, entity, value object, field event and industry service.
The embodiment of the present invention, is directed to problem database system, modeling exercise question entity, and it is arranged in QustionModule, and it is also core polymerization root, and its class figure and mutually interactive relation are as shown in Figure 2.Wherein, exercise question Question and cover topic QuestionSet is as two polymerization root entities, in accordance with the principle of design of little polymerization, the two is associated by QuestionID value object, thus the dynamic of the system of guarantee and less transaction consistency, also ensure that the maximum reusability of exercise question, can be quoted by multiple cover topic.For exercise question, build two large subclasses, atom topic type and compound topic type, wherein compound topic type contains the set of atom topic type, atom topic type can specialization be mainly then common to fill a vacancy, select, write, judge etc., for multiple-choice question type, option and answer are defined as two-dimensional table, effectively ensure that the different demands such as many sky, multiselects.Be directed to concrete topic type, create answer result entity, its association QustionID and QustionType two value objects (ValueObject), have recorded the result of word per pass exercise question.
Wherein, described method also comprises:
Be respectively described exercise question entity and cover topic entity increases an item, and set up the incidence relation of described exercise question entity or cover topic entity and corresponding item by exercise question ID value object.
The embodiment of the present invention, also comprises and builds the performing step of statistics and convergence, is directed to exercise question and cover topic stores an item respectively, in order to ensure retractility and the transactional of system, still to be inscribed with cover by value object ID and exercise question and associating.
Wherein, after answer is submitted to, described method also comprises:
Adopt issue field event to encapsulate answer record, and this event is submitted to the messaging bus of described infrastructure layer;
From messaging bus, extract described event, according to Event Distillation result, add up and upgrade current answer statistical information.
In the embodiment of the present invention, in order to increase handling capacity and the overall performance of system, the calculating of statistics adopts asynchronous implement, for this reason, adopts field event, application service and message basis facility to complete this process.After answer is submitted to, issue field (ResultCommitted) Event Package answer record, submit to infrastructure layer messaging bus, Consumer extracts event from message queue, calculates and upgrades corresponding statistics item, realizing final consistency.
Wherein, dissimilar storage data are stored in corresponding stored data base, comprise by the described type according to storing data in infrastructure layer:
Exercise question and cover topic data acquisition Document image analysis MongoDB are stored;
Exercise question to be classified the tree structure of Category, adopt catalog data base LDAP to store;
By answer statistical information, adopt relational database MySQL to store, and adopt the reading buffer memory of Redis database realizing data.
In the present embodiment, application layer mainly comprises two GenerateQuestionSetService and ResultCommitService, and that is responsible for storage repository Repository is mutual, and the conversion of application data and perdurable data.
For infrastructure layer, inventive embodiments, the type of storing data by combination, comprehensive utilization Document image analysis MongoDB, cache database Redis, catalog data base LDAP and relevant database MySQL.Exercise question and cover topic data, owing to comprising complicated associating and object inherits, syntagmatic, so adopt MongoDB, effectively prevent the impedance of relationship object and data persistence layer.Build QuestionCollection, store all topic information, utilize jdkUUID instrument to produce the unique mark of the overall situation.QuestionSetCollection mainly safeguards the set of exercise question mark key assignments according to cover topic, application service can be called infrastructure layer inquiry exercise question set and be converted data connection object DTO and view object VO to.For the tree structure of exercise question classification Category, adopt catalog data base LDAP to store, parent and the subclass information of classification can be found fast.Answer statistical information, because structure is unified, needs to ensure to upgrade affairs, and relates to different dimensions inquiry and use, so adopt relational database MySQL to store, and coordinates Redis to realize reading buffer memory.
The present invention is by utilizing domain-driven modeling method and instrument to carry out field modeling to exam pool exercise question, course, answer record etc., and according to exam pool digital independent feature and model data feature, utilize Document image analysis MongoDB, cache database Redis, catalog data base LDAP and relevant database MySQL to combine and realize the efficient storage of exam pool data.
The embodiment of the present invention, reusable, healthy and strong exam pool modeling framework can be built, utilize the feature of types of databases to greatest extent and be reasonably suitable for scene, realizing effective, the efficient storage of Various types of data, simplify system configurations, improve the extensibility of system distribution.
Fig. 3 shows the structured flowchart of a kind of exam pool modeling based on Domain Driven Design that the embodiment of the present invention proposes.
With reference to Fig. 3, the exam pool modeling based on Domain Driven Design that the embodiment of the present invention proposes, comprises framework and divides module 201, field modeling module 202, database determination module 203 and data memory module 204, wherein:
Described framework divides module 201, for adopting domain-driven technology that problem database system is carried out framework division, obtains field layer, application layer and infrastructure layer;
Described field modeling module 202, for adopting field layer modeling tool to carry out field modeling according to the exercise question in problem database system, course and answer record to described field layer, obtains domain model;
Described database determination module 203, for the data characteristics according to described domain model, determines the stored data base of corresponding infrastructure layer according to preset strategy;
Dissimilar storage data, for according to the type storing data in infrastructure layer, are stored in corresponding stored data base by described data memory module 204.
Wherein, described data memory module 204, specifically for storing exercise question and cover topic data acquisition Document image analysis MongoDB; Exercise question to be classified the tree structure of Category, adopt catalog data base LDAP to store; By answer statistical information, adopt relational database MySQL to store, and adopt the reading buffer memory of Redis database realizing data.
Wherein, described field modeling module 202, comprises first instance creating unit, class creating unit and second instance creating unit further, wherein:
Described first instance creating unit, for creating multiple exercise question entity and at least one cover topic entity for each course, described exercise question entity is associated by exercise question ID value object with every suit topic entity;
Described class creating unit, for according to described exercise question entity, create two large subclasses, be respectively atom topic type and compound topic type, described compound topic type is the set comprising atom topic type;
Described second instance creating unit, for the answer record according to each atom topic type, creates answer result entity; Described answer result entity is associated with topic types value object by exercise question ID value object with corresponding exercise question entity.
In the embodiment of the present invention, the described exam pool modeling based on Domain Driven Design also comprises:
Item creation module, for being respectively described exercise question entity and cover topic entity increases an item, and sets up the incidence relation of described exercise question entity or cover topic entity and corresponding item by exercise question ID value object.
In the embodiment of the present invention, the described exam pool modeling based on Domain Driven Design also comprises package module and statistical module, wherein:
Described package module, for after answer is submitted to, adopts issue field event to encapsulate answer record, and this event is submitted to the messaging bus of described infrastructure layer;
Described statistical module, for extracting described event from messaging bus, according to Event Distillation result, adding up and upgrading current answer statistical information.
The embodiment of the present invention, for the domain model modeling of problem database system core realm layer, and by the data characteristics according to domain model, the stored data base of corresponding infrastructure layer is determined according to preset strategy, dissimilar storage data are stored in corresponding stored data base, the structure of optimized integration facility layer, and then the high-efficient and lasting realizing domain model.
In sum, the exam pool modeling method based on Domain Driven Design that the embodiment of the present invention provides and system, adopt field modeling to build reusable, healthy and strong exam pool modeling framework, the change of topic type can not change original core business code; Utilize the feature of types of databases to greatest extent and be reasonably suitable for scene, realizing effective, the efficient storage of Various types of data, reducing the difficulty adopting the relationship object impedance of relational database generation to realize system simply; By field event, realize event model modeling and asynchronous message treatment mechanism that statistics waits operation, simplify system configurations, improve the extensibility of system distribution.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention can by hardware implementing, and the mode that also can add necessary general hardware platform by software realizes.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions and perform method described in each embodiment of the present invention in order to make a computer equipment (can be personal computer, server, or the network equipment etc.).
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, the module in accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the system in embodiment can carry out being distributed in the system of embodiment according to embodiment description, also can carry out respective change and be arranged in the one or more systems being different from the present embodiment.The module of above-described embodiment can merge into a module, also can split into multiple submodule further.
The above is only some embodiments of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (10)

1. based on an exam pool modeling method for Domain Driven Design, it is characterized in that, described method comprises:
Adopt domain-driven technology that problem database system is carried out framework division, obtain field layer, application layer and infrastructure layer;
Employing field layer modeling tool carries out field modeling according to the exercise question in problem database system, course and answer record to described field layer, obtains domain model;
According to the data characteristics of described domain model, determine the stored data base of corresponding infrastructure layer according to preset strategy;
According to the type storing data in infrastructure layer, dissimilar storage data are stored in corresponding stored data base.
2. method according to claim 1, is characterized in that, described employing field layer modeling tool carries out field modeling according to the exercise question in problem database system, course and answer record to described field layer, comprising:
For each course creates multiple exercise question entity and at least one cover topic entity, described exercise question entity is associated by exercise question ID value object with every suit topic entity;
According to described exercise question entity, create two large subclasses, be respectively atom topic type and compound topic type, described compound topic type is the set comprising atom topic type;
According to the answer record of each atom topic type, create answer result entity;
Described answer result entity is associated with topic types value object by exercise question ID value object with corresponding exercise question entity.
3. method according to claim 2, is characterized in that, described method also comprises:
Be respectively described exercise question entity and cover topic entity increases an item, and set up the incidence relation of described exercise question entity or cover topic entity and corresponding item by exercise question ID value object.
4. method according to claim 1, is characterized in that, after answer is submitted to, described method also comprises:
Adopt issue field event to encapsulate answer record, and this event is submitted to the messaging bus of described infrastructure layer;
From messaging bus, extract described event, according to Event Distillation result, add up and upgrade current answer statistical information.
5. method according to claim 4, is characterized in that, the described type according to storing data in infrastructure layer, dissimilar storage data is stored in corresponding stored data base, comprises:
Exercise question and cover topic data acquisition Document image analysis MongoDB are stored;
Exercise question to be classified the tree structure of Category, adopt catalog data base LDAP to store;
By answer statistical information, adopt relational database MySQL to store, and adopt the reading buffer memory of Redis database realizing data.
6. based on an exam pool modeling for Domain Driven Design, it is characterized in that, described system comprises:
Framework divides module, for adopting domain-driven technology that problem database system is carried out framework division, obtains field layer, application layer and infrastructure layer;
Field modeling module, for adopting field layer modeling tool to carry out field modeling according to the exercise question in problem database system, course and answer record to described field layer, obtains domain model;
Database determination module, for the data characteristics according to described domain model, determines the stored data base of corresponding infrastructure layer according to preset strategy;
Dissimilar storage data, for according to the type storing data in infrastructure layer, are stored in corresponding stored data base by data memory module.
7. system according to claim 6, is characterized in that, described field modeling module, comprising:
First instance creating unit, for creating multiple exercise question entity and at least one cover topic entity for each course, described exercise question entity is associated by exercise question ID value object with every suit topic entity;
Class creating unit, for according to described exercise question entity, create two large subclasses, be respectively atom topic type and compound topic type, described compound topic type is the set comprising atom topic type;
Second instance creating unit, for the answer record according to each atom topic type, creates answer result entity; Described answer result entity is associated with topic types value object by exercise question ID value object with corresponding exercise question entity.
8. system according to claim 7, is characterized in that, described system also comprises:
Item creation module, for being respectively described exercise question entity and cover topic entity increases an item, and sets up the incidence relation of described exercise question entity or cover topic entity and corresponding item by exercise question ID value object.
9. system according to claim 6, is characterized in that, described system also comprises:
Package module, for after answer is submitted to, adopts issue field event to encapsulate answer record, and this event is submitted to the messaging bus of described infrastructure layer;
Statistical module, for extracting described event from messaging bus, according to Event Distillation result, adding up and upgrading current answer statistical information.
10. system according to claim 9, is characterized in that, described data memory module, specifically for exercise question and cover topic data acquisition Document image analysis MongoDB being stored; Exercise question to be classified the tree structure of Category, adopt catalog data base LDAP to store; By answer statistical information, adopt relational database MySQL to store, and adopt the reading buffer memory of Redis database realizing data.
CN201510536595.7A 2015-08-27 2015-08-27 Question bank modeling method and system based on domain-driven design Pending CN105183817A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510536595.7A CN105183817A (en) 2015-08-27 2015-08-27 Question bank modeling method and system based on domain-driven design

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510536595.7A CN105183817A (en) 2015-08-27 2015-08-27 Question bank modeling method and system based on domain-driven design

Publications (1)

Publication Number Publication Date
CN105183817A true CN105183817A (en) 2015-12-23

Family

ID=54905899

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510536595.7A Pending CN105183817A (en) 2015-08-27 2015-08-27 Question bank modeling method and system based on domain-driven design

Country Status (1)

Country Link
CN (1) CN105183817A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112668968A (en) * 2020-12-24 2021-04-16 大唐互联科技(武汉)有限公司 Storage management modeling method and system based on domain-driven design
CN113449444A (en) * 2021-09-02 2021-09-28 湖南高至科技有限公司 Simulation method, computer device and storage medium for domain engineering

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101504645A (en) * 2008-02-04 2009-08-12 上海坦瑞信息技术有限公司 Field concept and knowledge modeling method based on self-defining metadata
CN101799822A (en) * 2010-02-23 2010-08-11 李祯 Method for modeling layered network knowledge model and method for establishing knowledge warehouse system
CN102043793A (en) * 2009-10-09 2011-05-04 卢健华 Knowledge-service-oriented recommendation method
CN104794244A (en) * 2015-05-13 2015-07-22 南京大学 Method and device for realizing graph conversion based on MongoDB

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101504645A (en) * 2008-02-04 2009-08-12 上海坦瑞信息技术有限公司 Field concept and knowledge modeling method based on self-defining metadata
CN102043793A (en) * 2009-10-09 2011-05-04 卢健华 Knowledge-service-oriented recommendation method
CN101799822A (en) * 2010-02-23 2010-08-11 李祯 Method for modeling layered network knowledge model and method for establishing knowledge warehouse system
CN104794244A (en) * 2015-05-13 2015-07-22 南京大学 Method and device for realizing graph conversion based on MongoDB

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
HARALD WESENBERG 等: "《Using Domain-Driven Design to Evaluate Commercial Off-The-Shelf Software》", 《ACM》 *
杨进中等: "《基于Grails的在线自适应测试系统的设计与实现》", 《开放教育研究》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112668968A (en) * 2020-12-24 2021-04-16 大唐互联科技(武汉)有限公司 Storage management modeling method and system based on domain-driven design
CN113449444A (en) * 2021-09-02 2021-09-28 湖南高至科技有限公司 Simulation method, computer device and storage medium for domain engineering

Similar Documents

Publication Publication Date Title
Gillenson Fundamentals of database management systems
CN110032369A (en) A kind of code automatic generation method, device and medium
CN104361018B (en) Electronic archives information reorganization method and device
CN101206670B (en) System and method for transferring non construction information to content
CN103577440A (en) Data processing method and device in non-relational database
CN105045869A (en) Multi-data center based natural resource geospatial data organization method and system
CN102324116A (en) Class attendance checking system and method
CN109522312A (en) A kind of data processing method, device, server and storage medium
CN1519710A (en) Method and system for recording macros in language independent syntax
US10019507B2 (en) Detection and creation of appropriate row concept during automated model generation
Silva et al. Integrating big data into the computing curricula
CN102508919A (en) Data processing method and system
CN104252345A (en) Complex object management method and system in cloud environment
CN103150145A (en) Parallel processing of semantically grouped data in data warehouse environments
CN105183817A (en) Question bank modeling method and system based on domain-driven design
CN115795517A (en) Asset data storage method and device
CN101916260A (en) Method for establishing semantic mapping between disaster body and relational database
CN114218291A (en) Portrait generation method, apparatus, device and storage medium based on target object
Caldarola et al. Big data: The current wave front of the tsunami
US20070073765A1 (en) Metadata-based schema generator
CN110633267A (en) Method and system capable of supporting multiple services to perform report function
Sun et al. Design of a Media Resource Management System for Colleges Based on Cloud Service
CN101482821A (en) Model driving development method implementing information assisted input function
De Smet Some ISIS-Software history and technical background on the new FOSS integrated library system ABCD
CN112015982A (en) Customized news generation method, device, equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
AD01 Patent right deemed abandoned

Effective date of abandoning: 20200825

AD01 Patent right deemed abandoned