CN106502888A - The method of testing of software and device - Google Patents

The method of testing of software and device Download PDF

Info

Publication number
CN106502888A
CN106502888A CN201610894094.0A CN201610894094A CN106502888A CN 106502888 A CN106502888 A CN 106502888A CN 201610894094 A CN201610894094 A CN 201610894094A CN 106502888 A CN106502888 A CN 106502888A
Authority
CN
China
Prior art keywords
test
target device
software
target
upgraded version
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
CN201610894094.0A
Other languages
Chinese (zh)
Other versions
CN106502888B (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.)
Hangzhou DPTech Technologies Co Ltd
Original Assignee
Hangzhou DPTech Technologies 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 Hangzhou DPTech Technologies Co Ltd filed Critical Hangzhou DPTech Technologies Co Ltd
Priority to CN201610894094.0A priority Critical patent/CN106502888B/en
Publication of CN106502888A publication Critical patent/CN106502888A/en
Application granted granted Critical
Publication of CN106502888B publication Critical patent/CN106502888B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3696Methods or tools to render software testable

Abstract

The present invention provides a kind of method of testing of software and device, methods described is applied to test client, and the test client is connected with two or multiple devices by switch and serial server, wherein, every equipment is connected with a serial ports on the serial server, and methods described includes:Receive and test instruction, the test instruction is tested to the upgraded version of target software for instruction;Obtain the target device of the upgraded version to be tested in described two or multiple devices;According to the target device and the annexation of the serial ports, the upgraded version that the target device executes the target software is controlled.The application embodiment of the present invention, achieves interacting for test client and multiple devices by using switch and serial server, by being loaded upgraded version automatically on the target device, it is achieved that automatic test of the upgraded version in multiple devices in software upgrading.The embodiment of the present invention reduces software test and takes, and improves Efficiency of Software Testing.

Description

The method of testing of software and device
Technical field
The present invention relates to the method for testing of communication technical field, more particularly to software and device.
Background technology
At present, in the scene of plurality of devices is provided with, such as in machine room, it is understood that there may be plurality of devices shares same software Phenomenon.So, when edition upgrading is carried out to a certain software, need to travel through these equipment, so as to the upgrade version to the software Originally tested, to determine suitability of these equipment to the upgraded version.
In prior art, when the suitability to the software upgrading version is tested, tester's traversal is needed to share The all devices of the software, the upgraded version of the manual loading software are tested, and obtain test result.It can be seen that prior art In, due to the test mode using manual loading software, time-consuming, efficiency is low for the test of software.
Content of the invention
The embodiment of the present invention provides the method for testing of software and device, takes for solving the test of software in prior art The low problem of long, efficiency.
First aspect according to embodiments of the present invention, there is provided a kind of method of testing of software, methods described are applied to test Client, the test client are connected with two or multiple devices by switch and serial server, wherein, every equipment It is connected with a serial ports on the serial server, methods described includes:
Receive and test instruction, the test instruction is tested to the upgraded version of target software for instruction;
Obtain the target device of the upgraded version to be tested in described two or multiple devices;
According to the target device and the annexation of the serial ports, control the target device and execute the target software Upgraded version.
Second aspect according to embodiments of the present invention, there is provided a kind of test device of software, described device are applied to test Client, the test client are connected with two or multiple devices by switch and serial server, wherein, every equipment It is connected with a serial ports on the serial server, described device includes:
First receiving unit, tests instruction for receiving, upgrade version of the test instruction for instruction to target software Originally tested;
Acquiring unit, for obtaining the target device of the upgraded version to be tested in described two or multiple devices;
Control unit, for according to the target device and the annexation of the serial ports, controlling the target device and holding The upgraded version of the row target software.
From above technical scheme, the embodiment of the present invention by switch and serial server by test client with set Standby connected, after the target device for obtaining upgraded version to be tested, according to the connection of serial ports in target device and serial server The upgraded version and test command are automatically loaded into target device by switch and serial server, it is achieved that soft by relation When part is upgraded, automatic test of the upgraded version in multiple devices.Therefore, the embodiment of the present invention reduces the test consumption of software When, improve the testing efficiency of software.
Description of the drawings
Application scenarios schematic diagrams of the Fig. 1 for the method for testing of embodiment of the present invention software;
One embodiment flow charts of the Fig. 2 for the method for testing of invention software;
Another embodiment flow chart of Fig. 3 for the method for testing of invention software;
A kind of hardware structure diagrams of the Fig. 4 for the test device place equipment of invention software;
One embodiment block diagrams of the Fig. 5 for the test device of invention software.
Specific embodiment
In order that those skilled in the art are better understood from the technical scheme in the embodiment of the present invention, and make of the invention real Apply the above-mentioned purpose of example, feature and advantage can become apparent from understandable, below in conjunction with the accompanying drawings to the embodiment of the present invention in technology Scheme is described in further detail.
Application scenarios schematic diagrams of the Fig. 1 for the method for testing of embodiment of the present invention software.
As shown in figure 1, the application scenarios include:Data server, test client, switch, serial server with And N platform equipment.Wherein, shown N platforms equipment can be placed in machine room, and optionally, above-mentioned N platforms equipment can be placed in different In machine room, every equipment is connected with a serial ports on serial server, has wherein been loaded with the original of software on N platforms equipment Version, normally can start, and N platforms equipment can normally download software from test client;Test client and switch Connection, switch are connected with serial server, and test client can be according to N platforms equipment and the annexation of serial ports, to above-mentioned N Any appliance in platform equipment sends test command;Switch is connected with above-mentioned N platforms equipment, and test client can pass through to exchange Machine is to any appliance loading software in above-mentioned N platforms equipment;Data server is connected with test client, and data server can be with Serial ports and annexation and the facility information of N platform equipment of N platform equipment in above-mentioned serial server is preserved, is completed in test Afterwards, the test result of test client can also be stored in data server the test result data storehouse pre-build inside which In.
As a example by the upgraded version of software being carried out to the equipment of N platforms shown in Fig. 1 and is tested, in prior art, need tester Member chooses the target device of the upgraded version to be tested from shown N platform equipment, then to the target device chosen successively hand The dynamic upgraded version that loads is tested, and obtains test result.It can be seen that in prior art, due to using manual loading software Test mode, therefore time-consuming, efficiency is low for the test of software.
In embodiments of the present invention, by switch and serial server by test client and shown N platform equipment phases Even, test client, can be according to target device and serial port service after the target device for obtaining above-mentioned upgraded version to be tested The connection corresponding relation of serial ports in device, the upgraded version and test command are automatically loaded into by switch and serial server Target device, it is achieved thereby that during software upgrading, automatic test of the upgraded version in multiple devices.Therefore, the present invention is implemented Example reduces the test of software and takes, and improves the testing efficiency of software.
With reference to the application scenarios shown in Fig. 1, the embodiment of the present invention is described in detail.
Referring to Fig. 2, one embodiment flow charts of the Fig. 2 for the method for testing of invention software, the embodiment are applied to survey Examination client, comprises the following steps:
Step 201:Receive and test instruction, the test instruction is surveyed to the upgraded version of target software for instruction Examination.
In an optional implementation, tester can arrange test for multiple target softwares to be tested in advance Cycle, test period are the regular period that each target software release updates.For example:The conventional update cycle of software A is 2 Month, then can be that software A arranges the test period of 2 months.When reaching test period, test is sent to test client Instruction, tests to the upgraded version of target software.
In another optional implementation, tester can also be when knowing that target software is upgraded, to test visitor Family end sends test instruction, indicates to test the upgraded version of target software.
In the present embodiment, test client passes through the communication between switch and serial server and Devices to test, for example: The transmission of software upgrading version, tests the transmission of instruction, reception of test result etc., can be based on Telnet protocol realizations.
Step 202:Obtain the target device of the upgraded version to be tested in two or multiple devices.
In this step, test client can obtain target device in the following way:
In an optional mode, test client arranges test list for different software in advance, each test list In comprising at least one equipment of same software is provided with, after test client receives test instruction, from the tests column Target detection list corresponding with the target software is obtained in table, and the equipment in target detection list is the upgrading to be tested The target device of version.
In another optional mode, test client exports the list of devices of described two or multiple devices, according to Selection result of the user to the list of devices, obtains the target device of the upgraded version to be tested.
In another optional mode, can set up between the test client and data server shown in Fig. 1 another Individual switch, in order to meet the communication of multiple test clients and data server.Assume exist in the test system shown in Fig. 1 Multiple test clients, each test client are connected with shown data server by the switch that sets up, and are passed through Switch shown in Fig. 1 is connected with serial server, and test result is shared in the test result data of data server In storehouse.Because each test client may carry out the test of target software to the target device in N platform equipment, In order to avoid retest, can be obtained to described by test result data storehouse after each client gets target device The target device for taking further is screened.Detailed process can include:When test client obtains the upgraded version to be tested After target device, the device identification of the version information of the upgraded version and the target device is sent to data server, Data server had tested setting for the upgraded version according to the version information of the upgraded version from test result data library lookup Standby, according to lookup result in the device identification of the target device for receiving, the device identification of existing test result is got rid of, is obtained To the remaining target device mark that remaining target device mark, the test client reception data server are returned, sieved Target device after choosing.
Step 203:According to the target device and the annexation of the serial ports, the target device execution is controlled described The upgraded version of target software.
In an optional mode, annexation of the test client according to the target device and the serial ports, time The target device is gone through, for the either objective equipment for traversing, the switch and serial server can be passed through to described Target device sends the upgraded version of the target software and test instruction;By the switch and serial server from institute State target device and receive test result.
From above example, test client is connected with equipment with serial server by the enforcement by switch, After the target device for obtaining upgraded version to be tested, according to the annexation of serial ports in target device and serial server, will The upgraded version and test command are automatically loaded into target device by switch and serial server, it is achieved that software upgrading When, automatic test of the upgraded version in multiple devices.Therefore, the embodiment of the present invention reduce software test take, improve The testing efficiency of software.
Referring to Fig. 3, another embodiment flow chart of Fig. 3 for the method for testing of invention software, the embodiment is from test Test process of the client-side to the upgraded version of target software on the target device has been described in detail, including following step Suddenly:
Step 301:Test instruction is received, the test is instructed to be tested to the upgraded version of target software for instruction.
The realization of the step is consistent with abovementioned steps 201, will not be described here.
Step 302:The list of devices of the equipment that output is connected with serial server.
In the step, list of devices can include the device number of equipment, and the dbase for having installed software on equipment.
Optionally, list of devices can also include software version that the device model of equipment, device configuration, equipment installs, PCB (Printed Circuit Board, the printed substrate) version of equipment, CPLD (Complex Programmable Logic Device, CPLD) version etc..
In an optional mode, data server pre-saves list of devices, when test client receives test After instruction, can be to the data server requests list of devices, after the list of devices is received from data server, can be by List of devices shows on the display interface of test client, so that tester selects.
In another optional mode, test client can pre-save the said equipment list, work as test client After receiving test instruction, on display interface, the list of devices is directly exported, so that tester selects.
Step 303:According to selection result of the tester to list of devices, the target for obtaining upgraded version to be tested sets Standby.
In an optional mode, tester can be saved as a tests column to the selection result of list of devices Table is simultaneously named, and can be preserved multiple test lists for different upgraded versions and be named, when using next time for tester Select.Optionally, above-mentioned test list can be preserved in client, it is also possible to be uploaded to data server.Furthermore it is possible to For testing list default testing time or test period, test period can be the conventional week that each target software release updates Phase.
Step 304:The device identification of the version information and target device of upgraded version is sent to data server, so that number Remove the equipment for having tested the upgraded version according to server according to the version information and device identification from target device, obtain Remaining target device.
The realization of the step is consistent with the further screening process in abovementioned steps 202 to target device, and here is no longer gone to live in the household of one's in-laws on getting married State.
Step 305:The device identification of the remaining target device that receiving data server is returned.
Step 306:Remaining target device is traveled through.
Step 307:The liter that target software is sent by switch and serial server to the target device for currently traversing Level version and test instruction.
In this step, the upgraded version of target software can also may be used by tester's manual loading in test client To be pre-stored in data server, transferred from data server by test client by tester.
In an optional mode, test client can adopt test platform AMT (Automation Manufacturing Testing, automated production are tested) control targe equipment completes the test to upgraded version.In test During, the test script comprising multiple test cells can be sent to target by test platform AMT and be set by test client In standby, target device executes the test instruction that each test cell includes, and will be anti-for each corresponding implementing result of test instruction Feed test client, test client by test platform AMT receive from target device carry out after these feedback informations whole Reason, obtains test result.
Step 308:The test result that the target device for currently traversing is returned is received by switch and serial server.
Step 309:Judge whether the traversal of remaining target device is completed, if so, then execution step 310, if it is not, then returning Return step 306.
Step 310:To the test result that data server sends remaining target device.
Optionally, after test terminates, test result can be generated test report the default related personnel of mail notification.
From above example, the on the one hand enforcement passes through switch and serial server by test client and equipment It is connected, after the target device for obtaining upgraded version to be tested, closes according to connection of the target device with serial ports in serial server The upgraded version and test command are automatically loaded into target device by switch and serial server, it is achieved that software by system During upgrading, automatic test of the upgraded version in multiple devices, the test for reducing software take, and improve testing efficiency;Separately On the one hand, the embodiment passes through the list of devices for exporting described two or multiple devices, according to choosing of the user to the list of devices Select result and determine target device so that user can be selected to target device as needed, improve the pin of software test To property and operability;Another further aspect, the embodiment are additionally arranged data server, are tied by the test by multiple test clients Fruit is shared, it is to avoid retest, further increases the testing efficiency of software.
The embodiment of the present invention is illustrated below by a specific application example, the application example shows with reference to Fig. 1 The application scenarios for going out are described, where it is assumed that there are multiple test clients in the scene, each test client leads to Cross the switch that sets up between test client and data server to be communicated with data server, and by shown in Fig. 1 Switch and serial server communicated with the equipment of machine room.In the present embodiment, it is assumed that machine room has 8 equipment and serial ports Server connects, the facility information of 8 equipment (device name, equipment form, device number, device type, device version type, Mounted software version, byte order label coding, equipment central processing unit architecture, slot number, the serial ports for being connected Server end slogan etc.) have stored in data server.The device number of 8 equipment, device type, mounted software version This is as shown in table 1 now to carry out the upgraded version A_2.0's of the software on all switches for having installed software A_1.0 Test, test client can be installed and is included in a station computer, and be connected with data server, and test process is as follows:
Tester sends the test to A_2.0 by station computer to test client and instructs, and test client is aobvious Show output equipment list on interface, device number of the list of devices comprising 8 equipment being connected with serial server, device type With the software version being currently installed on, as shown in table 1.
Table 1
Device number Device type Current software version
Equipment 1001 Switch A_1.0
Equipment 1002 Switch A_1.0
Equipment 1003 Switch A_1.0
Equipment 1004 Switch A_1.0
Equipment 1005 Switch A_1.0
Equipment 1006 Switch B_1.0
Equipment 1007 Switch B_1.0
Equipment 5001 Router Y_1.0
Tester downloads the upgraded version A_2.0 of software A by test client from data server, is arranged according to equipment The target device for needing to test A_2.0 selected from shown 8 equipment by table:Equipment 1001, equipment 1002, equipment 1003, equipment 1004 and equipment 1005.
Test client receives the device number of above-mentioned target device, by the version number A_2.0 and above-mentioned mesh of software to be measured The device number of marking device is sent to data server, and data server is according to software version number A_2.0 and target device number to which Line retrieval is entered in internal test result data storehouse, removes the equipment 1005 for having tested version number A_2.0, filters out remaining 4 The device number of individual target device:Equipment 1001, equipment 1002, equipment 1003 and equipment 1004.Test client receives screening After 4 device numbers for going out, it is that this 4 target devices set up test list, the test list is named as A_2.0_list.
Whether test client is objective by other tests from the target device that data server is inquired about in A_2.0_list successively Family end takes, and is carrying out the test of other test clients.If the target device in A_2.0_list exists occupied Situation, then stop test of the test client to target device in list A_2.0_list, by the test client to list In A_2.0_list, the test of target device adds the test queue in data server to rank, and the test queue is by counting Create according to server.If the target device in A_2.0_list is all unoccupied, A_2.0_list is traveled through, to traversed Target device, executes following steps (by taking equipment 1001 as an example):
Test client sends software A via switch and serial server to equipment 1001 by test platform AMT Upgraded version A_2.0 and the test script comprising multiple test cells, the test script is by test client according to equipment 1001 facility information is downloaded from data server and is obtained, and equipment 1001 executes the test instruction that each test cell includes, right The implementing result of each test instruction gives feedback information, and test client receives these feedbacks by AMT from equipment 1001 Arranged after information, obtained test result A_2.0_1001result.
4 test results are obtained after the completion of traversal:A_2.0_1001result、A_2.0_1002result、A_2.0_ 1003result、A_2.0_1004result.
Test client uploads above-mentioned 4 test results and tests column Table A _ 2.0_list to data server.
Corresponding with the embodiment of the method for testing of aforementioned software, present invention also provides the enforcement of the test device of software Example.
The embodiment of the test device of the application software can be applied on test client.Device embodiment can pass through Software is realized, it is also possible to realized by way of hardware or software and hardware combining.As a example by implemented in software, as a logic meaning Device in justice, is read corresponding computer program instructions in nonvolatile memory by the processor of its place equipment To in internal memory, operation is formed.From for hardware view, as shown in figure 4, the test device place equipment for the application software A kind of hardware structure diagram, in addition to the processor shown in Fig. 4, internal memory, network interface and nonvolatile memory, implements Actual functional capability of the equipment that device is located in example generally according to the equipment, can also include other hardware, this is repeated no more.
Fig. 5 is refer to, is one embodiment block diagram of the test device of invention software, it is objective that described device is applied to test Family end, the test client are connected with two or multiple devices by switch and serial server, wherein, every equipment and A serial ports on the serial server is connected, and described device includes:First receiving unit 510, acquiring unit 520, control Unit 530.
Wherein, the first receiving unit 510, tests instruction for receiving, and the test instruction is for instruction to target software Upgraded version tested;
Acquiring unit 520, for obtaining the target device of the upgraded version to be tested in described two or multiple devices;
Control unit 530, for according to the target device and the annexation of the serial ports, controlling the target device Execute the upgraded version of the target software.
From above example, test client is connected with equipment with serial server by the enforcement by switch, After the target device for obtaining upgraded version to be tested, according to the annexation of serial ports in target device and serial server, will The upgraded version and test command are automatically loaded into target device by switch and serial server, it is achieved that software upgrading When, automatic test of the upgraded version in multiple devices.Therefore, the embodiment of the present invention reduce software test take, improve The testing efficiency of software.
In an optional example, described device also includes (not shown in Fig. 5):Storage unit.
Storage unit, for pre-saving the test list of different software, same comprising being provided with each test list At least one equipment of software;
The acquiring unit, specifically for obtaining target detection corresponding with the target software from the test list List, the equipment in the target detection list are the target device of the upgraded version to be tested.
In another optional example, the acquiring unit 520 includes (not shown in Fig. 5):List of devices output Unit, target device obtain subelement.
Wherein, list of devices output subelement, for exporting the list of devices of described two or multiple devices;
Target device obtains subelement, for the selection result according to user to the list of devices, obtains institute to be tested State the target device of upgraded version.
In an optional example, described device also includes (not shown in Fig. 5):Transmitting element, the second receiving unit.
Wherein, transmitting element, the version information and the target for sending the upgraded version to data server set Standby device identification, so that the data server is removed from the target device according to the version information and device identification The equipment of the upgraded version had been tested, remaining target device had been obtained;
Second receiving unit, for receiving the device identification of the remaining target device that the data server is returned;
Described control unit, executes the upgraded version of the target software specifically for controlling the remaining target device.
Above-described embodiment is based on, in another optional example, described control unit 530 includes (not shown in Fig. 5): Target device travels through subelement, and software and instruction send subelement, test result receiving subelement.
Wherein, target device traversal subelement, for traveling through the target device;
Software and instruction send subelement, for setting for the either objective that target device traversal subelement is traversed Upgraded version from serial server to the target device and test standby, that the target software is sent by the switch and Instruction;
Test result receiving subelement, is surveyed for being received from the target device by the switch and serial server Test result.
From above example, the on the one hand enforcement passes through switch and serial server by test client and equipment It is connected, after the target device for obtaining upgraded version to be tested, closes according to connection of the target device with serial ports in serial server The upgraded version and test command are automatically loaded into target device by switch and serial server, it is achieved that software by system During upgrading, automatic test of the upgraded version in multiple devices, the test for reducing software take, and improve testing efficiency;Separately On the one hand, the embodiment passes through the list of devices for exporting described two or multiple devices, according to choosing of the user to the list of devices Select result and determine target device so that user can be selected to target device as needed, improve the pin of software test To property and operability;Another further aspect, the embodiment are additionally arranged data server, are tied by the test by multiple test clients Fruit is shared, it is to avoid retest, further increases the testing efficiency of software.
In said apparatus, the function of unit and effect realizes that process specifically refers in said method corresponding step Process is realized, be will not be described here.
For device embodiment, as which corresponds essentially to embodiment of the method, so related part is referring to method reality Apply the part explanation of example.Device embodiment described above is only schematically, wherein described as separating component The unit of explanation can be or may not be physically separate, as the part that unit shows can be or can also It is not physical location, you can be located at a place, or can also be distributed on multiple NEs.Can be according to reality Need to select some or all of module therein to realize the purpose of application scheme.Those of ordinary skill in the art are not paying In the case of going out creative work, you can to understand and implement.
Those skilled in the art will readily occur to its of the present invention after considering specification and putting into practice invention disclosed herein Its embodiment.The application is intended to any modification of the present invention, purposes or adaptations, these modifications, purposes or Person's adaptations follow the general principle of the present invention and including the undocumented common knowledge in the art of the present invention Or conventional techniques.Description and embodiments are considered only as exemplary, and true scope and spirit of the invention are by following Claim is pointed out.
The preferred embodiment of the application is the foregoing is only, not in order to limiting the application, all essences in the application Within god and principle, any modification, equivalent substitution and improvements that is done etc. are should be included within the scope of the application protection.

Claims (10)

1. a kind of method of testing of software, it is characterised in that methods described is applied to test client, the test client are led to Cross switch and serial server to be connected with two or multiple devices, wherein, on every equipment and the serial server one Individual serial ports is connected, and methods described includes:
Receive and test instruction, the test instruction is tested to the upgraded version of target software for instruction;
Obtain the target device of the upgraded version to be tested in described two or multiple devices;
According to the target device and the annexation of the serial ports, the liter that the target device executes the target software is controlled Level version.
2. method according to claim 1, it is characterised in that methods described also includes:
The test list of different software is pre-saved, is set comprising being provided with least one of same software in each test list Standby;
The target device for obtaining the upgraded version to be tested in described two or multiple devices, including:
Target detection list corresponding with the target software is obtained from the test list, in the target detection list Equipment is the target device of the upgraded version to be tested.
3. method according to claim 1, it is characterised in that institute to be tested in the acquisition two or the multiple devices The target device of upgraded version is stated, including:
Export the list of devices of described two or multiple devices;
According to selection result of the user to the list of devices, the target device of the upgraded version to be tested is obtained.
4. method according to claim 1, it is characterised in that described obtain to be tested in described two or multiple devices After the target device of the upgraded version, also include:
The device identification of the version information and the target device of the upgraded version is sent to data server, so that the number Removed from the target device according to the version information and device identification according to server and tested the upgraded version Equipment, obtains remaining target device;
Receive the device identification of the remaining target device that the data server is returned;
The upgraded version for controlling the target device execution target software, including:
Control the upgraded version that the remaining target device executes the target software.
5. according to the arbitrary described method of Claims 1-4, it is characterised in that the control target device executes described The upgraded version of target software, including:
The target device is traveled through, for the either objective equipment for traversing, following process is executed:
Upgraded version and the survey that the target software is sent by the switch and serial server to the target device Examination instruction;
Test result is received from the target device by the switch and serial server.
6. a kind of test device of software, it is characterised in that described device is applied to test client, the test client are led to Cross switch and serial server to be connected with two or multiple devices, wherein, on every equipment and the serial server one Individual serial ports is connected, and described device includes:
First receiving unit, tests instruction for receiving, and the test instruction is entered to the upgraded version of target software for instruction Row test;
Acquiring unit, for obtaining the target device of the upgraded version to be tested in described two or multiple devices;
Control unit, for according to the target device and the annexation of the serial ports, controlling the target device and executing institute State the upgraded version of target software.
7. device according to claim 6, it is characterised in that also include:
Storage unit, for pre-saving the test list of different software, includes in each test list and is provided with same software At least one equipment;
The acquiring unit, specifically for obtaining target detection row corresponding with the target software from the test list Table, the equipment in the target detection list are the target device of the upgraded version to be tested.
8. device according to claim 6, it is characterised in that the acquiring unit, including:
List of devices exports subelement, for exporting the list of devices of described two or multiple devices;
Target device obtains subelement, for the selection result according to user to the list of devices, obtains the liter to be tested The target device of level version.
9. device according to claim 6, it is characterised in that also include:
Transmitting element, for sending the equipment mark of the version information and the target device of the upgraded version to data server Know, so that the data server is removed from the target device according to the version information and device identification had tested institute The equipment of upgraded version is stated, remaining target device is obtained;
Second receiving unit, for receiving the device identification of the remaining target device that the data server is returned;
Described control unit, executes the upgraded version of the target software specifically for controlling the remaining target device.
10. according to the arbitrary described device of claim 6 to 9, it is characterised in that described control unit, including:
Target device travels through subelement, for traveling through the target device;
Software and instruction send subelement, for traveling through the either objective equipment that subelement is traversed for the target device, Sent the upgraded version of the target software and tested to the target device by the switch and serial server and refer to Order;
Test result receiving subelement, for receiving test knot by the switch and serial server from the target device Really.
CN201610894094.0A 2016-10-13 2016-10-13 The test method and device of software Active CN106502888B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610894094.0A CN106502888B (en) 2016-10-13 2016-10-13 The test method and device of software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610894094.0A CN106502888B (en) 2016-10-13 2016-10-13 The test method and device of software

Publications (2)

Publication Number Publication Date
CN106502888A true CN106502888A (en) 2017-03-15
CN106502888B CN106502888B (en) 2019-03-15

Family

ID=58294804

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610894094.0A Active CN106502888B (en) 2016-10-13 2016-10-13 The test method and device of software

Country Status (1)

Country Link
CN (1) CN106502888B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107451058A (en) * 2017-07-31 2017-12-08 北京云测信息技术有限公司 A kind of software development methodology and device
CN109062817A (en) * 2018-10-15 2018-12-21 网宿科技股份有限公司 Automated testing method and system
CN109947655A (en) * 2019-03-28 2019-06-28 北京网聘咨询有限公司 Mobile front end test platform
CN110032481A (en) * 2019-03-21 2019-07-19 杭州涂鸦信息技术有限公司 A kind of wireless product test method, wireless product test macro and electronic equipment
CN110308923A (en) * 2018-03-27 2019-10-08 上海擎感智能科技有限公司 A kind of test method and its system of OTA upgrading
CN110688313A (en) * 2019-09-26 2020-01-14 天津津航计算技术研究所 Fault injection method for software test under VxWorks operating system
CN111367746A (en) * 2020-03-16 2020-07-03 纳瓦电子(上海)有限公司 Test method of wireless complete machine
CN112631931A (en) * 2020-12-29 2021-04-09 北京天融信网络安全技术有限公司 Version testing method and device, storage medium and electronic equipment
CN114093359A (en) * 2021-11-23 2022-02-25 四川虹美智能科技有限公司 Voice module detection device and method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102347810A (en) * 2011-10-21 2012-02-08 迈普通信技术股份有限公司 Centralized test system and method of machine room
CN203133267U (en) * 2012-12-17 2013-08-14 辽宁省电力有限公司电力科学研究院 Function test system for electric energy acquisition terminal
CN203759956U (en) * 2014-03-28 2014-08-06 王永刚 Special transformer collection information acquiring simulated training device
CN104052632A (en) * 2014-05-29 2014-09-17 汉柏科技有限公司 Device automation testing method and device based on virtual serial port servers
CN105183644A (en) * 2015-08-20 2015-12-23 上海斐讯数据通信技术有限公司 Multipletask integrated automatic test system and method
US20160112252A1 (en) * 2014-10-15 2016-04-21 Cisco Technology, Inc. Deployment and upgrade of network devices in a network environment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102347810A (en) * 2011-10-21 2012-02-08 迈普通信技术股份有限公司 Centralized test system and method of machine room
CN203133267U (en) * 2012-12-17 2013-08-14 辽宁省电力有限公司电力科学研究院 Function test system for electric energy acquisition terminal
CN203759956U (en) * 2014-03-28 2014-08-06 王永刚 Special transformer collection information acquiring simulated training device
CN104052632A (en) * 2014-05-29 2014-09-17 汉柏科技有限公司 Device automation testing method and device based on virtual serial port servers
US20160112252A1 (en) * 2014-10-15 2016-04-21 Cisco Technology, Inc. Deployment and upgrade of network devices in a network environment
CN105183644A (en) * 2015-08-20 2015-12-23 上海斐讯数据通信技术有限公司 Multipletask integrated automatic test system and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李文佳: "基于TCL的报文转发自动化测试系统设计与实现", 《万方数据知识服务平台》 *

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107451058B (en) * 2017-07-31 2023-05-30 北京云测信息技术有限公司 Software development method and device
CN107451058A (en) * 2017-07-31 2017-12-08 北京云测信息技术有限公司 A kind of software development methodology and device
CN110308923A (en) * 2018-03-27 2019-10-08 上海擎感智能科技有限公司 A kind of test method and its system of OTA upgrading
CN109062817B (en) * 2018-10-15 2022-06-03 网宿科技股份有限公司 Automatic testing method and system
CN109062817A (en) * 2018-10-15 2018-12-21 网宿科技股份有限公司 Automated testing method and system
CN110032481A (en) * 2019-03-21 2019-07-19 杭州涂鸦信息技术有限公司 A kind of wireless product test method, wireless product test macro and electronic equipment
CN110032481B (en) * 2019-03-21 2023-08-18 杭州涂鸦信息技术有限公司 Wireless product testing method, wireless product testing system and electronic equipment
CN109947655A (en) * 2019-03-28 2019-06-28 北京网聘咨询有限公司 Mobile front end test platform
CN110688313A (en) * 2019-09-26 2020-01-14 天津津航计算技术研究所 Fault injection method for software test under VxWorks operating system
CN111367746A (en) * 2020-03-16 2020-07-03 纳瓦电子(上海)有限公司 Test method of wireless complete machine
CN112631931A (en) * 2020-12-29 2021-04-09 北京天融信网络安全技术有限公司 Version testing method and device, storage medium and electronic equipment
CN112631931B (en) * 2020-12-29 2023-08-29 北京天融信网络安全技术有限公司 Version testing method and device, storage medium and electronic equipment
CN114093359A (en) * 2021-11-23 2022-02-25 四川虹美智能科技有限公司 Voice module detection device and method

Also Published As

Publication number Publication date
CN106502888B (en) 2019-03-15

Similar Documents

Publication Publication Date Title
CN106502888A (en) The method of testing of software and device
CN111245898B (en) Network equipment online method, device, server and storage medium
CN104065528A (en) Method And Apparatus For Analyzing And Verifying Functionality Of Multiple Network Devices
CN109218133A (en) Network speed testing system, method, apparatus and computer readable storage medium
CN103475682B (en) File transfer method and file transfer equipment
CN105378493A (en) Cloud based infrastructure for supporting protocol reconfigurations in protocol independent device testing systems
CN105144114A (en) A tester with mixed protocol engine in a FPGA block
CN106155907B (en) A kind of automated testing method, device and calculate equipment
CN104980312A (en) A Portable Testing Apparatus And Method
CN105787364A (en) Automated testing method, device and system for task
CN104468288B (en) Terminal network data test method and device
CN106708715A (en) Automatic test method and device
CN102810076B (en) storage medium switching control system and method
CN106776350A (en) The accurate method of testing and device of a kind of program
CN113672441B (en) Method and device for testing intelligent equipment
US20150100674A1 (en) Device for configuration of ethernet equipment and method for configuration of ethernet equipment using such a device
CN108563562A (en) Test method, device, computer equipment and the storage medium of distributed system
CN110413527A (en) Test macro, test method, electronic equipment and computer readable storage medium
CN107634871A (en) A kind of continuity testing method, apparatus and system
CN111245671B (en) Automatic integrated test system for ground test of satellite laser communication terminal
CN106201852A (en) A kind of distributed test method and test system
CN105045717B (en) Test environment dispositions method, device and system
CN110365508A (en) The method and network function of virtual network function instantiation virtualize composer
CN102264089B (en) A kind of logic device of base station system remote upgrade method and device
CN107800735A (en) Data acquisition implementation method and device, collecting method, apparatus and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant