Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Application framework system and method of MVC mode in distributed environment

A distributed environment and application framework technology, applied in the direction of creating/generating source code, instrumentation, computing, etc., can solve problems such as low efficiency, high server computing pressure, troublesome maintenance, etc., to improve workflow, reduce expansion and maintenance work Strength, stress-reducing effect

Active Publication Date: 2022-04-19
SICHUAN CHANGHONG ELECTRIC CO LTD
View PDF4 Cites 0 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
  • Application framework system and method of MVC mode in distributed environment

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. Aiming at the problem that the existing MVC mode coupling is too tight in a distributed environment, an application framework of the MVC mode in a distributed environment is proposed, including a client and a server. The client includes a View Module, Controller module and display layer Model module, described server end comprises data layer Model module and database; View module is used for displaying user interaction interface and receives interactive data; Controller module is used for sending interactive data to display layer Model module; Display layer The Model module is used to judge whether the interactive data is view data, and if so, call the processing method of the corresponding view data to get the processing result and return it to the View module for display; otherwise, send the interactive data to the data layer Model module; the data layer Model module is used to The received interactive data calls the processing method of the corresponding business logic data, and the processing result is returned to the Model module of the display layer for display by the View module. The invention is suitable for the 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 Patents(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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products