CN1275147C - Method for producing intelligent virtual control - Google Patents

Method for producing intelligent virtual control Download PDF

Info

Publication number
CN1275147C
CN1275147C CN 200310104192 CN200310104192A CN1275147C CN 1275147 C CN1275147 C CN 1275147C CN 200310104192 CN200310104192 CN 200310104192 CN 200310104192 A CN200310104192 A CN 200310104192A CN 1275147 C CN1275147 C CN 1275147C
Authority
CN
China
Prior art keywords
control
virtual
intelligent virtual
function
intelligent
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN 200310104192
Other languages
Chinese (zh)
Other versions
CN1555009A (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.)
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 CN 200310104192 priority Critical patent/CN1275147C/en
Publication of CN1555009A publication Critical patent/CN1555009A/en
Application granted granted Critical
Publication of CN1275147C publication Critical patent/CN1275147C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The present invention relates to a method for producing an intelligent virtual control piece of a virtual instrument. The producing procedures comprise: 1, determining the form of an intelligent virtual control piece; 2, establishing a mathematical model of the instrument control piece, wherein the mathematical model comprises: carrying out modularization decomposition for the instrument control piece, mathematical modeling, algorithm design and program description; 3, establishing a non-intelligent virtual control piece bank; 4, establishing an intelligent control piece virtual instrument development system under a Windows system and completing the production of the intelligent virtual control piece, wherein the production of the intelligent virtual control piece comprises: (1) selecting a proper non-intelligent virtual control piece; (2) setting physical attributes for the non-intelligent virtual control piece; (3) giving the function of the non-intelligent virtual control piece; (4) testing and merging the non-intelligent virtual control piece. The present invention can have the technical effects of integrated performance, economic performance, participation performance, open performance, fast response performance, green performance, etc.

Description

The method for making of intelligent virtual control
Technical field
The present invention relates to the test analytical instrument field, specifically is intelligent virtual control and the making thereof that is used to make up virtual instrument.
Background technology
The following publication document that relates to virtual instrument was arranged before the applying date:
[1]Graphical?method?for?programming?a?virtual?instrument,NI?Co.,United?States?Patent,5301336
[2]Instrumentat?ion?system?&?method?including?an?improved?driversoftware?architecture,NI?Co.,United?States?Patent,5963726
[3]System?&?method?for?creating?resources?in?instrumentationsystem,NI?Co.,United?States?Patent,5710727
[4]System?&?method?for?performing?interface?independent?virtualinstrumentation,NI?Co.,United?States?Patent,5920479
[5]Functions?in?a?graphical?data?flow?program?method?&?apparatusfor?controlling?an?instrumentation?system,NI?Co.,UnitedStates?Patent,5724272
Surveying instrument develops so far, and can be divided into three phases substantially: first stage is the conventional hardware instrument, and second stage is the virtual instrument based on software of current trend, and three phases is an intelligent controls-oriented virtual instrument.
20th century, the mid-80 at first came across the virtual instrument of the U.S., was the interpenetrative result of technical device and computer technology.(Virtual Instrument is by application program the measurement function of computer resource (microprocessor, storer, display) and instrument hardware (A/D, D/A, digital I/O, timer, signal conditioner) to be combined formed measurement mechanism or test macro VI) to virtual instrument.The user is by friendly graphical interfaces (being called virtual panel) operational computations machine, just as the operation with traditional instrument, by built-in function realize between instrument module communication, regularly, triggering and data analysis, data representation, and form graphical interface.Its processing power of the computer technology of high speed development had satisfied the required powerful data-handling capacity of instrument already, had shown memory function and high resolution graphic presentation.Virtual instrument makes instrument and meter software implementation farthest, thereby makes the development of instrument cost the bullet train of computing machine development.Can think to have caused once leap in the development that appears at instrument and meter of virtual instrument, be the developing important stage of instrument.
But fasten in the version of instrument and the function of instrument and the pass of panel control, present virtual instrument and traditional hardware instruments be the difference of essence not.According to the pattern of existing virtual instrument, in order to set up an instrument, the user also must carry out " design " and " manufacturing " except the definition instrument.With the change of conventional hardware instrument software, produce also not a duck soup of a virtual instrument though that is to say existing virtual instrument, it requires the user to possess the professional knowledge and the abundant computer programming experience of instrumental science simultaneously.This forms bottleneck in the exploitation of virtual instrument, thereby directly influences its fast development.Can find a kind of new method or a kind of new model, under the prerequisite of open system, leave the right of " definition instrument ", " modification instrument " for user, and give the professional fully with the work that " design ", " assembling ", " debugging ", " combination ", " connection " etc. belong to instrument " manufacturing " aspect, thereby make all users---have profession basis and veteran and profession basis and experience all relatively the user of shortcoming can both in face of this quasi-instrument system, be in same starting line?
If invent a kind of novel virtual instrument, its inside has powerful containing ability and peripheral operation is very simple, the user is during in the face of this New Virtual instrument, need not to carry out work such as " design certainly ", " setting up certainly ", just can directly use, the direct control instrument, change the form of instrument and the function of instrument freely, make this quasi-instrument arrive the user on hand just just as one " user-friendly camera ", can realize above target.
Summary of the invention
The present invention seeks to utilize virtual instrument smart control method to make intelligent virtual control, for the virtual instrument smart controlization provides primary element.
The characteristics of intelligent virtual control are that test function, performance and the precision index of instrument and some position and " structure " of instrument control combine together, and make instrument develop into parts from traditional complete machine.Set up virtual instrument by intelligent virtual control and need not to carry out (hard, soft) assembling, only intelligent virtual control need be pieced together in the specific development platform of computing machine and be taken, and the location independent put of restricting relation and the intelligent virtual control that form between each intelligent virtual control to instrumental function, each intelligent virtual control can be put at random, and therefore the function of instrument, performance and precision can not change.After adopting this new model, make virtual instrument and set up virtual instrument system and will become efficiently, simply, and realized under the prerequisite of open system leaving the work of the design of instrument and establishment for expert or manufacturer and the right that will define instrument has been left the user fully for.
The technical solution used in the present invention specifically describes and is the making step of intelligent virtual control, comprising:
1, determines the form of intelligent virtual control;
2, set up the mathematical model of instrument control, have in it:
(1) the instrument control being carried out modularization decomposes;
(2) control module of decomposing is carried out mathematical modeling;
(3) the connection rule of combination according to module carries out algorithm design and program description.
3, the foundation in non intelligent virtual control storehouse
(1) sets up non intelligent virtual control form, comprise virtual selector switch, virtual knob, virtual push button, virtual monitor etc., the physical attribute and the functional attributes of design control;
(2) the non intelligent virtual control that will complete deposits in the storehouse, as the carrier of function endowing, calls during for the making intelligent virtual control.
4, under the Windows system, set up the intelligent controls-oriented virtual instrument development system, and in this system, finish the making of intelligent virtual control
Under the Windows system, adopt the meta-synthetic engineering towards control, data and demonstration, the intelligent controls-oriented virtual instrument development system that the foundation of level messaging bus technology possesses characteristics such as dynamic similation operation and evolution.In the development system of this foundation, finish the making of intelligent virtual control.The steps include:
(1) selects suitable non intelligent virtual control;
(2) non intelligent virtual control is carried out the physical attribute setting;
(3) non intelligent virtual control is carried out function endowing;
1) the receivable feature list of the non intelligent virtual control of receiving function chained list, and initialization
2) action of the non intelligent virtual control of initialization or contact tabulation
3) get non intelligent virtual control with right mouse button point, select action or contact, selection function in the feature list in non intelligent virtual control action in ejecting dialog box or the contact tabulation
4) action or the contact of action of function in the feature list and non intelligent virtual control or contact tabulation all have a public attribute, compare selected function and selected action or both public attribute values of contact, if it is identical, then the functional address of this function correspondence is chosen out to be imparted in the pairing function of this action or contact and go, when the user presses " giving " action button, just can finish the mapping of function to action or contact
5) press " determining " action button, with the corresponding connection with corresponding actions or contact of selected function, then selected function has been given the corresponding actions or the contact of non intelligent virtual control, and non intelligent virtual control changes intelligent virtual control into
(4) non intelligent virtual control is tested fusion, promptly intelligent virtual control is carried out self check, check whether the function in the control gives correctly.
In the above-mentioned process of setting up intelligent virtual control, the relevant technologies main points that relate to have the hierarchical structure of computer expression method, intelligent virtual control of the method for designing of control, non intelligent virtual control and manufacturing thereof etc.
1, the detailed making of control
Set up in the mathematical model of instrument control in step 2, the technology that relates to is the detailed method for making of control.
Control is the result with the instrument component software implementation, so the modular approach in the software design approach is the basic skills of control design.Each control all can be regarded an independently software module as, and adheres to that module independence is the key that obtains good design.The independence of control can be from three aspects tolerance, and control itself interior gathers, the coupling between the control and the reusability of control.The interior poly-contact that is meant between inner each key element of control; Coupling is meant getting in touch between a control and other control; Reusable is meant the standardized control of reusing through practice test, design iterations constantly when avoiding system development.The independence of control is higher, and then interior poly-strong more, it is then weak more to be coupled, and the reusable degree is then high more.
(1) control is interior poly-
The interior poly-of control is from view of function measuring control interior polymeric ability.According to interior poly-, control can be divided into seven classes: contingency control, logicality control, timeliness control, process control, communicativeness control, succession control and functionality controls (referring to accompanying drawing 1) by weak extremely strong order.
With low interior poly-corresponding control three classes are arranged: contingency control, logicality control and timeliness control.Inner each constituent of contingency control is incoherent mutually on function, the combination of various compositions by sheer chance, for example for fear of Palingraphia and save internal memory, several controls that all need to carry out one group of identical operation such as " reading A ", " writing B " are accumulated a control, for other relevant control invokes.The logicality control is grouped into by the similar one-tenth of several logic functions usually, control that is used for the eigenwert (as average, mean square value, variance, maximum, minimum value etc.) of signal calculated for example, no matter calculate which kind of eigenwert, all will be through the steps such as raw data, calculating, demonstration result of calculation of obtaining signal, except that a step of centre must press the diverse ways calculating, two steps of front and back all are identical, these two kinds of logically similar functions are placed in the control, just can save the repeating part in the program.The timeliness control is meant the composition that this class control is comprised, be to assemble together owing to the execution time is identical, for example a control comprises the function that " opening certain data file ", " for the variable initialize " etc. are prepared for formal data analysis processing, owing to require their interior at one time execution, so be called the timeliness control.
With in poly-corresponding control two classes are arranged: process control and communicativeness control.When a group task that comprises in the control must be carried out according to a certain specific order, just be called the process control.Each composition of communicativeness control inside all uses same input data or produces same output data, and they link together by public data.
With the corresponding control of high cohesion succession control and functionality controls are arranged.Each ingredient is that order is carried out in the succession control, and under normal conditions, the output of a processing block is exactly the input of next processing block.In functionality controls, all compositions combine, and are used to finish certain single function, as finish button, slide block of certain specific function etc.
Functionality controls, succession control and communicativeness control all are the desirable controls of performance, and wherein functionality controls is best a kind of control.In general the control of all the other types is worthless, and they tend to produce some tissue disorders and are difficult to debugging and improved code.
(2) coupling of control
The coupling of control is the tolerance to interconnected degree between control, also can be divided into seven classes by stiffness of coupling: non-direct coupling, data coupling, feature coupling, control coupling, coupled outside, public coupling and content coupling (referring to accompanying drawing 2).
Do not have the information transmission between control and the control, belong to non-direct coupling, stiffness of coupling is minimum.If control b is subordinate's control of control a, when control a calls control b, can pass through variable or parameter list and their swap datas.If swap data is used simple variable entirely, just the composition data coupling; If exchange is data structure, just the constitutive characteristic coupling.
The control coupling is the coupling of medium tenacity, and this moment, the information between control was not general data, but is used as the switch value or the sign amount of control signal.Coupled outside and public coupling belong to than strong coupling: if allow one group of control to visit same global variable, can claim that they are coupled outside; If allow one group of control to visit same data structure of overall importance, then be called public coupling.
The content coupling is the strongest class coupling, is meant that a control can directly call the data in another control, perhaps allows control directly to transfer to the inside of another control from a control.When design, should avoid the content coupling as far as possible.
(3) control is multiplexing
Generally, the manufacturing of control comprises following several stages: demand analysis, design, coding, test, maintenance etc.If the manufacturing of each control all starts anew, then in the performance history of system, just certainly exist a large amount of duplication of labour.Analyze by the control to a considerable amount of test analytical instruments, the control of test analytical instrument can be generalized into three classes: 1. general basic control is the basic constituent of each instrument (as the button on the instrument panel, a selector switch etc.); 2. general character control in field is the general character constituent of each instrument, as demonstration, printing etc.; 3. the application specific control is meant the distinctive constituent of each instrument.The duplication of labour in the system development mainly is the overlapping development of preceding two class controls.
Multiplexing is a fundamental characteristics in ripe engineering field, for example in fields such as civil engineering work, chemical engineering, computer hardwares, by a large amount of multiplexing standardization members through practice test, feasible design problem for routine can directly utilize ready-made solution, design iterations constantly when having avoided system development, thereby reduce cost of development significantly, improve production efficiency and product quality.
The multiplexing of control is the solution of avoiding the duplication of labour in system development, its starting point is that the pattern of " Everything Begins from Nothing " is no longer adopted in the exploitation of system, but based on existing work, make full use of existing control, many duplications of labour have been eliminated at aspects such as analysis, design, coding, tests, can improve the reliability of control development efficiency and total system, avoid developing again the mistake that may introduce.
With multiplexing two the relevant basic development activities of control is towards multiplexing exploitation (development for reuse) with based on multiplexing exploitation (development with reuse), the former is the process of producing the reusable control, and the latter is a process of utilizing new control of existing reusable control production or new system.The production of reusable control and use must be satisfied two pacing itemss, the i.e. integration mechanism of the standardization of control interface and control.The multiplexing reusable control that finally is presented as of control is assembled into complete instrument system by integration mechanism.
The reusable control should possess following attribute: 1. serviceability (Usefulness): control must provide the function of usefulness; 2. availability (Usability): control must easy to understand and use; 3. quality (Quality): control and distortion thereof must be able to correctly be worked; 4. adaptability (Adaptability): control should be easy to be configured in different instruments by modes such as parametrizations; 5. portable (Portability): control should be able to be worked in different hardware operation platforms and software environment.
The content of the making of reusable control comprises: 1. obtaining of control: autotelic control production and excavate from existed system and extract control; 2. control model: the essential characteristic of research control and the coupling between control; 3. control descriptive language:, solve accurate description, understanding and the packing problem of control based on the control model; 4. control classification and retrieval: the classification policy of research control, enterprise schema and check search strategy, set up the widget library system, support control effectively to manage; 5. the compound assembling of control: research control composition mechanism on the control model based comprises the assembling of source code level and based on the operation and the assembling of control object interoperability.
(4) criterion of optimal design
At first, set up the control set of the low degree of coupling and high cohesion, design the composite intelligent virtual control as far as possible.If any several directly related controls, contact complexity between them, the degree of coupling is too high, but each function and uncomplicated then can merge them, with quoting of transmission of minimizing information and public domain.Sometimes can compare the function of each relevant control and estimate, extract common factor, form in logic or independently shared control on the function.
Secondly, avoid high fan-in and high fan-out.Fan-out is meant that a control directly calls other control number, and fan-in represents a control is by what upper strata control invokes.If a control is perhaps called a plurality of controls by a plurality of control invokes, thereby then perhaps be that it has the multi-functional aura that may form complicated control structure and complex data tissue.If have multi-functional really and fan-in or fanout than higher, then should manage to introduce new control improve call or invoked structural relation to avoid high fan-in or high fan-out.If it is multi-functional that the control of high fan-in or high fan-out does not show as, then should allow its existence.
The 3rd, the complexity of simplification control interface, the control of definition single entry single exit to improve the independence of control, is avoided low interior gathering and tight coupling.If a control has multiple entry or multiple exit, not only beyond one's depth but also between control, form the content coupling easily.
At last, design reusable control, design iterations constantly when avoiding system development.
2, the computer expression method of non intelligent virtual control
The technology that relates in the foundation in the non intelligent virtual control of step 3 storehouse mainly is with computing machine language description control, i.e. the computer expression method of non intelligent virtual control.
Non intelligent virtual control is meant shape that control is only arranged, action and does not have the control of test function that it is the starting material of " manufacturing " intelligent virtual control.
OO method provides from general and provides the conclusion form from special to general again to special deduction means, is a kind of good computer expression method.The computer expression method of non intelligent virtual control adopts OO method, all non intelligent virtual controls are divided into various control classes, between control except finishing the communication by the message transmission, no longer include any other contact, so the definition of control class is modularization very, has the advantage of relative independentability and high cohesion.The information of all controls and implementation method all are encapsulated in the definition of corresponding control class, externally are sightless.Each control class constitutes a kind of hierarchical structure by superclass, class, subclass and member's notion, and in this hierarchical structure, some attributes that the last layer control had or feature can be inherited by following one deck control.The classification expression of this control and inherited characteristics thereof have improved the multiplexing capacity of control, have avoided the information redundancy in the description, and have shortened the construction cycle of control greatly.
(1) basic structure of non intelligent virtual control expression
The basic structure that OO non intelligent virtual control is expressed as shown in Figure 3, it is made up of four class grooves:
1) attribute groove.The attribute groove represents to design the data or the data structure of control, i.e. static attribute.An attribute groove can be described each feature of attribute groove with a plurality of sides, and for example, Valueclass represents the side class of slot value, and Inheritance represents inherited characteristics in the side; The Value side is used for writing down slot value.
2) concern groove.Concern that groove represents the static relation between control and other controls.For example, the Superclass groove is represented the subclass of control and the relation of superclass; The Member groove is represented the relation of control class and control example; Subclass and Member of are respectively the reverse-powers of Superclass and Member.Can define the groove that other expression concerns between control as required, be used for representing between control the position relation abundant information such as assembly relation.
3) method groove.The method groove is used for depositing the method in the control.Method is a kind of process, and the message that sends to control is responded, and its structure comprises method name, massage pattern table, local variable definition and procedure body.The method name is in order to distinguish diverse ways; The condition that the massage pattern that massage pattern table definition method is triggered, method are triggered is that the massage pattern of this method is complementary with the message that sends to control; Effective local variable in the local variable define method scope; The procedure body and function is come implementation operation and numerical evaluation.
4) regular groove.The rule groove is used for depositing the production rule collection.Production rule is divided into groups according to handled object difference, and the form with slot value leaves in the regular groove respectively.Can have different regular grooves in the control and be used for depositing the production rule subclass of finishing different task.
(2) static attribute of non intelligent virtual control is expressed
The static attribute of non intelligent virtual control comprises one group of static data or the static data structure of describing control, and the static relation between control and other control, respectively by the attribute groove with concern the groove expression.Two kinds of basic grooves that concern are generally arranged in the control framework: the first is expressed the classification relation between control, expresses with grooves such as superclass, class, subclass, members; It two is the integral body of expressing between control and local exploded relationship, represents with the parts groove.The slot name that concerns groove has been represented corresponding relation name, and slot value is just represented the frame name of another control.
The superclass control can be shared by its subclass control, and this will finish by inheriting.The subclass control is built at quilt and is only needed in the wound process to express its specific properties structure and processing capacity, and total attribute can directly be inherited from its former generation's control class.The classification expression of control and inheritance thereof have improved the multiplexing capacity of control.
The dynamic attribute of non intelligent virtual control comprises the behavior description and the process processing of control, mainly contains method, production rule and three kinds of modes of activation value and expresses control.Method is used for expressing has good mathematical model and process, needs complicated numerical evaluation and process control, is easy to the control of expressing with the process language.Production rule is used for expressing based on expertise, has enlightenment, the control that can not describe with strict mathematics model.Method and rule all are present among the control with the form of slot value, and they can be inherited by the subclass of control class.Activation value also is a process, in its certain groove attached to control, as an additional side of this groove.When slot value changes, trigger by the specified process of activation value automatically.
3, the hierarchical structure of intelligent virtual control and describing method thereof
In the intelligent controls-oriented virtual instrument development system, finish the method that the technology that relates in the making of intelligent virtual control has the hierarchical structure of describing intelligent virtual control in step 4.
According to the complexity of the function quantity of control and annexation control can be atomized two kinds of control and composite controls, former child control is the minimum basic unit that need not divide again under development, and composite control is being expressed compound between member's control on the protocol level.Hierarchical structure (referring to accompanying drawing 28) based on the intelligent virtual control under the framework pattern of level messaging bus has following character:
(1) control comprises stipulations and realizes two parts that are separated from each other, and needn't be concerned about the realization details of control during the system integration;
(2) the control stipulations comprise interface section and structure division, and interface is that the outside can unique hypothesis that control is done, and the function that externally provides is provided, externally the function and the service of request;
(3) service is one group of closely-coupled function set that externally provides and externally ask, and only just can connect between the service of two antithesis;
(4) structure division of former child control is very simple, has defined quoting that control is realized, and for example realizes the position at environment and realization body place;
(5) structure division of composite control has defined the annexation between member's control, specifically comprises the mapping to member's control interface definition of annexation between the type, member's control example, example of member's control of quoting and composite control interface definition;
(6) control is realized comprising the realization of non intelligent virtual control and non intelligent virtual control being carried out function endowing.
4, the manufacturing of intelligent virtual control
In the intelligent controls-oriented virtual instrument development system, finish the method that the technology that relates in the making of intelligent virtual control also has the manufacturing of intelligent virtual control in step 4.
The exploitation of reusable intelligent virtual control generally includes that control obtains, control classification and retrieval, control assessment, adaptability revision etc.Control obtains can multiple different approach: (1) obtains satisfactory control from existing intelligent virtual control storehouse, directly use or do adaptability revision, obtains reusable intelligent virtual control; (2) by the legacy engineering, the control that will have potential multiplexing value extracts, and obtains reusable intelligent virtual control; (3) the new satisfactory intelligent virtual control of exploitation.
No matter obtain control in which way, all must comprise the manufacture process of a control.Below with C++ as programming language, the manufacture process of reusable intelligent virtual control is discussed.
(1) manufacturing of atom intelligent virtual control
Adopt C Plus Plus to realize the atom intelligent virtual control, can be divided into two kinds of situations: 1. form by single object encapsulation; 2. situation more generally, the granularity of the single object of size ratio of atom intelligent virtual control want big, are that the object encapsulation by a plurality of cooperations forms.
When the corresponding single object of the entity of an atom intelligent virtual control, claim that this control is the single object control, it is as follows that it makes flow process:
1) at first defines the interface specification part of control, the external function of its function that externally provides of definition and requirement in the control interface specification.
2) make the control entity,, correspond in the C++ realization of control function that externally provides that defines in the control interface specification and the function that externally requires.Concrete steps are as follows:
1. set up the class of a C++, the corresponding control name of class name;
2. the function that externally provides of control corresponds to the function declaration in the public part of class;
3. the function that externally requires of control corresponds to the function array of a Required Functions by name of the protected part of class, and each array element is deposited a function that externally requires, and deposits in array according to the order of describing in the stipulations.Simultaneously, partly comprise an Initialize function, be responsible for Required Functions array is carried out initialization at the public of class;
4. each function of the function correspondence externally provide is provided, when relating to the function of external requirement, is used corresponding function in the Required Functions array.
Under normal conditions, it is big that the granularity of the single object of size ratio of atom intelligent virtual control is wanted, and is that the object encapsulation by a plurality of cooperations forms, and claims that this control is the multi-object control.When making the multi-object control, need to introduce a controlling object, it is external mutual represent the atom intelligent virtual control to be responsible for, and is responsible for the instantiation of other collaboration objects and sets up relation between them, and its making flow process is as follows:
1) at first defines the interface specification part of control, the external function of its function that externally provides of definition and requirement in the control interface specification.
2) make the control entity,, correspond in the C++ realization of control function that externally provides that defines in the control interface specification and the function that externally requires.Concrete steps are as follows:
1. set up a class with control name C++ of the same name,, be responsible for external information communication of object control and internal coordination as the controlling object class;
2. partly stating the every other collaboration object that comprises in the control at the protected of controlling object class, can be the mode of embedded object or embedded pointer.If the mode of embedded pointer, then need in the constructed fuction of control object class and destructor function, create and delete corresponding collaboration object respectively;
3. at the Initialize of controlling object class function, not only the Required Functions array of himself is carried out initialization, and call the Initialize function of each collaboration object, set up controlling object and collaboration object external environment condition separately with this, i.e. the function that externally requires;
4. realize the class of every other collaboration object correspondence, be similar to the method for making of above-mentioned single object control.The protected of class partly comprises the function array of a Required Functions by name, is used for depositing each function of external requirement.Simultaneously, partly comprise an Initialize function, be responsible for Required Functions array is carried out initialization at the public of class.Realize each function of class, when relating to the function of external requirement, use corresponding function in the Required Functions array.
(2) manufacturing of composite intelligent virtual control
The composite intelligent virtual control is formed by connecting by one group of close relation, co-operating member's control.As previously discussed, can treat composite control and system with unified viewpoint.Composite control be introduced as more high-rise design multiplexing provide may.Member's control wherein can be former child control or composite control, establishment of connection between them is exactly the function that externally provides of coupling control each member's control and the external function of demand, and composite control is externally provided and the function that requires is mapped to member's control function corresponding and gets on.
Composite control does not have directly corresponding realization body, and its definitional part has also comprised the interface of its inner member's control and the relation between them except the function that the function that externally provides and requirement are provided.Its making flow process is as follows:
1) at first defines the interface specification part of control, the external function of its function that externally provides of definition and requirement in the control interface specification.
2) member's control of determining composite control and being comprised.
3) set up interface annexation between member's control of composite control inside.
4) composite control is externally provided and the function that requires is mapped on inner member's control function corresponding, when setting up the function mapping of annexation between the inner member's control of composite control and composite control and member's control, should follow following rule:
1. the external function that requires of member's control cannot have the supplier more than;
2. the function that externally provides of member's control can have a plurality of users;
3. the external function that requires of composite control can be mapped to the function of a plurality of member's controls;
4. the function that externally provides of composite control cannot be mapped to the function more than member's control.
In view of intelligent virtual control can be classified by the control function of control, existing is example with five class intelligent virtual controls, describes the concrete manufacture process of all kinds of intelligent virtual controls.This five classes intelligent virtual control comprises intelligent virtual selector switch, intelligent virtual knob, intelligent virtual button, intelligent virtual slide bar, intelligent virtual digital display.
1, the manufacturing of intelligent virtual selector switch
(1) determines the form of virtual selector switch
The principal character of having determined virtual selector switch is to realize the switching of instrumental function with each contact on the pointer selector switch.These contacts are distributed in the selector switch periphery, when number of contacts more for a long time, can be with the selector switch layering.
(2) set up the mathematical model of virtual selector switch at the principal character of virtual selector switch, its content comprises:
1) virtual selector switch is divided into several modules: geometric configuration, physical dimension, color, structural parameters etc.
2) respectively these modules are carried out mathematical modeling, comprise the modeling of 3D shape, the sense of reality is handled modeling, functional structure modeling etc.
3) carry out algorithm design, Data Structure Design and program design, finished control 3D shape rendering algorithm, sense of reality Processing Algorithm, functional structure functions such as algorithm are set.
(3) make non intelligent virtual selector switch, and deposit in the non intelligent virtual control storehouse
1) form of the virtual selector switch of design comprises virtual selector switch of individual layer and multilayer virtual selector switch.Design the attribute of virtual selector switch, comprise style, size, color and font etc.
2) the non intelligent virtual selector switch that will complete deposits in the storehouse, as the carrier of function endowing, calls during for making intelligent virtual selector switch.
(4) in the intelligent controls-oriented virtual instrument development system, finish the making of intelligent virtual selector switch
1) from non intelligent virtual control storehouse, selects a virtual selector switch.
2) non intelligent virtual selector switch is carried out corresponding attribute setting, if the virtual selector switch of individual layer, then its " style " attribute is set to one deck; If the multilayer virtual selector switch, then its " style " attribute is set to the corresponding number of plies.The number of contacts of back layer is set respectively and initially touches period.
3) non intelligent virtual selector switch is carried out function endowing.
1. the receivable feature list of the virtual selector switch of receiving function chained list, and initialization
2. the contact of the non intelligent virtual selector switch of initialization tabulation
3. get virtual selector switch with right mouse button point, in the dialog box that ejects, select the contact, selection function in the feature list in the tabulation of virtual selector switch contact
4. the contact in the tabulation of the contact of function in the feature list and virtual selector switch all has a public attribute, the public attribute value that compares selected function and selected contact, if it is identical, then the functional address of this function correspondence is chosen out be imparted in the pairing function in this contact and go, when the user presses " giving " action button, just can finish the mapping of function to the contact
5. press " determining " action button, with selected function and the corresponding connection of virtual selector switch corresponding contacts, then selected function has given virtual selector switch corresponding contact, and non intelligent virtual selector switch changes the intelligent virtual selector switch into
4) non intelligent virtual selector switch is tested fusion, promptly the intelligent virtual selector switch is carried out self check, whether audit function gives correctly.
2, the manufacturing of intelligent virtual button
(1) determines the form of virtual push button
The principal character of having determined virtual push button is to realize the switching of instrumental function with the action of button.
(2) set up the mathematical model of virtual push button at the principal character of virtual push button, its content comprises:
1) virtual push button is divided into several modules: geometric configuration, physical dimension, color, structural parameters.
2) respectively these modules are carried out mathematical modeling, comprise the modeling of 3D shape, the sense of reality is handled modeling, functional structure modeling etc.
3) carry out algorithm design, Data Structure Design and program design, finished control 3D shape rendering algorithm, sense of reality Processing Algorithm, functional structure functions such as algorithm are set.
(3) make non intelligent virtual push button, and deposit in the non intelligent virtual control storehouse
1) form and the attribute of design virtual push button comprise style, size, color and font etc.
2) the non intelligent virtual push button that will complete deposits in the storehouse, as the carrier of function endowing, calls during for making intelligent virtual button.
(4) in the intelligent controls-oriented virtual instrument development system, finish the making of intelligent virtual button
1) from non intelligent virtual control storehouse, selects a virtual push button;
2) non intelligent virtual push button being carried out corresponding attribute setting, at first is the setting of " style " attribute, carries out the selection of outward appearance.
3) non intelligent virtual push button is carried out function endowing;
1. the receivable feature list of receiving function chained list, and initialization virtual push button
2. the action lists of the non intelligent virtual push button of initialization
3. get virtual push button with right mouse button point, select action, selection function in the feature list in the virtual push button action lists in ejecting dialog box
4. function in the feature list and the action in the action lists all have a public attribute, the public attribute value that compares selected function and selected action, if it is identical, then the functional address of this function correspondence is chosen out and be imparted to this and move and go in the pairing function, when the user presses " giving " action button, just can finish the mapping of function to action
5. press " determining " action button, with the corresponding connection with the virtual push button corresponding actions of selected function, then selected function has been given the corresponding actions of virtual push button, and non intelligent virtual push button changes the intelligent virtual button into
4) non intelligent virtual push button is tested fusion, promptly the intelligent virtual button is carried out self check, whether audit function gives correctly.
3, the manufacturing of intelligent virtual knob
(1) determines the form of virtual knob
The principal character of having determined virtual knob is to export different numerical value with the diverse location on the pointed knob.
(2) set up the mathematical model of virtual knob at the principal character of virtual knob, its content comprises:
1) virtual knob is divided into several modules: geometric configuration, physical dimension, color, structural parameters, and the tool interface system parameter that needs when calling the virtual knob control of instrument etc.
2) respectively these modules are carried out mathematical modeling, comprise the modeling of 3D shape, the sense of reality is handled modeling, functional structure modeling etc.
3) carry out algorithm design, Data Structure Design and program design, finished control 3D shape rendering algorithm, sense of reality Processing Algorithm, functional structure functions such as algorithm are set.
(3) make non intelligent virtual knob, and deposit in the non intelligent virtual control storehouse
1) form and the attribute of design virtual knob comprise style, size, color and font, and realize the precision attribute that digital function must have.
2) the non intelligent virtual knob that will complete deposits in the storehouse, as the carrier of function endowing, calls during for making intelligent virtual knob.
(4) in the intelligent controls-oriented virtual instrument development system, finish the making of intelligent virtual knob
1) from non intelligent virtual control storehouse, selects a virtual knob;
2) non intelligent virtual knob being carried out corresponding attribute setting, at first is the setting of " style " attribute, carries out the selection of outward appearance; The digital function and the precision attribute of this knob are set then.
3) non intelligent virtual knob is carried out function endowing;
1. the receivable feature list of receiving function chained list, and initialization virtual knob
2. get virtual knob with right mouse button point, selection function in the feature list that ejects dialog box
3. function in the feature list and virtual knob all have a public attribute, the public attribute value that compares selected function and virtual knob, if it is identical, then the functional address of selected function correspondence is chosen out in the function that is imparted to the virtual knob correspondence and go, when the user presses " giving " action button, just can finish the mapping of function to knob
4. press " determining " action button, with the corresponding connection with virtual knob of selected function, then selected function has been given virtual knob, and non intelligent virtual knob changes the intelligent virtual knob into
4) non intelligent virtual knob is tested fusion, promptly the intelligent virtual knob is carried out self check, whether audit function gives correctly.
4, the manufacturing of intelligent virtual slide bar
(1) determines the form of virtual slide bar
The principal character of having determined virtual slide bar is to select each contact on the slide bar to realize the switching of instrumental function or export different numerical value with pointer.
(2) set up the mathematical model of virtual slide bar at the principal character of virtual slide bar, its content comprises:
1) virtual slide bar is divided into several modules: geometric configuration, physical dimension, color, structural parameters, and the tool interface system parameter that needs when calling virtual slide bar control of instrument etc.
2) respectively these modules are carried out mathematical modeling, comprise the modeling of 3D shape, the sense of reality is handled modeling, functional structure modeling etc.
3) carry out algorithm design, Data Structure Design and program design, finished control 3D shape rendering algorithm, sense of reality Processing Algorithm, functional structure functions such as algorithm are set.
(3) make non intelligent virtual slide bar, and deposit in the non intelligent virtual control storehouse
1) form and the attribute of the virtual slide bar of design comprise style, size, color and font, and realize the precision attribute that digital function must have.
2) the non intelligent virtual slide bar that will complete deposits in the storehouse, as the carrier of function endowing, calls during for making intelligent virtual slide bar.
(4) in the intelligent controls-oriented virtual instrument development system, finish the making of intelligent virtual slide bar
1) from non intelligent virtual control storehouse, selects a virtual slide bar;
2) non intelligent virtual slide bar being carried out corresponding attribute setting, at first is the setting of " style " attribute, carries out the selection of outward appearance; The digital function and the precision attribute of this slide bar are set then.
3) non intelligent virtual slide bar is carried out function endowing;
1. the receivable feature list of the virtual slide bar of receiving function chained list, and initialization
2. the contact of the non intelligent virtual slide bar of initialization tabulation
3. get virtual slide bar with right mouse button point, select the contact, selection function in the feature list in the virtual slide bar contact tabulation in ejecting dialog box
4. the contact in the tabulation of the contact of function in the feature list and virtual slide bar all has a public attribute, the public attribute value that compares selected function and selected contact, if it is identical, then the functional address of this function correspondence is chosen out be imparted in the pairing function in this contact and go, when the user presses " giving " action button, just can finish the mapping of function to the contact
5. press " determining " action button, with selected function and the corresponding connection of virtual slide bar corresponding contacts, then selected function has been given virtual slide bar corresponding contacts, and non intelligent virtual slide bar changes the intelligent virtual slide bar into
4) non intelligent virtual slide bar is tested fusion, promptly the intelligent virtual slide bar is carried out self check, whether audit function gives correctly.
5, the manufacturing of intelligent virtual digital display
(1) determines the form of virtual digital display
The principal character of having determined virtual digital display is the numerical value that shows different range, different implications by attribute setting.
(2) set up the mathematical model of virtual digital display at the principal character of virtual digital display, its content comprises:
1) virtual digital display is divided into several modules: geometric configuration, physical dimension, color, structural parameters, and the tool interface system parameter that needs when calling virtual digital display control of instrument etc.
2) respectively these modules are carried out mathematical modeling, comprise the modeling of 3D shape, the sense of reality is handled modeling, functional structure modeling etc.
3) carry out algorithm design, Data Structure Design and program design, finished control 3D shape rendering algorithm, sense of reality Processing Algorithm, functional structure functions such as algorithm are set.
(3) make non intelligent virtual digital display, and deposit in the non intelligent virtual control storehouse
1) form and the attribute of design virtual knob comprise style, size, color and font, and realize the precision attribute that digital function must have.
2) the non intelligent virtual digital display that will complete deposits in the storehouse, as the carrier of function endowing, calls during for making intelligent virtual digital display.
(4) in the intelligent controls-oriented virtual instrument development system, finish the making of intelligent virtual digital display
1) from non intelligent virtual control storehouse, selects a virtual digital display;
2) non intelligent virtual digital display being carried out corresponding attribute setting, at first is the setting of " style " attribute, carries out the selection of outward appearance; The precision attribute of this digital display is set then.
3) non intelligent virtual digital display is carried out function endowing;
1. the receivable feature list of the virtual digital display of receiving function chained list, and initialization
2. the non intelligent virtual digital display of initialization
3. get virtual digital display with right mouse button point, selection function in the feature list in ejecting dialog box
4. function in the feature list and virtual digital display all have a public attribute, the public attribute value that compares selected function and virtual digital display, if it is identical, then the functional address of this function correspondence is chosen out be imparted in the pairing function of virtual digital display and go, when the user presses " giving " action button, just can finish the mapping of function to digital display
5. press " determining " action button, with the corresponding connection with virtual digital display of selected function, then selected function has been given virtual digital display, and non intelligent virtual digital display changes the intelligent virtual digital display into
4) non intelligent virtual digital display is tested fusion, promptly the intelligent virtual digital display is carried out self check, whether audit function gives correctly.
Technique effect of the present invention comprises:
1, integration.The test integration technology combines the function of instrument and some position and " structure " of control together, the intelligent virtual control device that is produced by this technical characterictic makes instrument develop into parts from complete machine, thereby simplified the structure of instrument greatly, made testing tool pattern of new generation occur.
2, intelligent virtual control possesses the feature of software implementation " combined instrument unit " product, except that data communication and the hard interface of collection need the processing separately, " processing " factory of instrument system main product can be based upon in the common computing machine, thereby form the Manufacturing Models of the novel high-tech product of a class, be implemented in the brand-new situation of the cheap and good-quality instrument product of High-efficient Production in the computing machine.
3, property of participation and opening.The test integration technology greatly strengthens the pardon of virtual instrument inside, and external structure is very simple, particularly instrument can be taken formation by simple assembly, form between each control of instrument the relation and the location independent of putting to functional constraint, the function, performance and the precision that are instrument can not change with the putting position of control, and the user is easy to grasp the utilization of this quasi-instrument.Because the intelligent controls-oriented virtual instrument that intelligent virtual control constitutes is easy to use, good and cheap, greatly strengthened its speed of applying simultaneously.
4, fast-response.The fast-response of intelligent virtual control has the implication of two aspects: the one, to the fast-response of up-to-date science and technology, the up-to-date science and technology in the world can be applied to intelligent virtual control early, and make intelligent virtual control and technical development synchronous; The 2nd, to the fast-response of the market demand, can provide reaction at once to user's latest requirement, meet the need of market in the very first time.
5, green.Intelligent virtual control has all characteristics of green product in the consumption of the resource and the energy with to aspect the protection of environmental ecology.
Description of drawings
Be described further below in conjunction with accompanying drawing.
The classification of accompanying drawing 1 expression control cohesive characteristic is divided three classes by interior poly-power: poly-in low, in poly-and high cohesion.In wherein low poly-comprise in poly-in the contingency, the logicality poly-in the poly-and timeliness; In in poly-comprise in the process poly-in the poly-and communicativeness; High cohesion comprises in the succession poly-and functional interior poly-.Different cohesive characteristics forms corresponding control.
Fig. 2 represents also can be divided into seven classes according to the stiffness of coupling of control: non-direct coupling, data coupling, feature coupling, control coupling, coupled outside, public coupling and content coupling.
Fig. 3 is the basic structure that non intelligent virtual control is expressed, and comprises the attribute groove, concerns groove, method groove, regular groove and their parameter.
Fig. 4 ~ Fig. 7 represents a class---the selector switch in the non intelligent virtual control: the non intelligent virtual single-layer selector switch that contains 10 switch contacts, inside and outside layer is the non intelligent virtual double-deck selector switch of 15 switch contacts, and inner, middle and outer layer is non intelligent virtual three layers of selector switch of 15 switch contacts and the non intelligent virtual double-deck selector switch that another kind of inside and outside layer is 15 switch contacts.
Fig. 8 ~ Figure 11 represents a class---the button in the non intelligent virtual control: " beginning " that profile is different, " end " button.
Figure 12 ~ Figure 16 represents a class---the knob in the non intelligent virtual control: the various knobs that profile is different.
Figure 17 ~ Figure 18 represents a class---the slide bar in the non intelligent virtual control: horizontal, vertical slide bar.
Figure 19 ~ Figure 20 represents a class---the digital display in the non intelligent virtual control: the digital display that profile is different.
Figure 21 represents the hierarchical structure based on the intelligent virtual control under the framework pattern of level messaging bus.
Figure 22 represents the structured flowchart of digital audio test macro.
Figure 23 is the smart control audio analyzer.
Specific embodiments
Be example now, the process that manufactures and designs of intelligent virtual control is described with the smart control audio analyzer.
1, the function of analytical instrument is formed, and sets up the function storehouse
Smart control subjunctive mood audio analyzer is the combined type analytic system that the function with multiple instruments such as combined-voltage table, frequency meter, oscillograph, distortion meter, spectrum analyzers integrates.
Accompanying drawing 22 is structured flowcharts of the comparatively complete digital audio test macro of function.Can learn that by this block diagram the audio analysis of a standard will pass through following process:
(1) need send various pumping signals such as sine, square wave, pulse or white noise by standard signal generator according to what measure;
(2) pumping signal is through the calibration power amplifier, changes the effective voltage of signal by power amplifier, and satisfying the power demand of Devices to test, the output of regulatory work rate amplifier as required in measuring process obtains the signal of various intensity;
(3) output signal of power amplifier is imported into audio frequency apparatus to be measured;
(4) if Devices to test is tone playing equipments such as loudspeaker, then its response signal is an acoustical signal, needs to change electric signal into through microphone;
(5) response signal of Devices to test is done signal condition work such as necessary decay/amplification, anti-aliasing filtering;
(6) carry out analog to digital conversion through the signal after the conditioning by data collecting card, and give audio analyzer digital signal transfers;
(7) finish at last the functions such as measurement, analysis, demonstration, storage of signal by computing machine.
Smart control virtual audio analyser has following concrete instrumental function: voltage measurement, frequency measurement, total harmonic distortion measurement, the second harmonic distortion measurement, third harmonic distortion measurement, time-domain analysis, frequency-domain analysis, third-octave analysis, the smoothly analysis of 1/12 octave, time frequency analysis, total harmonic distortion curve, the second harmonic distortion curve and third harmonic distortion curve.Respectively these functions are carried out mathematical modeling and algorithm design and programming, set up the function storehouse corresponding with the virtual audio analyser.
2, the making of intelligent virtual control
According to the making step of intelligent virtual control, finish the making of intelligent virtual control in the intelligent controls-oriented virtual instrument development system of under the Windows system, setting up.
(1) control of selection formation instrument from the intelligent virtual control storehouse
Can search the smart control that can carry out above instrumental function from the intelligent virtual control storehouse has: button, slide bar, selector switch etc.If finish above instrumental function with a plurality of button controls, it is numerous and diverse then will to seem on instrument panel, consideration based on user's custom, adopt two-layer many Gear Select Switch as the intelligent virtual control of finishing concrete instrumental analysis function, ground floor is finished the measurement of basic parameter, and the second layer is finished other analytic function.
The user need obtain analysis result intuitively, and smart control virtual audio analyser can produce two kinds of display modes as a result: a kind of is that curve map shows, various figures or curves such as time domain waveform, signal spectrum, waterfall figure are provided for time-domain analysis, frequency-domain analysis, time frequency analysis etc., and the expression of this curvilinear figure is finished by an intelligent virtual display; Another kind is the measurement of basic parameter, for the expression of this digital basic parameter, adopts the intelligent digital pipe to realize selector switch has been selected the measurement of which parameter, and then charactron shows corresponding parameter.
Selector switch, display and charactron can be finished the fundamental measurement analytic function of instrument, but for an instrument, also need some other subsidiary function, for example data acquisition, storage etc.
(2) non intelligent virtual control is carried out corresponding attribute setting
(3) non intelligent virtual control is carried out function endowing, instrumental function is imparted on the corresponding control.
(4) non intelligent virtual control is tested fusion, promptly intelligent virtual control is carried out self check, check whether the function in the control gives correctly.
3, in the intelligent controls-oriented virtual instrument development system, finish building of smart control audio analyzer.
Accompanying drawing 23 is a smart control audio analyzer of having finished, and it comprises 1 intelligent virtual selector switch, 1 intelligent virtual display, 3 intelligent virtual digital displays, 2 intelligent virtual knobs, 5 intelligent virtual buttons.It is pointed out that after the function endowing of finishing intelligent virtual control that the user need not carry out any next step instruments design and operate.

Claims (10)

1, a kind of method for making of intelligent virtual control, it is characterized in that: method may further comprise the steps:
(1) determines the form of intelligent virtual control;
(2) set up the mathematical model of instrument control, have in it:
1. the instrument control being carried out modularization decomposes;
2. the control module of decomposing is carried out mathematical modeling;
3. the connection rule of combination according to module carries out algorithm design and program description.
(3) foundation in non intelligent virtual control storehouse: comprise
1. set up non intelligent virtual control form, comprise virtual selector switch, virtual push button, virtual knob, virtual slide bar, virtual digital display, set up the physical attribute and the functional attributes of control;
The non intelligent virtual control that 2. will complete deposits in the storehouse, as the carrier of function endowing, calls during for the making intelligent virtual control;
(4) under the Windows system, set up the intelligent controls-oriented virtual instrument development system, and in this system, finish the making of intelligent virtual control, the steps include:
1. select suitable non intelligent virtual control;
2. non intelligent virtual control is carried out the physical attribute setting;
3. non intelligent virtual control is carried out function endowing;
4. non intelligent virtual control is tested fusion, promptly intelligent virtual control is carried out self check, check whether the function in the control gives correctly.
2, the method for making of intelligent virtual control according to claim 1 is characterized in that: the content of in the step (4) non intelligent virtual control being carried out function endowing comprises;
(1) the receivable feature list of the non intelligent virtual control of receiving function chained list, and initialization;
(2) action of the non intelligent virtual control of initialization or contact tabulation;
(3) get non intelligent virtual control with right mouse button point, select action or contact, selection function in the feature list in non intelligent virtual control action in ejecting dialog box or the contact tabulation;
(4) action or the contact of action of function in the feature list and non intelligent virtual control or contact tabulation all have a public attribute, compare selected function and selected action or both public attribute values of contact, if it is identical, then the functional address of this function correspondence is chosen out to be imparted in the pairing function of this action or contact and go, press " giving " action button, can finish the mapping of function to action or contact;
(5) press " determining " action button, with the corresponding connection with corresponding actions or contact of selected function, then selected function has been given the corresponding actions or the contact of non intelligent virtual control, and non intelligent virtual control changes intelligent virtual control into.
3, the method for making of intelligent virtual control according to claim 1 is characterized in that: the general basic control that control is divided into each instrument basic comprising composition by purposes; The field general character control of the general character constituent of each instrument; The application specific control; Wherein, general basic control and field general character control can be made into the control of reusability.
4, the method for making of intelligent virtual control according to claim 1 is characterized in that: described control should have the low degree of coupling and high cohesion, avoid high fan-in and high fan-out, the control interface of simplification, the control of reusability.
5, the method for making of intelligent virtual control according to claim 1 is characterized in that: control is divided into two kinds of former child control and composite controls by the complexity of function quantity and annexation; The former child control that former child control is divided into the former child control that formed by single object encapsulation and is formed by the object encapsulation of a plurality of cooperations; Wherein
(1) making step of former child control comprises: 1. at first define the interface specification part of control, the external function of its function that externally provides of definition and requirement in the control interface specification; 2. make the control entity,, correspond in the C++ realization of control function that externally provides that defines in the control interface specification and the function that externally requires;
(2) making step of composite control comprises:
1. at first define the interface specification part of control, the external function of its function that externally provides of definition and requirement in the control interface specification;
2. determine member's control that composite control is comprised;
3. set up the interface annexation between member's control of composite control inside;
4. the function that composite control is externally provided and require is mapped on inner member's control function corresponding.
6, the method for making of intelligent virtual control according to claim 1 is characterized in that: the making step of intelligent virtual selector switch comprises:
(1) determines the form of virtual selector switch;
(2) set up the mathematical model of virtual selector switch at the principal character of virtual selector switch, its content comprises:
1. virtual selector switch is divided into several modules: geometric configuration, physical dimension, color, structural parameters;
2. respectively these modules are carried out mathematical modeling, comprise the modeling of 3D shape, the sense of reality is handled modeling, functional structure modeling;
3. carry out algorithm, data structure and program design, finished control 3D shape rendering algorithm, sense of reality Processing Algorithm, functional structure algorithmic function is set;
(3) make non intelligent virtual selector switch, and deposit in the non intelligent virtual control storehouse, step is:
1. design the form of virtual selector switch, comprise virtual selector switch of individual layer and multilayer virtual selector switch; Design the attribute of virtual selector switch, comprise style, size, color and font.
The non intelligent virtual selector switch that 2. will complete deposits in the storehouse, as the carrier of function endowing, calls during for making intelligent virtual selector switch;
(4) making of finishing the intelligent virtual selector switch in the intelligent controls-oriented virtual instrument development system comprises:
1. from non intelligent virtual control storehouse, select a virtual selector switch;
2. non intelligent virtual selector switch is carried out corresponding attribute setting, if the virtual selector switch of individual layer, then its " style " attribute is set to one deck; If the multilayer virtual selector switch, then its " style " attribute is set to the corresponding number of plies; Every layer number of contacts is set respectively and initially touches period;
3. non intelligent virtual selector switch is carried out function endowing;
4. non intelligent virtual selector switch is tested fusion, promptly the intelligent virtual selector switch is carried out self check, whether audit function gives correctly.
7, the method for making of intelligent virtual control according to claim 1 is characterized in that: the making step of intelligent virtual button comprises:
(1) determines the form of virtual push button;
(2) set up the mathematical model of virtual push button at the principal character of virtual push button, its content comprises:
1. virtual push button is divided into several modules: geometric configuration, physical dimension, color, structural parameters;
2. respectively these modules are carried out mathematical modeling, comprise the modeling of 3D shape, the sense of reality is handled modeling, functional structure modeling;
3. carry out algorithm, data structure and program design, finished control 3D shape rendering algorithm, sense of reality Processing Algorithm, functional structure algorithmic function is set;
(3) make non intelligent virtual push button, and deposit in the non intelligent virtual control storehouse, step comprises:
1. design the form and the attribute of virtual push button, comprise style, size, color and font;
The non intelligent virtual push button that 2. will complete deposits in the storehouse, as the carrier of function endowing, calls during for making intelligent virtual button;
(4) making of finishing the intelligent virtual button in the intelligent controls-oriented virtual instrument development system comprises:
1. from non intelligent virtual control storehouse, select a virtual push button;
2. non intelligent virtual push button being carried out corresponding attribute setting, at first is the setting of " style " attribute, carries out the selection of outward appearance;
3. non intelligent virtual push button is carried out function endowing;
4. non intelligent virtual push button is tested fusion, promptly the intelligent virtual button is carried out self check, whether audit function gives correctly.
8, the method for making of intelligent virtual control according to claim 1 is characterized in that: the making step of intelligent virtual knob comprises:
(1) determines the form of virtual knob;
(2) set up the mathematical model of virtual knob at the principal character of virtual knob, its content comprises:
1. virtual knob is divided into several modules: geometric configuration, physical dimension, color, structural parameters, and the tool interface system parameter that needs when calling the virtual knob control of instrument;
2. respectively these modules are carried out mathematical modeling, comprise the modeling of 3D shape, the sense of reality is handled modeling, functional structure modeling;
3. carry out algorithm design, Data Structure Design and program design, finished control 3D shape rendering algorithm, sense of reality Processing Algorithm, functional structure algorithmic function is set;
(3) make non intelligent virtual knob, and deposit in the non intelligent virtual control storehouse, step is:
1. design the form and the attribute of virtual knob, comprise style, size, color and font, and realize the precision attribute that digital function must have;
The non intelligent virtual knob that 2. will complete deposits in the storehouse, as the carrier of function endowing, calls during for making intelligent virtual knob;
(4) making of finishing the intelligent virtual knob in the intelligent controls-oriented virtual instrument development system comprises:
1. from non intelligent virtual control storehouse, select a virtual knob;
2. non intelligent virtual knob being carried out corresponding attribute setting, at first is the setting of " style " attribute, carries out the selection of outward appearance, and the digital function and the precision attribute of this knob is set then;
3. non intelligent virtual knob is carried out function endowing;
4. non intelligent virtual knob is tested fusion, promptly the intelligent virtual knob is carried out self check, whether audit function gives correctly.
9, the method for making of intelligent virtual control according to claim 1 is characterized in that: the making step of intelligent virtual slide bar comprises:
(1) determines the form of virtual slide bar;
(2) set up the mathematical model of virtual slide bar at the principal character of virtual slide bar, its content comprises:
1. virtual slide bar is divided into several modules: geometric configuration, physical dimension, color, structural parameters, and the tool interface system parameter that needs when calling virtual slide bar control of instrument;
2. respectively these modules are carried out mathematical modeling, comprise the modeling of 3D shape, the sense of reality is handled modeling, functional structure modeling;
3. carry out algorithm design, Data Structure Design and program design, finished control 3D shape rendering algorithm, sense of reality Processing Algorithm, functional structure algorithmic function is set;
(3) make non intelligent virtual slide bar, and deposit in the non intelligent virtual control storehouse, step comprises:
1. design the form and the attribute of virtual slide bar, comprise style, size, color and font, and realize the precision attribute that digital function must have;
The non intelligent virtual slide bar that 2. will complete deposits in the storehouse, as the carrier of function endowing, calls during for making intelligent virtual slide bar;
(4) finish the making of intelligent virtual slide bar in the intelligent controls-oriented virtual instrument development system, step comprises:
1. from non intelligent virtual control storehouse, select a virtual slide bar;
2. non intelligent virtual slide bar being carried out corresponding attribute setting, at first is the setting of " style " attribute, carries out the selection of outward appearance, and the digital function and the precision attribute of this slide bar is set then;
3. non intelligent virtual slide bar is carried out function endowing;
4. non intelligent virtual slide bar is tested fusion, promptly the intelligent virtual slide bar is carried out self check, whether audit function gives correctly.
10, the method for making of intelligent virtual control according to claim 1 is characterized in that: the making step of intelligent virtual digital display comprises:
(1) determines the form of virtual digital display;
(2) set up the mathematical model of virtual digital display at the principal character of virtual digital display, its content comprises:
1. virtual digital display is divided into several modules: geometric configuration, physical dimension, color, structural parameters, and the tool interface system parameter that needs when calling virtual digital display control of instrument;
2. respectively these modules are carried out mathematical modeling, comprise the modeling of 3D shape, the sense of reality is handled modeling, functional structure modeling;
3. carry out algorithm, data structure and program design, finished control 3D shape rendering algorithm, sense of reality Processing Algorithm, functional structure algorithmic function is set;
(3) make non intelligent virtual digital display, and deposit in the non intelligent virtual control storehouse, step is:
1. design the form and the attribute of virtual knob, comprise style, size, color and font, and realize the precision attribute that digital function must have;
The non intelligent virtual digital display that 2. will complete deposits in the storehouse, as the carrier of function endowing, calls during for making intelligent virtual digital display;
(4) making step of finishing the intelligent virtual digital display in the intelligent controls-oriented virtual instrument development system comprises:
1. from non intelligent virtual control storehouse, select a virtual digital display;
2. non intelligent virtual digital display being carried out corresponding attribute setting, at first is the setting of " style " attribute, carries out the selection of outward appearance, and the precision attribute of this digital display is set then;
3. non intelligent virtual digital display is carried out function endowing;
4. non intelligent virtual digital display is tested fusion, promptly the intelligent virtual digital display is carried out self check, whether audit function gives correctly.
CN 200310104192 2003-12-29 2003-12-29 Method for producing intelligent virtual control Expired - Fee Related CN1275147C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200310104192 CN1275147C (en) 2003-12-29 2003-12-29 Method for producing intelligent virtual control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200310104192 CN1275147C (en) 2003-12-29 2003-12-29 Method for producing intelligent virtual control

Publications (2)

Publication Number Publication Date
CN1555009A CN1555009A (en) 2004-12-15
CN1275147C true CN1275147C (en) 2006-09-13

Family

ID=34333494

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200310104192 Expired - Fee Related CN1275147C (en) 2003-12-29 2003-12-29 Method for producing intelligent virtual control

Country Status (1)

Country Link
CN (1) CN1275147C (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100514287C (en) * 2006-10-11 2009-07-15 秦树人 Large-scale virtual base for test instruments, and forming method
CN102413065B (en) * 2010-09-19 2014-05-14 腾讯科技(深圳)有限公司 Twitter client, twitter message aggregation method and instant messaging client
CN103049954B (en) * 2012-12-27 2016-04-06 福州福大自动化科技有限公司 The graphical control strategy configuration method of gate control system
CN106033354A (en) * 2015-03-20 2016-10-19 广州金山移动科技有限公司 Adjusting method of double numeric control

Also Published As

Publication number Publication date
CN1555009A (en) 2004-12-15

Similar Documents

Publication Publication Date Title
CN1082208C (en) Language neutral objects
CN1096637C (en) Managing class method manes
CN1043176C (en) Software structure for telecommunication switching systems
CN1306444C (en) Building production information integration system
CN100351822C (en) User interface assembly expression having simplified view
CN1975720A (en) Data tapping system based on Wcb and control method thereof
CN1879110A (en) Simulation system and computer-implemented method for simulation and verifying a control system
CN101052948A (en) Object process graph application development system
CN1365470A (en) Method for assembling and using a knowledge base
EP3296866B1 (en) Method implemented by a computer that presents software-type applications based on design specifications
CN1474979A (en) Custom rule system and method for expert systems
CN1740970A (en) System and method for seamlessly comparing objects
CN1934581A (en) Will expression model device, psychological effect program, and will expression simulation method
CN1629869A (en) System and method for generation and management of integrated solution in business process
CN1700652A (en) Collaborative design method based on collaborative template
CN1992728A (en) Systems and methods for facilitating group collaborations
CN1102934A (en) Incremental linker system
CN1849608A (en) Method and program for generating volume data from boundary representation data
CN1752356A (en) Intelligent model constructuring method for analyzing cavity wall rock stability
CN1275147C (en) Method for producing intelligent virtual control
CN1305172A (en) bidirectionally interactive multimedia service management system for electronically renting of selling houses and building spaces
CN1825343A (en) Unified model for authoring and executing workflow of flow base and constraint base
Vathsavayi et al. Tool support for software architecture design with genetic algorithms
Costa et al. A systematic literature review and conceptual framework of construction industrialization
CN1266645C (en) Automatic knowledge creating method, knowledge automatic creating system, knowledge automatic creating program, automatic designing method and automatic design system

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
C19 Lapse of patent right due to non-payment of the annual fee
CF01 Termination of patent right due to non-payment of annual fee