CN103176904B - A kind of simulation test platform software architecture and the method for testing based on this framework - Google Patents

A kind of simulation test platform software architecture and the method for testing based on this framework Download PDF

Info

Publication number
CN103176904B
CN103176904B CN201310109775.8A CN201310109775A CN103176904B CN 103176904 B CN103176904 B CN 103176904B CN 201310109775 A CN201310109775 A CN 201310109775A CN 103176904 B CN103176904 B CN 103176904B
Authority
CN
China
Prior art keywords
monitoring unit
variable
request
unit
amendment
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
CN201310109775.8A
Other languages
Chinese (zh)
Other versions
CN103176904A (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.)
Beijing Jingwei Hirain Tech Co Ltd
Original Assignee
Beijing Jingwei Hirain Tech Co Ltd
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 Beijing Jingwei Hirain Tech Co Ltd filed Critical Beijing Jingwei Hirain Tech Co Ltd
Priority to CN201310109775.8A priority Critical patent/CN103176904B/en
Publication of CN103176904A publication Critical patent/CN103176904A/en
Application granted granted Critical
Publication of CN103176904B publication Critical patent/CN103176904B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

This application provides a kind of method of testing based on simulation test platform software architecture, simulation test platform software architecture comprises: model variable description document, retransmission unit and multiple monitoring unit, the described retransmission unit registration model variable description document corresponding with current test assignment and the monitoring unit group corresponding with current test assignment; Described retransmission unit receives the amendment variable request that in described monitoring unit group, monitoring unit to be tested sends, and the request of described amendment variable is sent to other monitoring units in described monitoring unit group except described monitoring unit to be tested; The monitoring unit receiving the request of described amendment variable processes the request of described amendment variable.Therefore, the application can module in a kind of emulation testing in dynamic-configuration simulation test platform software architecture, and when simulation test platform software architecture being applied in different emulation testings, only monitoring unit group corresponding for different test assignment need be registered to retransmission unit can realize.

Description

A kind of simulation test platform software architecture and the method for testing based on this framework
Technical field
The application relates to emulation testing field, particularly a kind of simulation test platform software architecture and the method for testing based on this framework.
Background technology
In current emulation testing, because the demand of different client to emulation testing exists larger difference, so a simulation test platform software architecture is for a kind of emulation testing customized development, and the simulation test platform software architecture of customized development exists, and module alignment is unclear, module coupling is high, module extendability is poor, the module not easily defect such as cutting.These defects cause again in emulation testing process, cannot module in the simulation test platform software architecture of customized development corresponding to this emulation testing of dynamic-configuration.
Therefore, if the simulation test platform software architecture for a kind of emulation testing customized development is applied in other emulation testings, needs to carry out function cutting or secondary development to this simulation test platform software architecture, thus cause waste of manpower and time.
Summary of the invention
For solving the problems of the technologies described above, the application provides a kind of simulation test platform software architecture and the method for testing based on this framework, to reach the module that can to realize in the process of any one emulation testing in simulation test platform software architecture corresponding to dynamic-configuration this kind of emulation testing, and by simulation test platform software architecture when being applied in different emulation testings, without the need to carrying out complicated function cutting or secondary development to simulation test platform software architecture, only monitoring unit group corresponding for different test assignment need be registered to retransmission unit, be easy to operation and realize, save the object of manpower and time greatly, technical scheme is as follows:
Based on a method of testing for simulation test platform software architecture, described simulation test platform software architecture comprises: model variable description document, retransmission unit and multiple monitoring unit, comprising:
Described model variable description document maps the variable in slave computer;
The described retransmission unit registration model variable description document corresponding with current test assignment and the monitoring unit group corresponding with current test assignment, include described multiple monitoring unit in described monitoring unit group;
Described retransmission unit starts the monitoring unit in described monitoring unit group;
Described retransmission unit receives the amendment variable request that in described monitoring unit group, monitoring unit to be tested sends, and the request of described amendment variable is sent to other monitoring units in described monitoring unit group except described monitoring unit to be tested;
The monitoring unit receiving the request of described amendment variable processes the request of described amendment variable.
Preferably, also comprise after the described monitoring unit receiving the request of described amendment variable processes the request of described amendment variable:
Result after the monitoring unit receiving the request of described amendment variable described in described retransmission unit judges whether to receive processes the request of described amendment variable;
If so, the result be currently received is sent to other monitoring units in described monitoring unit group except the monitoring unit of the result be currently received described in sending by described retransmission unit;
The monitoring unit of the result be currently received described in receiving using the described result be currently received as respective test result;
If not, the monitoring unit receiving the request of described amendment variable using respective the request of described amendment variable is processed after result as respective test result.
Preferably, the variable that described model variable description document maps in slave computer comprises: described model variable description document maps the title of the variable in slave computer, attribute and hierarchical structure, and described hierarchical structure is the relation between the variable in described slave computer.
Preferably, the monitoring unit that described retransmission unit starts in described monitoring unit group comprises:
Described retransmission unit starts the monitoring unit in described monitoring unit group according to the priority attribute of the monitoring unit in described monitoring unit group.
Preferably, described monitoring unit group comprises: variable monitoring unit, script test cell, network communication unit and data record unit;
Described retransmission unit receives the amendment variable request that in described monitoring unit group, monitoring unit to be tested sends, and other monitoring units request of described amendment variable be sent in described monitoring unit group except sending the monitoring unit of described amendment variable request comprise:
Described retransmission unit receives the amendment variable request that in described monitoring unit group, network communication unit sends, and the request of described amendment variable is sent to variable monitoring unit, script test cell and the data record unit in described monitoring unit group except described network communication unit;
Or described retransmission unit receives the amendment variable request that in described monitoring unit group, variable monitoring unit sends, and the request of described amendment variable is sent to script test cell, network communication unit and the data record unit in described monitoring unit group except described variable monitoring unit.
A kind of simulation test platform software architecture, comprising: model variable description document, retransmission unit and multiple monitoring unit;
Described model variable description document is for mapping the variable in slave computer;
Described retransmission unit, for registering the model variable description document corresponding with current test assignment and the monitoring unit group corresponding with current test assignment, described multiple monitoring unit is included in described monitoring unit group, and the monitoring unit started in described monitoring unit group, and receive the amendment variable request that in described monitoring unit group, monitoring unit to be tested sends, and the request of described amendment variable is sent to other monitoring units in described monitoring unit group except sending the monitoring unit of described amendment variable request;
Monitoring unit to be tested in described multiple monitoring unit, for sending the request of amendment variable to described retransmission unit, the amendment variable request that other monitoring units in described multiple monitoring unit except described monitoring unit to be tested send for receiving described retransmission unit, and the described amendment variable request received is processed.
Preferably, the monitoring unit of described retransmission unit also for receiving the request of described amendment variable described in judging whether to receive the request of described amendment variable is processed after result;
If so, the result be currently received is sent to other monitoring units in described monitoring unit group except the monitoring unit of the result be currently received described in sending by described retransmission unit.
Preferably, described model variable description document is specifically for mapping the title of the variable in slave computer, attribute and hierarchical structure, and described hierarchical structure is the relation between the variable in described slave computer.
Preferably, described retransmission unit is specifically for the registration model variable description document corresponding with current test assignment and the monitoring unit group corresponding with current test assignment, the number of the no more than described multiple monitoring unit of number of the monitoring unit in described monitoring unit group, and the monitoring unit started according to the priority attribute of the monitoring unit in described monitoring unit group in described monitoring unit group, and receive the amendment variable request that in described monitoring unit group, monitoring unit to be tested sends, and other monitoring units request of described amendment variable is sent in described monitoring unit group except sending the monitoring unit of described amendment variable request.
Preferably, described monitoring unit group comprises: variable monitoring unit, script test cell, network communication unit and data record unit;
The amendment variable request that described retransmission unit sends specifically for receiving network communication unit described in described monitoring unit group, and the request of described amendment variable is sent to variable monitoring unit, script test cell and the data record unit in described monitoring unit group except described network communication unit;
Or described retransmission unit is specifically for receiving the amendment variable request that in described monitoring unit group, variable monitoring unit sends, and the request of described amendment variable is sent to script test cell, network communication unit and the data record unit in described monitoring unit group except described variable monitoring unit.
Compared with prior art, the beneficial effect of the application is:
In this application, simulation test platform software architecture comprises: model variable description document, retransmission unit and multiple monitoring unit, and described model variable description document maps the variable in slave computer; Described retransmission unit registers described model variable description document and the monitoring unit group corresponding with current test assignment, includes multiple monitoring unit in described monitoring unit group; Described retransmission unit receives the amendment variable request that in described multiple monitoring unit, monitoring unit to be tested sends, and the request of described amendment variable is sent to other monitoring units in described monitoring unit group except sending the monitoring unit of described amendment variable request; The monitoring unit receiving the request of described amendment variable processes the request of described amendment variable.
In any one emulation testing, data interaction in the simulation test platform software architecture corresponding with this kind of emulation testing between each monitoring unit is realized by retransmission unit, without the need to calling mutually, due between each monitoring unit without the need to calling mutually, make the functional independence of each monitoring unit, therefore to there is not the module alignment that current simulation test platform software architecture exists unclear for the simulation test platform software architecture of the application, module coupling is high, module extendability is poor, module is the defect such as cutting not easily, thus the module that can realize in the process of this kind of emulation testing in simulation test platform software architecture corresponding to dynamic-configuration this kind of emulation testing.
The simulation test platform software architecture of the application is when being applied in different emulation testings, without the need to carrying out complicated function cutting or secondary development to the simulation test platform software architecture of the application, only monitoring unit group corresponding for different test assignment need be registered to retransmission unit, be easy to operation and realize, having saved manpower and time greatly.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present application, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the application, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of process flow diagram of a kind of method of testing based on simulation test platform software architecture that the application provides;
Fig. 2 is the another kind of process flow diagram of a kind of method of testing based on simulation test platform software architecture that the application provides;
Fig. 3 is the structural representation of a kind of simulation test platform software architecture that the application provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, be clearly and completely described the technical scheme in the embodiment of the present application, obviously, described embodiment is only some embodiments of the present application, instead of whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not making the every other embodiment obtained under creative work prerequisite, all belong to the scope of the application's protection.
The application provides a kind of method of testing based on simulation test platform software architecture, described simulation test platform software architecture comprises: model variable description document, retransmission unit and multiple monitoring unit, and first described model variable description document maps the variable in slave computer; Secondly described retransmission unit registers described model variable description document and the monitoring unit group corresponding with current test assignment, includes described multiple monitoring unit in described monitoring unit group; Then described retransmission unit receives the amendment variable request that in described monitoring unit group, monitoring unit to be tested sends, and the request of described amendment variable is sent to other monitoring units in described monitoring unit group except sending the monitoring unit of described amendment variable request; The monitoring unit finally receiving the request of described amendment variable processes the request of described amendment variable.By enumerating embodiment, a kind of method of testing based on simulation test platform software architecture that the application provides is described in detail below.
An embodiment
Refer to Fig. 1, it illustrates a kind of process flow diagram of a kind of method of testing based on simulation test platform software architecture that the application provides, can comprise the following steps:
Step S11: described model variable description document maps the variable in slave computer.
In the present embodiment, when model variable description document maps the variable in slave computer, be that the title to variable in slave computer, attribute and hierarchical structure map, wherein variable hierarchical structure record be relation between variable.Model variable description document is after mapping the title of the variable in slave computer, attribute and hierarchical structure, namely the title of the variable in slave computer, attribute and hierarchical structure is comprised in described model variable description document, therefore, what store in described model variable description document is the file describing the title of variable in slave computer, attribute and hierarchical structure.
In a kind of emulation testing, described model variable description document only once maps the variable in slave computer, and after mapping, the title of the variable in described model variable description document, attribute and hierarchical structure will remain unchanged.
In the present embodiment, described slave computer can be replicating machine.
Step S12: the described retransmission unit registration model variable description document corresponding with current test assignment and the monitoring unit group corresponding with current test assignment, include described multiple monitoring unit in described monitoring unit group.
In the present embodiment, described retransmission unit register the detailed process of the model variable description document corresponding with current test assignment can be as: be concrete variable by the file transform describing the title of variable in slave computer, attribute and hierarchical structure in described model variable description document; According to the variable of the requirement registration respective numbers of current test assignment.But the variable obtained after conversion does not have numerical value.Such as: described model variable description document comprises the file that 10 describe the title of variablees, attribute and hierarchical structure, described retransmission unit is when registering this model variable description document, first be 10 concrete variablees by the file transform that in this model variable description document, 10 describe the title of variablees, attribute and hierarchical structure, then just require according to current test assignment the variable registering respective numbers, if current test assignment needs 8 variablees, then retransmission unit registration meets 8 variablees that current test assignment requires.
Described retransmission unit is after the variable of registration respective numbers, and the variable being registered in retransmission unit forms a variable pond.Retransmission unit can manage the variable in variable pond.
In the present embodiment, the monitoring unit group that described retransmission unit registration is corresponding with current test assignment, includes multiple monitoring unit in described monitoring unit group.After current test assignment changes, using the test assignment after current test assignment changes as current test assignment, retransmission unit can start another kind of emulation testing after re-registering the monitoring unit group corresponding with current test assignment.
Described monitoring unit group can comprise: variable monitoring unit, script test cell, network communication unit and data record unit.
Step S13: described retransmission unit starts the monitoring unit in described monitoring unit group.
Retransmission unit is after the monitoring unit group that registration is corresponding with current test assignment, retransmission unit can control the life cycle of each monitoring unit in the monitoring unit group after registering, and namely controls startup and the stopping of each monitoring unit in the monitoring unit group after registration.Wherein control the startup of each monitoring unit in the monitoring unit group after register and stopping one may implementation as: by priority, each monitoring unit in the monitoring unit group after registering is started and is stopped, wherein each monitoring unit has priority attribute, when each monitoring unit is registered to retransmission unit, the priority attribute of each monitoring unit is also registered to retransmission unit.The priority attribute of each monitoring unit described can be determined by emulation testing mission requirements.
Retransmission unit is after each monitoring unit of startup, there is certain monitoring unit in each monitoring unit after startup to be responsible for the value of the variable of slave computer to be sent to described retransmission unit, described retransmission unit after the value receiving the variable in slave computer, by the value assignment of variable to variable corresponding in variable pond.In the present embodiment, the monitoring unit being responsible for the value of the variable in slave computer to be sent to described retransmission unit is network communication unit.
In the present embodiment, the monitoring unit after startup can be modified to the variable in variable pond in retransmission unit, and the variable in retransmission unit in variable pond is known for the monitoring unit after startup.
Step S14: described retransmission unit receives the amendment variable request that in described monitoring unit group, monitoring unit to be tested sends, and the request of described amendment variable is sent to other monitoring units in described monitoring unit group except described monitoring unit to be tested.
In the present embodiment, each monitoring unit in the monitoring unit group after startup can send respective amendment variable request to retransmission unit, sends the monitoring unit of amendment variable request as monitoring unit to be tested.
Retransmission unit receives the amendment variable request that monitoring unit to be tested sends, and the request of described amendment variable is sent to other monitoring units in described monitoring unit group except described monitoring unit to be tested.
Step S15: the monitoring unit receiving the request of described amendment variable processes the request of described amendment variable.
In the present embodiment, the monitoring unit receiving the request of described amendment variable processes the request of described amendment variable according to respective functional realiey.
Due in said method step, after the monitoring unit group that retransmission unit registration is corresponding with current test assignment, in current test assignment, data interaction in simulation test platform software architecture between each monitoring unit is realized by retransmission unit, without the need to calling mutually, due between each monitoring unit without the need to calling mutually, make the functional independence of each monitoring unit, therefore to there is not module alignment unclear for the simulation test platform software architecture of the application, module coupling is high, module extendability is poor, module is the defect such as cutting not easily, thus the module that can realize in the test process that current test assignment is corresponding in simulation test platform software architecture corresponding to the current test assignment of dynamic-configuration.When simulation test platform software architecture corresponding for current emulation testing task is applied in other emulation testings, retransmission unit only need register the monitoring unit group corresponding with other emulation testing tasks, without the need to carrying out complicated function cutting or secondary development to the simulation test platform software architecture of the application, be easy to operation and realize, having saved manpower and time greatly.
Another embodiment
Refer to Fig. 2, it illustrates the another kind of process flow diagram of a kind of method of testing based on simulation test platform software architecture that the application provides, can comprise the following steps:
Step S21: described model variable description document maps the variable in slave computer.
Step S22: the described retransmission unit registration model variable description document corresponding with current test assignment and the monitoring unit group corresponding with current test assignment, include described multiple monitoring unit in described monitoring unit group.
Step S23: described retransmission unit starts the monitoring unit in described monitoring unit group.
Step S24: described retransmission unit receives the amendment variable request that in described monitoring unit group, monitoring unit to be tested sends, and the request of described amendment variable is sent to other monitoring units in described monitoring unit group except described monitoring unit to be tested.
Step S25: the monitoring unit receiving the request of described amendment variable processes the request of described amendment variable.
A kind of identical with step S15 based on step S11, the step S12 in the method for testing of simulation test platform software architecture, step S13, step S14 shown in step S21, step S22, step S23, step S24 with step S25 with Fig. 1, does not repeat them here.
Step S26: the result after the monitoring unit receiving the request of described amendment variable described in described retransmission unit judges whether to receive processes the request of described amendment variable.
In the present embodiment, described in receive the request of described amendment variable monitoring unit the request of described amendment variable is processed after, result is sent to retransmission unit by member monitors unit, and result is not sent to retransmission unit by member monitors unit.The detailed process that retransmission unit is receiving result is: receive a result, and after this result is sent, then receive next result.
In the present embodiment, the result after the monitoring unit receiving the request of described amendment variable described in described retransmission unit judges whether to receive processes the request of described amendment variable, if so, performs step S27, if not, performs step S29.
Step S27: the result be currently received is sent to other monitoring units in described monitoring unit group except the monitoring unit of the result be currently received described in sending by described retransmission unit.
In the present embodiment, the result be currently received, when receiving a result, is sent to other monitoring units except the monitoring unit of the result be currently received described in sending in described monitoring unit group by retransmission unit.
Step S28: the monitoring unit of the result be currently received described in receiving using the described result be currently received as respective test result.
Step S29: after the monitoring unit receiving the request of described amendment variable processes the request of described amendment variable, using respective result as respective test result.
When retransmission unit does not receive the result of any monitoring unit transmission, after illustrating that the monitoring unit receiving the request of described amendment variable processes the request of described amendment variable, respective result is not sent to retransmission unit by any one monitoring unit, in this case, the monitoring unit receiving the request of described amendment variable using respective the request of described amendment variable is processed after result as respective test result.
In said method step, when the monitoring unit group that current test assignment is corresponding comprises variable monitoring unit, script test cell, network communication unit and data record unit, simulation test platform software architecture corresponding to current test assignment comprises: model variable description document, retransmission unit and comprise the monitoring unit group of variable monitoring unit, script test cell, network communication unit and data record unit.Now with the test process based on this simulation test platform software architecture, a kind of method of testing based on simulation test platform software architecture shown in Fig. 2 is described.
First, model variable description document maps the variable in slave computer.
Secondly, retransmission unit registers described model variable description document and variable monitoring unit, script test cell, network communication unit and data record unit.Retransmission unit, after the described model variable description document of registration and variable monitoring unit, script test cell, network communication unit and data record unit, starts variable monitoring unit, script test cell, network communication unit and data record unit.
Variable monitoring unit, script test cell, after network communication unit and data record unit all start, variable monitoring unit, script test cell, in network communication unit and data record unit, any one can as monitoring unit to be tested, the request of amendment variable is sent to retransmission unit, but according to the respective function of above-mentioned unit, some unit does not send the request of amendment variable to retransmission unit, such as, data record unit upon actuation, do not send the request of amendment variable to retransmission unit, only to needing the variable carrying out data record to scan in retransmission unit, after scanning, data record unit generates document data record, the content of document data record comprises sequence number (NO), time (TIME) and variable list, namely variable list needs the title of the variable carrying out data record and the numerical value of variable.Such as, the document data record of variables A/B/C is:
When variable monitoring unit sends amendment variable request to described retransmission unit, described retransmission unit receives the amendment variable request that variable monitoring unit sends, and the request of described amendment variable is sent to described script test cell, network communication unit and data record unit.
Described script test cell, when receiving described amendment variable request, can realize determining whether process the request of described amendment variable according to the program of itself.Described network communication unit is after receiving the request of described amendment variable, the request of described amendment variable is converted to the instruction of amendment variable, and the instruction of described amendment variable is sent to slave computer, slave computer processes the instruction of described amendment variable, and result is sent to described network communication unit, described network communication unit receives the result of described slave computer, and described result is sent to described retransmission unit.Described data record unit is after receiving the request of described amendment variable, the variable received in the retransmission unit of described amendment variable request is rescaned, after rescaning, data record unit generates new document data record, and the content of new document data record still comprises sequence number, time and variable list.
Because its result is sent to described retransmission unit by described network communication unit, the result of described network communication unit, after the result receiving described network communication unit, is forwarded to variable monitoring unit, script test cell and data record unit by retransmission unit.Variable monitoring unit, after the result receiving retransmission unit transmission, shows the result received; Script test cell is after the result receiving retransmission unit transmission, and whether the program still according to itself realizes determining using the test result of described result as it; Data record unit receive retransmission unit send result after, by the result writing in files received.
Or when described network communication unit sends amendment variable request to described retransmission unit, described retransmission unit receives the amendment variable request that described network communication unit sends, and the request of described amendment variable is sent to described script test cell, variable monitoring unit and data record unit.
In this case, the amendment variable request that described network communication unit sends is the value of the variable upgraded in slave computer, retransmission unit is after the amendment variable request sent by described network communication unit is sent to described script test cell, variable monitoring unit and data record unit, described variable monitoring unit and data record unit are after receiving the request of described amendment variable, respectively the request of described amendment variable is processed, respective result is not sent to retransmission unit after process, but using respective result as respective test result; Described script test cell then realizes according to the program of itself, determines whether process the request of described amendment variable.
For aforesaid each embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the application is not by the restriction of described sequence of movement, because according to the application, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and involved action and module might not be that the application is necessary.
In said method based on simulation test platform software architecture structural representation as shown in Figure 3, Fig. 3 shows a kind of structural representation of a kind of simulation test platform software architecture that the application provides, and can comprise: model variable description document 301, retransmission unit 302 and monitoring unit 303.Wherein, monitoring unit 303 is made up of multiple monitoring unit.
Wherein, model variable description document 301, for mapping the variable in slave computer.
In the present embodiment, model variable description document 301 is specifically for mapping the title of the variable in slave computer, attribute and hierarchical structure, and described hierarchical structure is the relation between the variable in described slave computer.
Retransmission unit 302, for registering the model variable description document corresponding with current test assignment and the monitoring unit group corresponding with current test assignment, described multiple monitoring unit is included in described monitoring unit group, and the monitoring unit started in described monitoring unit group, and receive the amendment variable request that in described monitoring unit group, monitoring unit to be tested sends, and the request of described amendment variable is sent to other monitoring units in described monitoring unit group except sending the monitoring unit of described amendment variable request.
In the present embodiment, monitoring unit group can comprise: variable monitoring unit, script test cell, network communication unit and data record unit.
In the present embodiment, the detailed process of monitoring unit that retransmission unit 302 starts in the monitoring unit group being registered in retransmission unit 302 is: retransmission unit 302 starts the monitoring unit in described monitoring unit group according to the priority attribute of the monitoring unit in described monitoring unit group.
Result after the monitoring unit of retransmission unit 302 also for receiving the request of described amendment variable described in judging whether to receive processes the request of described amendment variable.
When judged result is for receiving result, the result be currently received is sent to other monitoring units in described monitoring unit group except the monitoring unit of the result be currently received described in sending by retransmission unit 302.
Monitoring unit to be tested in multiple monitoring units that monitoring unit 303 comprises, for sending the request of amendment variable to described retransmission unit, the amendment variable request that other monitoring units in described multiple monitoring unit except described monitoring unit to be tested send for receiving described retransmission unit, and the described amendment variable request received is processed.
It should be noted that, each embodiment in this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.For device class embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Finally, also it should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
A kind of simulation test platform software architecture above the application provided and being described in detail based on the method for testing of this framework, apply specific case herein to set forth the principle of the application and embodiment, the explanation of above embodiment is just for helping method and the core concept thereof of understanding the application; Meanwhile, for one of ordinary skill in the art, according to the thought of the application, all will change in specific embodiments and applications, in sum, this description should not be construed as the restriction to the application.

Claims (10)

1. based on a method of testing for simulation test platform software architecture, it is characterized in that, described simulation test platform software architecture comprises: model variable description document, retransmission unit and multiple monitoring unit, and described method comprises:
Described model variable description document maps the variable in slave computer;
The described retransmission unit registration model variable description document corresponding with current test assignment and the monitoring unit group corresponding with current test assignment, include described multiple monitoring unit in described monitoring unit group;
Described retransmission unit starts the monitoring unit in described monitoring unit group;
Described retransmission unit receives the amendment variable request that in described monitoring unit group, monitoring unit to be tested sends, and the request of described amendment variable is sent to other monitoring units in described monitoring unit group except described monitoring unit to be tested;
The monitoring unit receiving the request of described amendment variable processes the request of described amendment variable.
2. method according to claim 1, is characterized in that, also comprises after the described monitoring unit receiving the request of described amendment variable processes the request of described amendment variable:
Result after the monitoring unit receiving the request of described amendment variable described in described retransmission unit judges whether to receive processes the request of described amendment variable;
If so, the result be currently received is sent to other monitoring units in described monitoring unit group except the monitoring unit of the result be currently received described in sending by described retransmission unit;
The monitoring unit of the result be currently received described in receiving using the described result be currently received as respective test result;
If not, the monitoring unit receiving the request of described amendment variable using respective the request of described amendment variable is processed after result as respective test result.
3. method according to claim 2, it is characterized in that, the variable that described model variable description document maps in slave computer comprises: described model variable description document maps the title of the variable in slave computer, attribute and hierarchical structure, and described hierarchical structure is the relation between the variable in described slave computer.
4. method according to claim 3, is characterized in that, the monitoring unit that described retransmission unit starts in described monitoring unit group comprises:
Described retransmission unit starts the monitoring unit in described monitoring unit group according to the priority attribute of the monitoring unit in described monitoring unit group.
5. method according to claim 4, is characterized in that, described monitoring unit group comprises: variable monitoring unit, script test cell, network communication unit and data record unit;
Described retransmission unit receives the amendment variable request that in described monitoring unit group, monitoring unit to be tested sends, and is comprised by other monitoring units that the request of described amendment variable is sent in described monitoring unit group except described monitoring unit to be tested:
Described retransmission unit receives the amendment variable request that in described monitoring unit group, network communication unit sends, and the request of described amendment variable is sent to variable monitoring unit, script test cell and the data record unit in described monitoring unit group except described network communication unit;
Or described retransmission unit receives the amendment variable request that in described monitoring unit group, variable monitoring unit sends, and the request of described amendment variable is sent to script test cell, network communication unit and the data record unit in described monitoring unit group except described variable monitoring unit.
6. a simulation test platform software architecture, is characterized in that, comprising: model variable description document, retransmission unit and multiple monitoring unit;
Described model variable description document is for mapping the variable in slave computer;
Described retransmission unit, for registering the model variable description document corresponding with current test assignment and the monitoring unit group corresponding with current test assignment, described multiple monitoring unit is included in described monitoring unit group, and the monitoring unit started in described monitoring unit group, and receive the amendment variable request that in described monitoring unit group, monitoring unit to be tested sends, and the request of described amendment variable is sent to other monitoring units in described monitoring unit group except sending the monitoring unit of described amendment variable request;
Monitoring unit to be tested in described multiple monitoring unit, for sending the request of amendment variable to described retransmission unit, the amendment variable request that other monitoring units in described multiple monitoring unit except described monitoring unit to be tested send for receiving described retransmission unit, and the described amendment variable request received is processed.
7. framework according to claim 6, is characterized in that, the result after the monitoring unit of described retransmission unit also for receiving the request of described amendment variable described in judging whether to receive processes the request of described amendment variable;
If so, the result be currently received is sent to other monitoring units in described monitoring unit group except the monitoring unit of the result be currently received described in sending by described retransmission unit.
8. framework according to claim 7, is characterized in that, described model variable description document is specifically for mapping the title of the variable in slave computer, attribute and hierarchical structure, and described hierarchical structure is the relation between the variable in described slave computer.
9. framework according to claim 8, it is characterized in that, described retransmission unit is specifically for the registration model variable description document corresponding with current test assignment and the monitoring unit group corresponding with current test assignment, the number of the no more than described multiple monitoring unit of number of the monitoring unit in described monitoring unit group, and the monitoring unit started according to the priority attribute of the monitoring unit in described monitoring unit group in described monitoring unit group, and receive the amendment variable request that in described monitoring unit group, monitoring unit to be tested sends, and other monitoring units request of described amendment variable is sent in described monitoring unit group except sending the monitoring unit of described amendment variable request.
10. framework according to claim 9, is characterized in that, described monitoring unit group comprises: variable monitoring unit, script test cell, network communication unit and data record unit;
The amendment variable request that described retransmission unit sends specifically for receiving network communication unit described in described monitoring unit group, and the request of described amendment variable is sent to variable monitoring unit, script test cell and the data record unit in described monitoring unit group except described network communication unit;
Or described retransmission unit is specifically for receiving the amendment variable request that in described monitoring unit group, variable monitoring unit sends, and the request of described amendment variable is sent to script test cell, network communication unit and the data record unit in described monitoring unit group except described variable monitoring unit.
CN201310109775.8A 2013-03-29 2013-03-29 A kind of simulation test platform software architecture and the method for testing based on this framework Active CN103176904B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310109775.8A CN103176904B (en) 2013-03-29 2013-03-29 A kind of simulation test platform software architecture and the method for testing based on this framework

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310109775.8A CN103176904B (en) 2013-03-29 2013-03-29 A kind of simulation test platform software architecture and the method for testing based on this framework

Publications (2)

Publication Number Publication Date
CN103176904A CN103176904A (en) 2013-06-26
CN103176904B true CN103176904B (en) 2015-08-19

Family

ID=48636799

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310109775.8A Active CN103176904B (en) 2013-03-29 2013-03-29 A kind of simulation test platform software architecture and the method for testing based on this framework

Country Status (1)

Country Link
CN (1) CN103176904B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109240902B (en) * 2017-05-27 2021-03-19 腾讯科技(深圳)有限公司 Method and device for acquiring firmware code of electronic equipment
CN108829081B (en) * 2018-05-29 2020-02-04 北京润科通用技术有限公司 Control system test method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6353897B1 (en) * 1999-01-06 2002-03-05 International Business Machines Corporation Object oriented apparatus and method for testing object oriented software
CN102495796A (en) * 2011-11-25 2012-06-13 中国人民解放军总参谋部第五十四研究所 Software vulnerability test method based on unit testing
CN102760097A (en) * 2011-04-29 2012-10-31 无锡江南计算技术研究所 Computer architecture performance simulation method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2350828A2 (en) * 2008-09-22 2011-08-03 MTS Systems Corporation Testing machine with workflow based test procedure

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6353897B1 (en) * 1999-01-06 2002-03-05 International Business Machines Corporation Object oriented apparatus and method for testing object oriented software
CN102760097A (en) * 2011-04-29 2012-10-31 无锡江南计算技术研究所 Computer architecture performance simulation method and system
CN102495796A (en) * 2011-11-25 2012-06-13 中国人民解放军总参谋部第五十四研究所 Software vulnerability test method based on unit testing

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于HLA架构的无人机飞行仿真系统;熊鹏飞;《中国优秀硕士学位论文全文数据库》;20130228;全文 *

Also Published As

Publication number Publication date
CN103176904A (en) 2013-06-26

Similar Documents

Publication Publication Date Title
CN101241467B (en) Automatized white box test system and method facing to WEB application
CN109117121B (en) AUTOSAR software architecture implementation method
CN110753089B (en) Method, device, medium and electronic equipment for managing client
CN102035896B (en) TTCN-3-based distributed testing framework applicable to software system
CN104579822A (en) Automatic performance test system and method of mobile application based on Http protocol
CN107608901B (en) Jmeter-based testing method and device, storage medium and electronic equipment
CN104483959A (en) Fault simulation and test system
CN105528290A (en) Construction method of script-based embedded software simulation and test integrated platform
CN103544100A (en) Method, system and client side for testing APP of portable data processing equipment
CN103077024A (en) Device and method for supporting customization and running of software-as-a-service (SaaS) application processes
CN105451154A (en) Vehicle-mounted information system and control method thereof
CN103678130A (en) Automated performance test method and platform
CN105630683A (en) Cloud testing architecture
CN106294184A (en) The graphical creation method of test scene, device and terminal unit
CN114896108A (en) Test verification system
CN103176904B (en) A kind of simulation test platform software architecture and the method for testing based on this framework
CN102291274A (en) System and method for realizing automatic adaptation of network testing instrument
CN109684148B (en) Airborne embedded software virtual bus communication construction method based on ARINC653
CN103399776B (en) Reusable MOCK creation method and system
CN113094081B (en) Software release method, device, computer system and computer readable storage medium
CN113849399A (en) Automatic testing system and method for multi-machine cooperative software under multi-localization platform
CN107818010A (en) The method and apparatus switched between different maps
CN107579871B (en) Method and system for generating distributed test script based on model detection
CN109102248A (en) Amending method, device and the computer readable storage medium of nodal information
CN101217332A (en) Alarming test method and test control platform of synchronous digital system device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 4 / F, building 1, No.14 Jiuxianqiao Road, Chaoyang District, Beijing 100020

Patentee after: Beijing Jingwei Hengrun Technology Co., Ltd

Address before: 100101 Beijing city Chaoyang District Anxiang Beili 11 B block 8 layer

Patentee before: Beijing Jingwei HiRain Technologies Co.,Ltd.

CP03 Change of name, title or address