CN103699649A - Interface element and data mapping processing system and implementation method thereof - Google Patents

Interface element and data mapping processing system and implementation method thereof Download PDF

Info

Publication number
CN103699649A
CN103699649A CN201310732978.2A CN201310732978A CN103699649A CN 103699649 A CN103699649 A CN 103699649A CN 201310732978 A CN201310732978 A CN 201310732978A CN 103699649 A CN103699649 A CN 103699649A
Authority
CN
China
Prior art keywords
data transmission
data
mapping
solid model
interface element
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
CN201310732978.2A
Other languages
Chinese (zh)
Other versions
CN103699649B (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.)
Chengdu Zhuorui Technology Co Ltd
Original Assignee
Chengdu Zhuorui 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 Chengdu Zhuorui Technology Co Ltd filed Critical Chengdu Zhuorui Technology Co Ltd
Priority to CN201310732978.2A priority Critical patent/CN103699649B/en
Publication of CN103699649A publication Critical patent/CN103699649A/en
Application granted granted Critical
Publication of CN103699649B publication Critical patent/CN103699649B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/25Integrating or interfacing systems involving database management systems
    • 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

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)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to an interface element and data mapping processing system and an implementation method thereof. The separation between a data transmission model for defining interface element needs and a solid model for data accessing is allowed; the two models are converted and operated through application services; data is added and modified through an interface by converting the data transmission model into the data access solid model; the data is queried by converting the data access solid model into the data transmission model. The interface elements and background service logic can be effectively divided through an intermediate application service layer, and more vivid architecture and more centralized processing are achieved.

Description

Process system and its implementation of interface element and data-mapping
Technical field
The present invention relates to infotech, analysis and survey control technology field, be specifically related to a kind of system and its implementation of processing interface element and data-mapping.
Background technology
In modern Application service, be that client/server mode or the application service of browser server pattern all can relate to the access to database, such as the access for SQL Server.When our application service need to be added data, delete, revise or inquire about by interface; conventionally can a table of corresponding database or a plurality of table be conducted interviews or be operated; traditional mode of operation is by obtaining a table or a plurality of table in the direct access in interface or operating database; this traditional mode can be brought two problems; the one, interface and service logic and data access are mixed to be used; framework is unclear, and another is not have a kind of unified method to carry out the method for dividing processing interface element and domain model.
Summary of the invention
The present invention has overcome the deficiencies in the prior art, provides a kind of interface element and background business logic are effectively cut apart, and realizes framework more clearly and more unified processing interface element and system and its implementation of data-mapping.
Consider the problems referred to above of prior art, according to an aspect disclosed by the invention, the present invention by the following technical solutions:
A system of processing interface element and data-mapping, comprising:
Database;
The data transmission object that user produces at the enterprising line operate of interface element;
Solid model, comprises the entity object corresponding with described data transmission object on described solid model, in the situation that producing described data transmission object, and described data transmission object and the mapping of described solid model;
Application service layer, described application service layer is untied the mapping of described data transmission object and the generation of described solid model, with the user profile entity that obtains needing;
Business Logic, shines upon by user profile entity and the described Business Logic obtaining after described application service layer, to obtain or to create corresponding entity object information, this entity object information exchange mistake
Data access layer is persisted in described database.
In order to realize better the present invention, further technical scheme is:
According to one embodiment of the invention, described solid model is positioned on described application service layer.
According to one embodiment of the invention,
Described application service layer comprises the mutual conversion to the corresponding entity object on data transmission object and described solid model.
The present invention can also be:
A method of processing interface element and data-mapping, comprising:
The data transmission object that user produces at the enterprising line operate of interface element;
On solid model, be provided with and comprise the entity object corresponding with described data transmission object, in the situation that producing described data transmission object, described data transmission object and the mapping of described solid model;
By application service layer, untie the mapping of described data transmission object and the generation of described solid model, with the user profile entity that obtains needing;
Make the user profile entity and the mapping of described Business Logic that after described application service layer, obtain, to obtain or to create corresponding entity object information, this entity object information exchange is crossed data access layer and is persisted in described database.
According to one embodiment of the invention, described solid model is positioned on described application service layer.
According to one embodiment of the invention, described application service layer comprises the mutual conversion to the corresponding entity object on data transmission object and described solid model.
Compared with prior art, one of beneficial effect of the present invention is:
System and its implementation of processing interface element of the present invention and data-mapping, the permission data transfer model that separately definition interfaces element needs and the solid model of data access, then by application service, two kinds of models mutually changed and operated, by data transfer model being converted to data access solid model, realizing by interface data interpolation, modification; By data access solid model is converted to the inquiry that data transfer model realizes data.The intermediate application service layer of this introducing can effectively cut apart interface element and background business logic, realized framework more clearly and more unified processing.
Accompanying drawing explanation
For clearer explanation present specification embodiment or technical scheme of the prior art, to the accompanying drawing of required use in the description of embodiment or prior art be briefly described below, apparently, the accompanying drawing the following describes is only the reference to some embodiment in present specification, for those skilled in the art, in the situation that not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 shows the present invention and realizes user profile establishment example block diagram.
Fig. 2 shows exemplary graphical user when user profile creates according to an embodiment of the invention.
Fig. 3 shows graphical representation of exemplary when user profile creates according to an embodiment of the invention.
The exemplary sequence diagram of information flow when Fig. 4 shows user profile establishment between each system, processing.
Embodiment
Below in conjunction with embodiment, the present invention is described in further detail, but embodiments of the present invention are not limited to this.
Fig. 1 shows and realizes according to an embodiment of the invention user profile establishment example block diagram.Illustrated embodiments of the invention scheme, is intended to illustrate each participant or system function in the method for the invention as shown in Figure 1, a kind of realization that the present invention is not limited thereto.Do not get rid of some embodiment scheme and increase in some aspects auxiliary additional function.
User uses any browser 101 to create user profile interface by internet 102 access, user's service platform 103 receives that user creates after message, can create user's connection object and user subject object map, and give application service platform 104 and process, the application service meeting solution open mapping of application service platform 104, and obtain user profile entity 105, and create user profile entity object by Business Logic 106, by object, give data access layer system 107 and process, data access layer system 107 by Object Persistence in database.
Fig. 2 shows exemplary graphical user when user profile creates according to an embodiment of the invention.Exemplary interfaces, is intended to the generally mutual main metadata of a user profile of OA system creation of example as shown in Figure 2, and does not limit layout and the pattern at interface, does not also limit additional other interaction datas in other embodiment interfaces.
208 place's input users' user name; User's sex is selected at 209 places; The residing department of user is selected at 210 places, and user's birthday is selected at 211 places.With the combination of top box, may there is different set because of its option of actual conditions.
208 place's user names are logined the account name of OA system as user, system accordingly account indicates user.User's sex is selected at 209 places, and sex can be selected man or female.The residing department of user is selected at 210 places, and department is creating in other functions.User's date of birth is selected at 211 places.Fill in errorless after, user submits at 212 places.When submitting to successfully, user can receive and create the successful message notifying of user profile, and show the user's who creates user name.
Fig. 3 shows graphical representation of exemplary when user profile creates according to an embodiment of the invention.As shown in Figure 3, be intended to explanation and meet the flow direction and the processing that the present invention creates the required critical data of user method, be not confined to only comprise in this flow direction and processing procedure said data.
301 places are the definite of various interface elements while creating user profile, 302 place's systems can be considered as a data transmission object interface element automatically, 303 places are presented at while creating, application service is first converted to entity object by data transmission object, 304 places can be by the entity object method obtaining, by calling the establishment entity object method of service logic, 305 places are by the object that obtains creating and by being persisted in database storage.
The exemplary sequence diagram of information flow when Fig. 4 shows user profile establishment between each system, processing.The business that has been illustrated in figure 4 a user profile of establishment participates in the information flow between each side and each system, the exemplary series of processing.1) user inputs or selects the information of establishment user's various aspects on interface; 2) establishment information can be given user service layer and be processed; 3) user service layer can create the mapping of user profile data transmission object and user profile entity object automatically, and calls the establishment object method of application service layer; 4) application service layer creates object method and can separate data transmission object and the user profile entity object of open mapping, and calls the establishment object method of Business Logic; 5) Business Logic calls persistence object to the method for database and returns to user profile and creates successful information.
A kind of method of processing interface element and data-mapping in sum, solid model can be positioned on application service layer, can be also independent; By the mutual conversion of entity object, data transmission object, not only be convenient to establishment, inquiry, the transmission of data, and can carry out separately when modules is modified, as when Business Logic is modified, can other parts not modified.
On solid model, be provided with and comprise the entity object corresponding with described data transmission object, in the situation that producing described data transmission object, described data transmission object and the mapping of described solid model, as created " name " in user interface, on solid model, map out accordingly corresponding " name " entity attribute, the mapping now creating has comprised the information of needs, also may comprise unnecessary information; Therefore, need to by application service layer, untie the mapping of described data transmission object and the generation of described solid model, with the user profile entity that obtains needing, the method for now untiing can be the method conventionally adopting in prior art; Make the user profile entity and the mapping of described Business Logic that after described application service layer, obtain, to obtain or to create corresponding entity object information, for example, " name " corresponding entity object information on Business Logic more than, this entity object information exchange is crossed data access layer and is persisted in described database.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and each embodiment stresses is the difference with other embodiment, identical similar part cross-references between each embodiment.
" embodiment " that spoken of in this manual, " another embodiment ", " embodiment ", etc., refer to specific features, structure or the feature in conjunction with this embodiment, described and be included at least one embodiment that the application's generality describes.In instructions, a plurality of local appearance statement of the same race is not necessarily to refer to same embodiment.Furthermore, while describing a specific features, structure or feature in conjunction with arbitrary embodiment, what advocate is in conjunction with other embodiment, to realize this feature, structure or feature also to fall within the scope of the invention.
Although with reference to a plurality of explanatory embodiment of the present invention, invention has been described here, but, should be appreciated that, those skilled in the art can design a lot of other modification and embodiments, and these are revised and within embodiment will drop on the disclosed principle scope and spirit of the application.More particularly, in the scope of, accompanying drawing open in the application and claim, can carry out multiple modification and improvement to the building block of subject combination layout and/or layout.Except modification that building block and/or layout are carried out with improving, to those skilled in the art, other purposes will be also obvious.

Claims (6)

1. a system of processing interface element and data-mapping, is characterized in that, comprising:
Database;
The data transmission object that user produces at the enterprising line operate of interface element;
Solid model, comprises the entity object corresponding with described data transmission object on described solid model, in the situation that producing described data transmission object, and described data transmission object and the mapping of described solid model;
Application service layer, described application service layer is untied the mapping of described data transmission object and the generation of described solid model, with the user profile entity that obtains needing;
Business Logic, shines upon by user profile entity and the described Business Logic obtaining after described application service layer, to obtain or to create corresponding entity object information, this entity object information exchange mistake
Data access layer is persisted in described database.
2. the system of processing interface element according to claim 1 and data-mapping, is characterized in that, described solid model is positioned on described application service layer.
3. the system of processing interface element according to claim 1 and data-mapping, is characterized in that,
Described application service layer comprises the mutual conversion to the corresponding entity object on data transmission object and described solid model.
4. the processing interface element of realization system as described in claim 1~3 any one and a method for data-mapping, is characterized in that, comprising:
The data transmission object that user produces at the enterprising line operate of interface element;
On solid model, be provided with and comprise the entity object corresponding with described data transmission object, in the situation that producing described data transmission object, described data transmission object and the mapping of described solid model;
By application service layer, untie the mapping of described data transmission object and the generation of described solid model, with the user profile entity that obtains needing;
Make the user profile entity and the mapping of described Business Logic that after described application service layer, obtain, to obtain or to create corresponding entity object information, this entity object information exchange is crossed data access layer and is persisted in described database.
5. the method for processing interface element according to claim 4 and data-mapping, is characterized in that, described solid model is positioned on described application service layer.
6. the method for processing interface element according to claim 4 and data-mapping, is characterized in that,
Described application service layer comprises the mutual conversion to the corresponding entity object on data transmission object and described solid model.
CN201310732978.2A 2013-12-26 2013-12-26 Handle interface element and the system and its implementation of data mapping Active CN103699649B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310732978.2A CN103699649B (en) 2013-12-26 2013-12-26 Handle interface element and the system and its implementation of data mapping

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310732978.2A CN103699649B (en) 2013-12-26 2013-12-26 Handle interface element and the system and its implementation of data mapping

Publications (2)

Publication Number Publication Date
CN103699649A true CN103699649A (en) 2014-04-02
CN103699649B CN103699649B (en) 2018-05-25

Family

ID=50361177

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310732978.2A Active CN103699649B (en) 2013-12-26 2013-12-26 Handle interface element and the system and its implementation of data mapping

Country Status (1)

Country Link
CN (1) CN103699649B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104699834A (en) * 2015-03-31 2015-06-10 成都市卓睿科技有限公司 Method for optimizing database data access
CN105607906A (en) * 2015-12-18 2016-05-25 北京金山安全软件有限公司 Service implementation method and device and electronic equipment
CN106547964A (en) * 2016-10-21 2017-03-29 北京宇航系统工程研究所 It is a kind of to be used for isomery lattice interface data mapping method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101114226A (en) * 2007-08-28 2008-01-30 北京中企开源信息技术有限公司 Code automatically generating device based on model component, system and method
US20100324958A1 (en) * 2000-07-19 2010-12-23 Ijet International, Inc. Systems and methods for travel, asset, and personnel information and risk management
CN101996071A (en) * 2009-08-20 2011-03-30 上海杉达学院 Software architecture of information control system and architecting method
CN102929898A (en) * 2011-08-12 2013-02-13 微软公司 Semantic query engine of structured database

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100324958A1 (en) * 2000-07-19 2010-12-23 Ijet International, Inc. Systems and methods for travel, asset, and personnel information and risk management
CN101114226A (en) * 2007-08-28 2008-01-30 北京中企开源信息技术有限公司 Code automatically generating device based on model component, system and method
CN101996071A (en) * 2009-08-20 2011-03-30 上海杉达学院 Software architecture of information control system and architecting method
CN102929898A (en) * 2011-08-12 2013-02-13 微软公司 Semantic query engine of structured database

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104699834A (en) * 2015-03-31 2015-06-10 成都市卓睿科技有限公司 Method for optimizing database data access
CN104699834B (en) * 2015-03-31 2018-11-20 成都市卓睿科技有限公司 Optimize the method for database data access
CN105607906A (en) * 2015-12-18 2016-05-25 北京金山安全软件有限公司 Service implementation method and device and electronic equipment
CN105607906B (en) * 2015-12-18 2019-03-22 苏州奖多多科技有限公司 A kind of service implementation method, device and electronic equipment
CN106547964A (en) * 2016-10-21 2017-03-29 北京宇航系统工程研究所 It is a kind of to be used for isomery lattice interface data mapping method
CN106547964B (en) * 2016-10-21 2019-10-22 北京宇航系统工程研究所 One kind being used for isomery lattice interface data mapping method

Also Published As

Publication number Publication date
CN103699649B (en) 2018-05-25

Similar Documents

Publication Publication Date Title
Zhao et al. Modeling MongoDB with relational model
CN114186984B (en) Two-dimensional and three-dimensional integrated collaborative design system for architectural design enterprise
CN101739460A (en) Grid-based spatial data source unification service system and method
CN102567334A (en) Office automation system based on heterogeneous data
CN109002276A (en) serial number generation method, device, terminal device and storage medium
CN103150623A (en) Cloud manufacture capacity service modeling method based on meta-model
CN103699649A (en) Interface element and data mapping processing system and implementation method thereof
CN104346762A (en) Large OTA (open travel alliance) and hotel supplier butt joint communication method
CN113177088B (en) Multi-scale simulation big data management system for material irradiation damage
CN103995886A (en) Multidimensional product design knowledge pushing frame and construction method
US20130262417A1 (en) Graphical Representation and Automatic Generation of Iteration Rule
CN105677745A (en) General efficient self-service data search system and implementation method
WO2021003843A1 (en) Method for hierarchical and distributed coordinated control of time sequence for integrated energy system in industrial complex
CN104657797A (en) Mobile Internet E-government platform system
CN113449354B (en) IPDE-based ship product three-dimensional model data visualization construction method
CN101398923A (en) Service flowpath modelling approach and system based on order number
Liu et al. A BIM-based collaborative design platform for variegated specialty design
CN110196875B (en) Method for realizing data interaction based on configuration
CN110019412A (en) Distributed mass data digging system based on Agent
CN108470087A (en) Punching engine design and simulation platform data bus
CN203133840U (en) Electronic form generating system
Zhang Digital Government Construction Perspective: A Study on the Path to Promote the Improvement of Government Public Management Capacity
CN102646236A (en) Process engine platform
CN102236735B (en) Method and system for processing data relationships in power design
Nie et al. Study on integration model of heterogeneous database based on XML technology

Legal Events

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