CN102769665A - Radio frequency test instrument sharing system and application method thereof - Google Patents

Radio frequency test instrument sharing system and application method thereof Download PDF

Info

Publication number
CN102769665A
CN102769665A CN2012102174297A CN201210217429A CN102769665A CN 102769665 A CN102769665 A CN 102769665A CN 2012102174297 A CN2012102174297 A CN 2012102174297A CN 201210217429 A CN201210217429 A CN 201210217429A CN 102769665 A CN102769665 A CN 102769665A
Authority
CN
China
Prior art keywords
instrument
service subsystem
virtual
test subsystems
client test
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012102174297A
Other languages
Chinese (zh)
Other versions
CN102769665B (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.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment 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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201210217429.7A priority Critical patent/CN102769665B/en
Publication of CN102769665A publication Critical patent/CN102769665A/en
Application granted granted Critical
Publication of CN102769665B publication Critical patent/CN102769665B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention discloses a radio frequency (RF) test instrument sharing system and an application method thereof. A client test subsystem is independently connected with a to-be-tested device; a virtual instrument service subsystem correspondingly controls and operates a specific instrument, and obtains a test result according to operation data provided by the instrument; particularly, when a plurality of client test subsystems are comprised and each of the client test subsystems is respectively and independently connected to different to-be-tested devices, resource conflict and complex program design are avoided, and in addition, a plurality of to-be-tested devices share the same set of physical instrument subsystem, therefore, one to-be-tested device cannot affect the normal operation or the execution of other task processing of other to-be-tested devices during using a certain instrument; and after the one to-be-tested device uses the instrument, the other to-be-tested devices can continuously use the instrument, as a result, the instrument can be fully utilized.

Description

Radio frequency testing instrument shared system and method for using thereof
Technical field
The present invention relates to communication technical field, particularly a kind of radio frequency testing instrument shared system and method for using thereof.
Background technology
Shown in Figure 1A, be the structural representation of the shared radio frequency test system of non-instrument of the prior art, the shortcoming of such system is that utilization rate of equipment and installations is low.
In radio frequency series products test macro, mainly can be divided into the three major types operation:
1, uses the receptivity index test of signal source.
2, use the emitting performance index test of signal analyzer.
3, not other operation of instrumentation realizes complex calculation etc. like wiring, startup initialization and use computer.
In Auto-Test System, the operation of this three major types can not carried out simultaneously, and this specific character makes instrument in that very the most of the time is to be in idle condition.The mode that combines with signal source and signal analyzer is an example, and in normal test process, signal analyzer is idle during signal source work, and signal source is idle during signal analyzer work; Like the computing in dealing with complicated, when the startup of equipment under test and self computing test, two equipment all are idle, and the practical efficiency of instrument is merely 10% ~ 20%.
Shown in Figure 1B; Be the structural representation of the shared radio frequency test system of instrument based on this accessing of the prior art, this system can realize testing simultaneously a plurality of products, when product 1 uses signal source; Product 2 uses signal analyzer or carries out other operation; Make two products carry out interactive testing, in the ideal case, this mode also can effectively improve the instrument utilance.
In realizing process of the present invention, the inventor finds to exist at least in the prior art following problem:
On the one hand, the shared radio frequency test system of non-instrument, the instrument utilance is low.
On the other hand, based on the shared radio frequency test system of the instrument of this accessing, there is following defective again:
When 1, using certain limitation is arranged, if in system, exist some equipment that needs fixed resource just can't use.As in the product test of base station; RRU (Radio Remote Unit; Remote Radio Unit) and subtest equipment B BU (Base Band Unit, baseband processing unit) all need use fixing IP and port address, can't realize that in this case instrument is multiplexing.
2, can increase the complexity of programming and the difficulty of application operating.Owing to when programming, need consider the correlative detail that the instrument mutual exclusion is used; Can increase the difficulty of programming; Simultaneously realize that a system a plurality of products test simultaneously, if the test of one of them product goes wrong, the other products that just might have influence on same system is tested.
3, can't realize that a plurality of systems and a plurality of product use a cover instrument simultaneously; This makes when multiple product is produced simultaneously; Instrument need be between the test macro of different product switch application repeatedly; This switching is not only wasted time and energy, and can not adjust the quantity of shared system according to the load of instrument, can not realize that promptly the full load of instrument is used.
In sum, lack in the prior art and a kind ofly can guarantee the instrument utilance, can realize the radio frequency test system that instrument is shared easily avoiding programming complicated and frequently switch under the situation of the wasting of resources that instrument brings again.
Summary of the invention
The embodiment of the invention provides a kind of radio frequency testing instrument shared system and method for using thereof; Solve to lack in the existing technical scheme and a kind ofly can guarantee the instrument utilance; Can realize the problem of the radio frequency test system that instrument is shared easily avoiding programming complicated and frequently switch under the situation of the wasting of resources that instrument brings again.
For achieving the above object; The embodiment of the invention provides a kind of method for using of radio frequency testing instrument shared system on the one hand; Be applied to comprise at least a physics instrument subsystem, a virtual instrument service subsystem; And in the system of at least one client test subsystems, a said client test subsystems is used for equipment to be tested of separate connection, and said method may further comprise the steps at least:
When a said client test subsystems need to be used instrument in the said physics instrument subsystem in test process, said virtual instrument service subsystem receive said client test subsystems that sent with connection request said instrument;
Be connected if exist between said virtual instrument service subsystem and the said instrument; Then said virtual instrument service subsystem receives said client test subsystems through calling the operation indication to said instrument that long-range driving function sends, and according to said operation indication said instrument is carried out control corresponding and operation;
Said virtual instrument service subsystem returns the operating data of said instrument to said client test subsystems, obtains corresponding test result so that said client test subsystems according to said operating data, is handled.
On the other hand, the embodiment of the invention also provides a kind of radio frequency testing instrument shared system, comprises a physics instrument subsystem, a virtual instrument service subsystem at least, and at least one client test subsystems, wherein:
Said client test subsystems; Be used for equipment to be tested of separate connection; Execution is to the test of said equipment to be tested, when needs use instrument in the said physics instrument subsystem, to the connection request of said virtual instrument service subsystem transmission with said instrument; If successful connection; Then indicate to said instrument transmit operation through said virtual instrument service subsystem, and the operating data of the said instrument of returning according to said virtual instrument service subsystem, handle obtaining corresponding test result;
Said virtual instrument service subsystem; Be used to receive said client test subsystems that sent with connection request said instrument; If self with said instrument between exist and be connected; Then send the pairing identification information of said connection to said client test subsystems, the virtual instrument thread between establishment and the said client test subsystems receives the operation indication to said instrument that said client test subsystems is sent simultaneously; According to said operation indication said instrument is carried out control corresponding and operation, and return the operating data of said instrument to said client test subsystems;
Said physics instrument subsystem is used for handling accordingly according to the control and the operation of said virtual instrument service subsystem, and returns corresponding operating data to said virtual instrument service subsystem.
Compared with prior art, the technical scheme that the embodiment of the invention proposed has the following advantages:
Through using the technical scheme of the embodiment of the invention; By client test subsystems separate connection equipment to be tested, through the virtual instrument service subsystem concrete instrument is realized control corresponding and operation, and the operating data of returning according to this instrument obtains test result; Especially in system, comprise a plurality of client test subsystems; And during each client test subsystems equipment to be tested that separate connection is different respectively, not only can avoid the complicated of resource contention and programming, and can realize shared to same set of physics instrument subsystem of a plurality of equipment to be tested; Thereby; When an equipment to be tested uses some instrument, can not influence the carrying out that other equipment to be tested is handled normal use or other task of all the other instrument, but also can be after this equipment to be tested uses this instrument; Continue to use this instrument by other equipment to be tested, reach the purpose that makes full use of instrument.
Description of drawings
Figure 1A is the structural representation of the shared radio frequency test system of non-instrument of the prior art;
Figure 1B is the structural representation of the shared radio frequency test system of instrument based on this accessing of the prior art;
Fig. 2 is the schematic flow sheet of the method for using of a kind of radio frequency testing instrument shared system that the embodiment of the invention proposed;
Fig. 3 is the structural representation of the radio frequency testing instrument shared system of passing through instrument drive remote access realization under a kind of concrete application scenarios that the embodiment of the invention proposed;
Fig. 4 is the remote access schematic flow sheet of driving under a kind of concrete application scenarios that the embodiment of the invention proposed;
Fig. 5 is the schematic flow sheet of a kind of connection management mode that the embodiment of the invention proposed;
Fig. 6 is the structural representation of the remote access software configuration layering of non-driving block diagram;
Fig. 7 is the sketch map of the software hierarchy structure of the radio frequency testing instrument shared system under a kind of concrete application scenarios that the embodiment of the invention proposed;
Fig. 8 is the sequence contrast sketch map before a kind of improvement that the embodiment of the invention proposed and after improving;
Fig. 9 is the working condition sketch map of two client test subsystems of the method for using of the application radio frequency testing instrument shared system under a kind of concrete application scenarios that the embodiment of the invention proposed;
Figure 10 is the structural representation of a kind of radio frequency testing instrument shared system of embodiment of the invention proposition.
Embodiment
Of background technology; Radio frequency test system is realized mainly comprising two types at present; One type is the shared radio frequency test system of non-instrument, and its instrument utilance is not high, the another kind of shared radio frequency test system of instrument that is based on this accessing; It exists handles resource contention, programming complicacy easily under the special scenes, instrument is switched problems such as complicacy.
In order to overcome such defective; The embodiment of the invention has proposed a kind of method for using of radio frequency testing instrument shared system; In system, comprise at least one client test subsystems,, concrete instrument is realized control corresponding and operation through the virtual instrument service subsystem by client test subsystems separate connection equipment to be tested; And the operating data of returning according to this instrument obtains test result; Wherein the virtual instrument service subsystem carries out rational management and management to each client test subsystems to taking of instrument, improves on the one hand the utilization rate of instrument, avoids frequently switching the waste of the manpower and materials that instrument and corresponding program complex designization brought on the other hand; In said system; Through the management of virtual instrument service subsystem,, self all be to occupy a physics instrument subsystem alone in each client test subsystems.
As shown in Figure 2; Schematic flow sheet for the method for using of a kind of radio frequency testing instrument shared system that the embodiment of the invention proposed; Be applied to comprise at least a physics instrument subsystem, a virtual instrument service subsystem; And in the system of at least one client test subsystems, a said client test subsystems is used for equipment to be tested of separate connection, and this method specifically may further comprise the steps:
Step S201, when a said client test subsystems need to be used instrument in the said physics instrument subsystem in test process, said virtual instrument service subsystem receive said client test subsystems that sent with connection request said instrument.
After this step was accomplished, the virtual instrument service subsystem need carry out the state recognition flow process of corresponding connection, thereby determines whether to carry out the corresponding subsequent processing flow process according to the state recognition result, specifies as follows:
At first, the virtual instrument service subsystem is searched self and the current connection status of the pairing instrument of above-mentioned connection request in connecting tabulation.
Through corresponding connection tabulation, the virtual instrument service subsystem has write down self current foundation with which instrument instrument to be connected.
In concrete processing scene, each client test subsystems all can be connected with the virtual instrument service subsystem through the public Internet, but the virtual instrument service subsystem is not all to set up separately and being connected of instrument for the client test subsystems that each request connects instrument; The virtual instrument service subsystem at most only need be set up a connection to each instrument; And no matter how many client test subsystems need connect this instrument, all can only use this connection and instrument to operate accordingly and data interaction according to the scheduling of virtual instrument service subsystem; On the one hand; Avoided the multi-link shared conflict that causes, and on the one hand, in each client test subsystems; Self all be independently to occupy this instrument, guaranteed the independence of the test processes in the client test subsystems.
The virtual instrument service subsystem is taked corresponding subsequent processing according to corresponding connection status recognition result.
Current the existence is connected if said virtual instrument service subsystem is confirmed self and said instrument, and then said virtual instrument service subsystem foundation is connected with said instrument.Set up successfully if connect; Said virtual instrument service subsystem sends the pairing identification information of said connection to said client test subsystems; Virtual instrument thread between establishment and this client test subsystems is realized being connected with the client test subsystems of sending connection request, in follow-up processing procedure simultaneously; Can receive the instrument operational order that this client test subsystems is sent through this virtual instrument thread; On the contrary, set up failure if connect, said virtual instrument service subsystem sends error message to said client test subsystems.
If said virtual instrument service subsystem confirms that self is connected with the current existence of said instrument, then said virtual instrument service subsystem sends the pairing identification information of said connection to said client test subsystems.
On the other hand; Owing to be that the virtual instrument service subsystem is dispatched, therefore, the situation that a plurality of client test subsystems need be connected with same instrument may appear; For such situation, need carry out auxiliary processing through the mode that the pairing counter of instrument is counted.
According to the lookup result of aforesaid connection status, as follows to the corresponding subsequent processing explanation:
If do not having to have received the request that connects with this instrument, so under the situation about connecting with instrument; At first need set up with this instrument between be connected, and, the pairing counter of this instrument is added a processing to should connection request; Then, should connect pairing identification information to this client test subsystems transmission, and through above-mentioned connection; Carry out the processing of corresponding client test subsystems, promptly this client test subsystems takies this instrument and handles.
And if connected, and when having had the client test subsystems to take this connection, the request that connects with this instrument that the virtual instrument service subsystem has received again that other client test subsystems are sent; So; The pairing counter of this instrument is proceeded to add a processing, then, should connect pairing identification information to corresponding client test subsystems transmission; Create simultaneously and the client test subsystems between the virtual instrument thread; Realize being connected, in follow-up processing procedure, can receive the instrument operational order that this client test subsystems is sent through this virtual instrument thread with the client test subsystems of sending connection request; And this instrument operational order put into indicator sequence to be carried out; Up to this connection current finish dealing with after, give other client test subsystems of waiting to carry out in the indicator sequence in order with the right to occupation of this connection, carry out the processing of corresponding client test subsystems.
Need to prove; The virtual instrument service subsystem is put into the order of waiting to carry out indicator sequence with corresponding connection request and can be confirmed according to preset processing rule; For example: the time sequencing that receives connection request; The priority orders of the pairing client test subsystems of connection request etc. are enumerated at this no longer one by one, and the variation of concrete rule can't influence protection scope of the present invention.
What need further specify is; For fear of setting up the wasting of resources that useless connection brings; Each client test subsystems is finished corresponding the processing through connection after; The virtual instrument service subsystem all can subtract a processing to the pairing counter of this instrument, and, when the count value of the pairing counter of this instrument is zero; Be currently to no longer include any client test subsystems and need be connected with this instrument, the virtual instrument service subsystem is directly deleted the pairing connection of this instrument.
Certainly, thisly characterize to connect pairing processing through counter to carry out the scheme of quantity be the given a kind of preferred exemplary of the embodiment of the invention, whether can't influence protection scope of the present invention with such scheme.
Need to prove; No matter be which kind of above-mentioned situation; The pairing identification information of connection that the virtual instrument service subsystem is sent to the client test subsystems all is set up successfully in order the client test subsystems to be known connect; And can know to connect with instrument through which bar and connect, in concrete processing scene, the identification information of above-mentioned connection can be specially this and connect pairing handle information.
After this step is accomplished, under the situation that existence is connected between said virtual instrument service subsystem and said instrument, execution in step S202.
Step S202, said virtual instrument service subsystem receive said client test subsystems through calling the operation indication to said instrument that long-range driving function sends, and according to said operation indication said instrument are carried out control corresponding and operation.
In concrete processing scene, the processing procedure of this step specifically comprises:
When said virtual instrument service subsystem receive that said client test subsystems sent carry the long-range execution request of said function data bag the time; Said virtual instrument service subsystem reads said function data bag; Reduce said long-range driving function, and configuration relevant parameters information;
Said virtual instrument service subsystem is carried out said long-range execution according to said long-range driving function and is asked pairing control and/or operation.
Wherein, the long-range execution request of carrying said function data bag that above-mentioned said client test subsystems is sent specifically generates in the following manner:
Said client test subsystems is called long-range driving function according to the demand of current test operation;
Said client test subsystems is according to said long-range driving function and relevant parameters information generating function packet;
Said client test subsystems is sent the long-range execution request of carrying said function data bag to said virtual instrument service subsystem.
Need further be pointed out that; In order further to show the instrument current working state, whether can further introduce the scheme of lock-out state in the embodiment of the invention for corresponding client test subsystems provides service so that definite this instrument is current; Taking instrument through connection a client test subsystems carries out under the situation of test processes; This instrument is in the lock state, and after this test processes finished, lock-out state was removed.
Concrete, mentioned said virtual instrument service subsystem receives said client test subsystems through after the operation indication to said instrument of calling long-range driving function and sending in this step, also comprises following processing:
Whether said virtual instrument service subsystem is judged that said instrument is current and is in the lock state;
If judged result is for denying; Said virtual instrument service subsystem carries out control corresponding and operation according to said operation indication to said instrument; And said instrument switched to lock-out state, after said control and operation are accomplished, said instrument is switched to unlock state;
If judged result is for being, said virtual instrument service subsystem adds said operation indication to said instrument pairing indicator sequence to be carried out according to the sequencing of the time that receives said operation indication.
Need to prove, after said virtual instrument service subsystem switches to unlock state with said instrument, also comprise:
Said virtual instrument service subsystem is judged that said instrument is pairing and is waited to carry out whether preserve operation indication in the indicator sequence;
If judged result is for being; The prepreerence operation indication of said virtual instrument service subsystem taking-up order; According to said operation indication said instrument is carried out control corresponding and operation; And said instrument switched to lock-out state, after said control and operation are accomplished, said instrument is switched to unlock state.
Need to prove; The virtual instrument service subsystem is put into the order of waiting to carry out indicator sequence with corresponding connection request and can be confirmed according to preset processing rule; For example: the time sequencing that receives connection request; The priority orders of the pairing client test subsystems of connection request etc. are enumerated at this no longer one by one, and the variation of concrete rule can't influence protection scope of the present invention.
Step S203, said virtual instrument service subsystem return the operating data of said instrument to said client test subsystems, obtain corresponding test result so that said client test subsystems according to said operating data, is handled.
In concrete processing scene, said virtual instrument service subsystem also comprises after said client test subsystems is returned the operating data of said instrument:
Said virtual instrument service subsystem judges whether said client test subsystems finishes the operating process of said instrument;
If judged result is not, said virtual instrument service subsystem returns and continues the operation indication to said instrument that the said client test subsystems of wait is sent;
If judged result is for being, said virtual instrument service subsystem subtracts one to the pairing counter of said instrument, finish simultaneously with this client test subsystems between the virtual instrument thread, being connected between disconnection and this client test subsystems.
Referring to the description among the aforesaid step S201, said virtual instrument service subsystem subtracts after one the pairing counter of said instrument, also comprises:
Said virtual instrument service subsystem judges whether the current value of the pairing counter of said instrument is zero;
If judged result is for being, said virtual instrument service subsystem deletion is connected with said instrument.
Corresponding, in client test subsystems and physics instrument subsystem side, the transmission that need indicate accordingly and processing procedure, concrete processing mode are referring to above-mentioned explanation, and be corresponding with it, at this, and no longer repeat specification.
Compared with prior art, the technical scheme that the embodiment of the invention proposed has the following advantages:
Through using the technical scheme of the embodiment of the invention; By client test subsystems separate connection equipment to be tested, through the virtual instrument service subsystem concrete instrument is realized control corresponding and operation, and the operating data of returning according to this instrument obtains test result; Especially in system, comprise a plurality of client test subsystems; And during each client test subsystems equipment to be tested that separate connection is different respectively, not only can avoid the complicated of resource contention and programming, and can realize shared to same set of physics instrument subsystem of a plurality of equipment to be tested; Thereby; When an equipment to be tested uses some instrument, can not influence the carrying out that other equipment to be tested is handled normal use or other task of all the other instrument, but also can be after this equipment to be tested uses this instrument; Continue to use this instrument by other equipment to be tested, reach the purpose that makes full use of instrument.
Below, the application scenarios in conjunction with concrete describes the technical scheme that the embodiment of the invention proposed.
The technical scheme that the embodiment of the invention proposed can be applied to radio frequency series products Design of Test System, especially in the production test system, can improve the utilance of testing meter and instrument to greatest extent.
This method is accomplished the long-range of instrument drive based on the C/S framework and is shared, and in server end operation virtual instrument service routine, can also move a client test program, promptly need not independent computer as server; And need not to dispose instrument in pure client test subsystems, but pass through the virtual instrument service subsystem of the public network access server end of test macro, accomplish operation indirectly to true instrument.Carry out Design of Test System based on this mode; The developer thinks all the time oneself to have and overlaps independently instrument resource; Need not to consider the multiplexing problem of instrument in the development process, in operation and application, also kept the flexible and convenient of " system's one cover instrument " mode.
As shown in Figure 3, be the structural representation of the radio frequency testing instrument shared system of passing through instrument drive remote access realization under a kind of concrete application scenarios that the embodiment of the invention proposed.
In Fig. 3; The part that B marks in the zone had both realized the function of server (being aforesaid virtual instrument service subsystem); Also realized the function of client test subsystems, the a-quadrant is the client test subsystems, can be any configuration of 0 cover or many covers; It is the instrument that needs share and access that C marks in the zone part, promptly aforesaid physics instrument subsystem.
In said system; A plurality of equipment under tests and subtest equipment are in the different client side test subsystems, have solved based on the insoluble fixed resource kind equipment that needs in the shared radio frequency test system of the instrument of this accessing and can't realize the problem that instrument is multiplexing.
Compared with prior art, the key of above-mentioned system is to drive remote access realization.Drive remote access and be meant the process of calling long-range driving function through certain mechanism, the scene that this mechanism realizes is following:
System is divided into 3 basic modules:
1, remote dummy instrument service module (Server) is deployed on the virtual instrument service subsystem, is used for receiving and administrative client (being the client test subsystems) request, and carries out corresponding instruction.
2, function encapsulated delivery module (DataComm) is deployed on virtual instrument service subsystem or the client test subsystems, is used to realize the function and the parameter information packing of client and service end and transmit.
3, client modules (Client) is deployed on the client test subsystems, is used for substituting original local driving, this locality is driven visit become long-range driving visit.
As shown in Figure 4, be the remote access schematic flow sheet of driving under a kind of concrete application scenarios that the embodiment of the invention proposed.
Step S401, Client call driving function, and notice DataComm.
Step S402, DataComm packing driving function and relevant parameters information.
The information that it is good that step S403, DataComm will pack is carried in the long-range execution request and sends to Server.
Through the processing of above-mentioned steps S401 to step S403, the type function that Client will carry out in advance, title and parameter information are packed through DataComm and are sent Server.
After this step was carried out end, DataComm directly began the processing of step S408.
The request message of step S404, Server circular wait Client after the virtual instrument thread starts is judged the current request message that whether receives Client.
Mentioned herein and the virtual instrument thread start the state be after the virtual instrument thread creation, the constructive process of concrete virtual instrument thread is referring to the description of abovementioned steps S201 to the step S203, in this no longer repeat specification.
If judged result is returned step S404 for not, continue to wait for;
If judged result is for being execution in step S405.
Step S405, Server carry out the long-range execution request that Client sent.
Step S406, Server return implementation status to DataComm, are about to execution result and return to Client through DataComm.
Through the processing of above-mentioned steps S404 to step S406; After the Server end listens to the request of Client, with reading relevant packet, the line parameter of going forward side by side reduction; Carry out relevant operation by the requirement of Client again, after the completion object information is returned to Client through DataComm.
After step S406 was complete, Server continued execution in step S407.
Step S407, Server judge whether performed long-range execution request finishes.
If judged result is for being, then Server finishes this virtual instrument thread corresponding process operations;
If judged result is then returned step S404 for not, proceed circular wait.
Step S408, DataComm wait for the execution result that Server returns, and judge the current execution result that Server returns that whether receives.
If judged result is returned step S408 for not, continue to wait for;
If judged result is for being execution in step S409.
Step S409, DataComm obtain corresponding execution result, and send to Client.
Step S410, Cient handle according to received execution result accordingly, confirm corresponding test result.
Client is receiving the execution result of Server, and after confirming corresponding test result, just accomplishes once long-range implementation.
But the test processes process of one whole possibly comprise a plurality of implementations, therefore, also need carry out follow-up step S411.
Step S411, Client judge whether current processing procedure finishes.
If judged result is returned step S401 for not, proceed other tests;
If judged result is for being, then Client finishes corresponding process operations.
Need further be pointed out that; In the time of on realizing the virtual instrument service subsystem,, instrument possibly connect a plurality of client test subsystems simultaneously because sharing, so; For avoiding connecting situation about too much leading to the failure; Connection management mode below system has adopted, its concrete schematic flow sheet is as shown in Figure 5, may further comprise the steps:
Circular wait client test subsystems is sent after startup carries out connection requests with instrument for step S501, virtual instrument service subsystem, promptly judges the current connection request that whether receives the client test subsystems.
If judged result is returned step S501 for not, continue to wait for;
If judged result is for being execution in step S502.
Step S502, virtual instrument service subsystem are searched self connection status current and corresponding instrument to connecting in the tabulation.
If the virtual instrument service subsystem is confirmed current the existence and being connected of this instrument, then execution in step S505;
If the virtual instrument service subsystem confirms currently do not have to exist and being connected of this instrument, then execution in step S503.
Step S503, the establishment of virtual instrument service subsystem are connected with this instrument.
Step S504, virtual instrument service subsystem judge to connect whether create success.
If success, execution in step S505;
If unsuccessful, execution in step S506.
Step S505, virtual instrument service subsystem return this to the client test subsystems and connect pairing handle; And the virtual instrument thread between establishment and this client test subsystems; Realize being connected with the client test subsystems of sending connection request; Then, return step S501 and continue to wait for other follow-up connection requests.
Promptly notify this client test subsystems, completion has been set up in current connection, can carry out subsequent treatment.
Step S506, virtual instrument service subsystem send error message to the client test subsystems.
Promptly notify this client test subsystems; Failure is set up in current connection, thereby the connection request that makes this client test subsystems initiate this instrument is again perhaps directly abandoned and being connected of this instrument; Carry out other processing; Certainly, the processing of concrete client test subsystems can be provided with according to actual needs, and such variation does not influence protection scope of the present invention.
Through above-mentioned explanation; The long-range driving and the processing scheme that is connected the process of foundation of the technical scheme that the embodiment of the invention proposed have been set forth; Below, from the angle of software hierarchy structure, the radio frequency testing instrument shared system that the embodiment of the invention proposed is specified.
At first, in existing radio frequency test system, the control of instrument need provide the instrument drive module to realize that in a kind of concrete application scenarios, the remote access software configuration layering of non-driving block diagram specifically can be as shown in Figure 6 usually.
In structure shown in Figure 6, the superiors are the test case layer of test product, are through the multiplexing Code Design of this layer realization instrument in traditional approach, and the intermediate layer is respectively instrument drive layer, VISA Drive Layer and hardware articulamentum, and bottom is a layers of physical devices.
Test instrumentation industry connection standard has GPIB and LAN usually, and the test development interface can use GPIB driving, LAN to drive and VISA drives (API).
In structure shown in Figure 6, all layers are all realized in same computer, can't support the mode of the shared cover instrument of a plurality of test macros.
Because it is that hardware connection mode such as GPIB and LAN provide unified interface that VISA drives; So; The embodiment of the invention selects for use VISA to come the software hierarchy structure of radio frequency test instrumentation shared system is described as the unified interface of software programming equally; As shown in Figure 7, be the sketch map of the software hierarchy structure of the radio frequency testing instrument shared system under a kind of concrete application scenarios that the embodiment of the invention proposed.
Drive the remote access layer through between instrument drive layer and VISA Drive Layer, adding one deck, comprise Remote Visa and virtual instrument service two parts, individual system just can be divided into a cover virtual instrument service subsystem and many cover client test subsystems.Through driving the adding of remote access layer, a plurality of test subsystems just can be used a cover instrument simultaneously, and need not to be concerned about the type of testing equipment.
In the instrument access process, guarantee that for needs the instrument of a complete operation is used, we have defined " Lock " and " UnLock " two methods at Remote Visa (long-range visa drives calling module).Before the instrument of a complete operation is used; Call " Lock " method; Completion is called " UnLock " method to the lock operation of instrument after the complete end of job, accomplish the release to instrument; Which kind of instrument what " Lock " that Remote Visa provides and " UnLock " can differentiate automatically that client need lock is; The correct control with the specified type instrument is given the client of at first filing a request, treat this client call " UnLock " after, the control of instrument can be given next requesting client automatically.Before improving with improve after the sequence contrast as shown in Figure 8.
Layering through above system improves design, and the mode that just can use a plurality of test subsystems shared to overlap instrument realizes that instrument shares test macro.With a typical single antenna RRU system test is example, and the one piece testing time is 24 minutes before use test instrument shared system, and be 4 minutes the service time of signal source, and be 5 minutes the service time of signal analyzer.In general the most of the time of test does not have instrumentation, and signal source and yet use simultaneously of signal analyzer, and the signal analyzer utilance is 20.93%, and the utilance of signal source is 18.75%, and the comprehensive utilization ratio of test macro instrument is very low.It is as shown in the table:
Table 1 uses the preceding time Distribution Statistics situation of shared system
Figure 279731DEST_PATH_IMAGE001
After using the instrument shared system; When a client test subsystems is used signal analyzer therein; Other client test subsystems can be done other operation or use signal source; Vice versa, makes that two test subsystems can concurrent working and interactive testing, and the instrument utilance can significantly improve like this.
Concrete, starting simultaneously with two client test subsystems, the situation of carrying out concurrent working is an example, and the working condition of above-mentioned instrument shared system is described.
Through actual measurement, corresponding data are as shown in table 2:
Table 2 uses the later time Distribution Statistics situation of shared system
Figure 164511DEST_PATH_IMAGE002
According to above-mentioned test data, using identical the measurement under rule and the situation in proper order with table 1, the working condition of two client test subsystems is as shown in Figure 9; Because test subsystems 2 need could continue to use this instrument after test subsystems 1 uses an instrument; Therefore, the stand-by period section shown in the figure bend can appear, in Fig. 9; The duration of such stand-by period section is 180S altogether, is the newly-increased instrument stand-by period shown in the table 2.
Can find out from test data; The instrument utilance of test subsystems 1 equals original test macro; And under the situation that does not increase instrument, utilize the vacant time of instrument to realize the test of test subsystems 2 making the utilance of instrument bring up to original 1.8 times.
After realizing that instrument is shared multiplexing, the utilance of instrument is significantly improved, but still less than 50%, shares client-end subsystem if continue to increase, and the instrument utilance also can further improve.Should bring up to 100% utilance in the ideal case, therefore in concrete the application, should consider the instrument utilance of previous system, calculate suitable shared instrument subsystem quantity again.
In the design process of whole system, only increased driving remote access partial code, and the exploitation of other part system and maintenance all need not extra input.Because the development of Auto-Test System mainly concentrates in the design of product use-case and product driving; And long-range driving access system is an independent level; Its modification and add transparently fully to upper layer application, what promptly the developer of use-case need not to consider to use is local the driving or long-range driving.The instrument shared system that non-driving remote access before comparing realizes, the cost that this system greatly reduces exploitation and safeguards.
In addition, native system is used and is efficiently solved because the multiplexing hardware conflicts problem of local instrument that RRU and subtest equipment B BU require fixed port to cause.The instrument shared system that non-driving remote access before comparing realizes, the application that this system can be wider has embodied in application and the irrelevant characteristic of equipment under test.
Compared with prior art, the technical scheme that the embodiment of the invention proposed has the following advantages:
Through using the technical scheme of the embodiment of the invention; By client test subsystems separate connection equipment to be tested, through the virtual instrument service subsystem concrete instrument is realized control corresponding and operation, and the operating data of returning according to this instrument obtains test result; Especially in system, comprise a plurality of client test subsystems; And during each client test subsystems equipment to be tested that separate connection is different respectively, not only can avoid the complicated of resource contention and programming, and can realize shared to same set of physics instrument subsystem of a plurality of equipment to be tested; Thereby; When an equipment to be tested uses some instrument, can not influence the carrying out that other equipment to be tested is handled normal use or other task of all the other instrument, but also can be after this equipment to be tested uses this instrument; Continue to use this instrument by other equipment to be tested, reach the purpose that makes full use of instrument.
In order to realize the technical scheme of the embodiment of the invention; The embodiment of the invention also provides a kind of radio frequency testing instrument shared system; At least comprise a physics instrument subsystem, a virtual instrument service subsystem; And at least one client test subsystems, its structural representation is shown in figure 10:
Said client test subsystems 101; Be used for equipment to be tested of separate connection; Execution is to the test of said equipment to be tested, when needs use instrument in the said physics instrument subsystem, to the connection request of said virtual instrument service subsystem transmission with said instrument; If successful connection; Then indicate to said instrument transmit operation through said virtual instrument service subsystem, and the operating data of the said instrument of returning according to said virtual instrument service subsystem, handle obtaining corresponding test result;
Said virtual instrument service subsystem 102; Be used to receive said client test subsystems 101 that sent with connection request said instrument; If self with said instrument between exist and be connected; Then send the pairing identification information of said connection to said client test subsystems 101, the virtual instrument thread between establishment and the said client test subsystems 101 receives the operation indication to said instrument that said client test subsystems 101 is sent simultaneously; According to said operation indication said instrument is carried out control corresponding and operation, and return the operating data of said instrument to said client test subsystems 101;
Said physics instrument subsystem 103 is used for handling accordingly according to the control and the operation of said virtual instrument service subsystem 102, and returns corresponding operating data to said virtual instrument service subsystem 102.
In the application scenarios of reality,
Said virtual instrument service subsystem 102 is deployed on the said client test subsystems 101 pairing physical equipments; Or,
Said virtual instrument service subsystem 102 is deployed in independently on the physical equipment.
In concrete processing scene, when said system comprised a plurality of client test subsystems 101, each said client test subsystems 101 was connected with the public Internet respectively.
Further said client test subsystems 101 specifically comprises:
Client process equipment 1011 is used to connect equipment to be tested, carries out corresponding test processes; When needs use instrument in the said physics instrument subsystem 103; Call long-range driving function, and, handle obtaining corresponding test result according to the operating data of returning;
Transmission equipment 1012; Be used for the long-range driving function and the relevant parameters information generating function packet that are called according to said client process equipment 1011; Send the long-range execution request of carrying said function data bag to said virtual instrument service subsystem 102; And when receiving the operating data that said virtual instrument service subsystem 102 returns, transmit to said client process equipment 1011.
Concrete, said client test subsystems 101 specifically is connected with said virtual instrument service subsystem 102 through long-range VISA interface, and said long-range VISA interface specifically is used for:
Call with said operation and indicate corresponding locking indication and latch-release indication; To indicate said virtual instrument service subsystem 102 when beginning to carry out said operation indication; Said instrument is switched to lock-out state; Or after said operation indication is complete, said instrument is switched to unlock state.
On the other hand, said virtual instrument service subsystem 102 specifically comprises:
First receiver module 1021 is used to receive said client test subsystems 101 sent foundation with being connected of said instrument and asks;
Search module 1022, be used for searching said virtual instrument service subsystem 102 and the current connection status of said instrument in the connection tabulation;
Connection management module 1023 is used for confirming that said virtual instrument service subsystems 102 and said instrument are current and not existing when being connected in the said module 1022 of searching, and sets up being connected of said virtual instrument service subsystem 102 and said instrument;
First sending module 1024; Be used for after said connection management module 1023 connects success; Send the pairing identification information of said connection to said client test subsystems 101; Notify the virtual instrument thread between said connection management module 1023 establishments and the said client test subsystems 101 simultaneously, or after said connection management module 1023 connects failure, send error messages to said client test subsystems 101.
Further, said virtual instrument service subsystem 102 also comprises:
Counting module 1025 is used for confirming that said virtual instrument service subsystems 102 and said instrument are current and having existed when being connected in the said module 1022 of searching, and the pairing counter of said instrument is added one;
Said first sending module 1024; Also be used for after 1025 pairs of pairing counters of said instrument of said counting module add one; Send the pairing identification information of said connection to said client test subsystems 101, notify the virtual instrument thread between said connection management module 1023 establishments and the said client test subsystems 101 simultaneously.
In the concrete application scenarios of another kind, said virtual instrument service subsystem 102 also comprises processing module 1026, second sending module 1027 and second receiver module 1028:
Said first receiver module 1021 also is used to receive the long-range execution request of carrying said function data bag that said client test subsystems 101 is sent;
Said processing module 1026 is used to read the received function data bag of said first receiver module 1021, reduces said long-range driving function and configuration relevant parameters information;
Said second sending module 1027 is used for according to said long-range driving function, said instrument is carried out said long-range execution ask pairing control and/or operation;
Said second receiver module 1028 is used to receive the operating data that said instrument returns;
Said first sending module 1024 also is used for the received operating data of said second receiver module 1028 is transmitted to said client test subsystems 101.
Further, said virtual instrument service subsystem 102 also comprises:
Whether judge module 1029 is used for receiving said client test subsystems 101 through after calling the operation indication to said instrument that long-range driving function sends at said first receiver module 1021, judge that said instrument is current to be in the lock state;
State management module 10210; Be used in the judged result of said judge module 1029 for not the time; Notify 1027 pairs of said instrument of said second sending module to carry out control corresponding and operation; And said instrument switched to lock-out state, after the performed control of said second sending module 1027 and operation are accomplished, said instrument is switched to unlock state;
Sequence administration module 10211; Be used in the judged result of said judge module 1029 when being; Receive the sequencing of the time of said operation indication according to said first receiver module 1021, add said operation indication to said instrument pairing indicator sequence to be carried out.
Concrete,
Said judge module 1029; Also be used for after said state management module 10210 switches to unlock state with said instrument, judge that said instrument that said sequence administration module 10211 managed is pairing to wait to carry out whether preserve the operation indication in the indicator sequence;
Said state management module 10210; Also be used in the judged result of said judge module 1029 when being; Notify said second sending module 1027 to wait to carry out in the indicator sequence the prepreerence operation indication of taking-up order in that said instrument is pairing, according to said operation indication said instrument is carried out control corresponding and operation, and said instrument is switched to lock-out state; After the performed control of said second sending module 1027 and operation are accomplished, said instrument is switched to unlock state.
Further,
Said judge module 1029; Also be used at said first sending module 1024 after said client test subsystems 101 is returned the operating data of said instrument; Whether the operating process of judging 101 pairs of said instrument of said client test subsystems finishes; If judged result then continues the operation indication to said instrument that the said client test subsystems 101 of wait is sent, if judged result is for being for not; Then notify 1025 pairs of pairing counters of said instrument of said counting module to subtract one, notify the virtual instrument thread between said connection management module 1023 end and the said client test subsystems 101 simultaneously;
Said connection management module 1023 also is used for when the current value of the pairing counter of said instrument is zero, deletes being connected of said virtual instrument service subsystem 102 and said instrument.
Compared with prior art, the technical scheme that the embodiment of the invention proposed has the following advantages:
Through using the technical scheme of the embodiment of the invention; By client test subsystems separate connection equipment to be tested, through the virtual instrument service subsystem concrete instrument is realized control corresponding and operation, and the operating data of returning according to this instrument obtains test result; Especially in system, comprise a plurality of client test subsystems; And during each client test subsystems equipment to be tested that separate connection is different respectively, not only can avoid the complicated of resource contention and programming, and can realize shared to same set of physics instrument subsystem of a plurality of equipment to be tested; Thereby; When an equipment to be tested uses some instrument, can not influence the carrying out that other equipment to be tested is handled normal use or other task of all the other instrument, but also can be after this equipment to be tested uses this instrument; Continue to use this instrument by other equipment to be tested, reach the purpose that makes full use of instrument.
Through the description of above execution mode, those skilled in the art can be well understood to the embodiment of the invention and can realize through hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding; The technical scheme of the embodiment of the invention can be come out with the embodied of software product, this software product can be stored in a non-volatile memory medium (can be CD-ROM, USB flash disk; Portable hard drive etc.) in; Comprise some instructions with so that computer equipment (can be personal computer, server, or network equipment etc.) each implements the described method of scene to carry out the embodiment of the invention.
It will be appreciated by those skilled in the art that accompanying drawing is a preferred sketch map of implementing scene, module in the accompanying drawing or flow process might not be that embodiment of the present invention embodiment is necessary.
It will be appreciated by those skilled in the art that the module in the device of implementing in the scene can be distributed in the device of implementing scene according to implementing scene description, also can carry out respective change and be arranged in the one or more devices that are different from this enforcement scene.The module of above-mentioned enforcement scene can be merged into a module, also can further split into a plurality of submodules.
The invention described above embodiment sequence number is not represented the quality of implementing scene just to description.
More than the disclosed several practical implementation scenes that are merely the embodiment of the invention, still, the embodiment of the invention is not limited thereto, any those skilled in the art can think variation all should fall into the traffic limits scope of the embodiment of the invention.

Claims (22)

1. A kind of method for using of radio frequency testing instrument shared system; It is characterized in that; Be applied to comprise at least a physics instrument subsystem, a virtual instrument service subsystem; And in the system of at least one client test subsystems, a said client test subsystems is used for equipment to be tested of separate connection, and said method may further comprise the steps at least:
When a said client test subsystems need to be used instrument in the said physics instrument subsystem in test process, said virtual instrument service subsystem receive said client test subsystems that sent with connection request said instrument;
Be connected if exist between said virtual instrument service subsystem and the said instrument; Then said virtual instrument service subsystem receives said client test subsystems through calling the operation indication to said instrument that long-range driving function sends, and according to said operation indication said instrument is carried out control corresponding and operation;
said virtual instrument service subsystem returns the operating data of said instrument to said client test subsystems, obtains corresponding test result so that said client test subsystems according to said operating data, is handled.
2. The method of claim 1 is characterized in that, said virtual instrument service subsystem receive that said client test subsystems sent with being connected after the request of foundation of said instrument, specifically comprise:
Said virtual instrument service subsystem is searched self and the current connection status of said instrument in connecting tabulation;
Current the existence is connected if said virtual instrument service subsystem is confirmed self and said instrument, and said virtual instrument service subsystem foundation is connected with said instrument;
if connection is set up successfully, said virtual instrument service subsystem sends the pairing identification information of said connection to said client test subsystems, simultaneously the virtual instrument thread between establishment and the said client test subsystems.
3. Method as claimed in claim 2 is characterized in that, said virtual instrument service subsystem is searched in connecting tabulation after the current connection status of self and said instrument, also comprises:
Current the existence is connected if said virtual instrument service subsystem is confirmed self and said instrument, and said virtual instrument service subsystem adds one to the pairing counter of said instrument;
said virtual instrument service subsystem sends the pairing identification information of said connection to said client test subsystems, simultaneously the virtual instrument thread between establishment and the said client test subsystems.
4. Like claim 2 or 3 described methods, it is characterized in that the pairing identification information of said connection is specially:
The pairing handle information of said connection.
5. Method as claimed in claim 2 is characterized in that, said virtual instrument service subsystem was set up after being connected of said client test subsystems and said instrument, also comprised:
if connecting to set up fails, said virtual instrument service subsystem sends error message to said client test subsystems.
6. The method of claim 1; It is characterized in that; Said virtual instrument service subsystem receives said client test subsystems through calling the operation indication to said instrument that long-range driving function sends; And said instrument is carried out control corresponding and operation according to said operation indication, specifically comprise:
When said virtual instrument service subsystem receive that said client test subsystems sent carry the long-range execution request of said function data bag the time; Said virtual instrument service subsystem reads said function data bag; Reduce said long-range driving function, and configuration relevant parameters information;
said virtual instrument service subsystem is carried out said long-range execution according to said long-range driving function asks pairing control and/or operation.
7. Method as claimed in claim 6 is characterized in that, the long-range execution request of carrying said function data bag that said client test subsystems is sent specifically generates in the following manner:
Said client test subsystems is called long-range driving function according to the demand of current test operation;
Said client test subsystems is according to said long-range driving function and relevant parameters information generating function packet;
said client test subsystems is sent the long-range execution request of carrying said function data bag to said virtual instrument service subsystem.
8. The method of claim 1 is characterized in that, said virtual instrument service subsystem receives said client test subsystems through calling after the operation indication to said instrument that long-range driving function sends, and also comprises:
Whether said virtual instrument service subsystem is judged that said instrument is current and is in the lock state;
If judged result is for denying; Said virtual instrument service subsystem carries out control corresponding and operation according to said operation indication to said instrument; And said instrument switched to lock-out state, after said control and operation are accomplished, said instrument is switched to unlock state;
if judged result is for being, said virtual instrument service subsystem adds said operation indication to said instrument pairing indicator sequence to be carried out according to the sequencing of the time that receives said operation indication.
9. Method as claimed in claim 8 is characterized in that, said virtual instrument service subsystem switches to said instrument after the unlock state, also comprises:
Said virtual instrument service subsystem is judged that said instrument is pairing and is waited to carry out whether preserve operation indication in the indicator sequence;
are if judged result is for being; The prepreerence operation indication of said virtual instrument service subsystem taking-up order; According to said operation indication said instrument is carried out control corresponding and operation; And said instrument switched to lock-out state, after said control and operation are accomplished, said instrument is switched to unlock state.
10. The method of claim 1 is characterized in that, said virtual instrument service subsystem also comprises after said client test subsystems is returned the operating data of said instrument:
Said virtual instrument service subsystem judges whether said client test subsystems finishes the operating process of said instrument;
If judged result is not, said virtual instrument service subsystem returns and continues the operation indication to said instrument that the said client test subsystems of wait is sent;
if judged result is for being, said virtual instrument service subsystem subtracts one to the pairing counter of said instrument, finish simultaneously and said client test subsystems between the virtual instrument thread.
11. Method as claimed in claim 10 is characterized in that, said virtual instrument service subsystem subtracts after one the pairing counter of said instrument, also comprises:
Said virtual instrument service subsystem judges whether the current value of the pairing counter of said instrument is zero;
If judged result is for being, said virtual instrument service subsystem deletion is connected with said instrument .
12. A kind of radio frequency testing instrument shared system is characterized in that, comprises a physics instrument subsystem, a virtual instrument service subsystem at least, and at least one client test subsystems, wherein:
Said client test subsystems; Be used for equipment to be tested of separate connection; Execution is to the test of said equipment to be tested, when needs use instrument in the said physics instrument subsystem, to the connection request of said virtual instrument service subsystem transmission with said instrument; If successful connection; Then indicate to said instrument transmit operation through said virtual instrument service subsystem, and the operating data of the said instrument of returning according to said virtual instrument service subsystem, handle obtaining corresponding test result;
Said virtual instrument service subsystem; Be used to receive said client test subsystems that sent with connection request said instrument; If self with said instrument between exist and be connected; Then send the pairing identification information of said connection to said client test subsystems, the virtual instrument thread between establishment and the said client test subsystems receives the operation indication to said instrument that said client test subsystems is sent simultaneously; According to said operation indication said instrument is carried out control corresponding and operation, and return the operating data of said instrument to said client test subsystems;
said physics instrument subsystem is used for handling accordingly according to the control and the operation of said virtual instrument service subsystem, and returns corresponding operating data to said virtual instrument service subsystem.
13. Radio frequency testing instrument shared system as claimed in claim 12 is characterized in that,
Said virtual instrument service subsystem is deployed on the pairing physical equipment of said client test subsystems; Or,
said virtual instrument service subsystem is deployed in independently on the physical equipment.
14. Radio frequency testing instrument shared system as claimed in claim 12 is characterized in that,
said virtual instrument service subsystem is connected through the public Internet with said client test subsystems; When said system comprised a plurality of client test subsystems, each said client test subsystems was connected with the public Internet respectively.
15. Radio frequency testing instrument shared system as claimed in claim 14 is characterized in that, said client test subsystems specifically comprises:
Client process equipment is used to connect equipment to be tested, carries out corresponding test processes, when needs use instrument in the said physics instrument subsystem, calls long-range driving function, and according to the operating data of returning, handles obtaining corresponding test result;
transmission equipment; Be used for the long-range driving function and the relevant parameters information generating function packet that are called according to said client process equipment; Send the long-range execution request of carrying said function data bag to said virtual instrument service subsystem; And when receiving the operating data that said virtual instrument service subsystem returns, transmit to said client process equipment.
16. Radio frequency testing instrument shared system as claimed in claim 15 is characterized in that, said client test subsystems specifically is connected with said virtual instrument service subsystem through long-range VISA interface, and said long-range VISA interface specifically is used for:
are called with said operation and are indicated corresponding locking indication and latch-release indication; To indicate said virtual instrument service subsystem when beginning to carry out said operation indication; Said instrument is switched to lock-out state; Or after said operation indication is complete, said instrument is switched to unlock state.
17. Radio frequency testing instrument shared system as claimed in claim 12 is characterized in that, said virtual instrument service subsystem specifically comprises:
First receiver module, be used to receive said client test subsystems that sent with the request of foundation that is connected said instrument;
Search module, be used for searching said virtual instrument service subsystem and the current connection status of said instrument in the connection tabulation;
The connection management module is used for confirming that said virtual instrument service subsystem and said instrument are current and not existing when being connected in the said module of searching, and sets up being connected of said virtual instrument service subsystem and said instrument;
first sending module; Be used for after said connection management module connects success; Send the pairing identification information of said connection to said client test subsystems; Notify the virtual instrument thread between said connection management module creation and the said client test subsystems simultaneously, or after said connection management module connects failure, send error message to said client test subsystems.
18. Radio frequency testing instrument shared system as claimed in claim 17 is characterized in that, said virtual instrument service subsystem also comprises:
Counting module is used for confirming that said virtual instrument service subsystem and said instrument are current and having existed when being connected in the said module of searching, and the pairing counter of said instrument is added one;
said first sending module; Also be used for after said counting module adds one to the pairing counter of said instrument; Send the pairing identification information of said connection to said client test subsystems, notify the virtual instrument thread between said connection management module creation and the said client test subsystems simultaneously.
19. Radio frequency testing instrument shared system as claimed in claim 17 is characterized in that, said virtual instrument service subsystem also comprises processing module, second sending module and second receiver module:
Said first receiver module also is used to receive the long-range execution request of carrying said function data bag that said client test subsystems is sent;
Said processing module is used to read the received function data bag of said first receiver module, reduces said long-range driving function, and configuration relevant parameters information;
Said second sending module is used for according to said long-range driving function, said instrument is carried out said long-range execution ask pairing control and/or operation;
Said second receiver module is used to receive the operating data that said instrument returns;
said first sending module also is used for, and with the received operating data of said second receiver module, is transmitted to said client test subsystems.
20. Radio frequency testing instrument shared system as claimed in claim 19 is characterized in that, said virtual instrument service subsystem also comprises:
Whether judge module is used for receiving said client test subsystems through after calling the operation indication to said instrument that long-range driving function sends at said first receiver module, judge that said instrument is current to be in the lock state;
State management module; Be used in the judged result of said judge module for not the time; Notify said second sending module that said instrument is carried out control corresponding and operation; And said instrument switched to lock-out state, after the performed control of said second sending module and operation are accomplished, said instrument is switched to unlock state;
sequence administration module; Be used in the judged result of said judge module when being; Receive the sequencing of the time of said operation indication according to said first receiver module, add said operation indication to said instrument pairing indicator sequence to be carried out.
21. Radio frequency testing instrument shared system as claimed in claim 20 is characterized in that,
Said judge module also is used for after said state management module switches to unlock state with said instrument, judges that said instrument that said sequence administration module managed is pairing to wait to carry out whether preserve the operation indication in the indicator sequence;
said state management module; Also be used in the judged result of said judge module when being; Notify said second sending module to wait to carry out in the indicator sequence the prepreerence operation indication of taking-up order in that said instrument is pairing, according to said operation indication said instrument is carried out control corresponding and operation, and said instrument is switched to lock-out state; After said second sending module performed control and operation completion, said instrument is switched to unlock state.
22. Like any described radio frequency testing instrument shared system in the claim 17 to 21, it is characterized in that,
Said judge module; Also be used at said first sending module after said client test subsystems is returned the operating data of said instrument; Judge whether said client test subsystems finishes the operating process of said instrument; If judged result then continues the operation indication to said instrument that the said client test subsystems of wait is sent, if judged result is for being for not; Then notify said counting module that the pairing counter of said instrument is subtracted one, notify the virtual instrument thread between said connection management module end and the said client test subsystems simultaneously;
said connection management module also is used for when the current value of the pairing counter of said instrument is zero, deletes being connected of said virtual instrument service subsystem and said instrument.
CN201210217429.7A 2012-06-28 2012-06-28 Radio frequency test instrument sharing system and application method thereof Active CN102769665B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210217429.7A CN102769665B (en) 2012-06-28 2012-06-28 Radio frequency test instrument sharing system and application method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210217429.7A CN102769665B (en) 2012-06-28 2012-06-28 Radio frequency test instrument sharing system and application method thereof

Publications (2)

Publication Number Publication Date
CN102769665A true CN102769665A (en) 2012-11-07
CN102769665B CN102769665B (en) 2015-06-03

Family

ID=47096913

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210217429.7A Active CN102769665B (en) 2012-06-28 2012-06-28 Radio frequency test instrument sharing system and application method thereof

Country Status (1)

Country Link
CN (1) CN102769665B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103077135A (en) * 2012-12-31 2013-05-01 中国电子科技集团公司第四十一研究所 Test resource management method capable of supporting parallel tests
CN103716103A (en) * 2013-12-30 2014-04-09 上海原动力通信科技有限公司 Test method and system
CN104683183A (en) * 2015-02-15 2015-06-03 大唐联仪科技有限公司 Test and control method and system
CN105760197A (en) * 2016-02-18 2016-07-13 深圳市极致汇仪科技有限公司 Sub-instrument implementation method
WO2017000844A1 (en) * 2015-06-30 2017-01-05 中兴通讯股份有限公司 Method, device and system for controlling instrument automatically
CN108830675A (en) * 2018-05-23 2018-11-16 武汉华工正源光子技术有限公司 Instrument share system and method
CN112653598A (en) * 2020-12-18 2021-04-13 迈普通信技术股份有限公司 Automatic testing method, device, equipment and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1567801A (en) * 2003-06-25 2005-01-19 华为技术有限公司 Radio-frequency indicator testing method
CN101789967A (en) * 2010-01-12 2010-07-28 重庆大学 Remote test service system based on electronic commerce and use method thereof
CN102158370A (en) * 2011-04-12 2011-08-17 瑞斯康达科技发展股份有限公司 Automated testing method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1567801A (en) * 2003-06-25 2005-01-19 华为技术有限公司 Radio-frequency indicator testing method
CN101789967A (en) * 2010-01-12 2010-07-28 重庆大学 Remote test service system based on electronic commerce and use method thereof
CN102158370A (en) * 2011-04-12 2011-08-17 瑞斯康达科技发展股份有限公司 Automated testing method and system

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103077135A (en) * 2012-12-31 2013-05-01 中国电子科技集团公司第四十一研究所 Test resource management method capable of supporting parallel tests
CN103716103A (en) * 2013-12-30 2014-04-09 上海原动力通信科技有限公司 Test method and system
CN103716103B (en) * 2013-12-30 2016-08-17 上海原动力通信科技有限公司 A kind of method of testing and test system
CN104683183A (en) * 2015-02-15 2015-06-03 大唐联仪科技有限公司 Test and control method and system
CN104683183B (en) * 2015-02-15 2018-07-06 大唐联仪科技有限公司 A kind of investigating method and system
WO2017000844A1 (en) * 2015-06-30 2017-01-05 中兴通讯股份有限公司 Method, device and system for controlling instrument automatically
CN106325117A (en) * 2015-06-30 2017-01-11 中兴通讯股份有限公司 Method, device and system of automatically controlling instrument
CN106325117B (en) * 2015-06-30 2020-04-10 中兴通讯股份有限公司 Method, device and system for automatically controlling instrument
CN105760197A (en) * 2016-02-18 2016-07-13 深圳市极致汇仪科技有限公司 Sub-instrument implementation method
CN108830675A (en) * 2018-05-23 2018-11-16 武汉华工正源光子技术有限公司 Instrument share system and method
CN112653598A (en) * 2020-12-18 2021-04-13 迈普通信技术股份有限公司 Automatic testing method, device, equipment and readable storage medium
CN112653598B (en) * 2020-12-18 2022-02-22 迈普通信技术股份有限公司 Automatic testing method, device, equipment and readable storage medium

Also Published As

Publication number Publication date
CN102769665B (en) 2015-06-03

Similar Documents

Publication Publication Date Title
CN102769665A (en) Radio frequency test instrument sharing system and application method thereof
US20080040417A1 (en) System and method for allocating workflow operations to a computing device
CN109802916A (en) Resource transfers method, system, server and computer readable storage medium
CN103747107B (en) A kind of compatible cloud operating platform and its implementation
CN110677383B (en) Firewall wall opening method and device, storage medium and computer equipment
CN110366276A (en) Serviceization framework base station
CN102841846A (en) Software testing method, device and system based on Hadoop
CN110489407A (en) Data filling mining method, apparatus, computer equipment and storage medium
US9348719B2 (en) Automated test equipment and control method thereof
US20220191279A1 (en) IoT Device Data Management Method, Apparatus, and System
CN111797173B (en) Alliance chain sharing system, method and device, electronic equipment and storage medium
CN112306851A (en) Automatic testing method and device
CN111600760B (en) Quality detection system, method and equipment of power grid operation monitoring system
CN112398675B (en) Network element allocation method and device
CN107360036A (en) A kind of network failure locating method, terminal and server
CN110083536A (en) Test resource distribution method and device, electronic equipment and storage medium
CN110636522B (en) Method and device for determining coverage quality of communication network
EP4155942A2 (en) Method and apparatus for load testing, and corresponding storage medium
CN103441894A (en) Method and system for L2TP concurrent connection performance test
KR102014101B1 (en) Method and Apparatus for Providing Roaming Service based on Network Slicing
CN107786308B (en) Data transmission method and terminal device
CN112653598B (en) Automatic testing method, device, equipment and readable storage medium
CN102137153A (en) Method, equipment and system of remote-control communication equipment
CN101207525A (en) System and apparatus for testing wireless network controller signaling processing module
CN109818767B (en) Method and device for adjusting Redis cluster capacity and storage medium

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