Movatterモバイル変換


[0]ホーム

URL:


CN101685392B - Device for separating user interface form service logic - Google Patents

Device for separating user interface form service logic
Download PDF

Info

Publication number
CN101685392B
CN101685392BCN200810043816.7ACN200810043816ACN101685392BCN 101685392 BCN101685392 BCN 101685392BCN 200810043816 ACN200810043816 ACN 200810043816ACN 101685392 BCN101685392 BCN 101685392B
Authority
CN
China
Prior art keywords
interface
module
service logic
logic
user
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.)
Expired - Fee Related
Application number
CN200810043816.7A
Other languages
Chinese (zh)
Other versions
CN101685392A (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.)
Shengle Information Technolpogy Shanghai Co Ltd
Original Assignee
Shengle Information Technolpogy Shanghai 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 Shengle Information Technolpogy Shanghai Co LtdfiledCriticalShengle Information Technolpogy Shanghai Co Ltd
Priority to CN200810043816.7ApriorityCriticalpatent/CN101685392B/en
Publication of CN101685392ApublicationCriticalpatent/CN101685392A/en
Application grantedgrantedCritical
Publication of CN101685392BpublicationCriticalpatent/CN101685392B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Landscapes

Abstract

The invention discloses a device for separating a user interface from a service logic, which comprises a user interface module, a service logic module and an interface management module. The user interface module is used for realizing an interface format required by a user and an operation logic of the user; the user logic module is used for realizing a service logic part in actual software requirement; the interface management module is used for connecting the user interface module and the service logic module, realizing date transmission and behavior synchronization between the user interface module and the service logic module, and managing, dispatching, and updating an interface for data transmission and an interface for behavior synchronization. The invention can lower the coupling degree of the user interface module and the service logic module in software development, guarantee the development quality and improve the flexibility and the expansibility of systems.

Description

Realize the device that user interface separates with service logic
Technical field
The present invention relates to software architecture and realize technology, particularly relate to a kind of device that user interface separates with service logic of realizing in software development process.
Background technology
In Software Architecture Design, between subscriber interface module and business logic modules, there is inseparable contact.Due to the use habit difference at user to user interface, often can produce new demand to user interface, need often user interface to be changed.And business logic modules all has fixing pattern and flow process conventionally, can not change easily.Especially the present development along with software industry, the user of software wants the convenience of sum operation to have deeper requirement for the user interface sense organ of software, if coupling is too tight between subscriber interface module and business logic modules, in subscriber interface module amendment, also need business logic modules to make corresponding adjustment so.If amendment often, the code of software also can get more and more so, to such an extent as to has lost original structure to last software, cause nobody to safeguard.
Thus, can find out the details that realizes that must understand mutually the other side between existing subscriber interface module and business logic modules, will make the opposing party cannot true(-)running when a side has occurred to change; The high coupling of this structure makes the structural very poor of system, and extensibility is also very poor.
Summary of the invention
The present invention wants technical solution problem to be to provide a kind of device that user interface separates with service logic of realizing, it can reduce the degree of coupling of subscriber interface module and business logic modules in software development process, ensure development quality, improve dirigibility and the extendability of system.
For solving the problems of the technologies described above, of the present inventionly realize the device that user interface separates with service logic and comprise:
Subscriber interface module, realizes the interface pattern of user's needs and user's operation logic;
Business logic modules, for realizing the service logic part of actual software requirement;
Interface management module, be used for connecting subscriber interface module and business logic modules, data transmission and the behavior between subscriber interface module and business logic modules of realizing is synchronous, and interface and the synchronous interface of behavior that logarithm is reportedly passed manage, scheduling and interface upgrade;
Described subscriber interface module is realized for the synchronous service logic callback interface of behavior, and calls service logic interface; When subscriber interface module triggers certain event, when this event need to be called certain function of described business logic modules, subscriber interface module only needs the respective logic function in the service logic interface of calling interface administration module; In the time that this respective logic function completes, need to notify subscriber interface module, present a result to user; Subscriber interface module only need to be realized accordingly part at service logic callback interface and respond;
In the time that business logic modules need to adopt subscriber interface module to trigger the result after certain event, business logic modules only need to be called the corresponding function of service logic callback interface.
Owing to adopting the device that user interface separates with service logic of realizing of the present invention, utilize interface in software development process, the exploitation of the exploitation of subscriber interface module and business logic modules to be separated, realize concurrent development, therefore can not affect the quality of software self.In software development process, the frequent amendment of subscriber interface module or business logic modules can not have influence on the code execution of other parts.Make business logic modules can in different, tackle different subscriber interface modules, and needn't be concerned about specific implementation process and the method for business logic modules.Reduce the degree of coupling between business logic modules and the subscriber interface module in software development process, ensured development quality.The present invention has reduced the mistake producing due to the frequent amendment of subscriber interface module or business logic modules, has accelerated the speed of software development.
Brief description of the drawings
Below in conjunction with accompanying drawing and embodiment, the present invention is further detailed explanation:
Accompanying drawing is theory diagram of the present invention.
Embodiment
Core concept of the present invention is: subscriber interface module is separated with business logic modules.At software development phase, user interface present the implementation procedure that does not need to comprehend service logic, service logic does not need to understand the implementation method of user interface yet.Thereby reach user interface and service logic concurrent development, the effect of Speeding up development speed.
Shown in accompanying drawing, realize in device one embodiment that user interface separates with service logic of the present invention, comprise subscriber interface module, business logic modules and interface management module.
Described subscriber interface module, for realizing the interface pattern of user's needs and the operation logic that user uses; And realize and be arranged in interface management module for the synchronous service logic callback interface of behavior, and call service logic interface.
Described subscriber interface module comprises: the service logic callback interface in interface form module, interface management module is realized the service logic interface interchange module in module and interface management module.Described interface form module, for representing the interface pattern of user's needs and the operation logic that user uses.Described service logic callback interface is realized module, for realizing the response of the complete rear execution result to service logic of service logic.Described service logic interface interchange module, for setting up the function of service logic interface.
Described business logic modules, be used for realizing customer service logic flow, for example, for realizing the service logic part (: user log-in authentication system, flow process is as follows: user inputs user name password → click ACK button → verified users name password → authenticate → return to user authentication information) of actual software requirement; And realize the service logic interface that is arranged in interface management module, call service logic callback interface.
Described business logic modules comprises: service logic process module, the service logic callback interface calling module in service logic Interface realization module and interface management module in interface management module.Described service logic process module, for realizing user's operation flow.Described service logic Interface realization module, for realizing the set of function of the service logic interface calling for subscriber interface module.Described service logic callback interface calling module, for setting up the function of service logic callback interface.
Described interface management module, be used for connecting subscriber interface module and business logic modules, realize interface and the synchronous interface of behavior that data between subscriber interface module and business logic modules are transmitted, and interface and the synchronous interface of behavior that logarithm is reportedly passed manage, scheduling and interface upgrade.
Described interface management module comprises: service logic interface, service logic callback interface and interface manager.
Described interface manager comprises: interface enquiry module and interface acquisition module, whether described interface enquiry module, exist new interface for inquiring about.Described interface acquisition module, for obtaining the new interface needing.
Searching and managing is carried out in the interface variation that described interface management module is brought for interface upgrade, and the new interface inquiring is passed to and calls ISSUER.
When subscriber interface module triggers certain event, when this event need to be called certain function of described business logic modules, subscriber interface module only need service logic interface in calling interface administration module, in respective logic function.In the time that this respective logic function completes, need to notify subscriber interface module, to can show to some extent in subscriber interface module, need to present a result to user.For this reason, only need to the service logic callback interface in the interface management module having realized in subscriber interface module realize accordingly part and do corresponding displaying interface.In the time that business logic modules need to adopt subscriber interface module to trigger the result after certain event, business logic modules only need to be called the corresponding function of service logic callback interface.
From above-mentioned description, subscriber interface module provides interface logic, interface element realize pattern or style; Business logic modules provides service logic flow process, and concrete business function is realized.Subscriber interface module can allow user click Interface Element and usually call the concrete business function function in business logic modules.Because subscriber interface module has created service logic callback interface, only need to go call function just passable when being necessary, and not need to be related to how service logic realizes.

Claims (7)

CN200810043816.7A2008-09-272008-09-27Device for separating user interface form service logicExpired - Fee RelatedCN101685392B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN200810043816.7ACN101685392B (en)2008-09-272008-09-27Device for separating user interface form service logic

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN200810043816.7ACN101685392B (en)2008-09-272008-09-27Device for separating user interface form service logic

Publications (2)

Publication NumberPublication Date
CN101685392A CN101685392A (en)2010-03-31
CN101685392Btrue CN101685392B (en)2014-07-16

Family

ID=42048561

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN200810043816.7AExpired - Fee RelatedCN101685392B (en)2008-09-272008-09-27Device for separating user interface form service logic

Country Status (1)

CountryLink
CN (1)CN101685392B (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101894021A (en)*2010-06-292010-11-24宇龙计算机通信科技(深圳)有限公司Method and system for realizing interface of embedded system
CN102377853B (en)*2010-08-252014-10-22中兴通讯股份有限公司Management device and method for application, interface window and service of mobile terminal
CN102375738B (en)*2010-08-252016-03-30中兴通讯股份有限公司A kind of apparatus and method of mobile terminal data management
CN103034478B (en)*2011-09-292015-11-18北京神州泰岳软件股份有限公司A kind of separate traffic threading model implementation method of IM system
CN103019723A (en)*2012-12-172013-04-03四川长虹电器股份有限公司Construction method of software framework
CN104702426B (en)*2013-12-052017-10-31广东网金控股股份有限公司A kind of collocation method and device of timer-triggered scheduler service system
CN106610839B (en)*2015-10-212020-10-30阿里巴巴集团控股有限公司Method for issuing upgrade package, lightweight upgrade method, device and system
CN106095427B (en)*2016-06-072019-07-02中国建设银行股份有限公司A kind of application component system suitable for on-line transaction
CN106873980A (en)*2017-01-092017-06-20深圳英飞拓科技股份有限公司A kind of UI and service logic separation method and device
CN107181815A (en)*2017-06-132017-09-19北京中电普华信息技术有限公司A kind of micro- application and micro services exchange method, micro- application and system
CN107797803A (en)*2017-11-032018-03-13深圳市沃特沃德股份有限公司Service logic method for packing and device in onboard system
CN109284093A (en)*2018-10-262019-01-29深圳易嘉恩科技有限公司Cross-platform Development Framework and its implementation based on front-end technology
CN109542400A (en)*2018-11-232019-03-29四川长虹电器股份有限公司Cross-platform development approach based on front-end technology stack
CN109857502A (en)*2019-01-242019-06-07苏州思必驰信息科技有限公司Realize the system architecture that the service logic method and service logic isolated with display are separated with display
CN110750262A (en)*2019-09-252020-02-04北京爱接力科技发展有限公司Robot system interface display method and device and robot
CN112000420B (en)*2020-11-022021-01-15武汉中科通达高新技术股份有限公司Data processing method and device
CN114579214A (en)*2022-03-042022-06-03在线途游(北京)科技有限公司Independent display system driven by data and implementation method thereof
CN114780260A (en)*2022-04-282022-07-22重庆长安汽车股份有限公司UI and logic separation development framework of APP

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
C/S模式业务界面分离在Delphi中的实现;熊松泉等;《计算机与数字工程》;20050630;第33卷(第6期);第120-122页*
基于MVC模式的电子商务平台构造技术研究;牛俊慧等;《计算机工程与设计》;20061231;第27卷(第23期);第4479-4481页*
熊松泉等.C/S模式业务界面分离在Delphi中的实现.《计算机与数字工程》.2005,第33卷(第6期),第120-122页.
牛俊慧等.基于MVC模式的电子商务平台构造技术研究.《计算机工程与设计》.2006,第27卷(第23期),第4479-4481页.
范志先等.采用MFC开发用户交互界面的新方法.《工程图学学报》.2008,(第4期),第160-163页.
采用MFC开发用户交互界面的新方法;范志先等;《工程图学学报》;20080831(第4期);第160-163页*

Also Published As

Publication numberPublication date
CN101685392A (en)2010-03-31

Similar Documents

PublicationPublication DateTitle
CN101685392B (en)Device for separating user interface form service logic
US20240402977A1 (en)Desktop sharing method and mobile terminal
CN103077024B (en)A kind of device and method supporting the on-demand customization of SaaS application flow and operation
US20110093619A1 (en)Synchronizing Tasks between Mobile Devices and Servers
CN101802808B (en)Accessing device-hosted services from scripting and other programming environments
US9794400B2 (en)Mobile terminal and ringtone playing method thereof
CN108509207A (en)The cross-system of WEB application program is installed
CN106296135A (en)Event-prompting method, device and terminal
CN102866925B (en)Communication method and system for middleware and user interface
CN109816481A (en) Billing processing method, apparatus and computer-readable storage medium
CN114374737A (en)Message pushing method and device, computer equipment and storage medium
CN101330674A (en)Method for dynamically updating mobile phone software menu
CN102375894B (en)Method for managing different types of file systems
CN112328406A (en)Micro-service distributed transaction system based on TCC (transmission control center) and service processing method
CN112348568A (en)Centralized management platform and method for account number of advertisement putting platform
CN103327264A (en)System and method for clustered inter cut control, and clustered inter cut management side
CN110321120A (en)Data processing method, data processing apparatus, and computer-readable storage medium
US20180196664A1 (en)Modularized application framework
CN110765610A (en) PDM integration method, device, computer equipment and storage medium
JP2010211593A (en)Progress input support system
CN108536506A (en)A kind of application state management method and device
CN111050311A (en) Data management method, device, storage medium, and terminal
EP2751770A1 (en)Providing application context for a conversation
KR100655971B1 (en) Reservation synchronization mobile communication terminal and its reservation synchronization method
KR20100101250A (en)Management apparatus for personal relationship information and method thereof

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C14Grant of patent or utility model
GR01Patent grant
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20140716

Termination date:20140927

EXPYTermination of patent right or utility model

[8]ページ先頭

©2009-2025 Movatter.jp