CN105938442A - Multi-role dynamic medical information transmission mechanism based on MVC architectural pattern - Google Patents

Multi-role dynamic medical information transmission mechanism based on MVC architectural pattern Download PDF

Info

Publication number
CN105938442A
CN105938442A CN201610226935.0A CN201610226935A CN105938442A CN 105938442 A CN105938442 A CN 105938442A CN 201610226935 A CN201610226935 A CN 201610226935A CN 105938442 A CN105938442 A CN 105938442A
Authority
CN
China
Prior art keywords
view
model
information transmission
user
mvc
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
CN201610226935.0A
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.)
Big Doctor (shanghai) Medical Ltd By Share Ltd
Original Assignee
Big Doctor (shanghai) Medical Ltd By Share 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 Big Doctor (shanghai) Medical Ltd By Share Ltd filed Critical Big Doctor (shanghai) Medical Ltd By Share Ltd
Priority to CN201610226935.0A priority Critical patent/CN105938442A/en
Publication of CN105938442A publication Critical patent/CN105938442A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

The present invention provides a multi-role dynamic medical information transmission mechanism based on an MVC architectural pattern, and relates to the information transmission technology of the MVC architectural pattern, the MVC architectural pattern and multi-role dynamic medical information transmission. A Model packages object attributes, data storage and implicit business logic, a View serves as a method for outputting data and allowing users to select operation, and a Controller analyzes and transmits data input by the View and converts the data into objects which can be identified by a system. Embodiments of the present invention provide an information transmission mechanism based on the MVC architectural pattern and a dynamic medical information transmission mechanism based on multiple roles. A multi-role dynamic medical information transmission B/S platform is constructed by utilization of system engineering management ideas and methods and computers as the auxiliary technology, maintenance and execution of the system are simplified, and coding contact among modules is reduced. Development and maintenance of applications can be more efficient due to the MVC pattern; and in addition, message transmission and business logic calculation of members are separated, and complexity of system design is reduced.

Description

Many roles dynamic medical information transmission mechanism based on MVC architecture pattern
Technical field
The present invention relates to information transmission technique field based on MVC architecture pattern, particularly relate to MVC architecture pattern and many roles move State medical information transmits.
Background technology
MVC is a framework mode, and it is enforceable makes the input of application program, process and export separately.Use MVC application Program is divided into three core components: model, view, controller.Each of which processes the task of oneself.Model (model) Represent application program core (such as data-base recording list);View (view) video data (data-base recording);Controller (controller) processes input (write into Databasce record).MVC pattern provides HTML, CSS and JavaScript simultaneously Control completely.Model (model) is for processing the part of application data logic in application program, usual model object It is responsible in data base accessing data;View (view) is to process the part that data show in application program, and usual view is to depend on Create according to model data;Controller (controller) is to process the part that user is mutual, usual controller in application program It is responsible for reading data from view, controls user's input, and send data to model.
MVC architecture pattern recommends you to put in position by message content as required, and it is enforceable makes the defeated of application program Enter, process and export separately.View is the interface that user sees and interacts.MVC benefit is that it can process for application program The most different views.The most in fact not having real process to occur, no matter these data are online storage or one Employee lists, from the point of view of view, it is intended only as a kind of exporting data the mode allowing user to handle.Model representation enterprise Data and business rule.In three parts of MVC, model has most process tasks.One model can be multiple view Data are provided, only need to write the most just can be reused by multiple views, so decreasing the weight of code owing to being applied to the code of model Renaturation.Controller accepts the input of user calling model and view has gone the demand of user, and it simply receives request and determines Call which model component to go to process request, determine the data which view to show return with the most again.
System implements the benefit of many roles dynamic medical information transmission mechanism based on MVC architecture pattern: view layer and operation layer divide From, thus allow change view layer code need not recompilate model and controller code;Equally, the operation flow of application Or the change of business rule has only to change the model layer of MVC.MVC pattern allows to use the view of various different pattern Accessing the code of same server end, user also can check medical information by mobile phone by computer, although checks Mode different, but process and check that the mode of information is the same.MVC pattern is used to make the development time obtain sizable contracting Subtracting, it makes programmer (Java developer) concentrate on service logic, interface program person (HTML and JSP developer) Concentrate in the form of expression.Separate view layer and Business Logic also makes WEB application be more readily maintained and revise.Due to Each performs its own functions for different layers, and the different application of each layer has some identical feature, is conducive to by through engineering approaches, tool pipe Reason program code.Controller also provides a benefit, it is simply that controller can be used to have gone to couple different models and view Becoming the demand of user, such controller can be that Structural application program provides strong means.More given reusable models And view, controller can process according to the demand preference pattern of user, then selects view to be shown to result use Family.
Summary of the invention
In order to overcome the deficiency in existing information transmission technique field based on MVC architecture pattern, the present invention provides based on MVC structure Many roles dynamic medical information transmission mechanism of frame pattern, component is independent computing module, can write with any language. Communication between component is still has been transmitted by message, and message is transmitted between message pool. and each component has a carry Message pool, message pool is the carrier of message, on the one hand for storing the result of calculation of local component, on the other hand is used for receiving From the message of other component.One realizes message pool model, component model and messaging protocol side in application layer unification Case, messaging protocol defines the message between component and accesses rule, and the message transmission of the selection gist static state of message path is assisted View.In the case of system stable operation, content and the direction of the message transmission between component are fixing, therefore there is no need Message route is dynamically carried out when system is run.
The technical solution adopted for the present invention to solve the technical problems is: based on B/S structure, and background data base is SQLServer, Application server uses TOMCAT, and installs Java operation platform.Each jsp file main definitions information be particularly shown shape Formula, list, text box or label etc., and serve as controller to Servlet transmission user request information Servletjava Role, calls doPOst method in the method for do Get, according to parameter evenaction in Htpservlet Request Value determine to make which kind of operation, the difference finally according to event reads the page that will guide from manage.xml file. Model layer manage.java encapsulates all service logics of information management.MVC pattern provides extendible solution handle Coding is divided into 3 different regions: model (Mode 1) part stores in remote system or backstage, maintenance is relevant to application program Data;View (View) is set up terminal use and is represented layer;Maintenance condition logic is responsible for by controller (controler), determines how to process How the request of user's input, submit to user and fault processing result.
The invention has the beneficial effects as follows, many roles dynamic medical information transmission mechanism based on MVC architecture pattern, is utilization system The management thought of engineering and method, and use the computer as ancillary technique build the information of role's dynamic medical more than transmission B/S Platform, uses Servlet Yu JSP technology in web application, by avoiding all of logical intersection, simplifies system Dimension hold so that conceal details between modules, decrease each other coding contact.MVC pattern makes application program Exploitation and maintenance can be more efficient;On the other hand message transmission is separated with the service logic calculating of component, reduces system design Complexity.
Accompanying drawing explanation
The present invention is further described with embodiment below in conjunction with the accompanying drawings.
Fig. 1 is that present example information based on MVC architecture pattern transmits software architecture figure.
Fig. 2 is present example B/S schematic diagram.
Fig. 3 is present example Struts-Spring-Hibernate Organization Chart.
Fig. 4 is that present example information based on MVC architecture pattern transmits development mode figure.
Fig. 5 is present example system module figure.
Detailed description of the invention
In FIG, all entities and the step of many roles dynamic medical information transmission mechanism based on MVC architecture pattern are illustrated. Model (model) represents data and business model part, is the OO thought of core Model in whole system, The object being abstracted as in application program by the object of real world, the most on the one hand encapsulates the attribute of these objects, the opposing party Face encapsulates the storage to data and implicit service logic.View (view) represents User part, be user see with Mutual interface, the most real process occurs, and view is intended only as a kind of output data and selects operation for user Mode.Controller (controller) represents process control section, and it calls corresponding model or view to complete the requirement of user, Being the hinge between Medel and View, it can resolve and transmit the data of View input, and it is right that the system of converting it into is capable of identify that As, identify the operation of user, be construed to Model ad hoc approach is called.The result simultaneously Model performed and the thing of View Part, it can call corresponding View and carry out feedback user.In Web applies, it includes asking of HTTPGET and POST to Web layer Asking, key-course can select the next view that can show by based on user mutual and model layer operating result.
In the diagram, system realization many roles dynamic medical information based on MVC architecture pattern transmission running is as follows:
1. being placed on by all of message content in resource file (Resource), resource file can be compiled and be embedded in procedure set dll In (.net).The resource file depositing message content is placed on server end, client ask and obtain.
2. client from service end request service during, service end is passive and stateless, its responsibility be exactly from Resource file reads whole message contents, and is sent to client by suitable carrier by network, client accept And process.For the application of Internet, use XML Web Servervice technology, by XML serialization and SOAP Agreement solves the puzzlement of fire wall.Use List<string>carry by the message content of text type, it had both supported that two entered XML serialization is also supported in system serializing, very convenient.
3., after client is asked from service end and got message stream, message caching to be made in this locality.This process also needs simply Process because the messaging list that service end sends over does not has a clear and definite classification, also inconvenient local according to message name rope Draw concrete message content, say, that also to realize finding the such effect of content of message A according to " message A " this name. Use key-value pair such hash mode, Dictionary<string, string>(in .net, Dictionary data type is general Stencilling is originally) build three class key-value pairs, including error message set Errors, warning message set Warnings, general information set Informations.These information aggregates are regarded as global object and are cached in internal memory always, and they have collectively constituted one and have disappeared Breath pond, Form or web interface to foreground provide informed source, until client is closed.

Claims (4)

1. many roles dynamic medical information transmission mechanism based on MVC architecture pattern, is characterized in that: information transmission mechanism based on MVC architecture pattern, dynamic medical information transmission mechanisms based on many roles;Model layer manage.java encapsulates all service logics of information management.MVC pattern provides extendible solution and coding is divided into 3 different regions: model (Mode 1) part stores in remote system or backstage, safeguards the data relevant to application program;View (View) is set up terminal use and is represented layer;Maintenance condition logic is responsible for by controller (controler), determines how to process the request of user's input, how result is submitted to user and fault processing.
Information transmission mechanism based on MVC architecture pattern the most according to claim 1, it is characterized in that: Model (model) represents data and business model part, it is the OO thought of core Model in whole system, the object that the object of real world is abstracted as in application program, the most on the one hand encapsulate the attribute of these objects, on the other hand encapsulate the storage to data and implicit service logic.View (view) represents User part, is the interface interacted seen of user, and the most real process occurs, and view is intended only as a kind of mode exporting data and selecting operation for user.Controller (controller) represents process control section, it calls corresponding model or view to complete the requirement of user, it it is the hinge between Medel and View, it can resolve and transmit the data of View input, the object that the system of converting it into is capable of identify that, identify the operation of user, be construed to Model ad hoc approach is called.The result simultaneously performed Model and the event of View, it can call corresponding View and carry out feedback user.In Web applies, it includes the request of HTTPGET and POST to Web layer, and key-course can select the next view that can show by based on user mutual and model layer operating result.
The most according to claim 1 based on unified message pool model, component model and the messaging protocol scheme realized of application layer, it is characterized in that: the message that messaging protocol defines between component accesses rule, the messaging protocol that the selection gist of message path is static.
Dynamic medical information transmission mechanism based on many roles the most according to claim 1, is characterized in that: based on B/S structure, background data base is SQLServer, and application server uses TOMCAT, and installs Java operation platform.Each jsp file main definitions information be particularly shown form, list, text box or label etc., and the role of controller is served as to Servlet transmission user request information Servletjava, doPOst method is called in the method for do Get, determine to make which kind of operation, the difference finally according to event reads the page that will guide from manage.xml file according to the value of parameter evenaction in Htpservlet Request.
CN201610226935.0A 2016-04-12 2016-04-12 Multi-role dynamic medical information transmission mechanism based on MVC architectural pattern Pending CN105938442A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610226935.0A CN105938442A (en) 2016-04-12 2016-04-12 Multi-role dynamic medical information transmission mechanism based on MVC architectural pattern

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610226935.0A CN105938442A (en) 2016-04-12 2016-04-12 Multi-role dynamic medical information transmission mechanism based on MVC architectural pattern

Publications (1)

Publication Number Publication Date
CN105938442A true CN105938442A (en) 2016-09-14

Family

ID=57151958

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610226935.0A Pending CN105938442A (en) 2016-04-12 2016-04-12 Multi-role dynamic medical information transmission mechanism based on MVC architectural pattern

Country Status (1)

Country Link
CN (1) CN105938442A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110531970A (en) * 2019-08-30 2019-12-03 广州开发区信息工程有限公司 Based on MCV framework OA system edit methods, device, equipment and medium
CN111078196A (en) * 2018-10-22 2020-04-28 顺丰科技有限公司 Message transmission method, device, equipment and storage medium based on MVC architecture
CN111240666A (en) * 2018-11-28 2020-06-05 常熟昊虞电子信息科技有限公司 System for constructing user interface framework based on Spring MVC

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张建英: ""基于SSH架构的社区卫生管理信息系统的研究与实现"", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
林晓宇等: ""基于伴随消息池的软件体系结构风格"", 《福建农林大学学报(自然科学版)》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111078196A (en) * 2018-10-22 2020-04-28 顺丰科技有限公司 Message transmission method, device, equipment and storage medium based on MVC architecture
CN111240666A (en) * 2018-11-28 2020-06-05 常熟昊虞电子信息科技有限公司 System for constructing user interface framework based on Spring MVC
CN110531970A (en) * 2019-08-30 2019-12-03 广州开发区信息工程有限公司 Based on MCV framework OA system edit methods, device, equipment and medium

Similar Documents

Publication Publication Date Title
US9674234B2 (en) Managing an application programming interface in a collaboration space
US7756905B2 (en) System and method for building mixed mode execution environment for component applications
CN110716748B (en) Service processing method, device, computer readable medium and electronic equipment
CN110658794B (en) Manufacturing execution system
US20150006135A1 (en) Layout algorithm for entity relation model diagram
CN103377168A (en) Providing of open data protocol service at top part of general interaction layer
Rajam et al. E-learning computational cloud (elc2): Web services platform to enhance task collaboration
CN103701834A (en) Proxy based mobile cloud service access system and method
CN102117203A (en) Information management system based on Struts frame
CN108289118A (en) A kind of management method and device of distributed message stream
CN105938442A (en) Multi-role dynamic medical information transmission mechanism based on MVC architectural pattern
CN101861581A (en) Network operating system
Wanderley et al. MBA: A system of systems architecture model for supporting collaborative work
D'Ambrogio et al. A MDA-based approach for the development of DEVS/SOA simulations
CN109597611A (en) Front end data flow control Components Development system, method, equipment and storage medium
Hamida et al. Integrated CHOReOS middleware-Enabling large-scale, QoS-aware adaptive choreographies
Vrba et al. JADE-JBossESB gateway: Integration of multi-agent system with enterprise service bus
US20180189037A1 (en) Method, apparatus, and computer program product for generating updated network application interfaces
Fjellheim et al. A process-based methodology for designing event-based mobile composite applications
Stukalov et al. Method for Organizing Network Requests in iOS Applications
US8990836B2 (en) Integrating software solution units
CN109816546A (en) A kind of farm farming management platform and method based on J2EE framework
CN102510413B (en) Configuration management method and system based on LDAP (Lightweight Directory Access Protocol)
US20230376363A1 (en) Framework for digital workers
Harth et al. Specifying and executing user agent behaviour with condition-action rules

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160914