CN102253837A - Object tree-based software framework designing technology - Google Patents
Object tree-based software framework designing technology Download PDFInfo
- Publication number
- CN102253837A CN102253837A CN2011102094160A CN201110209416A CN102253837A CN 102253837 A CN102253837 A CN 102253837A CN 2011102094160 A CN2011102094160 A CN 2011102094160A CN 201110209416 A CN201110209416 A CN 201110209416A CN 102253837 A CN102253837 A CN 102253837A
- Authority
- CN
- China
- Prior art keywords
- tree
- function
- object tree
- task
- message
- 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.)
- Granted
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses an object tree-based software framework designing technology which can realize that a task request is processed in an object tree structure mode. The object tree-based software framework designing technology is mainly characterized by comprising the steps of: 1, object division; 2, object connection; 3, object management; 4, object scheduling engine; 5, object communication; and 6 object execution. According to the object tree-based software framework designing technology, a main functional module is divided into a plurality of sub functional modules which can be used as father nodes that are continuously divided into a plurality of child functional modules until the child functional modules process single task object, the divided child functional modules are clustered to form an object tree model structure, mutual communication is realized among tree items, and child nodes realize self functions and return the processed data to the father nodes of the child nodes. The invention has a flexible function realizing mode, and can effectively meet the demands in practical application.
Description
Technical field
The present invention relates to a kind of software frame designing technique, belong to the Computer Applied Technology field based on object tree.
Background technology
Object tree is record to some extent in the file technical documentation " document dbject model (DOM); the 1st grade of instructions; 1.0 editions; 1 month October in 1998 " of the user modeling HTML of W3C association definition or XML type, when handling this object tree, often need the objective of the invention is to propose an especially effectively solution by setting the ad hoc approach of carrying out certain object.
Development along with the c++ technology, a new step has also been gone up in various research and application based on the object model software frame, ripe not enough about object tree prototype software Frame Design technology at present, only a few people selects to apply mechanically the object tree software frame and replaces traditional technology.
At above-mentioned phenomenon, the present invention adopts tree-model structure image, has made a object tree software frame designing technique, has broken the application of framework, has further improved development efficiency.Software frame designing technique based on object tree possesses secondary development, the programmer only need revise a small amount of code, just can realize its appointed function, and it is convenient not only to bring on development efficiency, and reduced the mistake that coding produces in the performance history, improved software quality.
Summary of the invention
The invention provides a kind of object tree model structure Frame Design technology and operation method, realize its function with the object tree tactic pattern, the function differentiation that needs are realized becomes a plurality of subfunction objects, all nodes are all derived from by base class, each child node realizes the task that father node distributes, utilize the object tree framework technology that these joint structures are become tree again, realize intercoming mutually between the different nodes, after child node is finished himself task, data are returned to father node, father node sends to root node with data again, gives display module with data transfer again, shows the data after executing the task.
Embodiment
The invention process provides a kind of operation method of object tree model structure Frame Design technology, and embodiment comprises:
1. object differentiation
Adopt OO mode, the task division of needs realization is become the subtask of function singleness, each subtask object is realized different functions, programme separately in each subtask, simplified the programming difficulty so to a great extent, the also easier expansion of program, replaceable at any time certain subtask or increase new function, and do not influence allomeric function;
2. object connects
1. utilize the object tree framework technology that these task objects are configured to set pattern type structure;
2. all subitems are all derived from by same base class in the object tree, i.e. root node in the object tree, and this base class is safeguarded the operation of whole tree, comprises and obtains subobject, parent object etc.
3. Object Management group
1. all object modules all be with the dll dynamic load in system, follow interface standard;
2. all objects all are dynamic creations, and the user does not need to know the specifying information of this class, as long as the ID of given object, system creates this object automatically.
4. object message scheduling engine
1. order the pond to be used, carry out the order that each object is submitted to;
2. time slice scheduling, make each object all service time function.
5. object communication
1. message passes to father node, and present node and father node communicate;
2. message passes to child node, and present node and child node communicate;
3. message passes to neighbors, and present node and neighbors communicate;
4. other modules can be monitored the variation of current object, pass through message informing;
5. internet message is handled (socket message).
6. object is carried out
1. come the realization task by the object tree framework, thereby can when realize subfunction, handle relation complicated between each task well, thereby finish whole big task;
2. after subfunction is finished the work, give father node, arrive root node again, according to the actual requirements, can pass through display module, show execution result data transfer.
Description of drawings
Figure one: based on object tree software frame designing technique specific embodiments synoptic diagram.
In figure one, the function differentiation that root node will need to realize becomes the subtask of function singleness, by the object tree framework technology all node strings are become object tree-model structure again, so just can realize being programmed separately in each subtask, reduced the procedure development difficulty to a great extent, also can realize the secondary development of program, because the subtask is independent programming, can increase, delete, revise child node at any time, the programmer does not need that master routine is revised change on a large scale and can realize.
Claims (2)
1. the present invention discloses a kind of software frame designing technique based on object tree, and its principal character performance is: object differentiation, object connection, Object Management group, object scheduling engine, object communication, object are carried out.Present technique is divided into a plurality of subfunctions with the function of tonic chord, and all nodes carry out association with the object tree mode configuration, and child node realizes after self function and the gained data are returned to oneself father node, shows its execution result.Adopt the inventive method, function realizes possessing property versatile and flexible, and can realize only needs to revise a small amount of code based on object tree software frame design exploitation for the second time fast, just can revise certain child node function.
2. based on object tree software frame designing technique operation method, it is characterized in that:
1. object differentiation
Adopt OO mode, the task division of needs realization is become the subtask of function singleness, each subtask object is realized different functions, programme separately in each subtask, simplified the programming difficulty so to a great extent, the also easier expansion of program, replaceable at any time certain subtask or increase new function, and do not influence allomeric function;
2. object connects
1. utilize the object tree framework technology that these task objects are configured to tree;
2. all subitems are all derived from by same base class in the object tree, and this base class is safeguarded the operation of whole tree, comprises and obtains subobject, parent object etc.
3. Object Management group
1. all object modules all be with the dll dynamic load in system, follow interface standard;
2. all objects all are dynamic creations, and the user does not need to know the specifying information of this class, as long as the ID of given object, system creates this object automatically.
4. object message scheduling engine
1. order the pond to be used, carry out the order that each object is submitted to;
2. time slice scheduling, make each object all service time function.
5. object communication
1. message passes to father node;
2. message passes to child node;
3. message passes to neighbors;
4. other modules can be monitored the variation of this object, pass through message informing;
5. internet message is handled (socket message).
6. object is carried out
1. come the realization task by the object tree framework, thereby can when realize subfunction, handle relation complicated between each task well, thereby finish whole big task;
2. after subfunction is finished the work, give father node, show execution result by display module with data transfer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110209416.0A CN102253837B (en) | 2011-07-25 | 2011-07-25 | Based on the Design of Software Framework method of object tree |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110209416.0A CN102253837B (en) | 2011-07-25 | 2011-07-25 | Based on the Design of Software Framework method of object tree |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102253837A true CN102253837A (en) | 2011-11-23 |
CN102253837B CN102253837B (en) | 2015-08-12 |
Family
ID=44981117
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110209416.0A Active CN102253837B (en) | 2011-07-25 | 2011-07-25 | Based on the Design of Software Framework method of object tree |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102253837B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104317596A (en) * | 2014-10-28 | 2015-01-28 | 许继电气股份有限公司 | Automatic function compatibility identifying method on basis of combined well-aligned feature codes |
CN108509284A (en) * | 2018-03-08 | 2018-09-07 | 华南理工大学 | A kind of tree shaped model task management system applied to functional expression programming |
CN109144735A (en) * | 2018-09-29 | 2019-01-04 | 百度在线网络技术(北京)有限公司 | Method and apparatus for handling data |
CN111176255A (en) * | 2019-12-24 | 2020-05-19 | 中国航空工业集团公司西安飞机设计研究所 | Refined function design method for electromechanical integrated control system |
CN112698819A (en) * | 2019-10-22 | 2021-04-23 | 北京信普飞科科技有限公司 | Method, device and storage medium for designing tree-oriented object programming program |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1713192A (en) * | 2004-06-25 | 2005-12-28 | 国际商业机器公司 | Method and device for processing logic mode establishment and carrying out |
-
2011
- 2011-07-25 CN CN201110209416.0A patent/CN102253837B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1713192A (en) * | 2004-06-25 | 2005-12-28 | 国际商业机器公司 | Method and device for processing logic mode establishment and carrying out |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104317596A (en) * | 2014-10-28 | 2015-01-28 | 许继电气股份有限公司 | Automatic function compatibility identifying method on basis of combined well-aligned feature codes |
CN104317596B (en) * | 2014-10-28 | 2017-11-21 | 许继电气股份有限公司 | A kind of functional compatibility automatic identifying method based on combination order characteristics code |
CN108509284A (en) * | 2018-03-08 | 2018-09-07 | 华南理工大学 | A kind of tree shaped model task management system applied to functional expression programming |
CN109144735A (en) * | 2018-09-29 | 2019-01-04 | 百度在线网络技术(北京)有限公司 | Method and apparatus for handling data |
CN109144735B (en) * | 2018-09-29 | 2019-12-27 | 百度在线网络技术(北京)有限公司 | Method and apparatus for processing data |
CN112698819A (en) * | 2019-10-22 | 2021-04-23 | 北京信普飞科科技有限公司 | Method, device and storage medium for designing tree-oriented object programming program |
CN111176255A (en) * | 2019-12-24 | 2020-05-19 | 中国航空工业集团公司西安飞机设计研究所 | Refined function design method for electromechanical integrated control system |
Also Published As
Publication number | Publication date |
---|---|
CN102253837B (en) | 2015-08-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102508639B (en) | Distributed parallel processing method based on satellite remote sensing data characteristics | |
US20180270121A1 (en) | Information processing architecture for network edge-based optimization problems | |
CN102521056B (en) | Task allocation device and task allocation method | |
CN105719126B (en) | system and method for scheduling Internet big data tasks based on life cycle model | |
CN102253837A (en) | Object tree-based software framework designing technology | |
CN103488775A (en) | Computing system and computing method for big data processing | |
CN105450684B (en) | Cloud computing resource scheduling method and system | |
CN101373432B (en) | Method and system for predicting component system performance based on intermediate part | |
CN109815283A (en) | A kind of heterogeneous data source visual inquiry method | |
CN105677763A (en) | Image quality evaluating system based on Hadoop | |
CN110347504A (en) | Many-core computing resource dispatching method and device | |
CN103116525A (en) | Map reduce computing method under internet environment | |
CN112835714A (en) | Container arrangement method, system and medium for CPU heterogeneous cluster in cloud edge environment | |
CN112130812B (en) | Analysis model construction method and system based on data stream mixed arrangement | |
CN111158800B (en) | Method and device for constructing task DAG based on mapping relation | |
CN103530724A (en) | Manufacturing capacity servitization method based on workflow model | |
CN101042648A (en) | Plug-in component, system and method for providing unionize interface for multicell application | |
CN113010296B (en) | Formalized model based task analysis and resource allocation method and system | |
CN102681855A (en) | Model-to-code converting method facing wireless sensor network | |
CN109446263A (en) | A kind of data relationship correlating method and device | |
Kostromin et al. | Service-oriented tools for automating digital twin development | |
CN109284935A (en) | A kind of task processing system based on micro- assistance the superior and the subordinate office group | |
CN105511866B (en) | Resource constraint dispatching optimization method based on parallel organization cognition technology | |
CN111970145B (en) | Internet of things equipment management and control method based on semantic virtual and task migration | |
CN101101551A (en) | Method for automatically establishing procedure body |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |