CN103135965B - A kind of user interface method and system - Google Patents
A kind of user interface method and system Download PDFInfo
- Publication number
- CN103135965B CN103135965B CN201110375769.8A CN201110375769A CN103135965B CN 103135965 B CN103135965 B CN 103135965B CN 201110375769 A CN201110375769 A CN 201110375769A CN 103135965 B CN103135965 B CN 103135965B
- Authority
- CN
- China
- Prior art keywords
- user interface
- module
- interface module
- visual
- business
- 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.)
- Active
Links
Landscapes
- Information Transfer Between Computers (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The open a kind of user interface method and system of the present invention.Described method includes: business module sends user interface presentation order to visual user interface module;Described user interface presentation order is sent to one or more real user interface module by visual user interface module;Receive the real user interface module of user interface presentation order, represent user interface according to the user interface ways of presentation of self configuration.Technical scheme, it is possible to realize diversified user interface flexibly, and without revising business module.
Description
Technical field
The present invention relates to field field of computer technology, particularly to a kind of user interface implementation method be
System.
Background technology
Along with improving constantly of computer hardware performance, various user interface (UI, User are driven
Interface) innovation of technology.Particularly in terms of the mutual UI of user, various pleasing UI
Emerge in an endless stream, make user obtain greatly improving at software experience fermentation.By this close friend's
Alternately, not only increase the quality of software, more improve the loyalty of user.
In traditional UI software design, being typically all by user operation UI, then UI is by user operation
It is converted into and calls corresponding business module, realize the linking of UI and business, or business module will order
It is sent to UI, UI the real action first closed according to order.Here business module refers to that software is had
The module of the various concrete functions having, as realized signing in the login module of network, obtain user data
Acquisition module, security module etc..
But in this manner, the display of user interface dumb.Such as changing skin is the normal of existing UI
By function, the skin that changes of general significance only changes uncovered background color, replacement control skin etc..And want
Realize different control, replacement that control difference layout, different user are experienced be not simply change skin can body
Existing, need to revise the code of business module itself.
Summary of the invention
The invention provides a kind of user interface method and system, technical scheme can spirit
Live and realize diversified user interface, and without revising business module.
For reaching above-mentioned purpose, the technical scheme is that and be achieved in that:
The invention discloses a kind of user interface implementation method, the method includes:
Business module sends user interface presentation order to visual user interface module;
Described user interface presentation order is sent to one or more true use by visual user interface module
Family interface module;
Receive the real user interface module of user interface presentation order, according to the user interface of self configuration
Ways of presentation represents user interface.
In said method, described user interface presentation order is sent to one by described visual user interface module
Individual or multiple real user interface module include:
Visual user interface module is configured with routing configuration information;
Visual user interface module according to described user interface presentation order query routing configuration information, according to
Described user interface presentation order is sent to corresponding one or more real user interfaces mould by Query Result
Block.
In said method, described business module sends user interface presentation order to visual user interface module
Including:
Business module sends user interface exhibition by windows messaging mechanism to visual user interface module
Show order;Wherein, it would be desirable to the user interface data of displaying is sent to virtual use with the form of message parameter
Family interface module.
Said method farther includes:
The operational order of user is sent to visual user interface module by each real user interface module;
Visual user interface module will be sent to business from the operational order of each real user interface module
Module;
Business module carries out corresponding Business Processing according to the operation name received.
The invention also discloses a kind of user interface and realize system, this system includes: business module, virtual
Subscriber interface module and multiple real user interface module, wherein:
Business module, for sending user interface presentation order to visual user interface module;
Visual user interface module, for described user interface presentation order is sent to one or more very
Real user's interface module;
Real user interface module, for when receiving user interface presentation order, according to self configuration
User interface ways of presentation represents user interface.
In said system, described visual user interface module is configured with routing configuration information;
Described visual user interface module, for configuring according to described user interface presentation order query routing
Information, according to Query Result described user interface presentation order is sent to corresponding one or more truly
Subscriber interface module.
In said system, described business module, for machine-processed to Virtual User by windows messaging
Interface module sends user interface presentation order, and the user interface data shown will be needed with message parameter
Form be sent to visual user interface module.
In said system, real user interface module, it is additionally operable to the operational order of user is sent to void
Intend subscriber interface module;
Visual user interface module, is additionally operable to send the operational order from each real user interface module
To business module;
Business module, is additionally operable to the operation name according to being received and carries out corresponding Business Processing.
The embodiment of the present invention provides the benefit that: as long as owing to there being one to support it for business module
The visual user interface module that represents of business, by visual user interface module by user interface presentation
Order is sent to one or more real user interface module of correspondence, therefore can realize variation handy
Interface, family, when needing to support new user interface, as long as increasing corresponding real user interface module, and
Need not revise the code of business module.
Accompanying drawing explanation
Fig. 1 is the flow chart of a kind of user interface implementation method in the embodiment of the present invention;
Fig. 2 is the block diagram that a kind of user interface in the embodiment of the present invention realizes system.
Detailed description of the invention
In the inventive solutions, two new concepts are creatively proposed:
1, visual user interface module;
2, visual user interface module is driven by business module.
So-called " visual user interface module " is exactly: for business module, as long as there being a user
Interface module supports business, and what business module was indifferent to user interface represents form, no matter this boundary
Face is order line, be dialog box, all it doesn't matter to be webpage, as long as business is known a user interface
Its business of module support represents, and the interface of the displaying interface of this support business is just called virtual use
Family interface module.
Thus, business module the thought of visual user interface module is driven to be: by business module to void
Intend subscriber interface module and represent order, visual user interface mould by the transmission of windows messaging system is various
Block, after receiving each order, carries out relevant display action by real user interface module, such as:
Open a dialog box, one dialog box of closedown, show a string text or display one pictures etc..Empty
Intend the acceptance that subscriber interface module is passive and represent order, controlled by business module, therefore, this form is
" business-driven UI ".This model well make use of windows messaging system to carry out business module and void
Intend the communication of subscriber interface module, so the method for synchronization of windows messaging system acted on by model
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to this
Bright embodiment is described in further detail.
Fig. 1 is the flow chart of a kind of user interface implementation method in the embodiment of the present invention.As it is shown in figure 1,
The method includes:
101, business module sends user interface presentation order to visual user interface module;
102, visual user interface module described user interface presentation order is sent to one or more very
Real user's interface module;
103, receive the real user interface module of user interface presentation order, according to the use of self configuration
Family displaying interface mode represents user interface.
The displaying interface form of the most different real user interface module is different, such as, have and represent shape as follows
Formula: dialog box form, bubble form etc., or skin layout are different.
In the step 102 of Fig. 1, described visual user interface module is by described user interface presentation order
It is sent to one or more real user interface module include: visual user interface module is configured with route
Configuration information;Visual user interface module according to described user interface presentation order query routing configuration information,
According to Query Result, described user interface presentation order is sent to corresponding one or more real user circle
Face mould block.
In the step 101 of Fig. 1, described business module sends user interface to visual user interface module
Show that order includes: business module sends use by windows messaging mechanism to visual user interface module
Family showing interface order;Wherein, it would be desirable to the user interface data of displaying sends with the form of message parameter
To visual user interface module.
Method shown in Fig. 1 also includes: the operational order of user is sent to by each real user interface module
Visual user interface module;Operation from each real user interface module is ordered by visual user interface module
Order is sent to business module;Business module carries out corresponding Business Processing according to the operation name received.
Fig. 2 is the block diagram that a kind of user interface in the embodiment of the present invention realizes system.As in figure 2 it is shown,
This system includes: business module 201, visual user interface module 202 and multiple real user interfaces mould
Block 203 (finally illustrating three real user interface module at Fig. 2), wherein:
Business module 201, for sending user interface presentation order to visual user interface module 202;
Visual user interface module 202, for being sent to one or many by described user interface presentation order
Individual real user interface module 203;
Real user interface module 203, for when receiving user interface presentation order, joins according to self
The user interface ways of presentation put represents user interface.
In fig. 2, described visual user interface module 202 is configured with routing configuration information;
Described visual user interface module 202, for according to described user interface presentation order query routing
Configuration information, is sent to the most one or more according to Query Result by described user interface presentation order
Real user interface module 203.
In fig. 2, described business module 201, for machine-processed to Virtual User by windows messaging
Interface module 202 sends user interface presentation order, and the user interface data shown will be needed with message
The form of parameter is sent to visual user interface module 202.
In fig. 2, real user interface module 203, it is additionally operable to the operational order of user is sent to void
Intend subscriber interface module 202;
Visual user interface module 202, is additionally operable to the operation from each real user interface module 203
Order is sent to business module 201;
Business module 201, is additionally operable to the operation name according to being received and carries out corresponding Business Processing.
As seen from Figure 2, its core be exactly visual user interface module be message route, business
Module sends commands to visual user interface module by windows messaging mechanism, wherein, it would be desirable to exhibition
The data shown, as picture, word etc. are sent to visual user interface module with the form of message parameter.Empty
Intend subscriber interface module and take out parameter, it is provided that be shown to real user interface module.Simultaneously by user
Operation on a user interface is converted into business order and is sent to business module, allows business module carry out accordingly
Business Processing.Specifically Business Processing is such as: starts logging in online, send chat data etc..
Technical scheme has following characteristic and a beneficial effect in sum:
User interface is defined by business, and this user interface is called visual user interface module.Business
Module only operates visual user interface module, specifically representing without concern for effective user interface, so may be used
To produce, according to project demand, the layout that different user operations is experienced, the code without amendment business is real
Existing.All of UI display data is all to be sent by business module to order to visual user interface mould accordingly
Block and obtain, visual user interface data passively accept data.
As long as due to the visual user interface mould having a business supporting it to represent for business module
Block, is sent to the one or more of correspondence by visual user interface module by user interface presentation order
Real user interface module, therefore can realize diversified user interface, when needing to support new user
Interface, as long as increasing corresponding real user interface module, without the code of amendment business module.
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the protection model of the present invention
Enclose.All any modification, equivalent substitution and improvement etc. made within the spirit and principles in the present invention, all
Comprise within the scope of the present invention.
Claims (6)
1. a user interface implementation method, it is characterised in that the method includes:
Business module sends user interface presentation order to visual user interface module, and wherein said visual user interface module is the interface of the displaying interface of support business;
Described user interface presentation order is sent to one or more real user interface module by visual user interface module;
Receive the real user interface module of user interface presentation order, represent user interface according to the user interface ways of presentation of self configuration;
Wherein, described user interface presentation order is sent to one or more real user interface module and includes by described visual user interface module:
Visual user interface module is configured with routing configuration information;
Described user interface presentation order according to described user interface presentation order query routing configuration information, is sent to corresponding one or more real user interface module according to Query Result by visual user interface module.
Method the most according to claim 1, it is characterised in that described business module sends user interface presentation order to visual user interface module and includes:
Business module sends user interface presentation order by windows messaging mechanism to visual user interface module;Wherein, it would be desirable to the user interface data of displaying is sent to visual user interface module with the form of message parameter.
Method the most according to claim 1 and 2, it is characterised in that the method farther includes:
The operational order of user is sent to visual user interface module by each real user interface module;
Visual user interface module will be sent to business module from the operational order of each real user interface module;
Business module carries out corresponding Business Processing according to the operational order received.
4. a user interface realizes system, it is characterised in that this system includes: business module, visual user interface module and multiple real user interface module, wherein:
Business module, for sending user interface presentation order to visual user interface module;
Visual user interface module, for described user interface presentation order is sent to one or more real user interface module, wherein said visual user interface module is the interface of the displaying interface of support business;
Real user interface module, for when receiving user interface presentation order, represents user interface according to the user interface ways of presentation of self configuration;
Wherein, described visual user interface module is configured with routing configuration information;
Described visual user interface module, for according to described user interface presentation order query routing configuration information, is sent to corresponding one or more real user interface module according to Query Result by described user interface presentation order.
System the most according to claim 4, it is characterised in that
Described business module, for sending user interface presentation order by windows messaging mechanism to visual user interface module, and will need the user interface data shown to be sent to visual user interface module with the form of message parameter.
6. according to the system described in claim 4 or 5, it is characterised in that
Real user interface module, is additionally operable to the operational order of user is sent to visual user interface module;
Visual user interface module, is additionally operable to be sent to business module from the operational order of each real user interface module;
Business module, is additionally operable to carry out corresponding Business Processing according to the operational order received.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110375769.8A CN103135965B (en) | 2011-11-23 | 2011-11-23 | A kind of user interface method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110375769.8A CN103135965B (en) | 2011-11-23 | 2011-11-23 | A kind of user interface method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103135965A CN103135965A (en) | 2013-06-05 |
CN103135965B true CN103135965B (en) | 2016-09-28 |
Family
ID=48495844
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110375769.8A Active CN103135965B (en) | 2011-11-23 | 2011-11-23 | A kind of user interface method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103135965B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105956104A (en) * | 2016-04-29 | 2016-09-21 | 努比亚技术有限公司 | Business view framework and development method thereof |
CN110427186B (en) * | 2019-07-26 | 2023-08-15 | 广东信通通信有限公司 | Command service page information display method, device and equipment based on window |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA2530370A1 (en) * | 2003-06-27 | 2005-01-06 | Softscope Llc | Virtual desktop - meta-organization & control system |
US20100100851A1 (en) * | 2008-10-16 | 2010-04-22 | International Business Machines Corporation | Mapping a real-world object in a personal virtual world |
CN101697110B (en) * | 2009-10-26 | 2015-06-24 | 孟智平 | Method and system for controlling interaction of synchronous and heterogeneous display terminals |
-
2011
- 2011-11-23 CN CN201110375769.8A patent/CN103135965B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN103135965A (en) | 2013-06-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103558959A (en) | Window displaying method and device applied to Android platform | |
CN105339894A (en) | Electronic device and methods of updating and managing application status information in the electronic device | |
CN110163506A (en) | Construction method, device, medium, server and the user terminal of organisational chart | |
CN102236709B (en) | Flex-based monitoring page display method and system | |
CN106537371A (en) | Visualization suggestions | |
CN101296198B (en) | Method and client for inserting affluent interface constituent in instant communication window | |
CN103731536B (en) | A kind of method of shared high in the clouds family address list | |
CN105120006A (en) | Live commenting control method, live commenting server and live commenting control device for electronic readings | |
US8856664B2 (en) | Prompting of recipient expertise in collaboration environment | |
CN110474794A (en) | A kind of information conversion method and system of SDN framework | |
CN106530096A (en) | Emotion icon processing method, device and electronic apparatus | |
CN109901938A (en) | Big screen system and visual presentation method are interacted based on WebSocket communication | |
CN103491156A (en) | Method and system for enabling circles and groups to be synchronous based on converged communication | |
CN101135966A (en) | Graphical interfaces development method and system based on command lines | |
CN103312814A (en) | Method for establishing VNC (virtual network computing) covert channel between cloud management platform and virtual machine terminal user | |
CN109492208A (en) | Document edit method and its device, equipment, storage medium | |
CN103970546A (en) | Method and system for expandable modular information management based on user's customization | |
CN103135965B (en) | A kind of user interface method and system | |
CN109917917A (en) | A kind of visual human's interactive software bus system and its implementation | |
KR20130094927A (en) | A method of providing a visual representation in a speech bubble including instant message and mobile terminal thereof | |
CN206039647U (en) | Architectural design management system based on BIM and VR | |
CN103621047B (en) | Method for across a network synchronizing content | |
CN103914859A (en) | Information processing method and apparatus capable of converting input character into picture | |
CN102333148A (en) | Method and system for displaying security data information of mobile terminal | |
CN103095556B (en) | A kind of list method for refreshing based on instant messaging and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP02 | Change in the address of a patent holder |
Address after: Room 810, 8 / F, 34 Haidian Street, Haidian District, Beijing 100080 Patentee after: BEIJING D-MEDIA COMMUNICATION TECHNOLOGY Co.,Ltd. Address before: 100089 Beijing city Haidian District wanquanzhuang Road No. 28 Wanliu new building 6 storey block A room 602 Patentee before: BEIJING D-MEDIA COMMUNICATION TECHNOLOGY Co.,Ltd. |
|
CP02 | Change in the address of a patent holder |