An MVC mode application framework in a distributed environment and a method thereof

A distributed environment and application framework technology, applied in instruments, electrical digital data processing, creation/generation of source code, etc., can solve problems such as low efficiency, high server computing pressure, and troublesome maintenance, so as to improve workflow and reduce expansion. and the effect of maintaining work intensity and reducing stress

Active Publication Date: 2019-04-26
SICHUAN CHANGHONG ELECTRIC CO LTD
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is: to overcome the troublesome maintenance problem caused by the tight coupling of the existing MVC mode in a distributed environment and the low efficiency caused by the excessive computing pressure of the server of the application framework of the MVC mode, and propose a distributed The application frame and method of MVC pattern in the environment

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • An MVC mode application framework in a distributed environment and a method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0037] As an embodiment of the present invention, the method applied to the application framework of the MVC pattern in the above-mentioned distributed environment includes:

[0038] The View module displays the user interaction interface and receives user interaction data;

[0039] The Controller module reads the interactive data and sends it to the Model module of the display layer;

[0040]The Model module of the display layer judges whether the interaction data is view data, and if so, calls the processing method of the corresponding view data encapsulated inside to obtain the processing result, which is recorded as processing result 1, and returns the processing result 1 to View for display, otherwise, sends the interaction Data to the data layer Model module;

[0041] According to the interactive data sent by the Model module of the display layer, the Model module of the data layer invokes the processing method of the corresponding business logic data encapsulated insid...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to the field of software architecture. The problem that an existing MVC mode is too tight in coupling in a distributed environment is solved. The MVC mode application framework in the distributed environment comprises a client side and a server side, the client side comprises a View module, a Control module and a display layer Model module, and the server side comprises a data layer Model module and a database; The View module is used for displaying a user interaction interface and receiving interaction data; The Controler module is used for sending the interaction data to the display layer Model module; The display layer Model module is used for judging whether the interaction data is view data or not, if yes, calling a processing method of the corresponding view data to obtain a processing result and returning the processing result to the View module for displaying, and if not, sending the interaction data to the data layer Model module; And the data layer Modelmodule is used for calling a processing method of corresponding business logic data according to the received interaction data to obtain a processing result and returning the processing result to thedisplay layer Model module for the View module to display. The method is suitable for software development of the MVC mode in the distributed environment.

Description

technical field [0001] The invention relates to the field of software architecture, in particular to an application framework of an MVC pattern in a distributed environment and a method thereof. Background technique [0002] MVC is an object-oriented framework pattern for designing and creating web applications. The MVC pattern divides the application into three parts: Model (model), View (view) and Controller (controller). Among them, Model (model) is the part of the application that is used to process application data logic. Usually, the model is responsible for Access data in the database; View (view) is the part of the application that handles data display, usually the view is created based on model data; Controller (controller) is the part of the application that handles user interaction, usually the controller is responsible for Views read data, control user input, and send data to the model. [0003] With the development of network technology, computer software has ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/30G06F8/38
CPCG06F8/315G06F8/38
Inventor 邹纪云
Owner SICHUAN CHANGHONG ELECTRIC CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products