CN101399705B - Method for implementing multi-functional single board software based on binding task and binding class - Google Patents

Method for implementing multi-functional single board software based on binding task and binding class Download PDF

Info

Publication number
CN101399705B
CN101399705B CN2008102169790A CN200810216979A CN101399705B CN 101399705 B CN101399705 B CN 101399705B CN 2008102169790 A CN2008102169790 A CN 2008102169790A CN 200810216979 A CN200810216979 A CN 200810216979A CN 101399705 B CN101399705 B CN 101399705B
Authority
CN
China
Prior art keywords
monoplacophora
task
binding
software
characteristic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2008102169790A
Other languages
Chinese (zh)
Other versions
CN101399705A (en
Inventor
谈理
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2008102169790A priority Critical patent/CN101399705B/en
Publication of CN101399705A publication Critical patent/CN101399705A/en
Application granted granted Critical
Publication of CN101399705B publication Critical patent/CN101399705B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method used for achieving multifunctional card software on the basis of binding task and cards, which comprises the steps as follows: common binding common tasks of the multifunctional card software are extracted; specific binding specific tasks of the multifunctional card software are separated; the tasks of the multifunctional card software are operated; furthermore, the supporting to the multifunctional card is achieved by a card object information linked list during the task execution process; according to the function assembly of the multifunctional card, the compiling multifunctional card software can be achieved in the form of assembly software module; owning to the binding type based on the task and the cards, the new multifunctional card software is assembled directly by repeatedly using the existing card software; more especially, the re-compiling of the card software which has part crossing function is avoided; the existing card software is effectively utilized, the repeatability of the software is greatly improved and the development efficiency is greatly improved.

Description

A kind of based on binding task and Monoplacophora to realize the method for multi-functional single board software
Technical field
The present invention relates to the communication equipment veneer software technology field, in particular a kind of based on binding task and Monoplacophora to realize the method for multi-functional single board software.
Background technology
In the communication equipment technical field, veneer is one of main composition part of communication equipment.The veneer of a certain type all has its functions peculiar, and these functions are by realizing single plate hardware and common cooperation of board software.
Yet, miniaturization or consideration such as reduce cost out of need sometimes, in the single plate hardware design usually with the integrated design of a plurality of veneer functions on a veneer, form certain multifunctional single plate.For board software, the board software of existing simple function just can be able to be generated new multi-functional single board software through simple assembling, if board software is not considered the problem of implementation of multi-functional single board software when design realizes, just simply the board software of a plurality of simple functions is fitted together, formed software is exactly a program that can't compile or carry out basically, say nothing of multi-functional correct realization of board software, and in this case, often can only all write the software of realizing multifunctional single plate again, can not effectively utilize existing board software, the durability of software is relatively poor, and development efficiency is lower.
Therefore, prior art still awaits improving and development.
Summary of the invention
The objective of the invention is to, provide a kind of based on binding task and Monoplacophora to realize the method for multi-functional single board software, can effectively utilize existing board software, the durability of software is strong, the development efficiency height can be write multi-functional single board software again.
Technical scheme of the present invention is as follows:
A kind of based on binding task and Monoplacophora to realize the method for multi-functional single board software, may further comprise the steps:
The general character binding general character task of A, extraction multi-functional single board software, the characteristic binding characteristic task of separating multi-functional single board software;
The task of B, the described multi-functional single board software of operation, and in the processing of executing the task, realize the support of multifunctional single plate is handled by veneer object information chained list;
C, form, realize the multi-functional single board software that can compile with the form of composite software module according to the function of described multifunctional single plate.
Described method, wherein, described steps A specifically comprises:
The general-purpose attribute and the general operation of A1, extraction multi-functional single board software constitute described general character and form general Monoplacophora;
A2, on the basis of described general Monoplacophora, derive described characteristic and form the characteristic Monoplacophora;
The task formation task binding Monoplacophora relation table of A3, the described multi-functional single board software of binding.
Described method, wherein, described steps A 2 specifically comprises:
A21, derivation Monoplacophora are inherited attribute and the operation of being derived from Monoplacophora, and are added described derivation Monoplacophora self distinctive attribute and operation.
Described method, wherein, described steps A 3 specifically comprises:
A31, be general character task and characteristic task with all task division of described board software;
A32, described general character task is bound all Monoplacophoras, described characteristic task binding corresponding characteristics Monoplacophora;
A33, described task binding Monoplacophora relation table is deposited in the described general Monoplacophora with the form of static state.
Described method, wherein, described step B specifically comprises in the processing of executing the task:
B11, in the realization file of characteristic Monoplacophora the global object of this characteristic Monoplacophora of definition, when board software move, finish the global object of creating this characteristic Monoplacophora automatically by operating system and work;
B12, in the constructed fuction of characteristic Monoplacophora, deposit the veneer object created out and corresponding veneer sign in described veneer object information chained list.
Described method wherein, also comprises in the processing of executing the task after the described step B12:
B13, in the constructed fuction of all Monoplacophoras, search described task binding Monoplacophora relation table, startup and operation be the task of startup not with the Monoplacophora binding but as yet.
Described method, wherein, the support processing to multifunctional single plate after the described step B13 also comprises:
B2, in the webmaster of described each task of multi-functional single board software and/or non-network management command process, realize the support of multifunctional single plate is handled.
Described method, wherein, for the webmaster process of commands, described step B2 specifically comprises:
The veneer sign of each veneer object correspondence in B21, the described veneer object information chained list of traversal;
B22, judge described veneer sign whether with the purpose identity equality of described webmaster order;
B23, be then this veneer object to be carried out the processing of described webmaster order request, otherwise do not do any processing.
Described method, wherein, for the non-network management process of commands, described step B2 specifically comprises:
Each veneer object in B24, the described veneer object information chained list of traversal;
B25, according to described task binding Monoplacophora relation table, judge whether the Monoplacophora under the veneer object is bound with this Monoplacophora task;
B26, be then this veneer object to be carried out and the corresponding to processing of institute's binding task, otherwise do not do any processing.
Described method, wherein, composite software module among the described step C, the multi-functional single board software that realization can compile specifically comprises:
Choose the software module of described multifunctional single plate correspondence: at least one characteristic Monoplacophora software module, a general Monoplacophora software module and all be selected Monoplacophora institute task bound software module; And in choosing process, each task of described multi-functional single board software is not repeated to choose.
Provided by the present invention a kind of based on binding task and Monoplacophora to realize the method for multi-functional single board software, because binding mode based on task and Monoplacophora, rely on and reuse existing function board software, directly assembled out new multi-functional single board software, especially avoided writing again the board software of part intersection congenerous, effectively utilize the prior function board software, greatly promoted the durability of software, improved development efficiency greatly.
Description of drawings
Fig. 1 is the schematic flow sheet of the method for the invention;
Fig. 2 is the derived relation schematic diagram of the Monoplacophora of the method for the invention;
Fig. 3 is the task binding Monoplacophora relation table schematic diagram of the method for the invention;
Fig. 4 is the veneer object information chain hoist pennants of the method for the invention;
Fig. 5 is the derived relation schematic diagram of Monoplacophora among the method for the invention embodiment;
Fig. 6 is a task binding Monoplacophora relation table schematic diagram among the method for the invention embodiment.
Embodiment
Below with reference to shown in accompanying drawing, described in detail with embodiment and the embodiment that realizes multi-functional single board software the present invention is based on binding task and Monoplacophora.
The present invention a kind of based on binding task and Monoplacophora to realize the method for multi-functional single board software, main core point is, by reusing existing function board software, so that can directly assemble out trendy and multi-functional single board software that need not write again; Be well known to those skilled in the art as for knowledge such as traversal, single plate hardware and board softwares, do not repeat them here.
As shown in Figure 1, the process step of embodiment is:
The general character of step S110, extraction board software forms general Monoplacophora, and the characteristic of separating each board software forms the characteristic Monoplacophora.Specifically comprise:
S111) general-purpose attribute and the general operation of extraction board software form general Monoplacophora;
S112) as shown in Figure 2, on the basis of general Monoplacophora, derive characteristic Monoplacophora A and characteristic Monoplacophora B.
Need to prove the corresponding actual simple function veneer of these characteristic Monoplacophoras; And described derivation is meant, make to derive from attribute and the operation that Monoplacophora has been inherited quilt derivation Monoplacophora, and the process of having added own distinctive attribute and operation.
Step S120, be general character task and/or characteristic task with all task division of board software, formation task binding Monoplacophora relation table is also deposited in the general Monoplacophora.As shown in Figure 3, specifically comprise:
S121), be divided into all Monoplacophoras are carried out the consistent general character task of handling and only one or several characteristic Monoplacophoras carried out the consistent characteristic task of handling, as the characteristic task dispatching of treatment characteristic Monoplacophora B with all tasks of board software;
S122) general character task and all Monoplacophora bindings comprise general Monoplacophora and each characteristic Monoplacophora; And described characteristic task is only and the binding of corresponding characteristics Monoplacophora, as the aforementioned the characteristic task of treatment characteristic Monoplacophora B only and characteristic Monoplacophora B bind etc.; Thereby just form a task binding Monoplacophora relation table;
S123) task being bound the Monoplacophora relation table deposits in the described general Monoplacophora with the form of static table.
At this moment, general Monoplacophora also has a veneer object information chained list, is used to store veneer object and veneer sign ID, and as shown in Figure 4, so-called veneer object is meant, the object of creating out according to each Monoplacophora is as a1, b1 etc.; And veneer sign ID is meant that webmaster is used for the sign ID of the different subfunction veneers of identification multifunction veneer, as A1, B1 etc.
When step S140, the operation of realization board software, the correct function that starts of the automatic filling of the veneer object information chained list of the automatic establishment of each characteristic Monoplacophora object, general Monoplacophora and board software task.Specifically comprise:
S141) in the realization file of each characteristic Monoplacophora, define the global object of this characteristic Monoplacophora, the Object Creation work of each characteristic Monoplacophora will be finished by operating system when board software moves automatically like this;
S142) in the constructed fuction of each characteristic Monoplacophora, the veneer object created out and corresponding veneer sign ID are added or deposit in the veneer object information chained list of general Monoplacophora;
S143) in the constructed fuction of all Monoplacophoras,, will bind with this Monoplacophora but the also not task start of startup and operation by searching the task binding Monoplacophora relation table of general Monoplacophora.
Step S150, move in each task handling the support that realizes multifunctional single plate at board software and handle.Specifically comprise:
S151) for the webmaster process of commands, in each task handling of board software, then travel through the pairing veneer sign ID of each veneer object in the veneer object information chained list of general Monoplacophora, judge whether to equate with purpose sign ID in the webmaster order, be then this veneer object to be carried out the processing of webmaster order request, otherwise do not carry out any processing;
S152) for the non-network management process of commands, in each task handling of board software, then travel through each the veneer object in the veneer object information chained list of general Monoplacophora, task binding Monoplacophora relation table according to general Monoplacophora, judge whether the Monoplacophora under this veneer object is bound with this task, being then this veneer object to be carried out and the corresponding to processing of institute's binding task, is not then not carry out any processing.
Step S160, on the basis of aforementioned realization, function according to multifunctional single plate is formed, choose following software module: one or more characteristic Monoplacophora modules of multifunctional single plate correspondence, general veneer generic module and all are selected Monoplacophora institute task bound module, above software module is directly fitted together, just the multi-functional single board software that formation can compile and function is correct.
What deserves to be mentioned is,, each task of board software is not carried out choosing of repetition choosing in the process of described step S160.
Multi-functional single board software how to have realized Optical Fiber Interface Board function and cross board function integrated will be described at pass the imperial examinations at the provincial level example of SDH (Synchronous Digital Hierarchy) SDH (Synchronous Digital Hierarchy) below.
In the step S110 stage, the general-purpose attribute and the general operation of extraction SDH SDH (Synchronous Digital Hierarchy) board software form general Monoplacophora GeneralApp; And Optical Fiber Interface Board class OlApp derives from the basis of general Monoplacophora and forms, and both inherited attribute and the operation of general Monoplacophora GeneralApp, realized distinctive attribute of Optical Fiber Interface Board class and operation again; In like manner, as shown in Figure 5, cross board class CsApp also derives from the basis of general Monoplacophora and forms, and realizes distinctive attribute of cross board class and operation when inheriting the attribute of general Monoplacophora and operation again.
In the step S120 stage, this board software has three tasks: veneer main task, business model task and Business Processing task, wherein,
The veneer main task is meant the general character task of all Monoplacophoras all being carried out consistent processing, with all Monoplacophora bindings, as shown in Figure 6,
The characteristic task that the business model task is just handled Optical Fiber Interface Board class OlApp, only with Optical Fiber Interface Board class OlApp binding,
And the characteristic task that the Business Processing task is just handled cross board class CsApp, only with cross board class CsApp binding,
Top description formation task binding Monoplacophora relation table is deposited in the general Monoplacophora with the form of static table.
At this moment, the veneer object information chained list that general Monoplacophora GeneralApp has can be used for storing veneer object and veneer sign ID.
In the step S140 stage, comprising:
In the realization file of Optical Fiber Interface Board class OlApp, the global object of definition Optical Fiber Interface Board class OlApp; In the realization file of cross board class CsApp, the global object of definition cross board class CsApp;
In the constructed fuction of Optical Fiber Interface Board class OlApp, veneer object and the corresponding veneer sign 0x0101 that creates out added in the veneer object information chained list of general Monoplacophora GeneralApp; In the constructed fuction of cross board class CsApp, veneer object and the corresponding veneer sign 0x0102 that creates out added in the veneer object information chained list of general Monoplacophora GeneralApp;
In the constructed fuction of general Monoplacophora GeneralApp, Optical Fiber Interface Board class OlApp and cross board class CsApp, by searching the task binding Monoplacophora relation table of general Monoplacophora GeneralApp, will bind with this Monoplacophora but the also not task start of startup and operation.
In the step S150 stage, comprising:
In veneer main task, business model task and Business Processing task handling, if webmaster process of commands, then travel through the veneer sign ID of each the veneer object correspondence in the veneer object information chained list of general Monoplacophora GeneralApp, judge whether to equate with purpose ID in the webmaster order, be then this veneer object to be carried out the processing of webmaster order request, otherwise do not carry out any processing;
In veneer main task, business model task and Business Processing task handling, if non-network management process of commands, then travel through each the veneer object in the veneer object information chained list of general Monoplacophora GeneralApp, task binding Monoplacophora relation table according to general Monoplacophora GeneralApp, judge whether the Monoplacophora under this veneer object is bound with this task, be then this veneer object to be carried out and the corresponding to processing of institute's binding task, otherwise do not carry out any processing.
The step S150 stage, on the basis of aforementioned realization, function according to multifunctional single plate is formed, choose following software module: Optical Fiber Interface Board class OlApp module, cross board class CsApp module, general Monoplacophora GeneralApp module, the business model task module of Optical Fiber Interface Board class OlApp binding, the Business Processing task module of cross board class CsApp binding, with all Monoplacophoras (Optical Fiber Interface Board class OlApp, cross board class CsApp, the veneer main task module of general Monoplacophora GeneralApp) all binding, above software module is directly fitted together, just form the multi-functional single board software of correct integrated Optical Fiber Interface Board function and cross board function.
Can adopt existing various possible schemes with technology according to practical application based on binding task and Monoplacophora in the above specific embodiment, be well known to those skilled in the art, also repeat no more at this.
A kind of method that is provided in the specific embodiment of the invention based on binding task and Monoplacophora realization multi-functional single board software, because binding mode based on task and Monoplacophora, rely on and reuse existing board software, directly assembled out new multi-functional single board software, especially avoided writing again the board software of part intersection congenerous, effectively utilize the prior function board software, greatly promoted the durability of software, improved development efficiency greatly.
Should be understood that; for those of ordinary skills; can be improved according to the explanation of such scheme or conversion, software module for example local or part is chosen, and all these improvement and conversion all should belong to the protection range of claims of the present invention.

Claims (10)

  1. One kind based on binding task and Monoplacophora to realize the method for multi-functional single board software, may further comprise the steps:
    The general character of A, extraction board software forms general Monoplacophora, and the characteristic of separating each board software forms the characteristic Monoplacophora; With all task division of described board software is general character task and characteristic task, and described general character task is bound all Monoplacophoras, described characteristic task binding corresponding characteristics Monoplacophora;
    The task of B, the described board software of operation, and in the processing of executing the task, realize the support of multifunctional single plate is handled by veneer object information chained list;
    C, form, realize the multi-functional single board software that can compile with the form of composite software module according to the function of described multifunctional single plate.
  2. 2. method according to claim 1 is characterized in that the general character of described extraction board software forms general Monoplacophora, and the characteristic of separating each board software forms characteristic Monoplacophora step, specifically comprises:
    The general-purpose attribute and the general operation of A1, extraction board software constitute described general character and form general Monoplacophora;
    A2, on the basis of described general Monoplacophora, derive described characteristic and form the characteristic Monoplacophora;
    The task formation task binding Monoplacophora relation table of A3, the described board software of binding.
  3. 3. method according to claim 2 is characterized in that, described steps A 2 specifically comprises:
    The Monoplacophora of A21, derivation is inherited the attribute and the operation of the Monoplacophora that is derived from, and adds the distinctive attribute of Monoplacophora self and the operation of described derivation.
  4. 4. method according to claim 3 is characterized in that, described steps A 3 also comprises:
    Described task binding Monoplacophora relation table is deposited in the described general Monoplacophora with the form of static state.
  5. 5. method according to claim 4 is characterized in that, described step B specifically comprises in the processing of executing the task:
    B11, in the realization file of characteristic Monoplacophora the global object of this characteristic Monoplacophora of definition, when board software move, finish the global object of creating this characteristic Monoplacophora automatically by operating system and work;
    B12, in the constructed fuction of characteristic Monoplacophora, deposit the veneer object created out and corresponding veneer sign in described veneer object information chained list.
  6. 6. method according to claim 5 is characterized in that, also comprises in the processing of executing the task after the described step B12:
    B13, in the constructed fuction of all Monoplacophoras, search described task binding Monoplacophora relation table, startup and operation be the task of startup not with the Monoplacophora binding but as yet.
  7. 7. method according to claim 6 is characterized in that, the support processing to multifunctional single plate after the described step B13 also comprises:
    B2, in the webmaster of described each task of multi-functional single board software and/or non-network management command process, realize the support of multifunctional single plate is handled.
  8. 8. method according to claim 7 is characterized in that, for the webmaster process of commands, described step B2 specifically comprises:
    The veneer sign of each veneer object correspondence in B21, the described veneer object information chained list of traversal;
    B22, judge described veneer sign whether with the purpose identity equality of described webmaster order;
    B23, be then this veneer object to be carried out the processing of described webmaster order request, otherwise do not do any processing.
  9. 9. method according to claim 7 is characterized in that, for the non-network management process of commands, described step B2 specifically comprises:
    Each veneer object in B24, the described veneer object information chained list of traversal;
    B25, according to described task binding Monoplacophora relation table, judge whether the Monoplacophora under the veneer object is bound with the task of this Monoplacophora;
    B26, be then this veneer object to be carried out and the corresponding to processing of institute's binding task, otherwise do not do any processing.
  10. 10. according to Claim 8 or 9 described methods, it is characterized in that, composite software module among the described step C, the multi-functional single board software that realization can compile specifically comprises:
    Choose the software module of described multifunctional single plate correspondence: at least one characteristic Monoplacophora software module, a general Monoplacophora software module and all be selected Monoplacophora institute task bound software module; And in choosing process, each task of described multi-functional single board software is not repeated to choose.
CN2008102169790A 2008-10-23 2008-10-23 Method for implementing multi-functional single board software based on binding task and binding class Active CN101399705B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008102169790A CN101399705B (en) 2008-10-23 2008-10-23 Method for implementing multi-functional single board software based on binding task and binding class

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008102169790A CN101399705B (en) 2008-10-23 2008-10-23 Method for implementing multi-functional single board software based on binding task and binding class

Publications (2)

Publication Number Publication Date
CN101399705A CN101399705A (en) 2009-04-01
CN101399705B true CN101399705B (en) 2011-01-19

Family

ID=40517982

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008102169790A Active CN101399705B (en) 2008-10-23 2008-10-23 Method for implementing multi-functional single board software based on binding task and binding class

Country Status (1)

Country Link
CN (1) CN101399705B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107566144A (en) * 2016-06-30 2018-01-09 南京中兴新软件有限责任公司 Veneer renewal, management method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1482673A3 (en) * 2003-05-26 2006-01-25 Shinko Electric Industries Co., Ltd. Network interface
CN1753372A (en) * 2004-09-21 2006-03-29 华为技术有限公司 Management method of telecommunication equipment unit
CN101192969A (en) * 2006-11-22 2008-06-04 中兴通讯股份有限公司 A management method for multi-function single board
CN101197716A (en) * 2007-11-21 2008-06-11 上海华为技术有限公司 Method and device for capturing single plate ability

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1482673A3 (en) * 2003-05-26 2006-01-25 Shinko Electric Industries Co., Ltd. Network interface
CN1753372A (en) * 2004-09-21 2006-03-29 华为技术有限公司 Management method of telecommunication equipment unit
CN101192969A (en) * 2006-11-22 2008-06-04 中兴通讯股份有限公司 A management method for multi-function single board
CN101197716A (en) * 2007-11-21 2008-06-11 上海华为技术有限公司 Method and device for capturing single plate ability

Also Published As

Publication number Publication date
CN101399705A (en) 2009-04-01

Similar Documents

Publication Publication Date Title
CN101645011B (en) Integration scheme and platform between heterogeneous workgroup collaborative design system and PLM system
CN102323946B (en) Implementation method for operator reuse in parallel database
Gómez et al. Map-based transparent persistence for very large models
CN101593294A (en) The method and system of dynamic-configuration workflow
CN103577474A (en) Method and system for updating database
CN102063372A (en) Main key driven modularized automated test method
CN102118281A (en) Method, device and network equipment for automatic testing
CN102708249A (en) Method and system for product modular configuration
CN101887410A (en) File conversion device, document conversion method and file converter
CN103092866B (en) Data monitoring method and supervising device
CN102270137A (en) Method for acquiring ADL (architecture description language) and modeling tool
CN101169713A (en) Model conversion frame supporting separation of conversion engine and mapping rule and the method
CN101399705B (en) Method for implementing multi-functional single board software based on binding task and binding class
CN102214103A (en) Method and system for establishing and performing task program based on functional unit
CN102624894B (en) Method and system for depacketize and message analysis
Kolovos et al. The epsilon pattern language
CN102043669B (en) Workflow concurrency mode control method and device
CN102004633B (en) Method and device for processing control property
CN102811257A (en) Automatic publication and combination method for Web service
CN107045538B (en) A kind of web terminal exchange management method based on kettle
CN112860231A (en) Front-end framework conversion method and device
CN103559574A (en) Method and system for operating workflow
CN102214094A (en) Executing operations via asynchronous programming model
CN102779036B (en) For the Software tool of automatic technology
CN102520971A (en) Data interaction method and device based on computer-aided design (CAD) software

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