Equipment testing method and terminal

By determining the device type in the terminal and obtaining interface sequence information, the problem of high equipment testing costs and only one product in the prior art is solved, and the cost of testing application development and release in multiple types of devices is realized.

CN119576676APending Publication Date: 2025-03-07GUANGDONG KETYOO INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411665116.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-20
Publication Date
2025-03-07

AI Technical Summary

Technical Problem

In the prior art, the time and labor costs required for equipment testing are high, and only one product can be tested at the same time, and testing applications need to be repeatedly developed and released.

Method used

By determining the type of device to be tested in the terminal and determining the corresponding interface sequence information according to the type, the interaction between the terminal and the server is realized, and the device function test is carried out.

Benefits of technology

It enables testing of multiple types of equipment to be tested in the same time period, reducing the time and labor costs of developing and releasing test applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119576676A_ABST
    Figure CN119576676A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an equipment testing method and a terminal, relates to the field of testing, and is applied to the terminal. The method comprises the following steps: for any to-be-tested device, determining the type of the to-be-tested device; determining at least one piece of corresponding interface sequence information according to the type of the to-be-tested equipment; the interface sequence information is used for indicating interfaces for interaction between the terminal and the server and an interaction sequence of the interfaces when the terminal tests functions of the to-be-tested equipment, and one piece of interface sequence information corresponds to at least one function; and testing corresponding functions of the to-be-tested equipment according to the interface sequence information. According to the invention, the problem of high time cost and labor cost required by testing is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of device testing, and in particular, to a device testing method and terminal. Background Art

[0002] When the same device is produced on the production line, a test application is needed to test the device. The test content generally includes the functions of the device, etc., and the test application is usually only applicable to one test implementation process. Every time a product is produced on the production line, a specific test application is developed and released for the product. When a new product needs to be produced, a specific test application needs to be developed and released again for the new product.

[0003] Therefore, only one product can be sampled for testing at the same time. For each product with differentiated functions, it is necessary to repeatedly develop and release corresponding test applications, which results in high time and labor costs for testing. Summary of the invention

[0004] The embodiments of the present application provide a device testing method and terminal, which are used to solve the technical problems of high time cost and manpower cost required for testing.

[0005] According to a first aspect of an embodiment of the present application, a device testing method is provided, which is applied to a terminal, and the method includes: For any device to be tested, determine the type of the device to be tested; Determine at least one corresponding interface sequence information according to the type of the device to be tested; the interface sequence information is used to indicate the various interfaces and the interaction order of the various interfaces that the terminal interacts with the server when the terminal tests the functions of the device to be tested, and one interface sequence information corresponds to at least one function; Test the corresponding functions of the device to be tested according to the interface sequence information.

[0006] According to a second aspect of an embodiment of the present application, a device testing method is provided, which is applied to a terminal, and the method includes: receiving an update indication; the update indication is used to indicate the type of the device to be tested and at least one first interface sequence information corresponding to the type; According to the update instruction, at least one second interface sequence information corresponding to the stored type is updated to the corresponding first interface sequence information; the interface sequence information is used to indicate the various interfaces and the interaction sequence of the various interfaces that the terminal interacts with the server when the terminal tests the functions of the device to be tested, and one interface sequence information corresponds to one function; A target device to be tested is determined. If the target device to be tested is determined to be of the type, the target device to be tested is tested according to at least one first interface sequence information.

[0007] According to a third aspect of an embodiment of the present application, a device testing method is provided, which is applied to a server, and the method includes: The acquisition request sent by the receiving terminal is used to request to acquire at least one interface sequence information corresponding to the type; Determining, according to the type, at least one interface sequence information to be applied by the terminal for the type; At least one interface sequence information of a type to be applied is sent to the terminal.

[0008] According to a fifth aspect of an embodiment of the present application, a terminal is provided, the device comprising: A first determination module is used to determine the type of any device to be tested; A second determination module is used to determine at least one corresponding interface sequence information according to the type of the device to be tested; the interface sequence information is used to indicate the various interfaces and the interaction order of the various interfaces that the terminal interacts with the server when the terminal tests the functions of the device to be tested, and one interface sequence information corresponds to one function; The first testing module is used to test the corresponding functions of the device to be tested according to the interface sequence information.

[0009] According to a sixth aspect of an embodiment of the present application, a terminal is provided, the device including: A first receiving module is used to receive an update indication; the update indication is used to indicate the type of the device to be tested and at least one first interface sequence information corresponding to the type; An update module, used to update at least one second interface sequence information corresponding to the stored type to the corresponding first interface sequence information according to the update indication; the interface sequence information is used to indicate the various interfaces and the interaction order of the various interfaces that the terminal interacts with the server when the terminal tests the functions of the device to be tested, and one interface sequence information corresponds to at least one function; The second testing module is used to determine a target device to be tested, and if the target device to be tested is determined to be of type, test the target device to be tested according to at least one first interface sequence information.

[0010] According to a seventh aspect of an embodiment of the present application, a server is provided, the device comprising: A second receiving module is used to receive an acquisition request sent by a terminal; the acquisition request is used to request to acquire at least one interface sequence information corresponding to the type; A third determination module is used to determine, according to the type, at least one interface sequence information to be applied by the terminal for the type; The first sending module is used to send at least one interface sequence information of a type to be applied to the terminal.

[0011] According to an eighth aspect of an embodiment of the present application, a server is provided, the device comprising: A third receiving module is used to receive first information; the first information is used to describe the type of the device to be tested and the test conditions corresponding to the type have changed; A fourth determination module, configured to determine, according to the first information, at least one first interface sequence information corresponding to the type under the changed test condition; The second sending module is used to send an update indication to a target terminal, where the target terminal is a terminal that has stored at least one second interface sequence information corresponding to the type, so that the terminal executes the device testing method.

[0012] According to a ninth aspect of an embodiment of the present application, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory, wherein the processor implements the steps of the method provided in the first aspect when executing the program.

[0013] According to a tenth aspect of an embodiment of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method provided in the first aspect are implemented.

[0014] The beneficial effects of the technical solution provided by the embodiment of the present application are: The device testing method applied to the terminal provided in the embodiment of the present application, for any device to be tested, the terminal first determines the type of the device to be tested, and then determines at least one interface sequence information according to the type of the device to be tested. Since the interface sequence information is used to indicate the various interfaces through which the terminal interacts with the server and the interaction sequence of the various interfaces when the terminal tests the device to be tested, and each interface sequence information corresponds to at least one function, the corresponding function of the device to be tested can be tested according to the acquired interface sequence information. When the terminal performs functional tests on different types of devices to be tested, it only needs to determine the corresponding interface sequence information according to the type of the device to be tested, thereby executing the test operation, thereby achieving the purpose of testing multiple types of devices to be tested in the same time period, and for different types of devices to be tested, there is no need to develop and release corresponding test applications specifically for each type of device to be tested, thereby solving the problems of high time cost and labor cost required for testing. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in describing the embodiments of the present application are briefly introduced below.

[0016] Figure 1 A schematic diagram of a system architecture for implementing a device testing method provided in an embodiment of the present application; Figure 2 A schematic diagram of a flow chart of a device testing method applied to a terminal provided in an embodiment of the present application; Figure 3 A schematic diagram of interface sequence information in a device testing method provided in an embodiment of the present application; Figure 4 A schematic diagram of the relationship between various types of devices to be tested and interface sequence information in a device testing method provided in an embodiment of the present application; Figure 5 A flowchart of another device testing method applied to a terminal provided in an embodiment of the present application; Figure 6 A schematic diagram of a flow chart of a device testing method applied to a server provided in an embodiment of the present application; Figure 7 A flowchart of another device testing method applied to a server provided in an embodiment of the present application; Figure 8 A flowchart of a link update method in a device testing method provided in an embodiment of the present application; Fig. 9 A schematic diagram of an interactive process of a device testing method provided in an embodiment of the present application; Fig.10 A schematic diagram of the structure of a terminal provided in an embodiment of the present application; Fig.11 A schematic diagram of the structure of another terminal provided in an embodiment of the present application; Fig.12 A schematic diagram of the structure of a server provided in an embodiment of the present application; Fig.13 A schematic diagram of the structure of another server provided in an embodiment of the present application; Fig.14 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0017] The embodiments of the present application are described below in conjunction with the drawings in the present application. It should be understood that the implementation methods described below in conjunction with the drawings are exemplary descriptions for explaining the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions of the embodiments of the present application.

[0018] Those skilled in the art will appreciate that, unless expressly stated, the singular forms "one", "an", "" and "the" used herein may also include plural forms. It should be further understood that the terms "including" and "comprising" used in the embodiments of the present application mean that the corresponding features can be implemented as the presented features, information, data, steps, operations, elements and / or components, but do not exclude implementation as other features, information, data, steps, operations, elements, components and / or combinations thereof supported by the technical field. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, the one element may be directly connected or coupled to the other element, or may refer to the one element and the other element establishing a connection relationship through an intermediate element. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The term "and / or" used herein indicates at least one of the items defined by the term, for example, "A and / or B" may be implemented as "A", or as "B", or as "A and B".

[0019] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0020] The following is an explanation of the relevant technologies: Since one device corresponds to one test implementation process, therefore, in the relevant technology, each time a production line produces a device, a specific test application is developed and released for the device. When the production of the device is completed, when a new device with functional differences from the above device is produced, a specific test application is developed and released for the new device. Therefore, only the same type of device can be produced and tested at the same time, and for devices with functional differences, it is necessary to repeatedly develop and release test application software, which increases time and labor costs. In addition, when encountering external reasons such as production line failures, the production line progress will be suspended, and it will be necessary to wait for the development and release of compatible test application software to continue production and testing.

[0021] In response to at least one of the above-mentioned technical problems or areas that need improvement in the related technology, the present application proposes a device testing method applied to a terminal. When the terminal performs functional testing on different types of devices to be tested, it only needs to determine the corresponding interface sequence information according to the type of the device to be tested, so as to perform the test operation, thereby achieving the purpose of testing multiple types of devices to be tested in the same time period. For different types of devices to be tested, there is no need to develop and release corresponding test applications specifically for each type of device to be tested, thereby solving the problems of high time cost and labor cost required for testing.

[0022] The following describes several exemplary embodiments to illustrate the technical solutions of the embodiments of the present application and the technical effects produced by the technical solutions of the present application. It should be noted that the following embodiments can refer to, draw on or combine with each other, and the same terms, similar features and similar implementation steps in different embodiments will not be described repeatedly.

[0023] Figure 1 A schematic diagram of a system architecture for implementing a device testing method provided in an embodiment of the present application, wherein the system architecture includes: a terminal 120 and a server 140.

[0024] The terminal 120 installs and runs an application program having a device testing method, and the terminal 120 is used to test the device to be tested.

[0025] The terminal 120 is connected to the server 140 via a wireless network or a wired network.

[0026] The server 140 includes at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center. Schematically, the server 140 includes a processor 144 and a memory 142, and the memory 142 includes a display module 1421, a control module 1422, and a receiving module 1423. The server 140 is used to provide background services for the application of the device testing method. Optionally, the server 140 undertakes the main computing work and the terminal 120 undertakes the secondary computing work; or, the server 140 undertakes the secondary computing work and the terminal 120 undertakes the main computing work; or, the server 140 and the terminal 120 adopt a distributed computing architecture for collaborative computing.

[0027] Optionally, the device types of the terminal include: at least one of a smart phone, a tablet computer, an e-book reader, a Moving Picture Experts Group Audio Layer III (MP3) player, a Moving Picture Experts Group Audio Layer IV (MP4) player, a laptop computer and a desktop computer.

[0028] Those skilled in the art will appreciate that the number of the above terminals may be more or less. For example, the above terminal may be only one, or the above terminals may be dozens or hundreds, or a greater number. The present application embodiment does not limit the number of terminals and device types. The present application embodiment provides a device testing method, which is applied to a terminal, such as Figure 2 As shown, the method includes: S101: For any device to be tested, determine the type of the device to be tested.

[0029] In an embodiment of the present application, the terminal is used to test the device to be tested. The terminal is a terminal used by a tester, and the tester tests the device to be tested through a test application running on the terminal.

[0030] In the embodiment of the present application, before testing the device to be tested, the type of the device to be tested is first determined, so that a specific test process can be determined according to the device type.

[0031] S102: Determine at least one corresponding interface sequence information according to the type of the device to be tested.

[0032] In an embodiment of the present application, the interface sequence information is used to indicate the various interfaces through which the terminal interacts with the server and the interaction order of the various interfaces when the terminal tests the functions of the device to be tested. One interface sequence information corresponds to at least one function.

[0033] In the embodiments of the present application, the test implementation process of each function possessed by the same type of device to be tested is consistent. For each function, the corresponding test implementation process can be represented by interface sequence information. In addition, one interface sequence information may correspond to multiple functions at the same time.

[0034] In an embodiment of the present application, when the terminal is testing the device to be tested, it is necessary to interact with the interface of the server. Since the server has multiple interfaces and all functions of the device to be tested need to be tested during the testing process, and when testing each function, the interfaces and the order in which the terminal needs to interact may be different, the server uses interface sequence information to indicate to the terminal the interfaces to be interacted with and the order of interaction of each interface when testing each function of the device to be tested.

[0035] refer to Figure 3As shown, it exemplarily shows the interface sequence information, a device of type A is represented by a type identifier A1, and has networking, binding and unbinding functions, and the interface sequence information corresponding to the networking function is: interface 1, interface 2 and interface 10, indicating that when the networking function of the device to be tested of type A is tested, the terminal first interacts with interface 1 of the server, then interacts with interface 2 of the server, and finally interacts with interface 10 of the server; the interface sequence information corresponding to the binding function is: interface 4, interface 6 and interface 11, indicating that when the binding function of the device to be tested of type A is tested, the terminal first interacts with interface 4 of the server, then interacts with interface 6 of the server, and finally interacts with interface 11 of the server; the interface sequence information corresponding to the unbinding function is: interface 7, interface 12 and interface 13, indicating that when the unbinding function of the device to be tested of type A is tested, the terminal first interacts with interface 7 of the server, then interacts with interface 12 of the server, and finally interacts with interface 13 of the server.

[0036] In an embodiment of the present application, after determining the type of the device to be tested, at least one interface sequence information corresponding to the type of device to be tested can be determined based on the correspondence between the type and the interface sequence information stored locally, or at least one interface sequence information corresponding to the type of device to be tested can be determined by obtaining it from a server.

[0037] S103, testing corresponding functions of the device to be tested according to the interface sequence information.

[0038] In the embodiment of the present application, after the terminal determines at least one interface sequence information corresponding to the type, the terminal can test the corresponding functions of the device to be tested according to the functions corresponding to each interface sequence information.

[0039] In the above scheme, for any device to be tested, the terminal first determines the type of the device to be tested, and then determines at least one interface sequence information according to the type of the device to be tested. Since the interface sequence information is used to indicate the various interfaces through which the terminal interacts with the server and the interaction sequence of each interface when the terminal tests the device to be tested, and each interface sequence information corresponds to at least one function, the corresponding function of the device to be tested can be tested according to the acquired interface sequence information. When the terminal performs functional tests on different types of devices to be tested, it only needs to determine the corresponding interface sequence information according to the type of the device to be tested, thereby executing the test operation, thereby achieving the purpose of testing multiple types of devices to be tested in the same time period, and for different types of devices to be tested, there is no need to develop and release corresponding test applications specifically for each type of device to be tested, thereby solving the problems of high time cost and labor cost required for testing.

[0040] Based on the above embodiments, as an optional embodiment, if the terminal does not store at least one interface sequence information corresponding to the type, a request for obtaining the type is sent to the server; the request for obtaining the type is used to request at least one interface sequence information corresponding to the type; at least one interface sequence information sent by the server is received, and a correspondence between the type and the at least one interface sequence information is established; if the terminal has stored at least one interface sequence information corresponding to the type, the corresponding at least one interface sequence information is obtained according to the type.

[0041] In an embodiment of the present application, if the terminal does not store at least one interface sequence information corresponding to the type of device to be tested, it means that this is the first time that the type of device to be tested is tested, and therefore, it is necessary to send an acquisition request to the server; through the acquisition request, the terminal requests the server to provide at least one interface sequence information corresponding to the type, so as to perform testing according to the corresponding at least one interface sequence information.

[0042] In an embodiment of the present application, after receiving the acquisition request sent by the terminal, the server will determine at least one interface sequence information corresponding to the type according to the type, and return the interface sequence information to the terminal. After the terminal receives the at least one interface sequence information sent by the server, since it is the first time to test the type of device to be tested, after acquiring the at least one interface sequence information, a correspondence between the type of device to be tested and the at least one interface sequence information is established, and then the corresponding function of the device to be tested is tested according to the at least one interface sequence information. By establishing and storing the correspondence between the type of device to be tested and the at least one interface sequence information, when the type of device to be tested is tested subsequently, the test can be directly performed according to the stored interface sequence information without initiating an acquisition request to the server again.

[0043] In the above scheme, by sending an acquisition request to the server, the interface sequence information of the type of device to be tested for the first time can be obtained, and then the test is performed according to the interface sequence, and the correspondence between the type and the interface sequence information is stored locally, so that when the type of device to be tested is tested subsequently, the interface sequence information can be directly obtained locally for testing, which solves the problem that only the same type of devices can be produced and tested at the same time, and there is no need to specially develop and release specific test applications for different types of devices to be tested, thereby reducing the time cost and labor cost required to develop and maintain the test application.

[0044] In an embodiment of the present application, after the terminal determines the type of the device to be tested, if it determines that at least one interface sequence information corresponding to the type has been stored based on the type identifier corresponding to the type, it means that this is not the first time that the terminal has tested the device to be tested of this type. Therefore, the corresponding function of the device to be tested can be directly tested based on the at least one interface sequence information that has been stored.

[0045] refer to Figure 4 As shown, it exemplarily shows the corresponding relationship between each type of stored devices to be tested and the interface sequence information, and the specific content is as follows: The first type of device to be tested is represented by device identifier A1, and the second type of device to be tested is represented by device identifier A2. The interface sequence information corresponding to the networking function of A1 is interface 1, interface 2 and interface 3, the interface sequence information corresponding to the binding function of A1 is interface 4, interface 5 and interface 6, the interface sequence information corresponding to the unbinding function of A1 is interface 7, interface 8 and interface 9, the interface sequence information corresponding to the networking function of A2 is: interface 1, interface 2 and interface 10, the interface sequence information corresponding to the binding function of A2 is: interface 4, interface 6 and interface 11, and the interface sequence information corresponding to the unbinding function of A2 is: interface 7, interface 12 and interface 13.

[0046] In an embodiment of the present application, since the same terminal can store interface sequence information corresponding to each type, when the terminal tests a first type of device to be tested, the terminal tests the device to be tested according to the interface sequence information corresponding to the first type; when the terminal tests a second type of device to be tested, the terminal tests the device to be tested according to the interface sequence information corresponding to the second type, thereby achieving the goal of using multiple terminals to test multiple types of devices to be tested in the same time period.

[0047] In an embodiment of the present application, the terminal may store interface sequence information corresponding to multiple types of devices under test. In order to distinguish the stored interface sequence information corresponding to each type of devices under test, each type of devices under test is identified by a type identifier.

[0048] In the above scheme, by storing the interface sequence information corresponding to each type of device to be tested, it is possible to be compatible with the testing of different types of devices to be tested, solving the problem of developing and publishing test applications for each type of device to be tested, and reducing time and labor costs.

[0049] Based on the above embodiments, as an optional embodiment, an update indication is received; according to the update indication, at least one second interface sequence information corresponding to the stored type is updated to the corresponding first interface sequence information; the target device to be tested is determined, and if the target device to be tested is determined to be a type, the target device to be tested is tested according to the at least one first interface sequence information.

[0050] In an embodiment of the present application, the update indication is used to indicate the type of device to be tested and at least one first interface sequence information corresponding to the type. That is to say, when the terminal receives the update indication sent by the server, it indicates that the test conditions of the current type of device to be tested have changed, and the stored interface sequence information needs to be updated, and the first interface sequence information that can adapt to the current test conditions is used to test the type of device to be tested.

[0051] In the embodiment of the present application, the update indication is received by the terminal storing the interface sequence information corresponding to the device to be tested of the type after the server determines that the test conditions corresponding to the device to be tested of the type have changed. Under the same test conditions, the test implementation process of each function of the device of the same type is consistent. Changes in test conditions will cause changes in the test process of the device to be tested. Test conditions include: test conditions under normal production conditions of the device, and also test conditions under external fault causes such as software or hardware anomalies.

[0052] In the embodiment of the present application, the first interface sequence information satisfies the test implementation process of the changed test conditions, and the second interface sequence information satisfies the test implementation process before the test conditions are changed.

[0053] In an embodiment of the present application, the reason why the terminal receives the update indication sent by the server is because the terminal has stored the second interface sequence information corresponding to this type. Due to changes in test conditions, the interface sequence information suitable for testing this type of device is updated from the second interface sequence information to the first interface sequence information. Therefore, it is necessary to update at least one second interface sequence information corresponding to this type that has been stored in the terminal to the corresponding first interface sequence information.

[0054] In an embodiment of the present application, since the stored interface sequence information corresponding to the type of device under test has been updated to the first interface sequence information, when the acquired target device under test is the type of device under test, the target device under test is tested according to at least one stored first interface sequence information.

[0055] In the above scheme, by receiving the update indication sent by the server, when the test conditions of a certain type of device to be tested change, the stored second interface sequence information corresponding to the above type can be updated in time to the first interface sequence information that adapts to the changed test conditions, so that when the above type of device to be tested is subsequently acquired, the test can be directly performed according to the second interface sequence information without the need to modify and re-release the test software, which solves the problem that when the test conditions of the device to be tested change, the test will be suspended, and the test process needs to be redesigned according to the test conditions, and the test software needs to be modified and re-released according to the redesigned test process.

[0056] The present application also provides a device testing method, which is applied to a terminal, such as Figure 5 As shown, the method includes: S201, receiving an update instruction.

[0057] In an embodiment of the present application, the update indication is used to indicate the type of the device to be tested and at least one first interface sequence information corresponding to the type. The interface sequence information is used to indicate the various interfaces through which the terminal interacts with the server and the interaction order of each interface when the terminal tests the functions of the device to be tested. One interface sequence information corresponds to one function.

[0058] In the embodiment of the present application, the update indication is received by the terminal storing the interface sequence information corresponding to the device to be tested of the type after the server determines that the test conditions corresponding to the device to be tested of the type have changed. Under the same test conditions, the test implementation process of each function of the device of the same type is consistent. Changes in test conditions will cause changes in the test process of the device to be tested. Test conditions include: test conditions under normal production conditions of the device, and also test conditions under external fault causes such as software or hardware anomalies.

[0059] S202: Update at least one second interface sequence information corresponding to a stored type to corresponding first interface sequence information according to an update indication.

[0060] In the embodiment of the present application, the first interface sequence information satisfies the test implementation process of the changed test conditions, and the second interface sequence information satisfies the test implementation process before the test conditions are changed.

[0061] In an embodiment of the present application, the reason why the terminal receives the update indication sent by the server is because the terminal has stored the second interface sequence information corresponding to this type. Due to changes in test conditions, the interface sequence information suitable for testing this type of device is updated from the second interface sequence information to the first interface sequence information. Therefore, it is necessary to update at least one second interface sequence information corresponding to this type that has been stored in the terminal to the corresponding first interface sequence information.

[0062] S203, determining a target device to be tested, and if it is determined that the target device to be tested is of a type, testing the target device to be tested according to at least one first interface sequence information.

[0063] In an embodiment of the present application, since the stored interface sequence information corresponding to the type of device under test has been updated to the first interface sequence information, when the acquired target device under test is the type of device under test, the target device under test is tested according to at least one stored first interface sequence information.

[0064] In the device testing method applied to a terminal provided in an embodiment of the present application, the terminal determines the type of a device to be tested and at least one first interface sequence information corresponding to the type by receiving an update indication sent by a server, and then updates at least one second interface sequence information corresponding to the above type that has been stored to the corresponding first interface sequence information. Since the interface sequence information indicates the various interfaces through which the terminal interacts with the server and the interaction sequence of the various interfaces when the terminal tests the functions of the device to be tested, the terminal tests the target device to be tested according to the updated at least one first interface sequence information when testing the target device to be tested of the above type. By receiving the update indication sent by the server, when the test conditions of a certain type of device to be tested change, the stored second interface sequence information corresponding to the above type can be updated in time to the interface sequence information that adapts to the changed test conditions, so that when the device to be tested of the above type is subsequently acquired, the test can be directly performed according to the second interface sequence information without the need to re-modify and re-release the test software, thereby solving the problem that when the test conditions of the device to be tested change, the test will be suspended, and the test process needs to be redesigned according to the current test conditions, and the test software needs to be re-modified and re-released according to the redesigned test process.

[0065] Based on the above embodiments, as an optional embodiment, the test condition includes: any one of a normal test condition, a device update test condition, and at least one type of fault test condition.

[0066] In the embodiments of the present application, normal test conditions refer to the situation where the production line of this type of equipment to be tested is in normal production, equipment update test conditions refer to the situation where parts are replaced and updated in the production line of this type of equipment to be tested, and fault test conditions refer to the situation where faults occur due to external reasons such as hardware and software during the production and testing process of this type of equipment to be tested.

[0067] In the embodiment of the present application, a change in test conditions refers to a situation where the test conditions change between any two of normal test conditions, equipment update test conditions, and at least one type of fault test conditions.

[0068] The present application also provides a device testing method, which is applied to a server, such as Figure 6 As shown, the method includes: S301, receiving an acquisition request sent by a terminal.

[0069] In the embodiment of the present application, the server pre-stores at least one interface sequence information currently being used by each type of device to be tested.

[0070] In an embodiment of the present application, the acquisition request is used to request at least one interface sequence information corresponding to the acquisition type.

[0071] S302: Determine, according to the type, at least one interface sequence information to be applied by the terminal for the type.

[0072] In an embodiment of the present application, the acquisition request includes a type identifier representing the type of the device to be tested, and the server can determine at least one interface sequence information currently being used by the device to be tested of this type according to the type identifier.

[0073] S303: Send at least one interface sequence information of a type to be applied to the terminal.

[0074] In an embodiment of the present application, the determined at least one interface sequence information is sent to the terminal, so that the terminal can test the device to be tested of the type according to the interface sequence information.

[0075] The device testing method applied to the server provided in the embodiment of the present application, when the server receives an acquisition request for obtaining interface sequence information corresponding to a certain type, returns at least one interface sequence information corresponding to the type of device to be tested to the terminal, so that the terminal can test the type of device to be tested according to the interface sequence information, thereby ensuring that the terminal can be compatible with different types of devices to be tested for testing.

[0076] Based on the above embodiments, as an optional embodiment, the acquisition request also includes a terminal identification of the terminal, and while sending at least one interface sequence information of a type to be applied to the terminal, the terminal identification is added to a target terminal set corresponding to the type; the target terminal set is used to record the identification of the terminal that has stored at least one interface sequence information corresponding to the type.

[0077] In an embodiment of the present application, after the server receives an acquisition request and returns at least one interface sequence information of the type to be applied to the terminal according to the acquisition request, a terminal identifier is added to the target terminal set corresponding to the type, so that when the interface sequence information is subsequently updated, it can be ensured that each terminal that has stored the interface sequence information corresponding to the type uses the latest interface sequence information to test the type of device to be tested.

[0078] In the above scheme, when the interface sequence information corresponding to a certain type is sent to a certain terminal, that is, when the interface sequence information corresponding to the type is sent to the terminal for the first time, the terminal identifier of the terminal is added to the target terminal set corresponding to the type, so as to ensure that when the interface sequence information currently applied to the type is updated subsequently, all target terminals that need to be notified can be determined in time.

[0079] Based on the above embodiments, as an optional embodiment, receiving update information; Update the interface sequence information corresponding to the target type according to the update information; An update includes at least one of the following: Added new interface sequence information corresponding to the target type; Edit the interface sequence information corresponding to the target type; Delete the interface sequence information corresponding to the target type.

[0080] In an embodiment of the present application, an update message is used to instruct the server to update the interface sequence information corresponding to the target type of device to be tested. Since the interface sequence information corresponding to each type of device to be tested may change, when the server receives an update message, it indicates that the interface sequence information corresponding to the target type needs to be updated.

[0081] In an embodiment of the present application, updating the interface sequence information may be adding to the interface sequence information corresponding to the target type, that is, adding at least one interface sequence information on the basis of the currently stored interface sequence information; updating the interface sequence information may be adding to the interface sequence information corresponding to the target type, that is, editing the interface sequence information on the basis of the currently stored interface sequence information, for example, modifying an interface in a certain interface sequence information, or changing the interaction order of each interface in a certain interface sequence information; modifying the interface sequence information may also be deleting the interface sequence information corresponding to the target type, that is, deleting at least one interface sequence information on the basis of the currently stored interface sequence information.

[0082] In the above solution, the interface sequence information stored in the server can be updated flexibly, which greatly reduces the time and labor costs required for redeveloping and publishing the test application.

[0083] The present application also provides a device testing method, which is applied to a server, such as Figure 7 As shown, the method includes: S401, receiving first information.

[0084] In the embodiment of the present application, the first information is used to describe the type of the device to be tested and the change in the test conditions corresponding to the type.

[0085] In the embodiment of the present application, if the test condition of the device to be tested changes, the server will receive first information, where the first information is used to describe the type of the device to be tested whose test condition has changed.

[0086] S402: Determine, according to the first information, at least one first interface sequence information corresponding to the type under the changed test condition.

[0087] In an embodiment of the present application, the server pre-stores interface sequence information corresponding to each function of the same type of device to be tested under different test conditions. Therefore, after the server determines the type of device to be tested for which the test conditions have changed based on the first information, the server determines at least one first interface sequence information corresponding to the type of device to be tested under the changed test conditions based on the pre-stored interface sequence information.

[0088] S403: Send an update instruction to the target terminal.

[0089] In an embodiment of the present application, the target terminal is a terminal that has stored at least one second interface sequence information corresponding to the type, so that the terminal executes the device testing method.

[0090] In an embodiment of the present application, the server sends an update indication to the target terminal, and the update indication is used to instruct the terminal to update the stored interface sequence information corresponding to this type to at least one first interface sequence information, so that the terminal can smoothly test the various functions of the device to be tested under the changed test conditions.

[0091] In an embodiment of the present application, the target terminal is a terminal that has stored at least one second interface sequence information corresponding to the type, so that the terminal executes the above-mentioned device testing method.

[0092] In an embodiment of the present application, the first interface sequence information is interface sequence information compatible with current test conditions, that is, interface sequence information compatible with changed test conditions, and the second interface sequence information is interface sequence information compatible with test conditions before changes.

[0093] In an embodiment of the present application, the target terminal has already stored at least one interface sequence information corresponding to the type. Therefore, if an update indication is not sent to the target terminal, the terminal will be caused to test the type of device to be tested according to the second interface sequence information before the test condition changes, thereby causing a test error. Therefore, for all target terminals that store the second interface sequence information corresponding to the type, it is necessary to send update indication information to instruct the target terminal to test the type of device to be tested according to the first interface sequence information of the test condition after compatibility change.

[0094] The embodiment of the present application provides a method for testing a server device, which receives first information, determines the type of a device to be tested whose current test conditions have changed through the first information, determines at least one first interface sequence information corresponding to the type under the changed test conditions, and sends an update instruction to a target terminal that has stored second interface sequence information corresponding to the type, so as to instruct each target terminal to test the device to be tested of the type under the changed test conditions according to the second interface sequence information. By pre-storing the interface sequence information corresponding to the device to be tested of the type under each test condition, when the test conditions of the device to be tested of the type change, the interface sequence information compatible with the current test conditions can be determined in time, and each target terminal that has cached the interface sequence information corresponding to the type is notified to update the stored second interface sequence to the first interface sequence information, so that when the target terminal tests the device to be tested of the type, the first interface sequence compatible with the current test conditions is used for testing. This solves the problem that when the test conditions change during the test, the production line progress needs to be suspended, and the application compatible with the current test conditions needs to be redeveloped and released before the device to be tested of the type can be continued to be tested.

[0095] Based on the above embodiments, as an optional embodiment, the link update method is as follows: Figure 8 The specific contents include: S501, receiving second information; S502, determining a backup link address of the first link address and calling at least one interface of the first link address; S503: For each interface, update the first link address called by the interface to a standby link address.

[0096] In the embodiment of the present application, the second information is used to indicate the first link address where the fault occurs, and the link address is the address called when each interface of the server obtains the information required for device testing.

[0097] In an embodiment of the present application, there may be link addresses for calling other systems inside each interface of the server. During the process of the terminal testing the device to be tested, each interface in the interface sequence information corresponding to this type of device to be tested usually calls a corresponding link address in a fixed manner to obtain the information required for the test.

[0098] In the embodiment of the present application, each interface can call one link address or multiple link addresses during the test process, and each link address that can be called by the same interface has a corresponding backup link address.

[0099] In S501 of the embodiment of the present application, the server receives second information, and the second information indicates that the current first link address fails. Therefore, the interface that needs to call the first link address during the test will not be able to call the first link address.

[0100] In S502 of the embodiment of the present application, since the first link address fails, in order to ensure the normal execution of the test, it is necessary to determine the backup link address of the first link address and call the various interfaces of the above-mentioned first link address. The various interfaces that call the first link address can achieve the same effect during the test by calling the backup link address of the first link address.

[0101] In S503 of the embodiment of the present application, for each interface, the currently called first link address is updated to the corresponding standby link address, so that when the device to be tested is tested, the server can successfully obtain the information required during the test.

[0102] In the above scheme, when the link address called by the interface fails, the server will receive a second message, which tells the server which specific link address has failed, thereby selecting the backup link address corresponding to the failed first link address as the calling address. There is no need to modify the interface code, which ensures that the test continues when the called link address fails.

[0103] refer to Fig. 9 As shown, it exemplarily shows a schematic diagram of an interactive process of a device testing method, and the specific contents are as follows: S601, the terminal determines that the type of the device to be tested is a target type; S602: If the terminal does not store at least one interface sequence information corresponding to the target type, generate an acquisition request including a target type identifier and a terminal identifier; S603, the terminal sends an acquisition request to the server; S604: The server determines, according to the target type identifier in the acquisition request, at least one interface sequence information currently applied by the device to be tested corresponding to the target type identifier; S605: The server adds the terminal identifier to the target terminal set corresponding to the target type identifier; S606. The server sends at least one interface sequence information corresponding to the target type identifier to the terminal; S607, the terminal establishes a correspondence between the target type identifier and at least one interface sequence information, and tests the device to be tested according to the at least one interface sequence information; S608. The server receives first information, where the first information is used to indicate that the type of the device to be tested whose test condition has changed is a target type. S609. The server determines, according to the target type, the changed test conditions, and the pre-stored interface sequence information corresponding to each type identifier under each test condition, at least one first interface sequence information corresponding to the device to be tested of the target type identifier under the changed test conditions; S610: The server determines each target terminal according to the terminal identifier in the target terminal set corresponding to the target type identifier, and generates an update indication including the class target type identifier and corresponding at least one first interface sequence information; S611, the server sends an update instruction to each target terminal; S612. The terminal updates at least one interface sequence information corresponding to the stored target type identifier to corresponding first interface sequence information according to the update indication; S613: The terminal determines a target device to be tested, and if the type of the target device to be tested is a target type, tests the target device to be tested according to at least one first interface sequence information.

[0104] In the above scheme, multiple terminals can use the same test application to produce and test multiple types of devices at the same time. There is no need to develop and release test applications specifically for different types of devices to be tested, which reduces the time and labor costs of development and maintenance. The interface sequence information corresponding to each type of device to be tested under each test condition is pre-designed. When an emergency occurs, only the configuration needs to be modified according to the current test conditions to solve the problem of needing to re-modify and re-release the test application according to the test conditions. The solution is fast and the operation is simple.

[0105] The present application embodiment provides a terminal, such as Fig.10 As shown, the device 100 may include: a first determination module 1001 , a second determination module 1002 , and a first testing module 1003 .

[0106] Specifically, the first determination module 1001 is used to determine the type of the device to be tested for any device to be tested; The second determination module 1002 is used to determine at least one corresponding interface sequence information according to the type of the device to be tested; the interface sequence information is used to indicate the various interfaces and the interaction order of the various interfaces that the terminal interacts with the server when the terminal tests the functions of the device to be tested, and one interface sequence information corresponds to one function; The first testing module 1003 is used to test the corresponding functions of the device to be tested according to the interface sequence information.

[0107] The present application embodiment provides a terminal, such as Fig.11 As shown, the device 110 may include: a first receiving module 1101 , an updating module 1102 , and a second testing module 1103 .

[0108] Specifically, the first receiving module 1101 is used to receive an update indication; the update indication is used to indicate the type of the device to be tested and at least one first interface sequence information corresponding to the type; The updating module 1102 is used to update at least one second interface sequence information corresponding to the stored type to the corresponding first interface sequence information according to the update indication; the interface sequence information is used to indicate the various interfaces and the interaction order of the various interfaces that the terminal interacts with the server when the terminal tests the functions of the device to be tested, and one interface sequence information corresponds to at least one function; The second testing module 1103 is used to determine a target device to be tested, and if the target device to be tested is determined to be of type, test the target device to be tested according to at least one first interface sequence information.

[0109] The present application embodiment provides a server, such as Fig.12As shown, the device 120 may include: a second receiving module 1201 , a third determining module 1202 , and a first sending module 1203 .

[0110] Specifically, the second receiving module 1201 is used to receive an acquisition request sent by a terminal; the acquisition request is used to request to acquire at least one interface sequence information corresponding to a type; The third determining module 1202 is used to determine, according to the type, at least one interface sequence information to be applied by the terminal for the type; The first sending module 1203 is configured to send at least one interface sequence information of a type to be applied to the terminal.

[0111] The present application embodiment provides a server, such as Fig.13 As shown, the device 130 may include: a third receiving module 1301 , a fourth determining module 1302 , and a second sending module 1303 .

[0112] Specifically, the third receiving module 1301 is used to receive first information; the first information is used to describe the type of the device to be tested and the test conditions corresponding to the type have changed; The fourth determining module 1302 is used to determine at least one first interface sequence information corresponding to the type under the changed test condition according to the first information; The second sending module 1303 is used to send an update indication to the target terminal, which is a terminal that has stored at least one second interface sequence information corresponding to the type, so that the terminal executes the device test method. The device of the embodiment of the present application can execute the method provided by the embodiment of the present application, and its implementation principle is similar. The actions performed by each module in the device of each embodiment of the present application correspond to the steps in the method of each embodiment of the present application. For the detailed functional description of each module of the device, please refer to the description in the corresponding method shown in the previous text, which will not be repeated here.

[0113] In an embodiment of the present application, an electronic device (computer device / equipment / system) is provided, including a memory, a processor and a computer program stored in the memory, and the processor executes the above-mentioned computer program to implement the steps of the device testing method. Compared with the related art, it can achieve the following: the purpose of testing multiple types of devices to be tested in the same time period can be achieved, and for different types of devices to be tested, there is no need to specially develop and release corresponding test applications for each type of device to be tested, which solves the problem of high time cost and labor cost required for testing.

[0114] In an alternative embodiment, an electronic device is provided, such as Fig.14 As shown, Fig.14The electronic device 4000 shown includes: a processor 4001 and a memory 4003. The processor 4001 and the memory 4003 are connected, such as through a bus 4002. Optionally, the electronic device 4000 may also include a transceiver 4004, which may be used for data interaction between the electronic device and other electronic devices, such as data transmission and / or data reception. It should be noted that in actual applications, the transceiver 4004 is not limited to one, and the structure of the electronic device 4000 does not constitute a limitation on the embodiments of the present application.

[0115] Processor 4001 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. Processor 4001 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0116] The bus 4002 may include a path to transmit information between the above components. The bus 4002 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 4002 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.14 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0117] The memory 4003 may be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), magnetic disk storage media, other magnetic storage devices, or any other medium that can be used to carry or store computer programs and can be read by a computer, without limitation herein.

[0118] The memory 4003 is used to store the computer program for executing the embodiment of the present application, and the execution is controlled by the processor 4001. The processor 4001 is used to execute the computer program stored in the memory 4003 to implement the steps shown in the above method embodiment.

[0119] Among them, the electronic equipment package may include but is not limited to mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Fig.14 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0120] The embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps and corresponding contents of the aforementioned method embodiment can be implemented. Compared with the prior art, it can achieve the purpose of testing multiple types of devices to be tested in the same time period, and for different types of devices to be tested, there is no need to develop and release corresponding test applications specifically for each type of device to be tested, which solves the problem of high time cost and labor cost required for testing.

[0121] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer readable signal media may also be any computer readable medium other than computer readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0122] The embodiment of the present application also provides a computer program product, including a computer program, which can implement the steps and corresponding contents of the aforementioned method embodiment when executed by a processor. Compared with the prior art, it can achieve the purpose of testing multiple types of devices to be tested in the same time period, and for different types of devices to be tested, there is no need to develop and release corresponding test applications specifically for each type of device to be tested, thereby solving the problem of high time cost and labor cost required for testing.

[0123] The terms "first", "second", "third", "fourth", "1", "2", etc. (if any) in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than that shown or described in the drawings.

[0124] It should be understood that, although each operation step is indicated by arrows in the flowchart of the embodiment of the present application, the implementation order of these steps is not limited to the order indicated by the arrows. Unless clearly stated herein, in some implementation scenarios of the embodiment of the present application, the implementation steps in each flowchart can be performed in other orders according to demand. In addition, some or all of the steps in each flowchart may include multiple sub-steps or multiple stages based on actual implementation scenarios. Some or all of these sub-steps or stages may be executed at the same time, and each sub-step or stage in these sub-steps or stages may also be executed at different times respectively. In different scenarios of execution time, the execution order of these sub-steps or stages may be flexibly configured according to demand, and the embodiment of the present application does not limit this.

[0125] The above are only optional implementation methods for some implementation scenarios of the present application. It should be pointed out that for ordinary technicians in this technical field, without departing from the technical concept of the scheme of the present application, other similar implementation methods based on the technical ideas of the present application are also within the protection scope of the embodiments of the present application.

Claims

1. A device testing method, characterized in that: Applied to terminals, including: For any device to be tested, determine the type of the device to be tested; Determine at least one corresponding interface sequence information according to the type of the device to be tested; the interface sequence information is used to indicate the various interfaces and the interaction order of the various interfaces that the terminal interacts with the server when the terminal tests the functions of the device to be tested, and one interface sequence information corresponds to at least one function; The corresponding functions of the device to be tested are tested according to the interface sequence information.

2. The method according to claim 1, characterized in that The determining of at least one corresponding interface sequence information according to the type of the device to be tested includes: If the terminal does not store at least one interface sequence information corresponding to the type, sending an acquisition request containing the type to the server; the acquisition request is used to request at least one interface sequence information corresponding to the type; receiving at least one interface sequence information sent by the server, and establishing a corresponding relationship between the type and the at least one interface sequence information; If the terminal has stored at least one interface sequence information corresponding to the type, then the corresponding at least one interface sequence information is acquired according to the type.

3. The method according to claim 1, characterized in that: Also includes: receiving an update indication, wherein the update indication is used to indicate the type of the device to be tested and at least one first interface sequence information corresponding to the type; According to the update indication, updating the stored at least one second interface sequence information corresponding to the type to the corresponding first interface sequence information; A target device to be tested is determined, and if it is determined that the target device to be tested is of the type, the target device to be tested is tested according to the at least one first interface sequence information.

4. A device testing method, characterized in that: Applied to terminals, including: receiving an update indication, wherein the update indication is used to indicate the type of the device to be tested and at least one first interface sequence information corresponding to the type; According to the update indication, at least one second interface sequence information corresponding to the stored type is updated to the corresponding first interface sequence information; the interface sequence information is used to indicate the various interfaces and the interaction order of the various interfaces that the terminal interacts with the server when the terminal tests the function of the device to be tested, and one interface sequence information corresponds to one function; A target device to be tested is determined, and if it is determined that the target device to be tested is of the type, the target device to be tested is tested according to the at least one first interface sequence information.

5. A device testing method, characterized in that: Applicable to servers, including: Receiving an acquisition request sent by a terminal; the acquisition request is used to request to acquire at least one interface sequence information corresponding to the type; Determining, according to the type, at least one interface sequence information to be applied by the terminal for the type; At least one interface sequence information of the type to be applied is sent to the terminal.

6. The method according to claim 5, characterized in that The acquisition request also includes a terminal identifier of the terminal, and the sending of at least one interface sequence information of the type to be applied to the terminal further includes: The terminal identifier is added to a target terminal set corresponding to the type; the target terminal set is used to record the identifiers of terminals that have stored at least one interface sequence information corresponding to the type.

7. The method according to claim 5, characterized in that The method further comprises: Receive updates; Updating the interface sequence information corresponding to the target type according to the update information; The updating includes at least one of the following operations: Adding interface sequence information corresponding to the target type; Editing the interface sequence information corresponding to the target type; The interface sequence information corresponding to the target type is deleted.

8. A device testing method, characterized in that: Applicable to servers, including: Receive first information; the first information is used to describe the type of the device to be tested and the test conditions corresponding to the type have changed; Determine, according to the first information, at least one first interface sequence information corresponding to the type under the changed test condition; An update indication is sent to a target terminal, where the target terminal is a terminal that has stored at least one second interface sequence information corresponding to the type, so that the terminal executes the device testing method according to claim 4.

9. The method according to claim 8, characterized in that The method further comprises: Receive second information; the second information is used to indicate the first link address where the failure occurred, the link address is the address called when each interface of the server obtains the information required for the device test Determine a backup link address of the first link address and call at least one interface of the first link address; For each interface, the first link address called by the interface is updated to the standby link address.

10. A terminal, characterized in that: include: A first determination module, configured to determine the type of any device to be tested; A second determination module, used to determine at least one corresponding interface sequence information according to the type of the device to be tested; The interface sequence information is used to indicate the interfaces through which the terminal interacts with the server and the interaction sequence of the interfaces when the terminal tests the function of the device to be tested, and one piece of interface sequence information corresponds to one function; The first testing module is used to test the corresponding functions of the device to be tested according to the interface sequence information.