CN106502888B - The test method and device of software - Google Patents

The test method and device of software Download PDF

Info

Publication number
CN106502888B
CN106502888B CN201610894094.0A CN201610894094A CN106502888B CN 106502888 B CN106502888 B CN 106502888B CN 201610894094 A CN201610894094 A CN 201610894094A CN 106502888 B CN106502888 B CN 106502888B
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.)
Active
Application number
CN201610894094.0A
Other languages
Chinese (zh)
Other versions
CN106502888A (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/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • 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/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • G06F11/3696Methods or tools to render software testable

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present invention provides the test method and device of a kind of software, the method is applied to test client, the test client is connect by interchanger and serial server with two or multiple devices, wherein, every equipment is connected with a serial ports on the serial server, the described method includes: receiving test instruction, the test instruction, which is used to indicate, tests the upgraded version of target software;Obtain the target device of the upgraded version to be tested in described two or multiple devices;According to the connection relationship of the target device and the serial ports, the upgraded version that the target device executes the target software is controlled.Using the embodiment of the present invention, the interaction of test client and multiple devices is realized by using interchanger and serial server, by loading on the target device upgraded version automatically, realizes automatic test of the upgraded version in multiple devices in software upgrading.The embodiment of the present invention reduces software test time-consuming, improves Efficiency of Software Testing.

Description

The test method and device of software
Technical field
The present invention relates to fields of communication technology, the in particular to test method and device of software.
Background technique
Currently, in the scene for being provided with plurality of devices, such as in computer room, it is understood that there may be plurality of devices shares same software The phenomenon that.So these equipment are needed to be traversed for, thus to the upgrade version of the software when carrying out edition upgrading to a certain software This is tested, to determine these equipment to the suitability of the upgraded version.
In the prior art, when the suitability to the software upgrading version is tested, tester's traversal is needed to share The upgraded version of all devices of the software, the manual loading software is tested, and obtains test result.It can be seen that the prior art In, due to the test mode using manual loading software, time-consuming, low efficiency for the test of software.
Summary of the invention
The embodiment of the present invention provides the test method and device of software, and the test for solving software in the prior art is time-consuming The problem of length, low efficiency.
According to a first aspect of the embodiments of the present invention, a kind of test method of software is provided, the method is applied to test Client, the test client are connect by interchanger and serial server with two or multiple devices, wherein every equipment It is connected with a serial ports on the serial server, which comprises
Test instruction is received, the test instruction, which is used to indicate, tests the upgraded version of target software;
Obtain the target device of the upgraded version to be tested in described two or multiple devices;
According to the connection relationship of the target device and the serial ports, controls the target device and execute the target software Upgraded version.
According to a second aspect of the embodiments of the present invention, a kind of test device of software is provided, described device is applied to test Client, the test client are connect by interchanger and serial server with two or multiple devices, wherein every equipment It is connected with a serial ports on the serial server, described device includes:
First receiving unit, for receiving test instruction, the test instruction is used to indicate the upgrade version to target software This is tested;
Acquiring unit, for obtaining the target device of the upgraded version to be tested in described two or multiple devices;
Control unit controls the target device and holds for the connection relationship according to the target device and the serial ports The upgraded version of the row target software.
By above technical scheme as it can be seen that the embodiment of the present invention by interchanger and serial server by test client with set It is standby to be 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 interchanger and serial server, realized soft by relationship When part upgrades, 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.
Detailed description of the invention
Fig. 1 is an application scenarios schematic diagram of the test method of software of the embodiment of the present invention;
Fig. 2 is one embodiment flow chart of the test method of invention software;
Fig. 3 is another embodiment flow chart of the test method of invention software;
Fig. 4 is a kind of hardware structure diagram of equipment where the test device of invention software;
Fig. 5 is one embodiment block diagram of the test device of invention software.
Specific embodiment
In order to make those skilled in the art better understand the technical solution in the embodiment of the present invention, and make of the invention real The above objects, features, and advantages for applying example can be more obvious and easy to understand, with reference to the accompanying drawing to the technology in the embodiment of the present invention Scheme is described in further detail.
Fig. 1 is an application scenarios schematic diagram of the test method of software of the embodiment of the present invention.
As shown in Figure 1, include: in the application scenarios data server, test client, interchanger, serial server with And N platform equipment.Wherein, shown N platform equipment can be placed in computer room, and optionally, above-mentioned N platform equipment can be placed in different In computer room, every equipment is connected with a serial ports on serial server, has wherein been loaded with the original of software in N platform equipment Version can normally start, and N platform equipment can normally download software from test client;Test client and interchanger Connection, interchanger are connect with serial server, and test client can be according to the connection relationship of N platform equipment and serial ports, Xiang Shangshu N Any appliance in platform equipment sends test command;Interchanger is connect with above-mentioned N platform equipment, and test client can pass through exchange Any appliance of the machine into above-mentioned N platform equipment loads software;Data server is connect with test client, and data server can be with Serial ports and the connection relationship of N platform equipment and the facility information of N platform equipment in above-mentioned serial server are saved, is completed in test Afterwards, the test result of test client can also be saved the test result database pre-established inside it by data server In.
By taking the upgraded version test for carrying out software to the equipment of N platform shown in Fig. 1 as an example, in the prior art, tester is needed Member chooses the target device of the upgraded version to be tested in the N platform equipment shown in, then to the target device of selection successively hand The dynamic upgraded version that loads is tested, and obtains test result.It can be seen that in the prior art, due to using manual loading software Test mode, therefore time-consuming, low efficiency for the test of software.
In embodiments of the present invention, by interchanger and serial server by test client N platform equipment phase with shown in 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 upgraded version and test command are automatically loaded by the connection corresponding relationship of serial ports in device by interchanger and serial server Target device, thus when realizing software upgrading, automatic test of the upgraded version in multiple devices.Therefore, the present invention is implemented The test that example reduces software is time-consuming, improves the testing efficiency of software.
Below with reference to application scenarios shown in fig. 1, the embodiment of the present invention is described in detail.
Referring to fig. 2, Fig. 2 is one embodiment flow chart of the test method of invention software, which is applied to survey Try client, comprising the following steps:
Step 201: receiving test instruction, the test instruction, which is used to indicate, surveys the upgraded version of target software Examination.
In an optional implementation, can test be arranged for multiple target softwares to be tested in advance in tester Period, test period are the regular period that each target software release updates.Such as: the conventional update cycle of software A is 2 Month, then can be set for software A one 2 months test period.When reaching test period, sends and test to test client Instruction, tests the upgraded version of target software.
In another optional implementation, tester can also be when knowing target software upgrading, to test visitor Family end sends test instruction, and the upgraded version of target software is tested in instruction.
In the present embodiment, test client passes through the communication between interchanger and serial server and Devices to test, such as: The transmission of software upgrading version, tests the transmission of instruction, and the reception etc. of test result can be based on Telnet protocol realization.
Step 202: obtaining the target device of the upgraded version to be tested in two or multiple devices.
In this step, test client can obtain in the following way target device:
In an optional mode, test client is different software setting test list, each test list in advance In comprising being equipped at least one equipment of same software, after test client receives test instruction, from the tests column Target detection list corresponding with the target software is obtained in table, 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 User obtains the target device of the upgraded version to be tested to the selection result of the list of devices.
In another optional mode, it can be added between test client and data server shown in Fig. 1 another A interchanger, to meet the communication of multiple test clients and data server.Assuming that existing in test macro shown in FIG. 1 Multiple test clients, each test client passes through the interchanger added and is connected with shown data server, and passes through Interchanger shown in Fig. 1 is connected with serial server, and test result is shared in the test result data of data server In library.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 by test result database to described after each client gets target device The target device taken further screens.Detailed process may 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 from test result database lookup according to the version information of the upgraded version It is standby, according to lookup result in the device identification of received target device, the device identification of existing test result is got rid of, is obtained It is identified to remaining target device, test client receives the remaining target device mark that the data server returns, and is sieved Target device after choosing.
Step 203: according to the connection relationship of the target device and the serial ports, controlling described in the target device execution The upgraded version of target software.
In an optional mode, test client according to the target device and the serial ports connection relationship, time The target device is gone through, it, can be by the interchanger and serial server to described for the either objective equipment traversed Target device sends upgraded version and the test instruction of the target software;By the interchanger and serial server from institute It states target device and receives test result.
By above embodiments as it can be seen that the embodiment passes through interchanger and serial server for test client and equipment phase Even, after the target device for obtaining upgraded version to be tested, according to the connection relationship of serial ports in target device and serial server, The upgraded version and test command are automatically loaded into target device by interchanger and serial server, realize software upgrading When, automatic test of the upgraded version in multiple devices.Therefore, the embodiment of the present invention reduces the test time-consuming of software, improves The testing efficiency of software.
Referring to Fig. 3, Fig. 3 is another embodiment flow chart of the test method of invention software, and the embodiment is from test The test process of the upgraded version of target software on the target device is described in detail in client-side, including following step It is rapid:
Step 301: receiving test instruction, test instruction, which is used to indicate, tests the upgraded version of target software.
The realization of the step and abovementioned steps 201 are consistent, and details are not described herein.
Step 302: the list of devices for the equipment that output is connect with serial server.
In the step, list of devices may include the dbase that software has been installed on the device number and equipment of equipment.
Optionally, list of devices can also include the device model of equipment, device configuration, equipment installation software version, PCB (Printed Circuit Board, printed wiring board) version of equipment, CPLD (Complex Programmable Logic Device, Complex Programmable Logic Devices) version etc..
In an optional mode, data server pre-saves list of devices, when test client receives test After instruction, it can be incited somebody to action to the data server requests list of devices, after receiving the list of devices from data server List of devices is shown on the display interface of test client, for tester's selection.
In another optional mode, test client can pre-save above equipment list, work as test client After receiving test instruction, the list of devices is directly exported in the display interface, for tester's selection.
Step 303: according to tester to the selection result of list of devices, the target for obtaining upgraded version to be tested is set It is standby.
In an optional mode, selection result of the tester to list of devices can be saved as to a tests column Table is simultaneously named, and can be saved multiple test lists for different upgraded versions and be named, when using next time for tester Selection.Optionally, above-mentioned test list can be saved in client, can also be uploaded to data server.Furthermore it is possible to It is preset testing time or test period for test list, the conventional week that test period can update for each target software release Phase.
Step 304: the device identification of the version information and target device of upgraded version is sent to data server, so that number It removes the equipment for having tested the upgraded version from target device according to the version information and device identification according to server, obtains Remaining target device.
The realization of the step is consistent to the further screening process of target device with abovementioned steps 202, no longer superfluous herein It states.
Step 305: receiving the device identification for the remaining target device that data server returns.
Step 306: remaining target device is traversed.
Step 307: sending the liter of target software to the target device currently traversed by interchanger and serial server Grade version and test instruction.
In this step, the upgraded version of target software can be by tester's manual loading into test client, can also To be pre-stored in data server, transferred from data server by tester by test client.
In an optional mode, test client can use test platform AMT (Automation Manufacturing Testing, automated production test) test of the control target device completion to upgraded version.It is testing In the process, test client can send target for the test script comprising multiple test cells by test platform AMT and set In standby, target device executes the test instruction that each test cell includes, and instructs corresponding implementing result anti-each test It feeds test client, test client carries out whole after receiving these feedback informations from target device by test platform AMT Reason obtains test result.
Step 308: the test result that the target device currently traversed returns is received by interchanger and serial server.
Step 309: judging whether complete to the traversal of remaining target device, if so, 310 are thened follow the steps, if it is not, then returning Return step 306.
Step 310: the test result of remaining target device is sent to data server.
It optionally, can be generating test results as test report and the preset related personnel of mail notification after test.
By above embodiments as it can be seen that on the one hand the embodiment by interchanger and serial server by test client with set It is standby to be 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 interchanger and serial server, realized soft by relationship When part upgrades, automatic test of the upgraded version in multiple devices, the test for reducing software is time-consuming, improves testing efficiency; On the other hand, which passes through the list of devices for exporting described two or multiple devices, according to user to the list of devices Selection result determines target device, selects so that user can according to need target device, improves software test Specific aim and operability;In another aspect, the embodiment is additionally arranged data server, by by the test of multiple test clients Result-sharing avoids retest, further improves the testing efficiency of software.
The embodiment of the present invention is illustrated below by a specific application example, application example combination Fig. 1 shows Application scenarios out are described, wherein assuming that there are multiple test clients in the scene, each test client is logical It crosses the interchanger added between test client and data server to be communicated with data server, and by shown in Fig. 1 Interchanger and serial server communicated with the equipment of computer room.In the present embodiment, it is assumed that computer room shares 8 equipment and serial ports Server connection, 8 equipment facility information (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 connected Server end slogan etc.) it has stored in data server.The device number of 8 equipment, device type, mounted software version This as shown in table 1, is now on all interchangers for having installed software A_1.0, carries out the upgraded version A_2.0's of the software Test, test client can be installed included in a station computer, and be connect with data server, and test process is as follows:
Tester issues the test to A_2.0 to test client by station computer and instructs, and test client is aobvious Show output equipment list on interface, which includes the device number for 8 equipment connecting 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 Interchanger A_1.0
Equipment 1002 Interchanger A_1.0
Equipment 1003 Interchanger A_1.0
Equipment 1004 Interchanger A_1.0
Equipment 1005 Interchanger A_1.0
Equipment 1006 Interchanger B_1.0
Equipment 1007 Interchanger 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 Table selects the target device for needing to test A_2.0: equipment 1001, equipment 1002, equipment 1003, equipment from shown 8 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 it Internal test result database is retrieved, and the equipment 1005 of version number A_2.0 had been tested in removal, filters out remaining 4 The device number of a target device: equipment 1001, equipment 1002, equipment 1003 and equipment 1004.Test client receives screening After 4 device numbers out, it is that this 4 target devices establish test list, which is named as A_2.0_list.
Whether test client successively inquires the target device in A_2.0_list from data server by other test visitors Family end occupies, and is carrying out the test of other test clients.If there are occupied for the target device in A_2.0_list Situation then stops test of the test client to target device in list A_2.0_list, by the test client to list The test queue that the test of target device is added in data server in A_2.0_list is lined up, and the test queue is by counting It is created according to server.If the target device in A_2.0_list is all unoccupied, A_2.0_list is traversed, to what is traversed Target device executes following steps (by taking equipment 1001 as an example):
Test client sends software A's to equipment 1001 via interchanger and serial server by test platform AMT Upgraded version A_2.0 and test script comprising multiple test cells, the test script is by test client according to equipment 1001 facility information is obtained from data server downloading, 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 from equipment 1001 by AMT It is arranged after information, obtains test result A_2.0_1001result.
4 test results: A_2.0_1001result, A_2.0_1002result, A_2.0_ are obtained after the completion of traversal 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 test method of aforementioned software, present invention also provides the implementations of the test device of software Example.
The embodiment of the test device of the application software can be applied on test client.Installation practice can pass through Software realization can also be realized by way of hardware or software and hardware combining.Taking software implementation as an example, it anticipates as a logic Device in justice is to be read computer program instructions corresponding in nonvolatile memory by the processor of equipment where it Into memory, operation is formed.For hardware view, as shown in figure 4, for equipment where the test device of the application software A kind of hardware structure diagram is implemented other than processor shown in Fig. 4, memory, network interface and nonvolatile memory Equipment in example where device can also include other hardware, repeat no more to this generally according to the actual functional capability of the equipment.
Referring to FIG. 5, one embodiment block diagram of the test device for invention software, described device is applied to test visitor Family end, the test client are connect by interchanger and serial server with two or multiple devices, wherein every equipment and A serial ports on the serial server is connected, and described device includes: the first receiving unit 510, acquiring unit 520, control Unit 530.
Wherein, the first receiving unit 510, for receiving test instruction, the test instruction is used to indicate 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 controls the target device for the connection relationship according to the target device and the serial ports Execute the upgraded version of the target software.
By above embodiments as it can be seen that the embodiment passes through interchanger and serial server for test client and equipment phase Even, after the target device for obtaining upgraded version to be tested, according to the connection relationship of serial ports in target device and serial server, The upgraded version and test command are automatically loaded into target device by interchanger and serial server, realize software upgrading When, automatic test of the upgraded version in multiple devices.Therefore, the embodiment of the present invention reduces the test time-consuming of software, improves The testing efficiency of software.
In an optional example, described device further includes (being not shown in Fig. 5): storage unit.
Storage unit, it is same comprising being equipped in each test list for pre-saving the test list of different software At least one equipment of software;
The acquiring unit is specifically used 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 (being not shown in Fig. 5): list of devices output Unit, target device obtain subelement.
Wherein, list of devices exports subelement, for exporting the list of devices of described two or multiple devices;
Target device obtains subelement and obtains institute to be tested for the selection result according to user to the list of devices State the target device of upgraded version.
In an optional example, described device further includes (being not shown in Fig. 5): transmission unit, the second receiving unit.
Wherein, transmission unit, version information from the upgraded version to data server and the target for sending are 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 for having tested the upgraded version obtains remaining target device;
Second receiving unit, for receiving the device identification for the remaining target device that the data server returns;
Described control unit executes the upgraded version of the target software specifically for controlling the remaining target device.
Based on the above embodiment, in another optional example, described control unit 530 includes (being not shown in Fig. 5): Target device traverses subelement, software and instruction transmission sub-unit, test result receiving subelement.
Wherein, target device traverses subelement, for traversing the target device;
Software and instruction transmission sub-unit, the either objective for traversing for target device traversal subelement are set It is standby, upgraded version and the test of the target software are sent to the target device by the interchanger and serial server Instruction;
Test result receiving subelement is surveyed for being received by the interchanger and serial server from the target device Test result.
By above embodiments as it can be seen that on the one hand the embodiment by interchanger and serial server by test client with set It is standby to be 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 interchanger and serial server, realized soft by relationship When part upgrades, automatic test of the upgraded version in multiple devices, the test for reducing software is time-consuming, improves testing efficiency; On the other hand, which passes through the list of devices for exporting described two or multiple devices, according to user to the list of devices Selection result determines target device, selects so that user can according to need target device, improves software test Specific aim and operability;In another aspect, the embodiment is additionally arranged data server, by by the test of multiple test clients Result-sharing avoids retest, further improves the testing efficiency of software.
The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual The purpose for needing to select some or all of the modules therein to realize application scheme.Those of ordinary skill in the art are not paying Out in the case where creative work, it can understand and implement.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its Its embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the present invention Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following Claim is pointed out.
The foregoing is merely the preferred embodiments of the application, not to limit the application, all essences in the application Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the application protection.

Claims (8)

1. a kind of test method of software, which is characterized in that the method is applied to test client, and the test client is logical It crosses interchanger and serial server to connect with two or multiple devices, wherein one in every equipment and the serial server A serial ports is connected, which comprises
Test instruction is received, the test instruction, which is used to indicate, tests the upgraded version of target software;
Obtain the target device of the upgraded version to be tested in described two or multiple devices;
The device identification that the version information and the target device of the upgraded version are sent to data server, so that the number It is removed from the target device according to server according to the version information and device identification and had tested the upgraded version Equipment obtains remaining target device;
Receive the device identification for the remaining target device that the data server returns;
According to the connection relationship of the target device and the serial ports, the liter that the target device executes the target software is controlled Grade version, comprising: the control remaining target device executes the upgraded version of the target software.
2. the method according to claim 1, wherein the method also includes:
Pre-save the test list of different software, in each test list comprising same software is installed at least one set It is standby;
The target device for obtaining the upgraded version to be tested in two or the multiple devices, comprising:
Corresponding with target software target detection list is obtained from the test list, in the target detection list Equipment is the target device of the upgraded version to be tested.
3. the method according to claim 1, wherein described obtain institute to be tested in described two or multiple devices State the target device of upgraded version, comprising:
Export the list of devices of described two or multiple devices;
According to user to the selection result of the list of devices, the target device of the upgraded version to be tested is obtained.
4. method according to any one of claims 1 to 3, which is characterized in that described in the control target device executes The upgraded version of target software, comprising:
The target device is traversed, for the either objective equipment traversed, executes following process:
Upgraded version and the survey of the target software are sent to the target device by the interchanger and serial server Examination instruction;
Test result is received from the target device by the interchanger and serial server.
5. a kind of test device of software, which is characterized in that described device is applied to test client, and the test client is logical It crosses interchanger and serial server to connect with two or multiple devices, wherein one in every equipment and the serial server A serial ports is connected, and described device includes:
First receiving unit, for receiving test instruction, the test instruction be used to indicate to the upgraded version of target software into Row test;
Acquiring unit, for obtaining the target device of the upgraded version to be tested in described two or multiple devices;
Transmission unit, for sending the version information of the upgraded version and the equipment mark of the target device 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 for stating upgraded version obtains remaining target device;
Second receiving unit, for receiving the device identification for the remaining target device that the data server returns;
Control unit controls the target device and executes institute for the connection relationship according to the target device and the serial ports State the upgraded version of target software, wherein described control unit is specifically used for controlling the remaining target device execution mesh Mark the upgraded version of software.
6. device according to claim 5, which is characterized in that further include:
Storage unit includes to be equipped with same software in each test list for pre-saving the test list of different software At least one equipment;
The acquiring unit is specifically used for obtaining target detection column 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.
7. device according to claim 5, which is characterized in that the acquiring unit, comprising:
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 grade version.
8. according to any device of claim 5 to 7, which is characterized in that described control unit, comprising:
Target device traverses subelement, for traversing the target device;
Software and instruction transmission sub-unit, the either objective equipment for being traversed for target device traversal subelement, By the interchanger and serial server sends the upgraded version of the target software to the target device and test refers to It enables;
Test result receiving subelement, for receiving test knot from the target device by the interchanger and serial server Fruit.
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 CN106502888A (en) 2017-03-15
CN106502888B true 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)

Families Citing this family (11)

* 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
CN110308923A (en) * 2018-03-27 2019-10-08 上海擎感智能科技有限公司 A kind of test method and its system of OTA upgrading
CN109446070A (en) * 2018-09-26 2019-03-08 深圳壹账通智能科技有限公司 Networking software upgrading test method, apparatus, electronic equipment and storage medium
CN109062817B (en) * 2018-10-15 2022-06-03 网宿科技股份有限公司 Automatic testing method and system
CN109783366A (en) * 2018-12-15 2019-05-21 深圳壹账通智能科技有限公司 APP edition upgrading compatibility test method, device, equipment and storage medium
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
CN110688313B (en) * 2019-09-26 2022-11-18 天津津航计算技术研究所 Fault injection method for software testing under VxWorks operating system
CN111367746A (en) * 2020-03-16 2020-07-03 纳瓦电子(上海)有限公司 Test method of wireless complete machine
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

Citations (5)

* 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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160112252A1 (en) * 2014-10-15 2016-04-21 Cisco Technology, Inc. Deployment and upgrade of network devices in a network environment

Patent Citations (5)

* 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

Non-Patent Citations (1)

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

Also Published As

Publication number Publication date
CN106502888A (en) 2017-03-15

Similar Documents

Publication Publication Date Title
CN106502888B (en) The test method and device of software
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
CN109302522A (en) Test method, device and computer system and medium
CN105378493A (en) Cloud based infrastructure for supporting protocol reconfigurations in protocol independent device testing systems
CN106301910B (en) A kind of programming system and its method of WiFi equipment
CN106681924A (en) Software testing method and software testing system
CN105450476A (en) Regression test system and test method
CN113672441B (en) Method and device for testing intelligent equipment
CN108073402A (en) Kafka clusters automatic deployment method and device based on linux system
CN101156153A (en) System and apparatus for in-system programming
CN106357738A (en) Automatic arrangement method for server cluster and device as well as system thereof
CN110413527A (en) Test macro, test method, electronic equipment and computer readable storage medium
CN110196800A (en) Distributed transaction test method, apparatus and system
CN104811979A (en) Pressure testing method and device based on FOTA upgrading
CN106293842B (en) Software installation method and device
CN110046088A (en) A kind of interface test method, device and equipment
CN108616391A (en) Method and system for upgrading equipment firmware at server side
CN106294037A (en) Strike-machine method of testing and device
CN113452556A (en) Product skill configuration method and device, storage medium and electronic device
CN109660386B (en) Software upgrading method for semiconductor memory aging test system
CN107634871A (en) A kind of continuity testing method, apparatus and system
CN106201852A (en) A kind of distributed test method and test system
CN106445611B (en) Big data node system and automatic deployment method
US11627043B2 (en) System and method for commissioning a network element

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