CN112783770A - Software testing method, device, equipment and computer readable storage medium - Google Patents

Software testing method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN112783770A
CN112783770A CN202110079574.2A CN202110079574A CN112783770A CN 112783770 A CN112783770 A CN 112783770A CN 202110079574 A CN202110079574 A CN 202110079574A CN 112783770 A CN112783770 A CN 112783770A
Authority
CN
China
Prior art keywords
target
software
test
equipment
testing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110079574.2A
Other languages
Chinese (zh)
Inventor
杨勇
吴泽晓
龚继跃
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen 3irobotix Co Ltd
Original Assignee
Shenzhen 3irobotix 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 Shenzhen 3irobotix Co Ltd filed Critical Shenzhen 3irobotix Co Ltd
Priority to CN202110079574.2A priority Critical patent/CN112783770A/en
Publication of CN112783770A publication Critical patent/CN112783770A/en
Pending legal-status Critical Current

Links

Images

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/3684Test management for test design, e.g. generating new test cases
    • 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

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)
  • Debugging And Monitoring (AREA)

Abstract

The application discloses a software testing method, a device, equipment and a computer readable storage medium, wherein the testing equipment and the tested equipment are connected in the same local area network, and the software testing method comprises the following steps: receiving a test instruction for testing a target machine type, and sending a broadcast based on the local area network to acquire parameter information of tested equipment in the local area network; determining the tested equipment corresponding to the target machine type as target equipment according to the parameter information; and sending software test parameters to the target equipment so that the target equipment performs software test on the target equipment according to the software test parameters, wherein the software test parameters correspond to the model of the target equipment, and target equipment of different models correspond to different software test parameters. The technical problem that software testing cannot be simultaneously performed on testing equipment of different types is solved, and the software testing efficiency of the equipment of different types is improved.

Description

Software testing method, device, equipment and computer readable storage medium
Technical Field
The present application relates to the field of software testing technologies, and in particular, to a software testing method, apparatus, device, and computer readable storage medium.
Background
Before the product is on the market, software for realizing each function is tested to check whether careless mistakes exist in the software.
In the prior art, software is usually tested by controlling the software installed in the same machine type in a corresponding detection machine position. However, in the production line process, the devices of different models are often controlled to produce in a small amount, and in this case, the software of different models needs to be tested simultaneously.
Disclosure of Invention
The embodiment of the application aims to solve the technical problem that test equipment of different types cannot be controlled to simultaneously perform software test by providing a software test method, a software test device, equipment and a computer readable storage medium.
The test equipment and the tested equipment are connected to the same local area network, and the software test method comprises the following steps:
receiving a test instruction for testing a target machine type, and sending a broadcast based on the local area network to acquire parameter information of tested equipment in the local area network;
determining the tested equipment corresponding to the target machine type as target equipment according to the parameter information;
and sending software test parameters to the target equipment so that the target equipment performs software test on the target equipment according to the software test parameters, wherein the software test parameters correspond to the model of the target equipment, and target equipment of different models correspond to different software test parameters.
Optionally, the step of sending the software test parameters to the target device to enable the target device to perform software test on the target device according to the software test parameters includes:
determining a software testing stage of the target equipment;
and sending the software testing parameters corresponding to the software testing stage to the target equipment for software testing.
Optionally, before the step of receiving a test instruction for testing a target machine type and sending a broadcast based on the local area network to obtain parameter information of a device under test in the local area network, the method includes:
determining to perform online testing according to the operation information of the user, and acquiring an account and a password input by the user;
when the identity of the user login is determined to be an administrator user according to the account, a model information list of the tested equipment in a local area network is obtained from a server, so that the user can select a corresponding model based on the model list, and the model selected by the user is determined to be the target model;
and generating the test instruction based on the target model selected by the user.
Optionally, after the step of determining to perform an online test according to the operation information of the user and acquiring the account and the password input by the user, the method includes:
when the identity of the user login is determined to be the identity of the common user according to the account, determining the machine type in the configuration file to be the target machine type; alternatively, the first and second electrodes may be,
when the user carries out off-line test, determining the machine type in the configuration file as the target machine type;
and generating the test instruction based on the target model in the configuration file.
Optionally, after the step of determining, according to the parameter information, that the device under test corresponding to the target model is the target device, the method includes:
acquiring a detection record of the target equipment based on the serial number of the target equipment;
determining whether the test state of the target equipment is in a target state according to the detection record, wherein the target state comprises any one or more of missed detection, repeated detection and maintenance detection;
and when the target equipment is determined not to be in the target state, sending software testing parameters to the target equipment so that the target equipment performs software testing on the target equipment according to the software testing parameters.
Optionally, after the step of sending the software testing parameters to the target device so that the target device performs the software testing on the target device according to the software testing parameters, the method further includes:
acquiring current state information;
and when the state information is in an online state, sending the test record of the software test to a server so that the server stores the test record.
Optionally, after the step of sending the software testing parameters to the target device so that the target device performs the software testing on the target device according to the software testing parameters, the method includes:
and displaying the test result of the software test on a display interface.
In addition, to implement the foregoing embodiment, the present application further provides a software testing apparatus, including:
the receiving module is used for receiving a test instruction for testing a target machine type and sending broadcast based on the local area network to acquire parameter information of tested equipment in the local area network;
the determining module is used for determining the tested equipment corresponding to the target machine type as target equipment according to the parameter information;
and the sending module is used for sending software test parameters to the target equipment so that the target equipment performs software test on the target equipment according to the software test parameters, wherein the software test parameters correspond to the model of the target equipment, and target equipment of different models correspond to different software test parameters.
In addition, to implement the above embodiments, the present application also provides a testing device, where the testing device includes a processor, a memory, and a software testing program stored on the memory and executable on the processor, and the software testing program, when executed by the processor, implements the steps of the software testing method as described above.
In addition, to implement the above embodiments, the present application further provides a computer readable storage medium, on which a software testing program is stored, and the software testing program, when executed by a processor, implements the steps of the software testing method as described in any one of the above.
In this embodiment, when the computer receives a test instruction for testing a target machine type, a broadcast is sent to the tested devices based on the currently connected local area network to obtain parameter information of each tested device in the local area network, the tested devices corresponding to the target machine type are screened from the tested devices based on the fed-back parameter information to serve as target devices for executing a software test, and after the target devices are determined, software test parameters are sent to the target devices, so that the target devices can execute the software test according to the software test parameters when receiving the software test parameters, and the target devices of different machine types send different software test parameters. The software testing method and the software testing device realize the simultaneous control of the tested devices of different machine types to finish the software testing, simplify the steps of executing the software testing by different machine types, and improve the software testing efficiency.
Drawings
Fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present application;
FIG. 2 is a schematic flow chart diagram illustrating an embodiment of a software testing method according to the present application;
FIG. 3 is a schematic flow chart diagram illustrating a software testing method according to another embodiment of the present application;
FIG. 4 is a schematic flow chart diagram illustrating another embodiment of a software testing method according to the present application;
FIG. 5 is a schematic flow chart of a software testing method according to the present application;
fig. 6 is a functional module diagram of the software testing method of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The main solution of the embodiment of the application is as follows: receiving a test instruction for testing a target machine type, and sending a broadcast based on the local area network to acquire parameter information of tested equipment in the local area network;
determining the tested equipment corresponding to the target machine type as target equipment according to the parameter information;
and sending software test parameters to the target equipment so that the target equipment performs software test on the target equipment according to the software test parameters, wherein the software test parameters correspond to the model of the target equipment, and target equipment of different models correspond to different software test parameters.
In the prior art, software is usually tested by controlling the software installed in the same machine type in a corresponding detection machine position. However, in the production line process, the devices of different models are often controlled to produce in a small amount, and in this case, the software of different models needs to be tested simultaneously.
As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present application.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the terminal may further include a camera, a Radio Frequency (RF) circuit, a sensor, a remote controller, an audio circuit, a WiFi module, a detector, and the like. Of course, the terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer and a temperature sensor, which are not described herein again.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 does not constitute a limitation of the terminal device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer-readable storage medium, may include an operating system, a network communication module, a user interface module, and a control program of the home appliance.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call the control program of the home appliance stored in the memory 1005 and perform the following operations:
receiving a test instruction for testing a target machine type, and sending a broadcast based on the local area network to acquire parameter information of tested equipment in the local area network;
determining the tested equipment corresponding to the target machine type as target equipment according to the parameter information;
and sending software test parameters to the target equipment so that the target equipment performs software test on the target equipment according to the software test parameters, wherein the software test parameters correspond to the model of the target equipment, and target equipment of different models correspond to different software test parameters.
Referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of the software testing method of the present application.
While embodiments of the software testing method are provided herein, it should be noted that although a logical order is shown in the flow chart, in some cases, the steps shown or described may be performed in an order different than that shown or described herein.
The test equipment and the tested equipment are connected to the same local area network, and the software test method comprises the following steps:
step S10, receiving a test instruction for testing a target machine type, and sending broadcast based on the local area network to obtain parameter information of tested equipment in the local area network;
the test equipment comprises a computer, a pad and other equipment which are provided with control programs for controlling the tested equipment to carry out software test. The device under test comprises: the mobile phone, the sweeping robot, the television and the like can receive the information sent by the testing equipment and execute corresponding operation. In the present application, the testing device is exemplified by a computer, and the tested device is exemplified by a sweeping robot.
The target model is the model information of the sweeping robot which needs to be subjected to software testing at present. The test instruction is an instruction for screening the tested device based on the test device. The parameter information is various parameter information of the tested equipment, including serial number information for determining the model of the tested equipment, an IP address for connecting a local area network, software parameter information of the tested equipment and the like, and it can be understood that various software exists in the tested equipment, such as software for controlling the rotating speed of a fan, software for controlling navigation, software for controlling garbage crushing and the like, parameters of the software are different for different models of sweeping robots, and for a dry-wet mopping type sweeping robot, the model I9 is improved in the aspects of body height, cruising ability, charging time, water tank capacity, noise and the like compared with the model I8, and a dry-mopping or wet-mopping function module is added, so that the parameter information of the same type of sweeping robots with different models can be different. In the application, the problem that the floor sweeping robots of different models are controlled to simultaneously perform software testing so as to improve testing efficiency is solved. In the application, the sweeping robot and the computer are connected to the same local area network, so that data transmission between the sweeping robot and the television at different stations can be realized. In this embodiment, the user obtains the parameter information of the cleaning robot based on the software program installed in the computer.
The test instruction can be formed by a user operating the computer on site according to the operation information of the user, or the user controls the computer in a remote connection mode to generate the test instruction.
When the computer receives the test instruction, the parameter information of all the tested devices connected to the same local area network is obtained through local area network broadcasting. After receiving the request of the computer to acquire information, the tested devices in the same local area network feed back respective parameter information to the computer.
Step S20, determining the tested device corresponding to the target model as the target device according to the parameter information;
after the computer receives the parameter information of all the devices in the same local area network, the target device is determined from the tested devices according to the received parameters.
The target device is the tested device corresponding to the target model in the test instruction. In this embodiment, the computer determines the target tested device from the tested devices according to the parameter information, and the serial number determination of each sweeping robot can be recorded in the parameter information.
Specific examples are as follows: when the computer receives the detection instruction, the target model of the sweeping robot needing to be detected is determined to be Q4, M5. The sweeping robot with the model of Q4 mainly performs cleaning in a random collision mode, the sweeping robot with the model of M5 mainly performs indoor positioning through wireless carrier waves, and the rotation rate of a fan of the sweeping robot with the model of M5 is controlled to be larger than that of the fan of the sweeping robot with the model of Q4. Therefore, when cleaning tasks are simultaneously executed on the Q4 and M5 sweeping robots, a user selects two types of sweeping robots Q4 and M5 from a display interface of a computer, then the target machine types are determined to be Q4 and M5, after the computer receives parameter information fed back by the tested device based on broadcasting, the serial number of the tested device contained in the fed back parameter information is seen, the machine types of the tested device are determined according to the serial number, and then the tested devices with the machine types of Q4 and M5 are obtained to serve as the target device. It can be understood that each tested device has a unique serial number to identify the device, and in this embodiment, the tested devices are classified according to different serial numbers, for example, the serial number may be 11001011, the first four digits represent a model, the last four digits represent a specific machine code under the model, 1100 is a Q4 type machine, and 1011 is a sweeping robot of a 1011 th model type Q4, so that the target device can be determined from the tested devices after parameter information of the sweeping robot is acquired.
Step S30, sending software test parameters to the target device, so that the target device performs software test on the target device according to the software test parameters, where the software test parameters correspond to the model of the target device, and target devices of different models correspond to different software test parameters.
And after the test equipment determines the target equipment from the tested equipment, sending the software test parameters to the target equipment so that the target equipment executes the software test according to the software test parameters after receiving the software test parameters. In this embodiment, the software testing parameters are divided according to the model, and the computer allocates the corresponding software testing parameters according to the model.
After the step of sending the software testing parameters to the target device so that the target device performs the software testing on the target device according to the software testing parameters, the method includes:
and step S90, displaying the test result of the software test on a display interface.
The display mode of the test result can be divided into different models and displayed on a display interface in a visual interface display mode.
In the embodiment, after the software test is completed, the software test result is displayed and displayed on the interface, so that a user can quickly know the test result of the software test.
In this embodiment, when the computer receives a test instruction for testing a target machine type, a broadcast is sent to the tested devices based on the currently connected local area network to obtain parameter information of each tested device in the local area network, the tested devices corresponding to the target machine type are screened from the tested devices based on the fed-back parameter information to serve as target devices for executing a software test, and after the target devices are determined, software test parameters are sent to the target devices, so that the target devices can execute the software test according to the software test parameters when receiving the software test parameters, and the target devices of different machine types send different software test parameters. The software testing method and the software testing device realize the simultaneous control of the tested devices of different machine types to finish the software testing, simplify the steps of executing the software testing by different machine types, and improve the software testing efficiency.
Further, referring to fig. 3, a further embodiment of the software testing method of the present application is provided.
The second embodiment of the software testing method is different from the first embodiment of the software testing method in that the step of sending the software testing parameters to the target device so that the target device performs the software testing on the target device according to the software testing parameters includes:
step S31, determining the software testing stage of the target device;
step S32, sending the software testing parameters corresponding to the software testing phase to the target device for performing the software testing.
In this embodiment, when testing the target device, the target device is divided into different software testing stages, specifically, the target device may be divided according to the complexity of software installation in different models of devices under test, the device under test with a longer total software testing period is divided into five testing stages, the device under test with a shorter total software testing period is divided into three stages, and each stage completes a different software test, so that after the software test of each stage is completed, when a test fault occurs, the cause of the fault is quickly determined through the testing stages according to the test result.
In the application, different test parameters are sent to target devices of different models, and the software test parameters sent to the target devices of the same model are different when the target devices of the same model are in different test stages. With reference to the foregoing embodiment, the target device model is Q4, the parameter information received by the computer includes 11000001, 11000002, 11000003, and the like, and the software testing stage of the target device is determined according to the acquired parameter information, specifically, 11000001 and 11000002 are in the third stage, 11000003 is in the first stage, and the computer sends the software testing parameters of the third stage to 11000001 and 11000002, and sends the testing parameters of the first stage to 11000003.
In this embodiment, the software test is performed in different stages, and corresponding software test parameters are sent to the target devices in different stages, so that the test conditions in different stages can be quickly obtained, and efficient test is realized.
Referring to fig. 4, fig. 4 is a schematic flow chart of another embodiment of the present application. The step of receiving a test instruction for testing a target machine type and sending a broadcast based on the local area network to acquire parameter information of the tested equipment in the local area network comprises the following steps:
step S01, determining to perform online test according to the operation information of the user, and acquiring the account and the password input by the user;
step S02, when the identity of the user login is determined to be an administrator user according to the account, a model information list of the tested equipment in a local area network is obtained from a server, so that the user can select a corresponding model based on the model list, and the model selected by the user is determined to be the target model;
and step S03, generating the test instruction based on the target model selected by the user.
In this embodiment, a test instruction is generated based on operation information of a user, specifically, an online test or an offline test may be designed on a software design interface of a computer, when it is detected that the operation information of the user is an input account and a password, it is determined that a test mode selected by the user is an online test, the account and the password input by the user are further obtained, after it is determined that the account and the password input by the user are correct, it is determined whether the user currently performing the test is an administrator user, when the user is the administrator user, model information of all devices to be tested of a local area network is obtained from a server, and a model information list display and display interface is formed to the model information list for the administrator user to select, and it is determined that a model selected by the user from the model information list is a target model. The target machine type for executing the software test is determined in an online login mode, a method for quickly executing the test on the target equipment is provided for an administrator user, and meanwhile, the safety of the test is guaranteed through the verification of the identity of the administrator.
After the step of determining to perform online testing according to the operation information of the user and acquiring the account and the password input by the user, the method comprises the following steps:
step S04, when the identity of the user login is determined to be the identity of a common user according to the account, determining the machine type in the configuration file to be the target machine type; alternatively, the first and second electrodes may be,
step S05, when the user carries out off-line test, determining the machine type in the configuration file as the target machine type;
and step S06, generating the test instruction based on the target model in the configuration file.
And when the account information logged in by the user is determined to be the identity of the common user, determining the model to be the target model by loading the model in the configuration file. The loading configuration file stores a target machine type of the currently executed software test, and the target machine type is a configuration file which is pre-stored in a computer by related workers, so that the target machine type is determined according to the loading file.
In this embodiment, when the test mode selected by the user is an offline test, similarly, the model set in the configuration file in advance is the target model.
It can be understood that the model in the loading file can be a model in the storage and test device for the administrator user, and the change authority of the model is only owned by the administrator user, so that the safety of software test is ensured.
With reference to the previous embodiment, the present application provides another embodiment, where after the step of determining, according to the parameter information, that the device under test corresponding to the target model is the target device, the method includes:
step S40, acquiring the detection record of the target device based on the serial number of the target device;
step S50, determining whether the testing state of the target equipment is in a target state according to the detection record, wherein the target state comprises any one or more of missed detection, repeated detection and maintenance detection;
step S60, when it is determined that the target device is not in the target state, executing a step of sending software test parameters to the target device, so that the target device performs a software test on the target device according to the software test parameters.
In this embodiment, when the test mode selected by the user is online test, the representative test device may connect to the server for communication, and the server stores the detection record of the target device.
The target state is the state that the target equipment cannot execute the current software testing task, and comprises missed inspection, repeated inspection and maintenance inspection.
And after the computer acquires the parameter information, determining the target equipment, sending the serial number to the server according to the serial number of the target equipment, acquiring the detection record of each target equipment, determining whether the target equipment is in a target state or not according to the detection record, and executing software test on the target equipment when the target equipment is determined not to be in the target state.
In the application, after each target device performs a software test, a test result is stored in the server, so that when the software test is performed, whether the currently executed software test is a software test task that the target device should execute is determined. Whether the target equipment has missed detection or not can be confirmed, so that the software test fails; or repeated inspection wastes material resources, or inspection is performed on the maintenance machine, so that the test result of the target equipment is disordered.
Based on the above embodiment, the present application provides yet another embodiment. After the step of sending the software testing parameters to the target device so that the target device performs the software testing on the target device according to the software testing parameters, the method further includes:
step S70, acquiring current state information;
and step S80, when the state information is in an online state, sending the test record of the software test to a server so that the server stores the test record.
In this embodiment, after the computer completes the software test on the device under test, the state information of the test device needs to be acquired, and when the test device is in an online state, the test record of the software test is sent to the server connected to the test device, so that the server stores the test record.
In this embodiment, the test information of each target device can be obtained in real time in different test devices by means of the test records of the target devices stored by the server.
In addition, referring to fig. 5, fig. 5 is a schematic flow chart of the present application.
The testing equipment executes software testing on the tested equipment on the production line, judges whether the identity information of the user is an administrator user or not by acquiring an account and a password input by the user, and loads a model list when the identity information of the user is the administrator user so that the administrator user can select a model to determine that the model is a target model. And searching the test equipment of the target machine type in a broadcasting mode, and determining that the test equipment is the target equipment. And determining whether the current state is an online state, if so, establishing connection with the server to acquire a test record of the target equipment. And when the target equipment is determined not to be the equipment which is maintained, missed or repeatedly checked according to the detection record, executing software test on the target equipment. After the software test is finished, whether the current state information of the detection equipment is in an online state or not is judged, and when the current state information of the detection equipment is in the online state, the software test result is sent to the server so that the server can store the detection result.
In addition, to implement the foregoing embodiment, the present application further provides a software testing apparatus, including:
the receiving module 10 is configured to receive a test instruction for testing a target machine type, and send a broadcast based on the local area network to obtain parameter information of a device under test in the local area network;
the determining module 20 is configured to determine, according to the parameter information, that the device to be tested corresponding to the target machine type is a target device;
a sending module 30, configured to send software test parameters to the target device, so that the target device performs software test on the target device according to the software test parameters, where the software test parameters correspond to the model of the target device, and target devices of different models correspond to different software test parameters.
In addition, to implement the above embodiments, the present application also provides a testing device, where the testing device includes a processor, a memory, and a software testing program stored on the memory and executable on the processor, and the software testing program, when executed by the processor, implements the steps of the software testing method as described above.
In addition, to implement the above embodiments, the present application further provides a computer readable storage medium, on which a software testing program is stored, and the software testing program, when executed by a processor, implements the steps of the software testing method as described in any one of the above.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The application can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
While alternative embodiments of the present application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following appended claims be interpreted as including alternative embodiments and all such alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A software testing method is characterized in that the software testing method is applied to testing equipment and tested equipment, the testing equipment and the tested equipment are connected in the same local area network, and the software testing method comprises the following steps:
receiving a test instruction for testing a target machine type, and sending a broadcast based on the local area network to acquire parameter information of tested equipment in the local area network;
determining the tested equipment corresponding to the target machine type as target equipment according to the parameter information;
and sending software test parameters to the target equipment so that the target equipment performs software test on the target equipment according to the software test parameters, wherein the software test parameters correspond to the model of the target equipment, and target equipment of different models correspond to different software test parameters.
2. The software testing method of claim 1, wherein the step of sending the software testing parameters to the target device to enable the target device to perform the software testing on the target device according to the software testing parameters comprises:
determining a software testing stage of the target equipment;
and sending the software testing parameters corresponding to the software testing stage to the target equipment for software testing.
3. The software testing method according to claim 1, wherein before the step of receiving a test instruction for testing a target machine model and sending a broadcast based on the local area network to obtain parameter information of a device under test in the local area network, the method comprises:
determining to perform online testing according to the operation information of the user, and acquiring an account and a password input by the user;
when the identity of the user login is determined to be an administrator user according to the account, a model information list of the tested equipment in a local area network is obtained from a server, so that the user can select a corresponding model based on the model list, and the model selected by the user is determined to be the target model;
and generating the test instruction based on the target model selected by the user.
4. The software testing method of claim 3, wherein after the step of determining to perform online testing according to the operation information of the user and acquiring the account and the password input by the user, the method comprises:
when the identity of the user login is determined to be the identity of the common user according to the account, determining the machine type in the configuration file to be the target machine type; alternatively, the first and second electrodes may be,
when the user carries out off-line test, determining the machine type in the configuration file as the target machine type;
and generating the test instruction based on the target model in the configuration file.
5. The software testing method according to claim 1, wherein after the step of determining, according to the parameter information, that the device under test corresponding to the target model is the target device, the method includes:
acquiring a detection record of the target equipment based on the serial number of the target equipment;
determining whether the test state of the target equipment is in a target state according to the detection record, wherein the target state comprises any one or more of missed detection, repeated detection and maintenance detection;
and when the target equipment is determined not to be in the target state, sending software testing parameters to the target equipment so that the target equipment performs software testing on the target equipment according to the software testing parameters.
6. The software testing method according to any one of claims 1 to 4, wherein after the step of sending the software testing parameters to the target device so that the target device performs the software testing on the target device according to the software testing parameters, the method further comprises:
acquiring current state information;
and when the state information is in an online state, sending the test record of the software test to a server so that the server stores the test record.
7. The software testing method of claim 1, wherein after the step of sending the software testing parameters to the target device to cause the target device to perform the software testing on the target device according to the software testing parameters, the method comprises:
and displaying the test result of the software test on a display interface.
8. A software testing apparatus, comprising:
the receiving module is used for receiving a test instruction for testing a target machine type and sending broadcast based on the local area network to acquire parameter information of tested equipment in the local area network;
the determining module is used for determining the tested equipment corresponding to the target machine type as target equipment according to the parameter information;
and the sending module is used for sending software test parameters to the target equipment so that the target equipment performs software test on the target equipment according to the software test parameters, wherein the software test parameters correspond to the model of the target equipment, and target equipment of different models correspond to different software test parameters.
9. A test device comprising a processor, a memory, and a software test program stored on the memory and executable on the processor, the software test program when executed by the processor implementing the steps of the software testing method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a software test program which, when executed by a processor, implements the steps of the software testing method according to any one of claims 1 to 7.
CN202110079574.2A 2021-01-21 2021-01-21 Software testing method, device, equipment and computer readable storage medium Pending CN112783770A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110079574.2A CN112783770A (en) 2021-01-21 2021-01-21 Software testing method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110079574.2A CN112783770A (en) 2021-01-21 2021-01-21 Software testing method, device, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN112783770A true CN112783770A (en) 2021-05-11

Family

ID=75757649

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110079574.2A Pending CN112783770A (en) 2021-01-21 2021-01-21 Software testing method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112783770A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115526460A (en) * 2022-09-09 2022-12-27 珠海安士佳电子有限公司 Intelligent production test system for security monitoring camera

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130141125A1 (en) * 2011-12-05 2013-06-06 Hon Hai Precision Industry Co., Ltd. Device and method for testing stablity of electronic devices
CN104111857A (en) * 2014-08-13 2014-10-22 浪潮电子信息产业股份有限公司 Method for automatically configuring parameters of multi-model BIOS
US20140359361A1 (en) * 2013-06-04 2014-12-04 Advantest Corporation Test system
US20150066417A1 (en) * 2012-06-04 2015-03-05 Advantest Corporation Test system
US20150127986A1 (en) * 2012-08-30 2015-05-07 Advantest Corporation Test program and test system
US20170024308A1 (en) * 2013-11-27 2017-01-26 Gmc Software Ag System and method for testing data representation for different mobile devices
CN108234507A (en) * 2018-01-15 2018-06-29 深圳科立讯通信有限公司 Talk back equipment sharing method, talk back equipment and readable storage medium storing program for executing
CN110188030A (en) * 2019-04-08 2019-08-30 平安科技(深圳)有限公司 A kind of test data generating method, device and computer equipment, storage medium
CN110658405A (en) * 2019-10-09 2020-01-07 广东美的制冷设备有限公司 Air conditioner line loss detection method and device, air conditioner and storage medium
US20200162287A1 (en) * 2017-07-25 2020-05-21 Cloudminds (Shenzhen) Robotics Systems Co., Ltd. Method, apparatus and system for controlling smart device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130141125A1 (en) * 2011-12-05 2013-06-06 Hon Hai Precision Industry Co., Ltd. Device and method for testing stablity of electronic devices
US20150066417A1 (en) * 2012-06-04 2015-03-05 Advantest Corporation Test system
US20150127986A1 (en) * 2012-08-30 2015-05-07 Advantest Corporation Test program and test system
US20140359361A1 (en) * 2013-06-04 2014-12-04 Advantest Corporation Test system
US20170024308A1 (en) * 2013-11-27 2017-01-26 Gmc Software Ag System and method for testing data representation for different mobile devices
CN104111857A (en) * 2014-08-13 2014-10-22 浪潮电子信息产业股份有限公司 Method for automatically configuring parameters of multi-model BIOS
US20200162287A1 (en) * 2017-07-25 2020-05-21 Cloudminds (Shenzhen) Robotics Systems Co., Ltd. Method, apparatus and system for controlling smart device
CN108234507A (en) * 2018-01-15 2018-06-29 深圳科立讯通信有限公司 Talk back equipment sharing method, talk back equipment and readable storage medium storing program for executing
CN110188030A (en) * 2019-04-08 2019-08-30 平安科技(深圳)有限公司 A kind of test data generating method, device and computer equipment, storage medium
CN110658405A (en) * 2019-10-09 2020-01-07 广东美的制冷设备有限公司 Air conditioner line loss detection method and device, air conditioner and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115526460A (en) * 2022-09-09 2022-12-27 珠海安士佳电子有限公司 Intelligent production test system for security monitoring camera
CN115526460B (en) * 2022-09-09 2024-04-09 珠海安士佳电子有限公司 Intelligent production test system for security monitoring cameras

Similar Documents

Publication Publication Date Title
CN110928774B (en) Automatic test system based on node type
CN105722081B (en) Intelligent equipment networking method and device
CN110831115B (en) Method, device and storage medium for dynamically selecting network connection point
CN109391699B (en) Equipment network configuration method and device and server
CN104820643B (en) Method and apparatus for establishing connection between user equipment and smart machine
CN106302448B (en) Remote access control method and device
CN109376088B (en) Automatic test system and automatic test method
CN109460172B (en) Object display method and device, storage medium and electronic device
MX2011001728A (en) Remote technical support employing a configurable executable application.
CN113312064B (en) Method and device for installing and configuring physical machine and computer readable medium
CN110753091A (en) Cloud platform management method and device
CN104518910B (en) Apparatus for configuring Ethernet device and method for configuring Ethernet device
CN106293842B (en) Software installation method and device
CN105099763A (en) Method and device for reminding lost connection of equipment
CN113672441A (en) Method and device for testing intelligent equipment
CN112114897B (en) Parameter configuration method and device based on industrial control screen and computer equipment
CN112040407B (en) Beacon data processing method and device, electronic equipment and readable storage medium
CN112929224A (en) Network distribution method and device of equipment, server and computer readable storage medium
CN107992386A (en) A kind of router memory method for testing pressure and system
CN112783770A (en) Software testing method, device, equipment and computer readable storage medium
CN106250146B (en) Application demand processing method and device
CN103957514A (en) Method and device for prompting user
CN107317722B (en) data source extensible system and method
CN111008209B (en) Data reconciliation method, device and system, storage medium and electronic device
CN109525417B (en) Household appliance access method based on internet access, household appliance controller and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination