CN106648705A - Application program development and running system based on visual element and method thereof - Google Patents

Application program development and running system based on visual element and method thereof Download PDF

Info

Publication number
CN106648705A
CN106648705A CN201710009491.XA CN201710009491A CN106648705A CN 106648705 A CN106648705 A CN 106648705A CN 201710009491 A CN201710009491 A CN 201710009491A CN 106648705 A CN106648705 A CN 106648705A
Authority
CN
China
Prior art keywords
visual element
visual
application program
event
sub
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
CN201710009491.XA
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201710009491.XA priority Critical patent/CN106648705A/en
Publication of CN106648705A publication Critical patent/CN106648705A/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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides an application program development and running system based on a visual element and a method thereof; the system includes an interface unit, which is configured to be an operation information applied to the development of an application program; a visual element management unit, which is configured to be request to establish, organize, manage, set and store visual elements related to the application program; a visual executing unit, which is configured to establish the visual element under the control of the visual element management unit and set or realize the visual property and visual function of the visual element; a function executing unit, which is configured to set the function property of the visual element under the control of the visual element management unit and realize corresponding program functions in a command or an event.

Description

The application development of view-based access control model element and runtime and its method
Technical field
The application is related to a kind of application development of view-based access control model element and runtime and its method, more specifically, It is related to a kind of first usually development and application program of view-based access control model and the system and method for providing running environment for the application program.
Background technology
Computer since be born till now have tens days, from most start only as simple calculating instrument develop The requisite instrument of all trades and professions, every aspect is applied to till now, and its technology development is maked rapid progress, and this sets for initial May be also unthinkable for meter person.
But, from the point of view of the internal operation principle of computer this angle, people but know little about it to it, although it gives The mankind bring very big progress, but computer as the wisdom of humanity in social production, scientific research, work, studying and living The product of highly crystalline, the exploitation and use currently for computer is by excessive complication.
Operating system (such as, Windows, Linux etc.) occupies leading and core status in whole computer, under the overall leadership whole The software and hardware resources of individual computer, and provide a user with operation interface and development interface.The design philosophy of computer, operation side Formula, operating mechanism and safety, particularly efficiency are generally played a decisive role by operating system, and are thought by the design of operating system Want to embody.
However, current operation system is supplied to the development interface of user excessively numerous and diverse, developer needs to be grasped substantial amounts of volume Cheng Zhishi, and need just design corresponding program after various programming languages are carried out long-term study, it is difficult So that any one user is only absorbed in the design of oneself and simply, promptly to develop corresponding application program.Additionally, when real When the application program of existing identical function is run in different operating system, it usually needs the code of the application program is carried out turning Change or write again to be adapted to corresponding operating system, so also result in time, mental and financial resource waste.
The content of the invention
According to an aspect of the present invention, there is provided a kind of application development and runtime of view-based access control model element, institute The system of stating includes:Boundary element, is configured to supply the operation interface of the exploitation for application program;Visual element management is single Unit, is configured to ask to create, organize, manage, design and preserve the visual element related to the application program, wherein, institute State application program to be constituted by elementary cell of visual element, visual element is is used for shown when the application program is run The operation result of the application program or the visual elements of state are shown or for interacting with the application program Interface or visual elements;Vision performance element, is configured under the control of visual element administrative unit, creates visual element simultaneously The perceptual property and visual performance of visual element are configured or are realized, wherein, the perceptual property and visual performance with regard Feel that element presentation gives people related regarding official's sensation;Function performance element, is configured under the control of visual element administrative unit, The functional attributes of visual element are configured and are realized in order or event handling with corresponding program function.
Visual element administrative unit is also configured to:Obtain when the application program is developed and provided in boundary element Operation interface on received order, and control at least one of vision performance element and function performance element performing It is corresponding with received order to operate;When the application program is run, detection is produced by the application program Event, it is determined that the visual element with the event matches for detecting, and control in vision performance element and function performance element extremely Few one based on the event for detecting, to perform, the visual element with determined by is corresponding to be operated.
The application program can be by being divided into visual information part, numeric data part and program code sections come shape Into the visual element of the application program.Vision performance element can view-based access control model message part, numeric data part and program generation Code part is creating visual element and for each visual element setting perceptual property and visual performance, function performance element can be based on Visual information part, numeric data part and program code sections to arrange functional attributes and in order for each visual element Or realize corresponding program function in event handling.
Visual element can be one of information carrier, text element and pictorial element.
The application program can be made up of multiple visual elements, and the plurality of visual element may include a main visual element And at least one sub- visual element, can be subordinated to the master per individual sub- visual element at least one sub- visual element Visual element or other the sub- visual elements that can be subordinated in described at least one sub- visual element.Sub- visual element may include The sub- visual element of consubstantiality or the sub- visual element of allosome, consubstantiality visual element regarding relative to the sub- visual element institute's subordinate of the consubstantiality The display location for feeling element is fixed, and the sub- visual element of allosome is relative to the aobvious of the visual element of the sub- visual element institute subordinate of the allosome Show position-movable.
Perceptual property may include in show levels, display location, size, background, prospect and the dynamic of visual element At least one.Dynamic refers to that visual element is dynamic vision element or static vision element, and dynamic vision element is referred to can The visual element that reception event and the event to receiving are responded, static vision element refers to the vision unit for not receiving event Element.
The system may also include:Figure module, is configured to interact to provide establishment with operating system layer and hardware layer Or the graphical information needed for display visual element.
Figure module may include:Shape library, is configured to be carried for the setting of perceptual property and the realization of visual performance For API funcall interfaces, user or application program are realized with the api function prestored in by calling the shape library and is thought The perceptual property to be arranged wants the visual performance realized, and the information to calling is initialized;Graphdriver, is matched somebody with somebody It is set to and receives and the perceptual property that user or application program are wanted to set up or want the visual performance of realization and related call;Figure Adapter, is configured to provide unified abstraction interface for graphdriver so that graphdriver adapts to operating system layer The hardware environment of system environments and hardware layer, wherein, graphdriver is taken out by the unification for calling EGA to be provided As interface, in the case of the particular hardware environment of the concrete system environments and hardware layer that do not consider operating system layer utilize from The api function that figure place is called is realizing perceptual property that user or application program are wanted to set up or want the vision work(realized Energy.
According to a further aspect in the invention, there is provided a kind of development approach of the application program for view-based access control model element, Methods described includes:Visual element in response to receiving creates order, and request creates the vision unit for constituting the application program Element, wherein, the application program is constituted by elementary cell of visual element, and visual element is in application program operation when institute Show the operation result for illustrating the application program or state visual elements or for the application program The interface for interacting or visual elements;In response to visual element request to create, create visual element, arrange visual element with What the presentation of the visual element gave people feels related perceptual property and visual performance regarding official, and arranges the function category of visual element Property and corresponding program function is realized in order or event handling;And preservation visual element.
The application program can be by being divided into visual information part, numeric data part and program code sections come shape Into the visual element of the application program.The step of perceptual property for arranging visual element, may include:View-based access control model message part, Numeric data part and program code sections to arrange perceptual property and visual performance for each visual element.Visual element is set Functional attributes the step of may include:View-based access control model message part, numeric data part and program code sections for each regarding Feel that element arranges functional attributes and corresponding program function is realized in order or event handling.
To partly illustrate other aspect in the following description, and part will be from the description clearly, or Can be learnt by the practice of the present invention.
Beneficial effect
By the application development and runtime of the view-based access control model element of exemplary embodiment of the invention, lead to The technical scheme using a kind of " Datong District's calculating " is crossed, all tasks and all demands that complete using computer one can be placed on Carried out using common Thinking module and implementation under individual common development environment.Find out various application programs in computer Predicable, makes peace various forms of using (such as multipad, web program, webpage current various program design languages Program, shell script, game, sector application, mobile terminal APP etc.) using same program language same common Carry out under development environment.Additionally, using visual exploitation and operation interface, can be with common, the simple functional realiey of one kind Mode (mathematical operation, data movement, data search) carrys out development and application, drastically increases the exploitation of computer and uses effect Rate so that anyone can quickly, simply develop the application of oneself as editing word, therefore make people to computer Use and develop very simple and efficiently, can be interacted with computer with natural language.
Description of the drawings
By the way that below in conjunction with the accompanying drawings the present invention is described in detail, the above and other purpose and feature of the present invention will Become more fully apparent, wherein:
Fig. 1 is the application development of the view-based access control model element for illustrating exemplary embodiment of the invention and operation system The block diagram of system;
Fig. 2 is the exemplary diagram of the structure of the figure module for illustrating exemplary embodiment of the invention;
Fig. 3 is the composition structure of the application program of the view-based access control model element for illustrating exemplary embodiment of the invention Example;
Fig. 4 is the application development and fortune of the view-based access control model element for being shown with exemplary embodiment of the invention The flow chart of the method for row system development application program;
Fig. 5 is the application development and fortune of the view-based access control model element for being shown with exemplary embodiment of the invention Row system come create application program and operation create application program example;
Fig. 6 is the application development and fortune of the view-based access control model element for being shown with exemplary embodiment of the invention Row system come create application program and operation create application program another example;
Fig. 7 is the application development and fortune of the view-based access control model element for being shown with exemplary embodiment of the invention Row system come create application program and operation create application program another example.
Specific embodiment
Sheet of the description that offer is carried out referring to the drawings to help comprehensive understanding to be limited by claim and its equivalent The exemplary embodiment of invention.The description includes various specific details to help understand, but these details are to be considered merely as showing Example property.Therefore, one of ordinary skill in the art will be recognized that:Without departing from the scope and spirit of the present invention, The embodiments described herein can be made various changes and modifications.Additionally, for clarity and conciseness, known function and structure can be omitted The description made.
Fig. 1 is the application development of the view-based access control model element for illustrating exemplary embodiment of the invention and operation system The block diagram of system 100.
As shown in fig. 1, the application development of the view-based access control model element of exemplary embodiment of the invention and fortune Row system 100 (hereinafter, may be simply referred to as system 100) includes:Boundary element 110, visual element administrative unit 120, vision Performance element 130 and function performance element 140.
Boundary element 110 can provide for the operation interface of the application program for developing view-based access control model element.
Visual element administrative unit 120 can be used for request and create, organizes, manages, designs and preserve related to application program Visual element.
The application program of the view-based access control model element of exemplary embodiment of the invention can be basic with visual element Unit is constituted, all information thus come in organization and management computer with elementary cell centered on visual element.Vision unit Element is the visual unit of the operation result for illustrate the application program shown when the application program is run or state (for example, dialog box, button, the combobox such as element or the interface for interacting with the application program or visual elements Deng visual display element), and can be one of information carrier, word (or text element) and image (or pictorial element). The present invention exemplary embodiment in, information carrier be can carry the display informations such as word and/or image carrier (for example, with The carriers such as application program related button, dialog box, combobox).
Only as an example, visual element can be usually to represent by basic display unit of character literal and graph image etc. Various visual informations with true meaning, it may include:1) current state or result of program operation;2) graphical interaction interface (such as window, dialog box, menu, button, combobox in WINDOWS etc.);3) it is true in the reality for being represented with graph image Practical work thing (for example, if having cat, dog, chicken, pig, rabbit in piece image, then may include 5 visual elements in the diagram, i.e. Information carrier is image itself, and cat, dog, chicken, pig, rabbit are 5 pictorial elements).
Vision performance element 130 can create visual element and to vision unit under the control of visual element administrative unit 120 The perceptual property and visual performance of element is configured or realizes.The perceptual property and visual performance show with the vision of visual element Show correlation, i.e. related regarding official's sensation to what visual element presentation gave people.For example, the perceptual property may include visual element At least one of show levels, display location, size, background, prospect and dynamic, the visual performance is referred to vision unit Setting of the element in perceptual property, and the function regarding official's impression that user wants can be presented in respective attributes.Here, Dynamic refers to that visual element is dynamic vision element or static vision element.Dynamic vision element is referred to can receive event simultaneously The visual element that the event of reception can be responded, and static vision element refers to the visual element (example that can not receive event Such as, it is only used for the visual element for showing).Additionally, the event can be such as user operation case, system event, time thing At least one of part and User Defined event event.User operation case refers to user by keyboard, mouse, touch-screen etc. The Action Events of input equipment triggering, time-event refers to Action Events, the system event carried out in specified time interval Refer to that the event that operating system sends is notified, User Defined event then can be by user's self-defining.User wants the work(realized And can solve the problems, such as what is can realized in the processing routine of these events in reality.
Function performance element 140 can enter under the control of visual element administrative unit 120 to the functional attributes of visual element Row arranges and realizes in order or event handling corresponding program function.The functional attributes with for the order or event Feature operation it is related.
In an exemplary embodiment of the present invention, when the application program of view-based access control model element is developed, visual element management Unit 120 can obtain order received in the operation interface provided in boundary element 110, and control vision performance element At least one of 130 and function performance element 140 come perform it is corresponding with the order operation.For example, when the order refers to Show that when creating and arrange a visual element, visual element administrative unit 120 can control vision performance element 130 to create vision Element simultaneously arranges the perceptual property and visual performance of visual element, and can also further control function performance element 140 arranging The functional attributes of the visual element and corresponding program function is realized in order or event handling.More particularly, in exploitation During the application program of view-based access control model element, can be by the way that the application program be divided into visual information part, numbered The visual element of the application program is formed according to part and program code sections.Numeric data part and program code department can As a part for visual element, perceptual property and dynamic functional attributes that each visual information element has static state are given. The present invention exemplary enforcement in, functional attributes can finger vision element process event program code and numeric data, numerical value Data can be the data structure or Mathematical Modeling for abstracting, and program code can be the machine instruction of Dynamic Execution, For pair information can be felt and numeric data is processed.
Here, visual information part can be typically further categorized into the information carrier as visual element, pictorial element or text Character table.Information carrier can refer to the carrier that writings and image manifests, and writings and image can be presented on an information carrier, for Express a real meaning in family.Vision performance element 130 can view-based access control model message part, numeric data part and program code Part is creating visual element and for the corresponding perceptual property of each visual element setting and visual performance, and function performs list Unit 140 may be based on the visual information part, numeric data part and program code sections and come for each corresponding visual element Functional attributes are set and corresponding program function is realized in order or event handling, so that each visual element can have The static perceptual property arranged by vision performance element 130 and the dynamic function of being arranged by function performance element 140 At least one of attribute attribute.In such manner, it is possible to realize with visual element being constituted the application of view-based access control model element as elementary cell Program, and can also realize that with visual element be elementary cell to the visual information of the application program, numeric data and program Code etc. is effectively organized, managed and used.
In an exemplary embodiment of the present invention, the screen of display device can be considered root visual element (or root information carry Body), other visual elements can be arranged on the root visual element and shown.Additionally, the application program of view-based access control model element can be by Multiple visual elements are constituted, and the plurality of visual element may include a main visual element and at least one sub- visual element, The main visual element can be the main interface that the application program most starts, and can be explicit or implicit expression. In at least one sub- visual element be subordinated to per individual sub- visual element the main visual element or be subordinated to it is described extremely Other sub- visual elements in a few sub- visual element.That is, several can be associated below each main visual element One-level visual element, can also associate one or more two grades of visual elements under each one-level visual element, by this way, The visual information tree of a handstand can be formed for an application program, the node of tree is each visual element for creating, and Leaf on node can be then word or image, therefore can be wrapped to organize and preserve an application program by the form set The all information for containing.In other words, in an exemplary embodiment of the present invention, the node that can receive event can be dynamic section Point, is otherwise static node.Each node can be comprising visual information and function information, and visual information is static data structure, It is mainly used in describing level, position, size, background and prospect of visual information element etc., function information is program code sum Value Data, the corresponding program of function information is divided into two parts, and a part is initialization program, and another part is event handling journey Sequence, static node does not include button.onrelease.
Preferably, in an exemplary embodiment of the present invention, sub- visual element (for example, sub-information carrier) can also be divided into The sub- visual element of consubstantiality and the sub- visual element of allosome, the sub- visual element of allosome can be Pop-up visual element (also referred to as Pop-up visual element), and relative to the upper level visual element of its subordinate, (that is, the father of the sub- visual element of the allosome regards Feel element), the display location of the sub- visual element of the allosome is moveable, and the sub- visual element of consubstantiality is relative to the upper of its subordinate The display location of one-level visual element (that is, father's visual element of the sub- visual element of the consubstantiality) is then fixed.
After the exploitation to the application program of view-based access control model element is completed using system 100, when the such application of operation During program, the detectable event produced by the application program of visual element administrative unit 120, it is determined that with the thing for detecting The visual element of part matching, and at least one of in vision performance element 130 and function performance element 140 is controlled based on detecting Event to perform, the visual element with determined by is corresponding to be operated, for example, can control vision performance element 130 next to show Level visual element, and/or controllable functions performance element 140 is come set in the functional attributes of the visual element for performing matching The feature operation corresponding with the event put.
Although describing answering for the view-based access control model element of exemplary embodiment of the invention in detail in the above description With program development and the element and its corresponding operating of runtime 100.But the invention is not restricted to this, as shown in fig. 1, root May also include according to the system 100 of embodiments of the invention:Data operation module 150, for interacting with operating system layer work(is thought Feature operation performed by energy performance element 140 and vision performance element 130 provides data operation operation;Data movement module 160, for interacting the feature operation for thinking function performance element 140 and performed by vision performance element 130 with operating system layer Data movement operations are provided;Data search module 170, for operating system layer interaction function performance element 140 and vision are thought Feature operation performed by performance element 130 provides data look-up operations.
Additionally, as shown in fig. 1, according to an embodiment of the invention system 100 may also include figure module 180 and behaviour Make system layer and hardware layer interaction to provide the graphical information needed for creating visual element and display visual element.After a while will knot Close the configuration that Fig. 2 describes figure module 180 in detail.
Fig. 2 is the exemplary diagram of the structure of the figure module 180 for illustrating exemplary embodiment of the invention.At this In the exemplary embodiment of invention, system 100 is implemented in application layer.
With reference to Fig. 2, the figure module 180 of exemplary embodiment of the invention may include:Shape library 210, figure is driven Dynamic device 220 and EGA 230.
Shape library 210 can provide API funcall interfaces for the setting of perceptual property and the realization of visual performance, with The api function prestored in by calling the shape library is realizing perceptual property or think that user or application program are wanted to set up The visual performance to be realized, the information to calling is initialized and is passed to graphdriver 220.
Graphdriver 220 can receive the perceptual property wanted to set up with user or application program or the vision for wanting realization The related input of function.
EGA 230 can provide unified abstraction interface for graphdriver 220 so that graphdriver 220 can The various system environments of operating system layer and the various hardware environment of hardware layer are adapted to, and the concrete system of lower floor need not be concerned about System environment and hardware environment are how.Graphdriver 220 can connect by the way that the unification for calling EGA 230 to be provided is abstract Mouthful, utilize from figure in the case of the particular hardware environment of the concrete system environments and hardware layer that do not consider operating system layer The api function that storehouse 210 is called is realizing perceptual property that user or application program are wanted to set up or want the vision work(realized Energy.
Only as an example, EGA 230 can call API, the third-party figure that operating system is provided Storehouse (such as OPEN GL, DIRECT X) arranges accordingly regarding for corresponding perceptual property or realization enabling graphdriver 220 Feel function or can directly operate graphic hardware to enable graphdriver 2200 that corresponding perceptual property or realization are set Corresponding visual performance, in this way, can provide an abstraction interface to upper strata (that is, application layer), hide lower floor and (that is, grasp Make system layer and hardware layer) different operating environment and hardware environment so that upper strata is not concerned with when figure shows are carried out Specific system environments.
That is, no matter the system 100 of exemplary embodiment of the invention is realized in which kind of operating environment and hard Under part environment, by the adaptation of above-mentioned EGA 130, all graphic parameter information of visual element etc. can be converted to operation The OS of the system layer and particular hardware of hardware layer is readable and displayable information such that it is able to the API that provided using OS or the Shape library (such as, OPENGL, DIRECT X etc.) or be directly to operate graphic hardware to realize visual element that tripartite provides Display on the display device.In this case, the system 100 of exemplary embodiment of the invention can compatiblely Operate under various operating environments and hardware environment, so as to provide the user a unified exploitation and running environment so that this The application program that sample is created may operate at application layer without considering how are specific operating system environment and hardware environment.
Describe in detail below with reference to Fig. 3 and opened by the application program of view-based access control model element according to an embodiment of the invention Send out the exemplary operations with the development and application program of runtime 100.
Fig. 3 is the composition structure of the application program of the view-based access control model element for illustrating exemplary embodiment of the invention Example.
When the application development and runtime of the view-based access control model element using exemplary embodiment of the invention 100 come the application program for developing view-based access control model element when, visual element administrative unit 120 can detect whether in boundary element 110 The order for creating visual element for request is provided in the operation interface of offer.
When detecting for the order of request establishment visual element, visual element administrative unit 120 can create main view feel Element 300 or sub- visual element 310 and 320.
In an exemplary embodiment of the present invention, main visual element 300 refers to the energy when the application program belonging to it is run Enough main display interfaces corresponding with the application program visible for user or exercisable for showing on the display screen or operation Interface, and in this case, the main visual element is referred to alternatively as explicit main visual element.It should be appreciated, however, that of the invention Not limited to this, in an embodiment of the present invention, can be also created as main visual element when belonging to it by vision performance element 130 Application program can be not displayed implicit expression main visual element on the display screen when running.
The data structure of the main visual element 300 of the definable of vision performance element 130, arranges the visual element of main visual element Title, and based on visual element distribute unique ID.
After the establishment to main visual element 300 is completed, can further pass through 130 pairs of main views of vision performance element Feel that element 300 arranges perceptual property and visual performance, for example, the show levels residing on the display screen of main visual element 300, Region or size shared by the residing display location on screen of the main visual element 300, the main visual element 300, The background and/or prospect (prospect is the set of pixels of visual element itself) of the main visual element 300 and the main view feel unit Dynamic of element 300 etc..
Additionally, by vision performance element 130 also such as writings and image can be arranged on the main visual element 300 Sub- visual element.
Preferably, except being carried out to visual element by the visual development operation interface provided by boundary element 110 Outside the modes of operation such as establishment, design and setting, vision performance element 130 can also be called by using such as api interface The module library for pre-setting such as is created, designed and is arranged at the operation to visual element, without using aforesaid operations interface.Only As an example, the module library can provide the functional module for realizing that following functions are operated:(1) visual element is created;(2) obtain and regard Feel the perceptual property and functional attributes of element;(3) perceptual property and functional attributes of visual element are set;(4) vision unit is shown Element;(5) visual element is hidden;(6) visual element is deleted.
Additionally, can pass through the 140 pairs of main visual elements 300 of function performance element arranges functional attributes and corresponding program function Order or event, i.e. be arranged on when application program is run receivable event or order (for example, during development and application program by can Depending on changing order or the event produced when program is run (such as customer incident, system event, the time thing that development interface sends Part or customized event)) and for the event or order the feature operation that can accordingly perform.In the exemplary reality of the present invention In applying example, function performance element 140 can may include to the event that main visual element 300 is arranged:User operation case, system thing At least one of part, time-event and User Defined event, and function performance element 140 can also based on visual element 300 arrange operation corresponding with set event (includes, but not limited to call next stage visual element, updates main view feel unit Perceptual property, execution mathematical operation, data movement, data search of element etc.).So, for example, when in main visual element 300 On detect with function performance element 130 for one of its event for pre-setting corresponding event when, can perform with the event pair The operation answered realizes program function with this.
After completing the establishment to main visual element 300 and arranging, one can be also created under main visual element 300 Or more sub- visual elements.Here, sub- visual element can refer to that application program can be displayed in display screen or master when running The sub- display interface associated with the application program visible for user or exercisable or display elements on visual element.
Each sub- visual element in one or more sub- visual element can be subordinated to main visual element 300, Other the sub- visual elements that can be subordinated in one or more sub- visual element.For example, as shown in Figure 3, at this In the exemplary embodiment of invention, the sub- visual element created for application program can be the sub- visual element of classification.
Only as an example, after completing the establishment to main visual element 300 and arranging, when visual element administrative unit 120 detect request in the operation interface that boundary element 110 is provided when creating the request of sub- visual element, can be held by vision Row unit 130 creates the one-level visual element 310 under main visual element 300 and (is exemplarily illustrated as one-level vision in fig. 2 Element 310-1 and 310-2).
In an exemplary embodiment of the present invention, the process for creating sub- visual element is similar with main visual element.Specifically Say, can be created and the one-level visual element 310 by vision performance element 130 first, define belonging to one-level visual element 310 Father's visual element (that is, main visual element), define the data structure of one-level visual element 310, one-level visual element 310 is set Visual element title, and for create the sub- visual element 310 of the first order distribute unique ID.
Then perceptual property and visual performance, example can be arranged to one-level visual element 310 by vision performance element 130 Such as, but it is not limited to, one-level visual element 310 is relative to the show levels residing for main visual element 300 or on the display screen Show levels (for example, belonging to many sub- visual elements of same father's visual element can belong to same show levels or different aobvious Show level), one-level visual element 310 relative to visual element 300 display location (for example, if the one-level visual element 310 is the sub- visual element of consubstantiality, then it can be at the fixed position on main visual element 300, if the one-level visual element 310 is the sub- visual element of allosome, then its position relative to visual element 300 it is variable and can not on visual element 300 (example Such as, be Pop-up visual element)) or display location on the display screen, one-level visual element 310 shared by region or big Dynamic of the little, prospect of one-level visual element 310 and/or background and one-level visual element 310 etc..
Additionally, also functional attributes and corresponding program work(can be arranged to one-level visual element 310 by function performance element 140 The order of energy or event.In an exemplary embodiment of the present invention, one-level visual element can be arranged by function performance element 140 310 can receive and the event (for example, user operation case, system event, time-event, User Defined event etc.) that processes with And realization feature operation corresponding with these events.So, for example, hold with function when detecting on one-level visual element 310 During the corresponding event of one of event that row unit 140 is pre-set for one-level visual element 310, function performance element 140 can Perform feature operation corresponding with the event.
Although being not shown in the accompanying drawings, the system 100 of exemplary embodiment of the invention may also include public Module library (not shown) prestoring the various functions module created by system or user, using as the external public affairs of system itself Many development interfaces, and anyone can development function module be added in the public module storehouse.So, when being held by function When 140 pairs of main visual elements of row unit or sub- visual element are configured, can be directly by the event for arranging or order association to institute The functional module prestored in module library is stated, so as in the such application program of operation, if received for accordingly regarding Feel event or the order of element, then can be invoked in the event or command process from public module storehouse and realize user's specific function Available functional module come perform corresponding function operation.
Although moreover, it should be understood that figure 3 illustrates creating two one-levels visual element 310-1 and 310-2 as master The sub- visual element of visual element 300, but this be for only for ease of understanding and illustrate, embodiments of the invention not limited to this, Less or more one-level visual elements 310 can according to the actual requirements be created.
After the establishment for completing one-level visual element 310 and arranging, also one can be created under one-level visual element 310 Individual or more two grades of visual elements 320.In this case, father's visual element of two grades of visual elements 320 is one-level vision Element 310.The mode of two grades of visual elements 320 is created and arranged with above-mentioned establishment and the mode of one-level visual element 310 is set It is similar, therefore in order to simple and clear, will not be described in detail again.
In an exemplary embodiment of the present invention, multistage sub- visual element can according to demand be created.Although additionally, in Fig. 3 In illustrate that a sub- visual element is subordinated to father's visual element, but the invention is not restricted to this, can also be according to visual element pipe Manage the order received by unit 120 and be set to a sub- visual element to be subordinated to multiple different father's visual elements.
The all main visual element and sub- visual element created for the application program of view-based access control model element can be saved In visual element administrative unit 120, and organized by visual element administrative unit 120, managed and some other settings behaviour Make.
The present invention is explained in order to clearer, is described below with reference to the specific example of Fig. 5 to Fig. 7 and is used view-based access control model The application development of element creates the process of the application program of view-based access control model element with runtime 100.
Fig. 5 is the application development and fortune of the view-based access control model element for being shown with exemplary embodiment of the invention Row system 100 come create application program and operation create application program example.
Fig. 5 is shown with system 100 to create the behaviour of the exemplary application 500 processed for file and picture editor The example of work.
As shown in Figure 5, regarding in the establishment application program 500 that user is received by visual element administrative unit 120 When feeling the request of element, the main visual element 510 of the application program 500 can be created (in Fig. 5 by vision performance element 100 In, main visual element 510 is information carrier), and the perceptual property of main visual element 510 is set, including main visual element 510 Show levels, display location, size, background, prospect and dynamic.In this example, the level of main visual element 510 can be set 1 is set to indicate it be the main visual element of application program 500, can be by the upper left corner of main visual element 510 relative to father's carrier The coordinate (x, y) of (being the display screen as root carrier here) is set to its position, and size may be configured as rectangular area, the back of the body Scape is set to nothing, and prospect is set to the set of pixels of visual element 510 itself and dynamic is set into dynamic (that is, being set to can Receive and process event).
Then, the thing of functional attributes and corresponding program function can be set by function performance element 140 for visual element 510 Part.Specifically, the KeyEvent (such as key-press event) and mouse thing to be received and be processed can be set for visual element 510 Part (mouse movement, press left button, left button upspring), and arrange for the executable feature operation of each event or place Reason, for example, for key-press event, can retrieve user by the combination of current button according to the coding rule of input method from character library The word to be input into, and create and show the word according to acquiescence or default perceptual property;For mouse moving event, can Coordinate position of the record current mouse focus on visual element 510;For left button presses event, current mouse when pressing can be obtained Coordinate position of the mark focus on visual element 510;For left button is upspring event, current mouse focus when upspringing can be obtained and regarded Feel the coordinate position on element 510.The visual element 510 that establishment is completed can be stored in visual element administrative unit 120.
After the establishment for completing application program 500, when running the application journey in the running environment that system 100 is provided During sequence 500, can program operation start when by vision performance element 130 according to the vision being previously set for visual element 510 Attribute and visual performance create and show visual element 510.Subsequently, when being detected aobvious by visual element administrative unit 120 When there occurs such as keyboard key events on the visual element 510 for showing, visual element can be based upon using function performance element 140 510 functional attributes for arranging for example, can press current button processing the keyboard key events according to the coding rule of input method Combination retrieve user's word to be input into from character library, and according to pre-setting for input word or default setting is regarded Feel attribute to create and show the word.After word input is completed, all input words can be considered as a visual element (for example, a word, a word, a paragraph even entire chapter word being considered as into a visual element).Additionally, user also can be to defeated The word for entering carries out editing and composing, for example, specified word may be selected as title, and by mouse movement the word for needing is specified (for example, left mouse button can be pressed at the starting position of word for wanting selection, the state that then holding left mouse button is pressed will Cursor of mouse moves to the word end position of wanting selection and unclamps left mouse button), by such mouse action, can regard Feel and set up a new sub- visual element (that is, article title) on element 510, then also pass through 130 pairs of institutes of vision performance element State sub- visual element to be configured in perceptual property.For the demand of other text layout effects of user, processing method and upper Face is the same.
That is, for the application program created using the system 100 of exemplary embodiment of the invention Speech, the content for either being pre-set when the application program is created (for example, graph image, the numbered for showing According to etc.), or newly increase when the application program is run or change content, can be with visual element as elementary cell To be created, be arranged, be organized and be preserved, so so that user easier can develop and using such application program.
Fig. 5 shows and creates the example of the application program for including a visual element, however, the invention is not restricted to this, also The example of the application program including multiple visual elements can be created, is explained hereinafter with reference to Fig. 6 and Fig. 7.
Fig. 6 is the application development and fortune of the view-based access control model element for being shown with exemplary embodiment of the invention Row system 100 is creating another example of application program.
Specifically, Fig. 6 is shown with system 100 to create the exemplary process of the application program including animation.
As shown in Figure 6, can be created that using system 100 can represent that during the warmth of spring, all the flowers bloom, sunny, bird's twitter by animation The application program (that is, animation) 600 of the natural views of the fragrance of a flower.In the animation 600 that figure 6 illustrates, there is blue sky, slow in animation The mobile sun, the white clouds of flowing and the pigeon for circling in the air, there is on the ground two trees, sunflower and and flowers and plants.
When using system 100 to develop above-mentioned animation 600, can first confirm that need to create a main visual element (in Fig. 6 Example described in main visual element be information carrier) and 15 sub- visual elements (that is, 1 sun, 1 white clouds, 7 pigeons, 2 greeneries, 3 sunflowers and 1 wild flower this 15 pictorial element), 16 visual elements altogether.
Then, when the request for creating main visual element 610 is got by visual element administrative unit 120, can use Vision performance element 130 creates main visual element 610, and by vision performance element 130 by the display layer of main visual element 610 Secondary to be set to 1, background is set to root carrier (that is, display screen), and prospect is the blue sky in addition to above-mentioned 15 sub- visual elements The set of pixels in greenery patches.Additionally, the dynamic of visual element 610 can be set into static state by vision performance element 130, i.e. set Is set to the event that do not receive.The visual element 610 that establishment is completed can be stored in visual element administrative unit 120.
After completing the establishment to visual element 610 and arranging, can be based on and be obtained by visual element administrative unit 120 The request of each sub- visual element of establishment for arriving, 15 sons for being continuing with the establishment visual element 610 of vision performance element 130 are regarded Feel element, by the show levels of the sub- visual element be set greater than or equal to 2 (that is, according to each visual element by as far as Recently its level is set, nearer hierachy number is bigger, the maximum element of hierachy number is visible when the element of different levels is overlapped, layer The low element of number of times is hidden), background is set to visual element 610, and prospect is the shape and color of each sub- visual element (that is, set of pixels or image), dynamic is set to dynamic (that is, being set to reception event), and each sub- visual element position Can be arbitrarily determined by user.The each sub- visual element that establishment is completed can be stored in visual element administrative unit 120.
After the setting to the perceptual property of each sub- visual element is completed (or in each sub- visual element of setting While perceptual property), it is also possible to use function performance element 140 pairs and functional attributes and corresponding program are set per individual sub- visual element The event of function, i.e. the event for receiving and processing and its corresponding operating per individual sub- visual element is set.In present exemplary In embodiment, time-event can will be set to per the event for receiving and processing of individual sub- visual element, and time-event Origination interval can voluntarily be determined by user, so as to realize animation effect.More particularly, for arranging per individual sub- visual element Time-event process in, corresponding program can be set and be processed to by logarithm Value Data (that is, the prospect of visual element) The prospect visual effect that realization is wanted, for example, the prospect (that is, profile) of the sun slowly becomes greatly, and sunlight is more and more stronger;Pigeon is turned left Fly, position gradually changes, the conversion of prospect is that wing is being instigated;Sunflower opens gradually, and petal increasingly comes big, etc..
So, after the operation by more than completes the exploitation to animation, when the animation is run, can first by regarding Feel performance element 130 according to the respective perceptual property of 16 visual elements to represent a width picture.Then, push away over time Move, the corresponding of each visual element can be called according to the time interval for each visual element setting by function performance element 140 Time-event processing routine, each time-event processing routine can be processed the perceptual property of corresponding visual element to realize The new vision of each visual element represents (for example, position change, color change, size changes, level changes etc.), so as to can be real Reveal the animation effect wanted.
Fig. 7 is the application development and fortune of the view-based access control model element for being shown with exemplary embodiment of the invention Row system 100 is creating the another example of application program.
With reference to Fig. 7, Fig. 7 is shown with the schematic of exploitation multipad of system 100 (for example, translation software) 700 Diagram.In the translation software 700, the word of certain language can be input into input frame, then handle is set by corresponding Source language text is translated into object language word and is shown in output box.
Before actually used system 100 develops the multipad 700, can first determine that the composition desktop should With the visual element of program 700.In the example that figure 7 illustrates, multipad 700 can have a main visual element The sub- visual element 720-1 to 720-13 of 710 and 13 one-levels.Each visual element explained in detail below.
As shown in Figure 7, when the request for creating main visual element 710 is got by visual element administrative unit 120, Main visual element 710 can be created using vision performance element 130, and by vision performance element 130 by main visual element 710 Show levels is set to 1, and background is set to root carrier (that is, display screen), and prospect is set to the set of pixels of itself, and dynamic sets It is set to static state, i.e. be set to not receive event.The visual element 710 that establishment is completed can be stored in visual element administrative unit In 120.
Then, the sub- visual element of each one-level can similarly be created.
As shown in Figure 7, the sub- visual element 720-1 of one-level can be arranged to the sub- visual element of consubstantiality, and its level is set For 2, father's visual element is main visual element 710.The one-level visual element 720-1 can further include 12 two grades of sub- visions Element, i.e. 2 text elements illustrated in one-level visual element 720-1 and 10 pictorial elements.In the example in figure 7, it is described 1 text element is that dynamic is arranged to static " Kingsoft Powerword 2012v4.6 ", and another text element is dynamic quilt Be set to dynamic " logins ", the event that setting is associated with " login " can be click event, and with the click event phase The feature operation answered can be arranged to eject login interface (that is, when click event is received on text element " login ", can Eject the login interface as next stage visual element).Additionally, in the example in figure 7,10 pictorial elements are shown The sub- visual element 720-1 of one-level the upper right corner 4 image buttons, " dictionary ", " translation ", " sentence storehouse ", " data of left lower side This 4 image buttons of " center " and " back of the body word ", " new word sheet " on bottom right side this 2 image buttons, 10 image buttons Dynamic can be arranged to dynamic, event associated with it can be arranged to click event, and with the click event for associating Corresponding operation is ejection next stage visual element (for example, next stage operation interface).2 text elements and 10 figures Pixel element can be at same level 3, and its positions and dimensions as implied above can be arranged voluntarily by developer or user, and background is one Level visual element 720-1, and prospect respective image for more than.
One-level visual element 720-2 can as shown in Figure 7 be arranged to the sub- vision unit of consubstantiality of the white with grey frame Element, its level is arranged to 2, and father's visual element is main visual element 710.The one-level visual element 720-2 may include 2 two Level visual element.In the example in figure 7,2 sub- visual elements are pictorial element, and a pictorial element is scroll bar underframe (that is, right hand edge down arrows and between grey scrolling bands), another pictorial element is the scroll box slided up and down in scrolling bands. The two pictorial elements can be at same level 3, and its positions and dimensions as implied above can be arranged voluntarily by developer or user, Background is one-level visual element 720-2, and prospect is respective picture appearance above.One-level visual element 720-2 and its two The dynamic of individual sub- visual element can be arranged to dynamic.Only as an example, one-level visual element 720-2 can be arranged to connect KeyEvent and mouse event are received and process, it is received and processing procedure can be identical with the word processing in the example of Fig. 5.As The scrolling bands of the sub- visual element of next stage of one-level visual element 720-2 can be arranged to receive mouse-click event, corresponding Event handling in first determine whether that mouse focus is, in upward arrow, lower arrow or scrolling bands, if upward arrow, then to make one-level The word and scroll box shown on visual element 720-2 scrolls up, if lower arrow, then makes one-level visual element 720-2 The word and scroll box of upper display is scrolled down through, if in scrolling bands, then using as the another of one-level visual element 720-2 The scroll box of individual next stage visual element is rolled to relevant position and arrives the character rolling shown on one-level visual element 720-2 Specified location.
One-level visual element 720-3 is a consubstantiality visual element of the white with grey frame, and its level is arranged to 2, father's visual element is main visual element 710.One-level visual element 720-3 further includes 2 two grades of visual elements, i.e. 1 Text element (that is, " source:Automatic detection ") and 1 pictorial element (that is, downward triangular arrowheads).1 text element and The level of 1 pictorial element is arranged to 3, and positions and dimensions as implied above can be arranged voluntarily by developer or user, Background is one-level visual element 720-3 and prospect respective word or picture appearance for more than.In one-level visual element 720-3 In, the dynamic of 1 text element can be arranged to static, and the dynamic of 1 pictorial element (that is, arrow) can It is arranged to dynamic.Only as an example, described image element can be arranged to receive mouse-click event, and with mouse In the event handling of click event association, the sub- visual element (for example a, combobox) of allosome can be further created, in frame (that is, the sub- visual element of the allosome can further include the multiple next stage visions as text element the name of each languages Element) being selected by user.
One-level visual element 720-4 can be arranged such as one-level visual element 720-3.
One-level visual element 720-5 can be arranged to the sub- visual element of consubstantiality, and its level is arranged to 2, father's visual element It is main visual element 710.The one-level visual element 720-5 may include 2 two grades of visual elements, i.e. 1 text element is (i.e., " translation ") and 1 pictorial element (that is, downward triangular arrowheads), 1 text element and 1 pictorial element layer Secondary to be arranged to 3, its positions and dimensions as implied above can be arranged voluntarily by developer or user, and background is one-level vision unit Plain 720-5 and prospect respective word or picture appearance for more than.Additionally, in one-level visual element 720-5, described 1 The dynamic of text element can be arranged to dynamic, and it can receive mouse-click event, and with mouse-click event correlation Event handling in the source document word in one-level visual element 720-2 is translated as into target text;And 1 pictorial element is (i.e., Arrow) dynamic can also be arranged to dynamic, it can receive mouse-click event, and with mouse-click event correlation An allosome visual element (for example a, combobox) can be created in event handling, there is the title of translator command shortcut in frame (that is, the sub- visual element of the allosome can further include the multiple next stage visual elements as text element) by user to be carried out Select.
Additionally, one-level visual element 720-6 to 720-12 can be arranged to the pictorial element on main visual element 710 (or text element), its level can be arranged to 2, and positions and dimensions as implied above can be arranged voluntarily by developer, and background is Main visual element 710 and prospect respective word or picture appearance for more than.Additionally, one-level visual element 720-6 to 720- 12 dynamic can be arranged to dynamic, can receive and process mouse-click event, and with mouse-click event correlation Event handling in create next stage visual element.
One-level visual element 720-13 can as shown in Figure 7 be arranged to the sub- visual element of linen consubstantiality, its level It is arranged to 2, father's visual element is main visual element 710.The one-level visual element 720-13 may include 2 two grades of vision units Plain (being in the example in figure 72 pictorial elements), and this 2 two grades of visual elements can be at same level 3, position and chi Very little as implied above voluntarily to be arranged by developer or user, background is one-level visual element 720-13, and more than prospect is Respective picture appearance.The dynamic of one-level visual element 720-13 and its 2 two grades of visual elements can be arranged to dynamic. One-level visual element 720-13 can be arranged to be used in the click event process for creating and being displayed in one-level visual element 720-5 The target text element for translating.The scrolling bands of one of the next stage visual element as one-level visual element 720-13 can be set Be set to reception mouse-click event, first determine whether in corresponding event handling mouse focus be upward arrow, lower arrow or Scrolling bands, if upward arrow, then make the word and scroll box that show on one-level visual element 720-13 scroll up, if Lower arrow, then scroll down through the word and scroll box that show on one-level visual element 720-13, if in scrolling bands, then Relevant position will be rolled to as the scroll box of another two grades of visual elements of one-level visual element 720-13 and regard one-level Feel the character rolling shown on element 720-13 to specified location.
After the establishment to multipad 700 is completed based on manner described above, can be provided in system 100 Running environment in run described program 700.For example, when program 700 is run, vision performance element 130 can first be passed through The main visual element 710 and each sub- visual element 720-1 to 720-13 for creating is shown, and can be via visual element administrative unit During 120 obtain the event occurred on each sub- visual element so as to pass through vision performance element 130 and function performance element 140 At least one realizing corresponding feature operation.
Fig. 4 is the application development and fortune of the view-based access control model element for being shown with exemplary embodiment of the invention Row system 100 carrys out the flow chart of development and application program.
As shown in Figure 4, in step 401, boundary element 110 can show opening for the application program for view-based access control model element The operation interface sent out.
In step 403, visual element administrative unit 110 can be detected in the operation interface provided by boundary element 110 Whether receive visual element and create order, and when the order is received, ask to create in response to the order to constitute The visual element of the application program.
However, the invention is not restricted to this, in an embodiment of the present invention, in step 401 and 403, the behaviour can not be used Make interface, but the visual element that may be in response to receive is created to order to be called by using such as api interface and pre-set Module library the operation such as created, designed and arranged to visual element.
In step 405, in response to the visual element request to create, vision performance element 130 can create visual element simultaneously The perceptual property related regarding official's sensation given people to the presentation of the visual element of visual element is set.Additionally, in response to described Visual element request to create, function performance element 140 can arrange functional attributes and realize in order or event handling corresponding Program function.
Visual element is created in above-mentioned steps S401 to S405 has above been described with reference to Fig. 1 to Fig. 3 in detail and to regarding Feel the process that is configured of element, therefore in order to simple and clear, here will not be further described in more detail.
After the establishment and setting for visual element is completed, in step 407, such visual element can be stored in In visual element administrative unit 120.
Describe in detail using the view-based access control model element of exemplary embodiment of the invention above by reference to Fig. 1 to Fig. 7 Application development and runtime 100 developing the process of the application program of view-based access control model element.Hereinafter, will also be detailed Carefully describe the running environment that provided using the system 100 to run the process of the application program of the view-based access control model element.
When the application program of the view-based access control model element developed by system 100 is in the running environment provided by system 100 During operation, detectable event (such as user operation case, system event, the time thing for occurring of visual element administrative unit 120 Part, User Defined event etc.), it is determined that corresponding to the event for detecting or matching visual element, and perform corresponding or matching Visual element in set feature operation corresponding with event that is detecting.
Only as an example, when the application program is run in the running environment provided by system 100, there is user In the case of Action Events, visual element administrative unit 120 can detect the position that user operation case occurs on screen, then Corresponding visual element is determined according to the position.If only existing a visual element in the position, inspection is can first determine that Whether the event for measuring belongs to is arranged by function performance element 140 when one visual element is created for the visual element One of event, if belonged to, perform arranged by function performance element 140 when the visual element is created with detect The corresponding feature operation of event, otherwise, do not perform any operation.If there are the multiple of multiple application programs in the position to regard Feel element, it is determined that whether the event for detecting belongs to the visual element of the application program of the superiors in showing (i.e., currently Focus visual element) when being created by function performance element 140 it is one of event of its setting, if belonged to, perform and work as It is being arranged by function performance element 140 when the visual element is created it is corresponding with event that is detecting operate, otherwise do not perform Any operation.
Used as another example, in the case where system event or time-event is detected, application program running unit 140 can System 100 provide running environment in run all application programs visual element among search for the system event or The corresponding visual element of time-event (that is, detect which visual element when being created by function performance element 140 be provided with The corresponding event of event for detecting), and perform when the visual element that searches is created and set for it by function performance element 140 It is putting corresponding with event that is detecting to operate.
In an exemplary embodiment of the present invention, if operation corresponding with the event for detecting includes such as data processing Deng feature operation, then visual element administrative unit 120 can control in vision performance element 130 and function performance element 140 At least one realizing the feature operation.In this case, vision performance element 130 and function performance element 140 are adjustable Performed with least one of data operation module 150, data movement module 160 and data search module 170 and event Corresponding feature operation.If additionally, it is corresponding with the event for detecting operation include such as show next stage visual element or The visual display operation of picture etc. is shown, then visual element administrative unit 120 also can control vision performance element 130 and function is held Performing the operation of corresponding visual display, now, vision performance element 130 and function perform list at least one of row unit 140 The graphical information that unit at least one of 140 can further call figure module 180 needed for provide the visual display operation And graph data.
Specifically, for example, when the application program of view-based access control model element is operated in the running environment of the offer of system 100 When, if operation requests corresponding with the event for detecting perform the computings such as arithmetic, logic, relation or bit manipulation, count A small amount of data for treating computing can directly be performed mathematical calculations according to computing module 150.Or, for a large amount of continuous data Mathematical operation, the data operation module 150 can first attempt to the processor active task to asking and decompose, and be divided into multiple Can independent operating subtask, then, data operation module 150 can be closed according to the dependence between the number of subtask and subtask System creates corresponding thread and distributes computer resource, by multiple thread parallel computing subtasks, and operation result is fed back to The application program of application layer operation.
As another example, when the application program of view-based access control model element is operated in the running environment of the offer of system 100, If operation requests mobile data corresponding with the event for detecting, data movement module 160 can utilize computer processor Machine instruction realize low volume data movement (such as, between register, between register and internal memory mobile low volume data), and For between internal memory, between internal memory and I/O equipment, locally with it is long-range between the movement of high-volume data, data movement module 160 can Divide data into multiple data blocks and create right according to the hardware (such as dma controller) of support data transfer in computer first Answer multiple threads of quantity, then by the multiple threads for creating to the plurality of data block while moving.
As another example, when the application program of view-based access control model element is operated in the running environment of the offer of system 100, If operation requests data search corresponding with the event for detecting, data search module 170 can be detected first in computer Whether the hardware of supporting search is had, and the hardware for supporting to search is controlled if having carries out data search;Otherwise, data search mould Block 170 can be made a look up using particular data lookup algorithm, for example, data search scope is divided into multiple subranges and is created Multiple threads, subsequently make a look up to determine required data or interior simultaneously by the plurality of thread to the plurality of subrange Hold.
As another example, when the application program of view-based access control model element is operated in the running environment of the offer of system 100, If corresponding with the event for detecting operation requests show particular visual element, the figure module 180 can be according to being directed to The special information element and the perceptual property that arranges shows the particular visual element.
Preferably, in an exemplary embodiment of the present invention, the system 100 may also include debugging unit (not shown) To creating the view-based access control model for completing by visual element administrative unit 120, vision performance element 130 and function performance element 140 The application program of element is debugged.That is, debugging unit can be passed through to for the application journey of certain view-based access control model element Sequence establishment and the main visual element being provided with and sub- visual element are debugged.Additionally, the system 100 may also include for The devices such as compiler, the loader that the application program for creating is compiled.
By the application development and runtime of the view-based access control model element of exemplary embodiment of the invention, The all tasks completed using computer are (as multipad, web program, web page program, shell script, game, industry are answered With, mobile terminal APP etc.) it is placed under a common development environment and is carried out using common thoughtcast and implementation, Using a kind of common programming language to develop current demand in various application programs, make exploitation and the behaviour of application program Make simple, efficient in the extreme, anyone can easily develop the application of oneself as editing word, or even can use nature Language is interacted with machine.
Exemplary embodiment of the present is capable of achieving as the computer-readable code on computer readable recording medium storing program for performing.Computer Readable medium recording program performing is the arbitrary data storage device that can store the data that can be read by computer system thereafter.Computer-readable The example of recording medium includes:Read-only storage (ROM), random access memory (RAM), CD-ROM, tape, floppy disk, light number According to storage device and carrier wave (data transfer that the wired or wireless transmission paths of such as Jing pass through internet).Computer-readable is recorded Medium also can be distributed in the computer system of connection network, so as to computer-readable code is stored in a distributed manner and is performed.Additionally, Function program, code and the code segment for completing the present invention can be easily by the ordinary programmers in field related to the present invention at this Explain within the scope of invention.
Although the present invention, those skilled in the art are particularly shown and described with reference to its exemplary embodiment It should be understood that in the case of the spirit and scope of the present invention limited without departing from claim, form can be carried out to it With the various changes in details.

Claims (10)

1. a kind of application development and runtime of view-based access control model element, the system includes:
Boundary element, is configured to supply the operation interface for application development;
Visual element administrative unit, is configured to request and creates, organizes, manages, designs and preserve related to the application program Visual element, wherein, the application program is constituted by elementary cell of visual element, and visual element is in the application program During operation the visual elements of the shown operation result for illustrating the application program or state or for it is described Interface or visual elements that application program is interacted;
Vision performance element, is configured under the control of visual element administrative unit, creates visual element and to visual element Perceptual property and visual performance be configured or realize, wherein, the perceptual property and visual performance are presented with visual element What is given people feels related regarding official;
Function performance element, is configured under the control of visual element administrative unit, and the functional attributes of visual element are carried out Arrange and realize in order or event handling corresponding program function.
2. the system as claimed in claim 1, wherein, visual element administrative unit is additionally configured to:
Order received in the operation interface provided in boundary element is provided when the application program is developed, and is controlled At least one of vision performance element and function performance element come perform it is corresponding with received order operate,
When the application program is run, detection is for the event produced by the application program, it is determined that with the event for detecting The visual element matched somebody with somebody, and control at least one of vision performance element and function performance element based on the event for detecting to hold The visual element with determined by is corresponding operates for row.
3. the system as claimed in claim 1, wherein, the application program is by being divided into visual information part, numbered The visual element of the application program is formed according to part and program code sections,
Wherein, vision performance element view-based access control model message part, numeric data part and program code sections are first to create vision Element simultaneously arranges perceptual property and visual performance, function performance element view-based access control model message part, numbered for each visual element Functional attributes are set for each visual element according to part and program code sections and phase is realized in order or event handling Answer program function.
4. the system as claimed in claim 1, wherein, visual element is one of information carrier, text element and pictorial element.
5. the system as claimed in claim 1, wherein, the application program is made up of multiple visual elements, the plurality of vision Element includes a main visual element and at least one sub- visual element,
Wherein, the main visual element or subordinate are subordinated to per individual sub- visual element in described at least one sub- visual element Other sub- visual elements in described at least one sub- visual element,
Wherein, sub- visual element includes the sub- visual element of consubstantiality or the sub- visual element of allosome, and the sub- visual element of consubstantiality is relative to this The display location of the visual element of the sub- visual element institute subordinate of consubstantiality is fixed, and the sub- visual element of allosome is relative to the sub- vision of the allosome The display location of the visual element of element institute subordinate may move.
6. the system as claimed in claim 1, wherein, perceptual property includes the show levels of visual element, display location, big At least one of little, background, prospect and dynamic,
Wherein, dynamic refers to that visual element is dynamic vision element or static vision element, and dynamic vision element is referred to can The visual element that reception event and the event to receiving are responded, static vision element refers to the vision unit for not receiving event Element.
7. the system as claimed in claim 1, also includes:
Figure module, is configured to interact to provide the figure for creating or showing needed for visual element with operating system layer and hardware layer Shape information.
8. system as claimed in claim 7, wherein, figure module includes:
Shape library, is configured to provide API funcall interfaces for the setting of perceptual property and the realization of visual performance, with The api function prestored in by calling the shape library is realizing perceptual property or think that user or application program are wanted to set up The visual performance to be realized, and the information to calling initializes;
Graphdriver, is configured to the vision for receiving the perceptual property wanted to set up with user or application program or wanting realization Function is related to be called;
EGA, is configured to provide unified abstraction interface for graphdriver so that graphdriver adapts to operation The system environments of system layer and the hardware environment of hardware layer,
Wherein, graphdriver is not considering operating system layer by the unified abstraction interface for calling EGA to be provided Concrete system environments and hardware layer particular hardware environment in the case of using the api function called from figure place come real Perceptual property or want the visual performance realized that existing user or application program are wanted to set up.
9. a kind of development approach of the application program for view-based access control model element, methods described includes:
Visual element in response to receiving creates order, and request creates the visual element for constituting the application program, wherein, institute State application program to be constituted by elementary cell of visual element, visual element is is used for shown when the application program is run The operation result of the application program or the visual elements of state are shown or for interacting with the application program Interface or visual elements;
In response to visual element request to create, visual element is created, giving people with the presentation of the visual element for visual element is set Feel related perceptual property and visual performance regarding official, and the functional attributes of visual element are set and at order or event Corresponding program function is realized in reason;
Preserve visual element.
10. method as claimed in claim 9, wherein, the application program is by being divided into visual information part, numbered The visual element of the application program is formed according to part and program code sections,
Wherein, the step of perceptual property for arranging visual element, includes:View-based access control model message part, numeric data part and program Code section to arrange perceptual property and visual performance for each visual element,
Wherein, the step of functional attributes for arranging visual element, includes:View-based access control model message part, numeric data part and program Code section for each visual element to arrange functional attributes and realizes in order or event handling corresponding program function.
CN201710009491.XA 2017-01-06 2017-01-06 Application program development and running system based on visual element and method thereof Pending CN106648705A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710009491.XA CN106648705A (en) 2017-01-06 2017-01-06 Application program development and running system based on visual element and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710009491.XA CN106648705A (en) 2017-01-06 2017-01-06 Application program development and running system based on visual element and method thereof

Publications (1)

Publication Number Publication Date
CN106648705A true CN106648705A (en) 2017-05-10

Family

ID=58844291

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710009491.XA Pending CN106648705A (en) 2017-01-06 2017-01-06 Application program development and running system based on visual element and method thereof

Country Status (1)

Country Link
CN (1) CN106648705A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110709831A (en) * 2017-06-27 2020-01-17 国际商业机器公司 Enhanced visual diagnostic system for intelligent tutoring
CN111736820A (en) * 2020-06-24 2020-10-02 支付宝(杭州)信息技术有限公司 Visualization program development method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1459950A (en) * 2002-05-24 2003-12-03 深圳市中兴通讯股份有限公司上海第二研究所 Interface display system capable of compatible for multi equipments and method
US20080276262A1 (en) * 2007-05-03 2008-11-06 Aaftab Munshi Parallel runtime execution on multiple processors
CN102004528A (en) * 2010-11-10 2011-04-06 吴晓栋 Design idea of new generation of computer system and implementation method thereof
CN102045462A (en) * 2009-10-15 2011-05-04 阿瓦雅公司 Method and apparatus for unified interface for heterogeneous session management
CN102200909A (en) * 2010-07-30 2011-09-28 深圳市融创天下科技发展有限公司 Mobile terminal uniform interface method and system
CN105843630A (en) * 2016-06-08 2016-08-10 江西洪都航空工业集团有限责任公司 Method for graphical programming development based on robot

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1459950A (en) * 2002-05-24 2003-12-03 深圳市中兴通讯股份有限公司上海第二研究所 Interface display system capable of compatible for multi equipments and method
US20080276262A1 (en) * 2007-05-03 2008-11-06 Aaftab Munshi Parallel runtime execution on multiple processors
CN102045462A (en) * 2009-10-15 2011-05-04 阿瓦雅公司 Method and apparatus for unified interface for heterogeneous session management
CN102200909A (en) * 2010-07-30 2011-09-28 深圳市融创天下科技发展有限公司 Mobile terminal uniform interface method and system
CN102004528A (en) * 2010-11-10 2011-04-06 吴晓栋 Design idea of new generation of computer system and implementation method thereof
CN105843630A (en) * 2016-06-08 2016-08-10 江西洪都航空工业集团有限责任公司 Method for graphical programming development based on robot

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
赵子玉等: "《计算机图形与图像学应用基础》", 31 December 2007, 兵器工业出版社 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110709831A (en) * 2017-06-27 2020-01-17 国际商业机器公司 Enhanced visual diagnostic system for intelligent tutoring
CN110709831B (en) * 2017-06-27 2023-05-30 国际商业机器公司 Enhanced visual diagnostic system for intelligent coaching
CN111736820A (en) * 2020-06-24 2020-10-02 支付宝(杭州)信息技术有限公司 Visualization program development method and device

Similar Documents

Publication Publication Date Title
TWI394052B (en) Interface and system for manipulating thumbnails of live windows in a window manage
Petzold Programming windows
Even-Zohar Factors and dependencies in culture: A revised outline for polysystem culture research
US7818690B2 (en) Framework for creating user interfaces containing interactive and dynamic 3-D objects
US20110197124A1 (en) Automatic Creation And Management Of Dynamic Content
Coutaz et al. HCI and software engineering for user interface plasticity
Giannisakis et al. IconHK: Using toolbar button icons to communicate keyboard shortcuts
KR20050039551A (en) Programming interface for a computer platform
CN110268375A (en) Configure the digital pen used across different application
CN106648705A (en) Application program development and running system based on visual element and method thereof
CN108205456A (en) Window rendering intent, equipment and the storage medium of a kind of striding course
Chen et al. Design and implementation of human-computer interaction based on user experience for dynamic mathematics software
Wells Social semiotics as theory and practice in library and information science
CN115631251A (en) Method, apparatus, electronic device, and medium for generating image based on text
US20220004286A1 (en) Adapted overlay help system
TWI554983B (en) Electronic apparatus, learning method, and computer program product thereof
CN109377424A (en) A kind of self-defined control implementation method and electronic equipment based on education operating system
Santos et al. Implementation and evaluation of an enhanced h-tree layout pedigree visualization
Furtado et al. IVOrpheus 2.0-A Proposal for Interaction by Voice Command-Control in Three Dimensional Environments of Information Visualization
US20170139552A1 (en) Tools on-demand
Koebel et al. Embodied interaction for the exploration of image collections in mixed reality (MR) for museums and other exhibition spaces
Dillon et al. Ready
CN102004528A (en) Design idea of new generation of computer system and implementation method thereof
Tomitsch Trends and evolution of window interfaces
US10474330B1 (en) Supplementary content layers

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170510

RJ01 Rejection of invention patent application after publication