CN107766161A - MVC frameworks for elevator long-distance monitorng platform - Google Patents

MVC frameworks for elevator long-distance monitorng platform Download PDF

Info

Publication number
CN107766161A
CN107766161A CN201710909838.6A CN201710909838A CN107766161A CN 107766161 A CN107766161 A CN 107766161A CN 201710909838 A CN201710909838 A CN 201710909838A CN 107766161 A CN107766161 A CN 107766161A
Authority
CN
China
Prior art keywords
module
logic
scope
graphic
offical duty
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
CN201710909838.6A
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.)
Hubei Tianhe Intelligent Technology Development Co Ltd
Original Assignee
Hubei Tianhe Intelligent Technology Development 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 Hubei Tianhe Intelligent Technology Development Co Ltd filed Critical Hubei Tianhe Intelligent Technology Development Co Ltd
Priority to CN201710909838.6A priority Critical patent/CN107766161A/en
Publication of CN107766161A publication Critical patent/CN107766161A/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/542Event management; Broadcasting; Multicasting; Notifications

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Train Traffic Observation, Control, And Security (AREA)

Abstract

The invention discloses a kind of MVC frameworks for elevator long-distance monitorng platform, main technical schemes are:Views module, it includes multiple graphic assemblies, wherein, the logic that shows that shows logic and will not belong in its scope of offical duty that the command process that at least one graphic assembly is used to be assigned according to user is completed in its scope of offical duty is inserted in a new event and appoints away new event;Intermediary's Coordination module, for handled according to new event coordination other graphic assemblies received in other graphic assemblies scope of offical duty show logic and the processing of other graphic assemblies complete in scope of offical duty show logic after send business logic processing order to controller module;Controller module, for the calculating according to the business logic processing order finishing service logic received.

Description

MVC frameworks for elevator long-distance monitorng platform
Technical field
The present invention relates to MVC framework technologies field, more particularly to a kind of MVC frameworks for elevator long-distance monitorng platform.
Background technology
MVC Frame Designs are by the way that composition similar in responsibility, property is summed up together, kept apart not similar Come, system decomposition is that model, three view, controller parts are relatively independent by MVC, forms that responsibility is single, and the division of labor is clear and definite, operation Simplicity, can be absorbed in the in the process of running core design and MVC of practicality and high efficiency are that one kind of complication system is rationally combed With cutting.
The MVC frameworks for elevator long-distance monitorng platform are that controller is automatically generated into detectaphone in the prior art, then open up Existing logic will be undertaken by controller, and this can cause what controller handled that it should not be related to show logic, therefore when processing, View and controller are difficult rational division of work.
The content of the invention
In view of this, the embodiment of the present invention provides a kind of MVC frameworks for elevator long-distance monitorng platform, and main purpose is Solves the problems, such as close coupling between views module and controller module well by introducing intermediary's Coordination module.
To reach above-mentioned purpose, present invention generally provides following technical scheme:
The embodiments of the invention provide a kind of MVC frameworks for elevator long-distance monitorng platform, including:
Views module, it includes multiple graphic assemblies, wherein, at least one graphic assembly is used for the life assigned according to user The logic that shows that shows logic and will not belong in its scope of offical duty that order processing is completed in its scope of offical duty inserts one newly Event in and the new event appointed away;
Intermediary's Coordination module, for according to described other graphic assemblies of the new event coordination processing received it is described other Showing logic and completing to show logic in scope of offical duty in the processing of other described graphic assemblies in graphic assembly scope of offical duty Business logic processing order is sent afterwards to controller module;
The controller module, for the calculating according to the business logic processing order finishing service logic received.
As previously described, at least one graphic assembly includes data collection module and data transmission blocks, the number It is used to collect according to collection module and is not belonging to showing logic and will not belong to institute at least one graphic assembly scope of offical duty The logic that shows stated at least one graphic assembly scope of offical duty is inserted in a new event, the data transmission blocks For the new event to be appointed away.
As previously described, the command process for being assigned according to user is completed to show logic and general in its scope of offical duty The figure for showing logic and inserting in a new event and appointing away the new event being not belonging in its scope of offical duty Component is one or more.
As previously described, intermediary's Coordination module includes Coordination module and judge module, and the Coordination module is used to assist Other graphic assemblies processing is adjusted to complete the logic that shows in other graphic assemblies scope of offical duty, the judge module is used In judging whether the new event needs the assistance of other graphic assemblies and determine the need for assisting according to judged result Other graphic assemblies processing described in module coordination is adjusted to complete to show logic in other graphic assemblies scope of offical duty.
As previously described, the controller module includes business logic processing selecting module and business logic processing module, The business logic processing selecting module is used for the business according to corresponding to the type selecting of the business logic processing order Logic processing module, the business logic processing module calculate according to the business logic processing command process service logic.
By above-mentioned technical proposal, the MVC frameworks that the present invention is used for elevator long-distance monitorng platform at least have advantages below:
The MVC frameworks for elevator long-distance monitorng platform of the present invention solve well by introducing intermediary's Coordination module Close coupling problem between views module and controller module.
State it is bright be only technical solution of the present invention general introduction, in order to better understand the present invention technological means, and Can be practiced according to the content of specification, below with presently preferred embodiments of the present invention and coordinate accompanying drawing describe in detail as after.
Brief description of the drawings
Fig. 1 is a kind of structured flowchart for MVC frameworks for elevator long-distance monitorng platform that embodiments of the invention provide.
Embodiment
As shown in figure 1, a kind of MVC frameworks for elevator long-distance monitorng platform that one embodiment of the present of invention provides, It includes:Views module 1, intermediary's Coordination module 2 and controller module 3, wherein,
The views module 1, it includes multiple graphic assemblies 11, wherein, at least one graphic assembly 11 be used for according to The command process that family is assigned completes showing logic and will not belong in its scope of offical duty show logic in its scope of offical duty Insert in a new event and appoint away the new event;Specifically, at least one graphic assembly 11 includes data Collection module 111 and data transmission blocks 112, data collection module 111 are not belonging at least one graphic assembly 11 for collection The logic that shows that shows logic and will not belong at least one scope of offical duty of graphic assembly 11 in scope of offical duty inserts one In new event, data transmission blocks 112 are used to appoint away new event;Command process for being assigned according to user is complete Inserted into the logic that shows that shows logic and will not belong in its scope of offical duty in its scope of offical duty in a new event And it can also be multiple that the graphic assembly for appointing away the new event, which can be one,.
Intermediary's Coordination module 2, for being handled according to the new event coordination other graphic assemblies 11 received Showing logic and completing scope of offical duty in the processing of other described graphic assemblies 11 in other graphic assemblies 11 scope of offical duty It is interior show logic after send business logic processing order to controller module 3, specifically, intermediary's Coordination module 2 includes Coordination module 21 and judge module 22, Coordination module 21 complete other graphic assemblies 11 for coordinating the processing of other graphic assemblies 11 Show logic in scope of offical duty, judge module 22 is used to judge whether new event needs the assistance of other graphic assemblies 11 simultaneously Coordination other graphic assemblies 11 processing of Coordination module 21 is determined the need for according to judged result and completes other duties of graphic assembly 11 Show logic in the range of duty.The design pattern of intermediary's Coordination module has universal answer in the graphical interfaces framework of modularization With scene, the design of intermediary's Coordination module is intended to complete the interaction of a group objects by a medium object, avoids object Between mutually quote, produce complexity dependence, it is tight as one group of relation when intermediary's Coordination module is applied to graphical interface program The interaction medium of close graphic assembly, completes the co-ordination of inter-module.In MVC frameworks, the application of intermediary's Coordination module, its Positioning is also changed, because it is no longer the medium between graphic assembly, while also becomes graphic assembly and controller Medium between module, this make it that it is no longer optional, but becomes the required facility in MVC frameworks, corresponds to MVC frames In frame, intermediary's Coordination module is exactly the medium between views module and controller module, all users sent from views module Request all have passed through intermediary's Coordination module and pass to controller module again, therefore MVC Frame Designs solve views module and control The close-coupled problem of device module processed.
The controller module 3, based on according to the business logic processing order finishing service logic received Calculate, specifically, the controller module 3 includes business logic processing selecting module 31 and business logic processing module 32, business Logical process selecting module 31 is used for the business logic processing module 32 according to corresponding to the type selecting of business logic processing order, Business logic processing module 32 calculates according to business logic processing command process service logic.
Specific operation principle is, when views module, intermediary's Coordination module and controller module three are defined out, and They are together in series after having carried out clearly segregation of duties, to complete user's request.Existing object, which is absorbed in, handles it Affairs in scope of offical duty, handled and how to be handled by whom beyond part without being concerned about, it is only necessary to an event is appointed, Other objects for just having part as to this carry out the work of next step, are not present between existing object and another object direct Rely on, or even perceive less than mutual presence, this mechanism is generally considered a kind of loose coupling mechanism, avoids domain model To directly relying in MVC frameworks for repository and service, when user's request is assigned, at least one figure Component, which is first handled, to be completed to show logic in its scope of offical duty, then will not belong at least one graphic assembly scope of offical duty The logic that shows that shows garbage collection and will not belong at least one graphic assembly scope of offical duty is inserted in a new event, New event is appointed away again, this is that first time event is appointed.This new time can be listened to by intermediary's Coordination module, such as The new event of fruit needs the assistance of other graphic assemblies, and intermediary's Coordination module, which can coordinate the processing of other graphic assemblies, to be held by them Load shows logic, and then intermediary's Coordination module sends a business logic processing order, this business logic processing order meeting Promote the calculating of controller module finishing service logic, this is that secondary event is appointed.In appointing twice, appoint for the first time allow to After a few graphic assembly completes " handling the logic in its scope of offical duty ", light " getting away " is able to, from being coordinated other figures Part processing residue shows logical sum processing business logic and tied down.And coordinate other graphic assemblies processing residue and show logic and be exactly The responsibility of intermediary's Coordination module, therefore intermediary's Coordination module can't take part in selection after the co-ordination of graphic assembly is completed And appoint other work of business object processing business logic, appoint for the second time there occurs, by controller module complete it is last Work --- select and appoint business object processing business.That is MVC frameworks are by views module and controller mould Intermediary's Coordination module is introduced between block, allows views module to become to indirectly rely on controller module, user is asked from views module To intermediary's Coordination module, then appointed from intermediary Coordination module to controller module in a manner of this of MVC Frame Designs, The decoupling mechanism of the one kind " strength " for the combination that intermediary's Coordination module+secondary event is appointed, realizes views module and controller It is full decoupled between module.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (5)

  1. A kind of 1. MVC frameworks for elevator long-distance monitorng platform, it is characterised in that including:
    Views module, it includes multiple graphic assemblies, wherein, at least one graphic assembly is used at the order assigned according to user The logic that shows that shows logic and will not belong in its scope of offical duty that reason is completed in its scope of offical duty inserts a new thing Appointed away in part and by the new event;
    Intermediary's Coordination module, for according to other the described figures of described other graphic assemblies of new event coordination processing received In component scope of offical duty show logic and other described graphic assemblies processing complete scope of offical duty in show logic after send out Business logic processing order is sent to controller module;
    The controller module, for the calculating according to the business logic processing order finishing service logic received.
  2. 2. the MVC frameworks according to claim 1 for elevator long-distance monitorng platform, it is characterised in that
    At least one graphic assembly includes data collection module and data transmission blocks, and the data collection module is used to receive Collection is not belonging to showing logic and will not belong at least one graphical set at least one graphic assembly scope of offical duty The logic that shows in part scope of offical duty is inserted in a new event, and the data transmission blocks are used for the new thing Part is appointed away.
  3. 3. the MVC frameworks according to claim 2 for elevator long-distance monitorng platform, it is characterised in that
    Command process for being assigned according to user completes showing logic and will not belong to its responsibility model in its scope of offical duty The graphic assembly that logic was inserted in a new event and appointed away the new event showing in enclosing for one or It is multiple.
  4. 4. the MVC frameworks according to claim 1 for elevator long-distance monitorng platform, it is characterised in that
    Intermediary's Coordination module includes Coordination module and judge module, and the Coordination module is used to coordinate other described graphical sets The logic that shows in other graphic assemblies scope of offical duty is completed in part processing, and the judge module is used to judge the new thing Part whether need the assistance of other graphic assemblies and according to judged result determine the need for Coordination module coordinate described in its His graphic assembly processing is completed to show logic in other graphic assemblies scope of offical duty.
  5. 5. the MVC frameworks according to claim 1 for elevator long-distance monitorng platform, it is characterised in that
    The controller module includes business logic processing selecting module and business logic processing module, the business logic processing Selecting module is used for the business logic processing module according to corresponding to the type selecting of the business logic processing order, described Business logic processing module calculates according to the business logic processing command process service logic.
CN201710909838.6A 2017-09-29 2017-09-29 MVC frameworks for elevator long-distance monitorng platform Pending CN107766161A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710909838.6A CN107766161A (en) 2017-09-29 2017-09-29 MVC frameworks for elevator long-distance monitorng platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710909838.6A CN107766161A (en) 2017-09-29 2017-09-29 MVC frameworks for elevator long-distance monitorng platform

Publications (1)

Publication Number Publication Date
CN107766161A true CN107766161A (en) 2018-03-06

Family

ID=61267812

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710909838.6A Pending CN107766161A (en) 2017-09-29 2017-09-29 MVC frameworks for elevator long-distance monitorng platform

Country Status (1)

Country Link
CN (1) CN107766161A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030145305A1 (en) * 2001-11-16 2003-07-31 Mario Ruggier Method for developing and managing large-scale web user interfaces (WUI) and computing system for said WUI
CN101656636A (en) * 2009-03-04 2010-02-24 北京邮电大学 Test method of multi-layer protocol stack network equipment based on OPNET
CN102968367A (en) * 2012-08-28 2013-03-13 华南理工大学 Static detection method on basis of embedded software and system thereof
CN104281441A (en) * 2013-07-09 2015-01-14 腾讯科技(深圳)有限公司 Data extraction method and device based on MVC
CN105731209A (en) * 2016-03-17 2016-07-06 天津大学 Intelligent prediction, diagnosis and maintenance method for elevator faults on basis of Internet of Things
CN106126213A (en) * 2016-06-16 2016-11-16 南京大学 A kind of Android based on IFML develops modeling method
CN106445539A (en) * 2016-09-30 2017-02-22 南京大学 IFML-based Android developing modeling method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030145305A1 (en) * 2001-11-16 2003-07-31 Mario Ruggier Method for developing and managing large-scale web user interfaces (WUI) and computing system for said WUI
CN101656636A (en) * 2009-03-04 2010-02-24 北京邮电大学 Test method of multi-layer protocol stack network equipment based on OPNET
CN102968367A (en) * 2012-08-28 2013-03-13 华南理工大学 Static detection method on basis of embedded software and system thereof
CN104281441A (en) * 2013-07-09 2015-01-14 腾讯科技(深圳)有限公司 Data extraction method and device based on MVC
CN105731209A (en) * 2016-03-17 2016-07-06 天津大学 Intelligent prediction, diagnosis and maintenance method for elevator faults on basis of Internet of Things
CN106126213A (en) * 2016-06-16 2016-11-16 南京大学 A kind of Android based on IFML develops modeling method
CN106445539A (en) * 2016-09-30 2017-02-22 南京大学 IFML-based Android developing modeling method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"程序猿": "从MVC框架看MVC架构的设计", 《"程序猿"微信公众号》 *

Similar Documents

Publication Publication Date Title
Bilberg et al. Digital twin driven human–robot collaborative assembly
Xu et al. Striving for a total integration of CAD, CAPP, CAM and CNC
Smith et al. Refinement and verification of concurrent systems specified in Object-Z and CSP
CN110390496A (en) A kind of workflow design method that adaptation business is complicated and changeable with tissue
EP2239640A2 (en) A method and system for using membrane calculus to model dynamic coordination logics for automation systems
CN107341596A (en) Task optimization method based on level Task Network and critical path method
CN116090258A (en) Semiconductor data testing abnormality early warning system and method based on Internet of things
Paterson et al. Incorporating remanufacturing into the end-of-life vehicles directive: current presence and the waste problem
CN107766161A (en) MVC frameworks for elevator long-distance monitorng platform
Caruana et al. Safety 4.0 for Collaborative Robotics in the Factories of the Future
DE112005002185B4 (en) Method for operating an automation device or device for carrying out the method
Ingemansson et al. Reducing bottle‐necks in a manufacturing system with automatic data collection and discrete‐event simulation
CN107301057A (en) A kind of big data batch processing method and device
CN107667349A (en) It is used for the method and system clustered to project data in multidisciplinary engineering system
CN102955466B (en) For the method running automated system
Lucassen et al. Bridging the Twin Peaks--The Case of the Software Industry
CN104133675A (en) Distribution network multi-theme application interface integrating method based on dynamic configuration technology
Mohan et al. ATRIUM—Architecting under uncertainty: For ISO 26262 compliance
EP2620826A1 (en) Method for generating an executable programme for a automation equipment, in particular for generating movement data for a processing machine
Daun et al. Structured model-based engineering of long-living embedded systems: The SPES methodological building blocks framework
CN106202436A (en) A kind of information updating method and equipment
Martin et al. Model-based engineering workflow for automotive safety concepts
Zhongmei et al. Research on green modular design
Koch et al. Tackling Problems on Maintenance and Evolution in Industry 4.0 Scenarios Using a Distributed Architecture.
DE102012108490B4 (en) Method and simulation environment for flexible automated connection of submodels

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for 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: 20180306