Movatterモバイル変換


[0]ホーム

URL:


CN108282542A - Remote operation method and device for test equipment - Google Patents

Remote operation method and device for test equipment
Download PDF

Info

Publication number
CN108282542A
CN108282542ACN201810149941.XACN201810149941ACN108282542ACN 108282542 ACN108282542 ACN 108282542ACN 201810149941 ACN201810149941 ACN 201810149941ACN 108282542 ACN108282542 ACN 108282542A
Authority
CN
China
Prior art keywords
under test
equipment under
equipment
test
development tool
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.)
Pending
Application number
CN201810149941.XA
Other languages
Chinese (zh)
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.)
Baidu Online Network Technology Beijing Co Ltd
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Baidu Netcom Science and Technology Co LtdfiledCriticalBeijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201810149941.XApriorityCriticalpatent/CN108282542A/en
Publication of CN108282542ApublicationCriticalpatent/CN108282542A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The embodiment of the present application discloses the remote operation method and device for test equipment.One specific implementation mode of this method includes:Detect, user is parsed by presetting the operation behavior performed by Integrated Development Tool, generates the operational order for the intended application installed to equipment under test;The operational order is sent to the equipment under test by default Integrated Development Tool, so that the equipment under test executes the operational order.The embodiment realizes the flexibility of the communication of test equipment and equipment under test.

Description

Remote operation method and device for test equipment
Technical field
The invention relates to field of computer technology, and in particular to is used for the remote operation method and dress of test equipmentIt sets.
Background technology
Remote real machine debugging technique refers to user without being physically contacted to equipment under test, passes through long-range sideFormula views in real time and controls equipment under test, and is debugged to the application on equipment under test.There is certain to refer to operationThe equipment under test for determining Mobile operating system (such as iOS), as the version of the Mobile operating system is constantly updated and tested is setStandby type is on the increase, and major applications development teams can not be equipped with the type of complete various equipment under tests and being somebody's turn to do for each versionMobile operating system.When carrying out the protype measurement stage, need to reach covering at present on the market by temporarily transferring equipment under testType.
One of existing mode is to install plug-in unit of escaping from prison by escaping from prison to equipment and carry out remote control, this modeIt is typically only capable to the equipment for being suitable for escape from prison and version, and installation is needed to escape from prison plug-in unit to achieve the effect that control device.
Existing another way is by external mechanical arm, and robot arm carries out simulation touch-control behaviour to equipment under testMake.
Invention content
The embodiment of the present application proposes the remote operation method and device for test equipment.
In a first aspect, the embodiment of the present application provides a kind of remote operation method for test equipment, the test equipmentMiddle operation has the first predetermined registration operation system and default integrate being equipped with suitable for being run the first predetermined registration operation system is openedHair tool, this method include:The operation behavior performed by Integrated Development Tool is preset to detect, user by this to solveAnalysis generates the operational order for the intended application installed to equipment under test, wherein operation has the second default behaviour in the equipment under testMake system, which develops to operating in the application in the second predetermined registration operation system;Pass throughThe default Integrated Development Tool sends the operational order to the equipment under test, so that the equipment under test executes the operational order.
In some embodiments, this presets detect, user by this operation row performed by Integrated Development ToolTo be parsed, the operational order for the intended application that equipment under test is installed in generation, including:Periodically long-range obtain is testedThe screenshot capture of equipment, wherein the screenshot capture shows the interface for the intended application operation that the equipment under test is installed;ResponseIn detecting operation behavior of the user to the screenshot capture, screen touch event corresponding with the operation behavior and screen ginseng are determinedNumber information;The operational order to the intended application is generated based on the screen touch event and screen parameter information.
In some embodiments, the screenshot capture for periodically remotely obtaining equipment under test, including:Periodically to quiltMeasurement equipment remotely sends the target data being generated in advance, and receives the screenshot data of equipment under test return, wherein the targetData are used to indicate the equipment under test and execute screen shot operation;The screenshot data received each time is parsed,Show the screenshot capture of the equipment under test.
In some embodiments, which generates as follows:It is preset in Integrated Development Tool using thisPreset sectional drawing function remotely sends sectional drawing instruction, the interaction data of interception and the equipment under test to the equipment under test;Simulate the friendshipData in mutual data, the equipment under test receives, generate target data.
In some embodiments, this method further includes:Integrated Development Tool is preset by this to carry out far the intended applicationJourney is debugged.
Second aspect, the embodiment of the present application provide a kind of long-distance operating device for test equipment, the test equipmentMiddle operation has the first predetermined registration operation system and default integrate being equipped with suitable for being run the first predetermined registration operation system is openedHair tool, the device include:Generation unit is configured to preset Integrated Development Tool by this to detect, user and be heldCapable operation behavior is parsed, and generates the operational order for the intended application installed to equipment under test, wherein the equipment under testMiddle operation has second predetermined registration operation system, which supports to operating in the second predetermined registration operation systemUsing being developed;First transmission unit is configured to the default Integrated Development Tool and sends the behaviour to the equipment under testIt instructs, so that the equipment under test executes the operational order.
In some embodiments, which includes:Acquisition module is configured to periodically remotely obtain tested setStandby screenshot capture, wherein the screenshot capture shows the interface for the intended application operation that the equipment under test is installed;Determine mouldBlock is configured to the operation behavior in response to detecting user to the screenshot capture, determines screen corresponding with the operation behaviorTouch event and screen parameter information;Generation module is configured to generate based on the screen touch event and screen parameter informationTo the operational order of the intended application.
In some embodiments, which is further configured to:It is periodically remotely sent to equipment under test pre-The target data first generated receives the screenshot data of equipment under test return, wherein the target data is used to indicate the quiltMeasurement equipment executes screen shot operation;The screenshot data received each time is parsed, shows the equipment under testScreenshot capture.
In some embodiments, which further includes:Interception unit is configured to using in the default Integrated Development ToolPreset sectional drawing function, remotely send sectional drawing instruction, interception and the interaction data of the equipment under test to the equipment under test;Simulation is singleMember is configured to simulate the data that in the interaction data, equipment under test receives, generates target data.
In some embodiments, which further includes:Debugging unit is configured to the default Integrated Development Tool pairThe intended application carries out remote debugging.
The third aspect, the embodiment of the present application provide a kind of test equipment, and being run in the test equipment has the first default behaviourMake system and the default Integrated Development Tool suitable for being run the first predetermined registration operation system, the test equipment packet are installedIt includes:One or more processors;Storage device, for storing one or more programs, when the one or more program by this oneA or multiple processors execute so that the one or more processors realize the side such as any embodiment in remote operation methodMethod.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer journeySequence realizes the method such as any embodiment in remote operation method when the program is executed by processor.
Remote operation method and device provided by the embodiments of the present application for test equipment, by detect, useFamily is parsed by presetting the operation behavior performed by Integrated Development Tool, generates the intended application installed to equipment under testOperational order, the operational order is then sent to the equipment under test by default Integrated Development Tool, so that the equipment under testExecute the operational order.It is right so as to realize in the case where not escaped from prison to equipment under test or using external mechanical armEquipment under test carries out remote operation, improves the flexibility of the remote interaction of test equipment and equipment under test.
Description of the drawings
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is otherFeature, objects and advantages will become more apparent upon:
Fig. 1 is that this application can be applied to exemplary system architecture figures therein;
Fig. 2 is the flow chart according to one embodiment of the remote operation method for test equipment of the application;
Fig. 3 is the schematic diagram according to an application scenarios of the remote operation method for test equipment of the application;
Fig. 4 is the flow chart according to another embodiment of the remote operation method for test equipment of the application;
Fig. 5 is the structural schematic diagram according to one embodiment of the long-distance operating device for test equipment of the application;
Fig. 6 is adapted for the structural schematic diagram of the computer system of the test equipment for realizing the embodiment of the present application.
Specific implementation mode
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouchedThe specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order toConvenient for description, is illustrated only in attached drawing and invent relevant part with related.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phaseMutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is shown can be using the application for the remote operation method of test equipment or for the remote of test equipmentThe exemplary system architecture 100 of journey operating device.
As shown in Figure 1, system architecture 100 may include test equipment 101, network 102 and equipment under test 103.Network 102To provide the medium of communication link between test equipment 101 and equipment under test 103.Network 102 may include various connectionsType, such as wireless communication link etc..
User can be interacted by network 102 with equipment under test 103 using test equipment 101, to receive or send messageDeng.The first predetermined registration operation system (such as OS X, wherein OS X operating system one kind is based on can have been run in test equipment 101Unix system uses the comprehensive operating system of " object oriented operating system ").In addition, can be equipped in test equipment 101Suitable for the default Integrated Development Tool that is run above-mentioned the first predetermined registration operation system, (such as XCode, in practice, Xcode isDevelop the most quick way of OS X and iOS application programs.There is Xcode unified user-interface design, coding test, to adjustExamination is all completed in a simple window).In addition, other telecommunication customer end applications are also equipped in test equipment 101,Such as Digital Media play-back application (such as apply journey for managing to play with the Digital Media of playback digital music and videoSequence itunes), web browser applications, searching class application, instant messaging tools etc..It should be noted that test equipment can be withWith display screen and support human-computer interaction.
Equipment under test 103, which can be operation, a kind of second predetermined registration operation system (such as iOS, wherein iOS is mobile behaviourMake system), above-mentioned default Integrated Development Tool support is developed to operating in the application in above-mentioned second predetermined registration operation system.
It should be noted that the remote operation method for test equipment that the embodiment of the present application is provided is generally by testingEquipment 101 executes, and correspondingly, the long-distance operating device for test equipment is generally positioned in test equipment 101.
It should be understood that the number of the terminal device, network and server in Fig. 1 is only schematical.According to realization needIt wants, can have any number of test equipment, network and equipment under test.
With continued reference to Fig. 2, one embodiment of the remote operation method for test equipment according to the application is shownFlow 200.The first predetermined registration operation system (such as OS X operating systems) can have been run in above-mentioned test equipment and can have been pacifiedEquipped with the default Integrated Development Tool (such as XCode) suitable for being run above-mentioned the first predetermined registration operation system.This is remotely graspedMake method, includes the following steps:
Step 201, detect, user is parsed by presetting the operation behavior performed by Integrated Development Tool,Generate the operational order for the intended application installed to equipment under test.
In the present embodiment, the test equipment (such as test equipment 101 shown in FIG. 1) of test method operation thereon canTo be parsed to detect, user by presetting the operation behavior performed by Integrated Development Tool, generate to equipment under testThe operational order for the intended application that (such as equipment under test 103 shown in FIG. 1) is installed.It wherein, can be in above-mentioned equipment under testOperation has second predetermined registration operation system (such as iOS operating systems), above-mentioned default Integrated Development Tool that can support to operating inApplication in second predetermined registration operation system is developed.It should be noted that aforesaid operations behavior can be various operations, exampleSuch as, can be that touch control operation (such as by mouse or touch screen, carries out clicking operation, cunning in the interface of Integrated Development ToolDynamic operation, long press operation etc.);Can also be input operation (such as in default Integrated Development Tool for input the frame instructedMiddle some instruction of input etc.);It can also be while including the operation behavior etc. of a variety of operations.It is above-mentioned after detecting operation behaviorTest equipment can determine the corresponding action event of the operation behavior, to which generation is corresponding with the action event, is set to testedThe operational order of the standby intended application installed.
In practice, the default Integrated Development Tool and the operation that are run in above-mentioned the first predetermined registration operation system have second to presetOperating system equipment under test can be communicated based on usbmuxd services.Wherein, usbmuxd services are mainly used in USBMultichannel TCP (Transmission Control are realized in (Universal Serial Bus, universal serial bus) agreementProtocol, transmission control protocol) connection, carry out the conversion of usb communication and TCP communication.Above-mentioned test equipment is tested with above-mentionedEquipment is provided with usbmuxd services, and self-starting usbmuxd services when booting.Usbmuxd services in test equipment can be realSome position (such as/var/run/usbmuxd) of present test equipment creates a specific socket (such as UnixDomin Socket), using the socket, the request of usb protocol format is translated into TCP requests, and be sent to equipment under test.From the angle of above-mentioned default Integrated Development Tool, above-mentioned default Integrated Development Tool be by Transmission Control Protocol and equipment under test intoRow communication.Usbmuxd services in equipment under test can convert the information of usb protocol format to the information of Transmission Control Protocol format.
It should be noted that since above-mentioned default Integrated Development Tool is usually only supported using simulator or passes through USBThe equipment under test that (Universal Serial Bus, universal serial bus) is connected with test equipment is operated, Wu FazhiRow remote operation is tapped into, therefore, before the execution of this remote operation method, can be used for local by way of abductionIt supports the socket file that above-mentioned test equipment is communicated with above-mentioned equipment under test to first pass through in forwarded to equipment under test in advance, makesDefault Integrated Development Tool in test equipment thinks that equipment under test is connect with local have been established, and realizes that test equipment is set with testedStandby telecommunication.Specifically, equipment under test and remote equipment (such as remotely can be connect with above-mentioned test equipment in advance, operation have the electronic equipment of above-mentioned the first predetermined registration operation system) carry out USB connections.Then, temporarily test can be set firstStandby local socket file carries out name modifications, the local socket file of Old Name is forwarded to the TCP of remote equipmentOn port, then make remote equipment that TCP port is forwarded on the socket file of equipment under test, to indirectly by equipment under testLocal socket file is forwarded on long-range equipment under test, and realization is forwarded to the usbmuxd services of test equipment localOn the usbmuxd of long-range equipment under test, to realize the telecommunication of test equipment and equipment under test.
In a kind of application scenarios, user can be used in the interface of default Integrated Development Tool using mouse clickThe button (such as button for carrying out sectional drawing to equipment under test) for realizing some function, realizes that operational order (such as indicates quiltMeasurement equipment carry out shot operation instruction) generation.
In another application scenarios, user can be in the interface of default Integrated Development Tool, using keyboard in userInput instruction position, input for realizing some function operational order (such as input be used to indicate equipment under test click screenThe instruction at curtain center) so that test equipment extracts the operational order.
Step 202, operational order is sent to equipment under test by default Integrated Development Tool, so that equipment under test executes behaviourIt instructs.
In the present embodiment, and above-mentioned pre- since aforesaid operations instruction is generated by above-mentioned default Integrated Development ToolIf Integrated Development Tool can be carried out telecommunication with above-mentioned test equipment, therefore, above-mentioned test equipment can be by above-mentioned pre-If Integrated Development Tool sends operational order to above-mentioned equipment under test, so that above-mentioned equipment under test executes operational order.
It is the application scenarios according to the remote operation method for test equipment of the present embodiment with continued reference to Fig. 3, Fig. 3One schematic diagram.In the application scenarios of Fig. 3, the operation of test equipment 301 has the first predetermined registration operation system (such as OS X), and pacifiesEquipped with the default Integrated Development Tool (such as XCode) suitable for being run above-mentioned the first predetermined registration operation system, also has and useFamily operation interface.Operation has second predetermined registration operation system (such as iOS) in equipment under test 302.
User performs touch control operation in the Integrated Development Tool of test equipment 301 and (such as clicks some and press firstKey).Then, test equipment 301 parses the operation behavior of user, generates the intended application installed to equipment under testOperational order 303, and by above-mentioned default Integrated Development Tool to above-mentioned equipment under test 302 send aforesaid operations instruction 303.Finally, equipment under test 302 executes aforesaid operations instruction 303.
The method that above-described embodiment of the application provides, by passing through default Integrated Development Tool to detect, userPerformed operation behavior is parsed, and the operational order for the intended application installed to equipment under test is generated, then by pre-If Integrated Development Tool sends the operational order to the equipment under test, so that the equipment under test executes the operational order.So as toTo realize in the case where not escaped from prison to equipment under test or using external mechanical arm, remote operation is carried out to equipment under test.Without escaping from prison to equipment, it ensure that the safety of equipment under test, whether do not supported to escape from prison by equipment under test system versionLimitation.Therefore, this method improves the flexibility of the remote interaction of test equipment and equipment under test.
With further reference to Fig. 4, it illustrates the flows of another embodiment of the remote operation method for test equipment400.Wherein, operation has the first predetermined registration operation system and is equipped with suitable in above-mentioned the first predetermined registration operation in above-mentioned test equipmentThe default Integrated Development Tool run in system.This is used for the flow 400 of the remote operation method of test equipment, including following stepSuddenly:
Step 401, the screenshot capture of equipment under test is periodically remotely obtained.
In the present embodiment, the test equipment (such as test equipment 101 shown in FIG. 1) of test method operation thereon canPeriodically remotely to obtain the screenshot capture of equipment under test (such as equipment under test 103 shown in FIG. 1), wherein above-mentioned screenSectional drawing can show the interface for the intended application operation that above-mentioned equipment under test is installed.Above-mentioned test equipment can utilize variousMode periodically remotely obtains the screenshot capture of equipment under test.As an example, above-mentioned default Integrated Development Tool can be utilizedIncluded sectional drawing function, by clicking for realizing the button of the sectional drawing function, to obtain the screenshot capture of equipment under test.
In some optional realization methods of the present embodiment, above-mentioned test equipment can periodically (such as not less than15FPS (Frames Per Second, transmission frame number per second)) target data being generated in advance remotely is sent to equipment under test, it connectsReceive the screenshot data that above-mentioned equipment under test returns, wherein above-mentioned target data can serve to indicate that above-mentioned equipment under test is heldRow screen shot operation, such as can be the data for including sectional drawing instruction, above-mentioned target data can also include timestamp, agreementThe other informations such as information, data length, are not construed as limiting herein.Above-mentioned screenshot data is the screenshot capture of above-mentioned equipment under testImage data (Image Data), including each pixel (pixel) information.Above-mentioned test equipment can be to receiving each timeScreenshot data is parsed, and the screenshot capture by above-mentioned equipment under test includes on the display screen of test equipment.
In some optional realization methods of the present embodiment, above-mentioned target data can generate as follows:TheOne step remotely sends sectional drawing instruction using the preset sectional drawing function in above-mentioned default Integrated Development Tool to above-mentioned equipment under test,The interaction data of interception and above-mentioned equipment under test.In practice, above-mentioned test equipment can utilize packet capturing (packet capture)Mode intercept the interaction data with above-mentioned equipment under test, and data that the interaction data is TCP formats.It should be noted thatPacket capturing refer to the data packet that network transmission sends and receives is intercepted and captured, is retransmitted, is edited, the operations such as unloading, be also used for checkingNetwork security is also usually utilized to carry out data cutout etc., and packet capturing is the known technology studied and applied extensively at present, herein notIt repeats again.Second step simulates the data that in above-mentioned interaction data, above-mentioned equipment under test receives, and generates target data.ThisPlace, target data are the data that the above-mentioned equipment under test after simulating receives.
Step 402, in response to detecting operation behavior of the user to screenshot capture, screen corresponding with operation behavior is determinedTouch event and screen parameter information.
In the present embodiment, in response to detecting operation behavior of the user to above-mentioned screenshot capture, it may be determined that with operationThe corresponding screen touch event of behavior and screen parameter information.Herein, aforesaid operations behavior can be various touch control operations, exampleSuch as, clicking operation, slide, the long press operation etc. carried out in above-mentioned screenshot capture by mouse or touch screen.Above-mentioned screenCurtain touch event can be click, sliding, long-press etc..Above-mentioned screen parameter information may include the screen in above-mentioned screenshot captureThe information such as the coordinate of position of touch.
In practice, API (the Application Programming for generating screen touch event can be utilizedInterface, application programming interface) the determining screen corresponding with operation behavior of module (such as XCEventGenerator)Touch event.
Step 403, the operational order to intended application is generated based on screen touch event and screen parameter information.
In the present embodiment, above-mentioned test equipment can be based on screen touch event and screen parameter information is generated to targetThe operational order of application.Wherein, may include above-mentioned screen parameter information in aforesaid operations instruction.As an example, if screen touchesControl event is some button clicked in above-mentioned screenshot capture, then operational order can serve to indicate that equipment under test to the button intoRow is clicked, and includes the coordinate information of the button in operational order.
Step 404, operational order is sent to equipment under test by default Integrated Development Tool, so that equipment under test executes behaviourIt instructs.
In the present embodiment, and above-mentioned pre- since aforesaid operations instruction is generated by above-mentioned default Integrated Development ToolIf Integrated Development Tool can be carried out telecommunication with above-mentioned test equipment, therefore, above-mentioned test equipment can be by above-mentioned pre-If Integrated Development Tool sends operational order to above-mentioned equipment under test, so that above-mentioned equipment under test executes operational order.
In some optional realization methods of the present embodiment, above-mentioned test equipment can also be opened by above-mentioned default integrateHair tool carries out remote debugging to above-mentioned intended application, for example, remotely carrying out single-step debug to above-mentioned intended application.In practice,Single-step debug refers in program development, and in order to find the bug of program, a kind of debugging method of generally use tracks step by stepThe flow that program executes finds the reason of mistake according to the value of variable.
Figure 4, it is seen that compared with the corresponding embodiments of Fig. 2, the long-range of test equipment is used in the present embodimentThe flow 400 of operating method highlights the step of screenshot capture for periodically remotely obtaining equipment under test.The present embodiment as a result,The scheme of description can determine the position of touch control operation, without additionally purchasing and safeguarding physics peripheral hardware (such as external mechanical arm),Cost is reduced, and is operated relative to using mechanical arm physical analogy, the precision of operation is improved, further improves test and setThe flexibility of standby and equipment under test remote interaction.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, this application provides one kind to set for testingOne embodiment of standby long-distance operating device, the device embodiment is corresponding with embodiment of the method shown in Fig. 2, device toolBody can be applied in equipment under test.Wherein, operation has the first predetermined registration operation system and is equipped with applicable in above-mentioned test equipmentIn the default Integrated Development Tool run in above-mentioned the first predetermined registration operation system.
As shown in figure 5, the above-mentioned long-distance operating device 500 for test equipment of the present embodiment includes:Generation unit501, it is configured to parse detect, user by the operation behavior performed by above-mentioned default Integrated Development Tool,Generate the operational order for the intended application installed to equipment under test, wherein operation has the second default behaviour in above-mentioned equipment under testMake system, above-mentioned default Integrated Development Tool support is developed to operating in the application in above-mentioned second predetermined registration operation system;First transmission unit 502 is configured to above-mentioned default Integrated Development Tool and refers to above-mentioned equipment under test transmission aforesaid operationsIt enables, so that above-mentioned equipment under test executes aforesaid operations instruction.
In some optional realization methods of the present embodiment, above-mentioned generation unit 501 may include acquisition module, determinationModule and generation module (not shown).Wherein, above-mentioned acquisition module may be configured to periodically remotely obtain testedThe screenshot capture of equipment, wherein above-mentioned screenshot capture shows the interface for the intended application operation that above-mentioned equipment under test is installed.Above-mentioned determining module may be configured to the operation behavior in response to detecting user to above-mentioned screenshot capture, determine and above-mentioned behaviourMake the corresponding screen touch event of behavior and screen parameter information.Above-mentioned generation module may be configured to touch based on above-mentioned screenControl event and screen parameter information generate the operational order to above-mentioned intended application.
In some optional realization methods of the present embodiment, above-mentioned acquisition module can further be configured to periodicityGround remotely sends the target data being generated in advance to equipment under test, receives the screenshot data that above-mentioned equipment under test returns,In, above-mentioned target data is used to indicate above-mentioned equipment under test and executes screen shot operation;To the screenshot capture received each timeData are parsed, and show the screenshot capture of above-mentioned equipment under test.
In some optional realization methods of the present embodiment, which can also include interception unit and analogue unit(not shown).Wherein, above-mentioned interception unit may be configured to utilize preset section in above-mentioned default Integrated Development ToolFigure function remotely sends sectional drawing instruction, the interaction data of interception and above-mentioned equipment under test to above-mentioned equipment under test.Above-mentioned simulation listMember may be configured to the data that equipment under test simulate in above-mentioned interaction data, above-mentioned receives, and generate target data.
In some optional realization methods of the present embodiment, which (can not also show including debugging unit in figureGo out).Wherein, above-mentioned debugging unit may be configured to carry out above-mentioned intended application by above-mentioned default Integrated Development Tool remoteJourney is debugged.
The device that above-described embodiment of the application provides passes through default collection by generation unit 501 to detect, userIt is parsed at the operation behavior performed by developing instrument, generates the operational order for the intended application installed to equipment under test,Then the first transmission unit 502 sends the operational order by default Integrated Development Tool to the equipment under test, so that this is testedEquipment executes the operational order.So as to realize the case where not escaped from prison to equipment under test or using external mechanical armUnder, remote operation is carried out to equipment under test.Without escaping from prison to equipment, the safety of equipment under test is ensure that, not by quiltWhether measurement equipment system version supports the limitation escaped from prison.Therefore, this method improves the long-range friendship of test equipment and equipment under testMutual flexibility.
Below with reference to Fig. 6, it illustrates the computer systems 600 suitable for the equipment under test for realizing the embodiment of the present applicationStructural schematic diagram.Equipment under test shown in Fig. 6 is only an example, to the function of the embodiment of the present application and should not use modelShroud carrys out any restrictions.
As shown in fig. 6, computer system 600 includes central processing unit (CPU) 601, it can be read-only according to being stored inProgram in memory (ROM) 602 or be loaded into the program in random access storage device (RAM) 603 from storage section 608 andExecute various actions appropriate and processing.In RAM 603, also it is stored with system 600 and operates required various programs and data.CPU 601, ROM 602 and RAM 603 are connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to alwaysLine 604.
It is connected to I/O interfaces 605 with lower component:Importation 606 including keyboard, mouse etc.;Including, liquid crystal displayAnd the output par, c 607 of loud speaker etc. (LCD) etc.;Storage section 608 including hard disk etc.;And including such as LAN card, tuneThe communications portion 609 of the network interface card of modulator-demodulator etc..Communications portion 609 executes mailing address via the network of such as internetReason.Driver 610 is also according to needing to be connected to I/O interfaces 605.Detachable media 611, such as disk, CD, magneto-optic disk, halfConductor memory etc. is mounted on driver 610, as needed in order to as needed from the computer program read thereonIt is mounted into storage section 608.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart descriptionSoftware program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable mediumOn computer program, which includes the program code for method shown in execution flow chart.In such realityIt applies in example, which can be downloaded and installed by communications portion 609 from network, and/or from detachable media611 are mounted.When the computer program is executed by central processing unit (CPU) 601, limited in execution the present processesAbove-mentioned function.It should be noted that computer-readable medium described herein can be computer-readable signal media orComputer readable storage medium either the two arbitrarily combines.Computer readable storage medium for example can be --- butBe not limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or arbitrary above combination.The more specific example of computer readable storage medium can include but is not limited to:Electrical connection with one or more conducting wires,Portable computer diskette, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only depositReservoir (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memoryPart or above-mentioned any appropriate combination.In this application, computer readable storage medium can any be included or storeThe tangible medium of program, the program can be commanded the either device use or in connection of execution system, device.AndIn the application, computer-readable signal media may include the data letter propagated in a base band or as a carrier wave partNumber, wherein carrying computer-readable program code.Diversified forms may be used in the data-signal of this propagation, including but notIt is limited to electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computerAny computer-readable medium other than readable storage medium storing program for executing, the computer-readable medium can send, propagate or transmit useIn by instruction execution system, device either device use or program in connection.Include on computer-readable mediumProgram code can transmit with any suitable medium, including but not limited to:Wirelessly, electric wire, optical cable, RF etc., Huo ZheshangAny appropriate combination stated.
Flow chart in attached drawing and block diagram, it is illustrated that according to the system of the various embodiments of the application, method and computer journeyThe architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generationA part for a part for one module, program segment, or code of table, the module, program segment, or code includes one or more usesThe executable instruction of the logic function as defined in realization.It should also be noted that in some implementations as replacements, being marked in boxThe function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actuallyIt can be basically executed in parallel, they can also be executed in the opposite order sometimes, this is depended on the functions involved.Also it to noteMeaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holdingThe dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instructionCombination realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hardThe mode of part is realized.Described unit can also be arranged in the processor, for example, can be described as:A kind of processor packetInclude generation unit and the first transmission unit.Wherein, the title of these units is not constituted to the unit itself under certain conditionsRestriction, for example, the first generation unit is also described as " described in being sent to equipment under test by default Integrated Development ToolThe unit of operational order ".
As on the other hand, present invention also provides a kind of computer-readable medium, which can beIncluded in device described in above-described embodiment;Can also be individualism, and without be incorporated the device in.Above-mentioned calculatingMachine readable medium carries one or more program, when said one or multiple programs are executed by the device so that shouldDevice:Detect, user is parsed by presetting the operation behavior performed by Integrated Development Tool, generates and is set to testedThe operational order of the standby intended application installed;The operational order is sent to the equipment under test by default Integrated Development Tool,So that the equipment under test executes the operational order.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.People in the artMember should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristicScheme, while should also cover in the case where not departing from foregoing invention design, it is carried out by above-mentioned technical characteristic or its equivalent featureOther technical solutions of arbitrary combination and formation.Such as features described above has similar work(with (but not limited to) disclosed hereinCan technical characteristic replaced mutually and the technical solution that is formed.

Claims (12)

CN201810149941.XA2018-02-132018-02-13Remote operation method and device for test equipmentPendingCN108282542A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201810149941.XACN108282542A (en)2018-02-132018-02-13Remote operation method and device for test equipment

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201810149941.XACN108282542A (en)2018-02-132018-02-13Remote operation method and device for test equipment

Publications (1)

Publication NumberPublication Date
CN108282542Atrue CN108282542A (en)2018-07-13

Family

ID=62808583

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201810149941.XAPendingCN108282542A (en)2018-02-132018-02-13Remote operation method and device for test equipment

Country Status (1)

CountryLink
CN (1)CN108282542A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110362470A (en)*2019-05-282019-10-22中国平安人寿保险股份有限公司Test data collection method, device, electronic equipment and storage medium
CN110688318A (en)*2019-09-272020-01-14京东数字科技控股有限公司Program testing method and device
CN112671814A (en)*2019-10-152021-04-16北京奇艺世纪科技有限公司Cross-platform equipment development method, device and system
CN112799891A (en)*2021-01-152021-05-14网易(杭州)网络有限公司iOS device test method, device, system, storage medium and computer device
CN113312253A (en)*2020-02-272021-08-27阿里巴巴集团控股有限公司Software testing method, electronic device and computer storage medium
CN114660952A (en)*2022-03-302022-06-24中国工商银行股份有限公司Object testing method, device, equipment, medium and program product

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1719925A (en)*2004-07-082006-01-11中兴通讯股份有限公司 A method and device for automatic testing of CDMA mobile phone software
US20120243745A1 (en)*2009-12-012012-09-27Cinnober Financial Technology AbMethods and Apparatus for Automatic Testing of a Graphical User Interface
CN103577320A (en)*2012-08-072014-02-12卓望数码技术(深圳)有限公司Testing method and system of remote terminals
CN105117337A (en)*2015-08-262015-12-02小米科技有限责任公司Application debugging method, client and debugging platform
CN106874206A (en)*2017-02-272017-06-20网易(杭州)网络有限公司Method, device and electronic equipment for cross-platform automatic test

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1719925A (en)*2004-07-082006-01-11中兴通讯股份有限公司 A method and device for automatic testing of CDMA mobile phone software
US20120243745A1 (en)*2009-12-012012-09-27Cinnober Financial Technology AbMethods and Apparatus for Automatic Testing of a Graphical User Interface
CN103577320A (en)*2012-08-072014-02-12卓望数码技术(深圳)有限公司Testing method and system of remote terminals
CN105117337A (en)*2015-08-262015-12-02小米科技有限责任公司Application debugging method, client and debugging platform
CN106874206A (en)*2017-02-272017-06-20网易(杭州)网络有限公司Method, device and electronic equipment for cross-platform automatic test

Cited By (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110362470A (en)*2019-05-282019-10-22中国平安人寿保险股份有限公司Test data collection method, device, electronic equipment and storage medium
CN110688318A (en)*2019-09-272020-01-14京东数字科技控股有限公司Program testing method and device
CN112671814A (en)*2019-10-152021-04-16北京奇艺世纪科技有限公司Cross-platform equipment development method, device and system
CN113312253A (en)*2020-02-272021-08-27阿里巴巴集团控股有限公司Software testing method, electronic device and computer storage medium
CN113312253B (en)*2020-02-272025-08-01阿里巴巴集团控股有限公司Software testing method, electronic device and computer storage medium
CN112799891A (en)*2021-01-152021-05-14网易(杭州)网络有限公司iOS device test method, device, system, storage medium and computer device
CN114660952A (en)*2022-03-302022-06-24中国工商银行股份有限公司Object testing method, device, equipment, medium and program product

Similar Documents

PublicationPublication DateTitle
CN108282542A (en)Remote operation method and device for test equipment
CN111625473B (en)Interface test case generation method and device, storage medium and electronic equipment
CN108959068B (en) Software interface testing method, equipment and storage medium
US9910941B2 (en)Test case generation
CN112685029B (en)Method, device, equipment and storage medium for generating visual template
CN111177617A (en)Web direct operation and maintenance method and device based on operation and maintenance management system and electronic equipment
CN113900958A (en)Test case script generation method, system, medium and electronic device
CN109873735B (en)Performance test method and device for H5 page and computer equipment
CN103984626B (en)A kind of method and device for generating test case script
CN110716853A (en) A test script recording method, application program testing method and related device
CN108958992A (en)test method and device
CN112015654B (en) Method and apparatus for testing
CN107562637B (en)Method, device, system and storage medium for software testing
CN111736918B (en)Buried point configuration method and device and electronic equipment
CN110866205B (en)Method and apparatus for storing information
CN114745313A (en) Terminal remote testing method, apparatus, electronic device and readable medium
CN112131092A (en)Page debugging method and device
KR101792864B1 (en)System and Method for verifying application
CN106815150B (en)Server-side interface test system and method
CN110879676A (en)Debugging control method, master control device, debugging server, controlled device and system
CN115348441A (en) Delay measurement method, system, device, equipment and storage medium
CN113254340B (en) A method and device for generating test cases
CN112346991B (en)Interface test script generation method and device
CN112084115B (en)Method and device for flowsheet operation of software defects
CN104991857A (en)Method and apparatus for trace debugging

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication

Application publication date:20180713

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp