CN111106975B - Test method, test equipment and computer readable storage medium - Google Patents

Test method, test equipment and computer readable storage medium Download PDF

Info

Publication number
CN111106975B
CN111106975B CN201811255561.0A CN201811255561A CN111106975B CN 111106975 B CN111106975 B CN 111106975B CN 201811255561 A CN201811255561 A CN 201811255561A CN 111106975 B CN111106975 B CN 111106975B
Authority
CN
China
Prior art keywords
internet
instruction
platform
message
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811255561.0A
Other languages
Chinese (zh)
Other versions
CN111106975A (en
Inventor
任星伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile IoT Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile IoT 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 China Mobile Communications Group Co Ltd, China Mobile IoT Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201811255561.0A priority Critical patent/CN111106975B/en
Publication of CN111106975A publication Critical patent/CN111106975A/en
Application granted granted Critical
Publication of CN111106975B publication Critical patent/CN111106975B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Abstract

The embodiment of the invention discloses a test method, test equipment and a computer readable storage medium, which are applied to the connection between the test equipment and an Internet of things platform, and the method can comprise the following steps: when a first instruction sent by the Internet of things platform is detected, responding to the first instruction, and triggering a preset number of operation points to realize a first function corresponding to the first instruction; and in the process of realizing the first function by the preset number of operation points, generating first execution records corresponding to the preset number of operation points so as to provide the process of carrying out platform test by the Internet of things platform through the first execution records.

Description

Test method, test equipment and computer readable storage medium
Technical Field
The invention relates to the field of Internet of things, in particular to a testing method, testing equipment and a computer readable storage medium.
Background
With the rapid development of the internet of things technology, the functions of the intelligent terminal device become rich, diverse and powerful, so that the intelligent terminal device and the user become more and more compact. Most terminal devices of the internet of things are connected to a Device gateway through Message Queue Telemetry Transport (MQTT), hypertext Transfer Protocol (HTTP), Enhanced Device Protocol (EDP), and other Device protocols, and then are accessed to a management platform of the internet of things, which can realize functions of online monitoring, Message distribution, capability output, and the like on the terminal devices of the internet of things, and further provide a perfect solution of the internet of things for intelligent terminal devices such as intelligent hardware and intelligent home products, so that the performance of the management platform of the internet of things can influence the unified management on the intelligent terminal devices.
In a test system of an existing internet of things management platform, test terminal equipment is connected into the internet of things management platform, and the test terminal equipment is used for testing functions and performance of the internet of things management platform. However, when the test terminal device is abnormal, the reason for the abnormality cannot be timely judged when the internet of things management platform is tested, and the accuracy and the speed of the test are further affected.
Disclosure of Invention
In order to solve the above technical problems, embodiments of the present invention desirably provide a testing method, a testing device, and a computer-readable storage medium, which can timely determine the cause of an abnormality when testing an internet of things management platform, so as to improve the accuracy and speed of testing.
The embodiment of the invention provides the same testing method, which is applied to testing equipment, wherein the testing equipment is connected with an Internet of things platform, and the method comprises the following steps:
when a first instruction sent by the Internet of things platform is detected, responding to the first instruction, and triggering a preset number of operation points to realize a first function corresponding to the first instruction;
and in the process of realizing the first function by the preset number of operation points, generating first execution records corresponding to the preset number of operation points so that the Internet of things platform can perform a platform test process through the first execution records.
In the above method, before responding to the first instruction, the method further comprises:
configuring a preset message of a preset event type according to a preset message format;
and configuring a preset number of operation points for concurrent operation.
In the above method, triggering a preset number of operation points to implement a first function corresponding to the first instruction includes:
determining a first event type for executing the first instruction;
determining a first message corresponding to the first instruction from the preset messages according to the first event type;
and triggering the operation points with the preset number to realize the first function by using the first message.
In the above method, after the generating of the first execution record corresponding to the preset number of operation points, the method further includes:
storing the first execution record into a log file;
when a log viewing instruction sent by the platform of the internet of things is detected,
and transmitting the log file to the Internet of things platform according to the log viewing instruction so that the Internet of things platform can perform a platform test process through the first execution record.
In the method, the preset event type includes equipment online, equipment offline, startup, timed report, event response message and the like.
In the method, the preset message format is a format defined by an Enhanced Device Protocol (EDP) message.
In the above method, the method further comprises:
configuring a protocol IP and a port which are interconnected between networks;
and connecting the IP and the port with the Internet of things platform.
The embodiment of the invention provides a test device, which is connected with an Internet of things platform, and comprises a processor, a memory and a communication bus, wherein the processor is used for executing an operation program stored in the memory so as to realize the following steps:
when a first instruction sent by the Internet of things platform is detected, responding to the first instruction, and triggering a preset number of operation points to realize a first function corresponding to the first instruction; and in the process of realizing the first function by the preset number of operation points, generating first execution records corresponding to the preset number of operation points so that the Internet of things platform can perform a platform test process through the first execution records.
In the test device, the processor is further configured to configure a preset message of a preset event type according to a preset message format; and configuring a preset number of operation points for concurrent operation.
In the test device, the processor is further configured to determine a first event type for executing the first instruction; determining a first message corresponding to the first instruction from the preset messages according to the first event type; and triggering the operation points with the preset number to realize the first function by using the first message.
In the above test apparatus, the processor is further configured to store the first execution record in a log file; when a log viewing instruction sent by the Internet of things platform is detected, the log file is transmitted to the Internet of things platform according to the log viewing instruction, so that the Internet of things platform can perform a platform test process through the first execution record.
In the test equipment, the preset event type includes equipment online, equipment offline, startup, timed report, event response message and the like.
In the test equipment, the preset message format is a format defined by an Enhanced Device Protocol (EDP) message.
In the above test device, the processor is further configured to configure a protocol IP and a port interconnected between networks; and connecting the IP and the port with the Internet of things platform.
An embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and the computer program is applied to a testing device, and when being executed by a processor, the computer program implements the testing method according to any one of the above items.
The embodiment of the invention provides a test method, test equipment and a computer readable storage medium, which are applied to the connection between the test equipment and an Internet of things platform, and the method comprises the following steps: when a first instruction sent by the Internet of things platform is detected, responding to the first instruction, and triggering a preset number of operation points to realize a first function corresponding to the first instruction; and in the process of realizing the first function by the preset number of operation points, generating first execution records corresponding to the preset number of operation points so as to provide the process of carrying out platform test by the Internet of things platform through the first execution records. By adopting the method implementation scheme, a large number of on-line terminal devices are simulated by utilizing the test equipment, unified execution parameters are configured for the terminal devices, when the IOT platform sends a first instruction to the test equipment, the test equipment triggers a preset number of terminal devices to realize a first function corresponding to the first instruction, and records the record of execution when the first function is realized, so that when the IOT platform judges that the execution is abnormal, the reason of the abnormality is determined in time, and the accuracy and the speed of the test can be improved.
Drawings
Fig. 1 is a first flowchart of a testing method according to an embodiment of the present invention;
FIG. 2 is a block diagram of an exemplary test apparatus according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a testing method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a testing apparatus according to an embodiment of the present invention.
Detailed Description
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
Example one
The embodiment of the invention provides a test method, which is applied to test equipment, wherein the test equipment is connected with an Internet of things platform, and as shown in fig. 1, the test method can comprise the following steps:
s101, when a first instruction sent by the Internet of things platform is detected, responding to the first instruction, and triggering a preset number of operation points to realize a first function corresponding to the first instruction.
The testing method provided by the embodiment of the invention is applied to the scene of testing the functions and the performances of the Internet of things platform by utilizing the simulation terminal based on the EDP protocol.
In the embodiment of the invention, the Internet of things platform is a OneNet platform of a Middling Internet of things company.
In the embodiment of the invention, the test equipment is used for simulating the batch simulation intelligent terminal to realize the rapid test and the rapid verification of the platform of the Internet of things.
In the embodiment of the present invention, the intelligent terminal includes an intelligent household appliance, a wearable device, a mobile phone, and the like, and is specifically selected according to an actual situation, and the embodiment of the present invention is not specifically limited.
In the embodiment of the present invention, the test device includes a communication packet configuration module, a concurrent parameter configuration module, and a log module, as shown in fig. 2, where the communication packet configuration module is configured with an IP and a port required by the OneNet platform, and a specific product registration code. The test equipment and the OneNet platform are connected through the IP and the ports and perform data interaction.
In the embodiment of the present invention, the communication message configuration module further configures a preset message with a preset event type, where the preset message includes an equipment online message, an offline message, a startup message, a timed report message, an alarm message, an event response message, and the like.
In the embodiment of the present invention, the formats supported by the communication packet configuration module include json, yaml, xml, html, and the like, which are specifically selected according to actual situations, and the embodiment of the present invention is not specifically limited.
In the embodiment of the invention, the concurrent parameter configuration module is used for configuring the parameters of the preset number of operation points and the like for concurrent operation.
In the embodiment of the invention, after the communication message configuration module and the concurrent parameter configuration module are configured, the test equipment is connected with the OneNet platform, and at the moment, a preset number of intelligent terminal equipment appears on the OneNet platform.
In the embodiment of the invention, a user performs first operation on a preset number of intelligent terminal devices on the OneNet platform, at the moment, the OneNet platform sends a first instruction to the test device, the test device responds to the first instruction, and an operation point of preset data is triggered to realize a first function corresponding to the first instruction.
In the embodiment of the present invention, the first operation may include a power on/off operation, message forwarding, Application (APP) service pushing, and the like, which is specifically selected according to an actual situation.
Specifically, the test equipment determines a first event type for executing the first instruction, wherein the first event type includes a power-on/power-off operation, a message receiving operation and the like, and then the test equipment determines a first message corresponding to the first instruction from preset messages according to the first event type, and triggers a preset number of operation points to realize a first function by using the first message.
Illustratively, when a user pushes an APP service to an intelligent terminal device on an OneNet platform, a test device determines that a first event type is message receiving, and at the moment, the test device determines a message receiving message corresponding to the message receiving and triggers an operation point to realize the message receiving operation by using the message receiving message.
S102, in the process of realizing the first function at the preset number of operation points, generating first execution records corresponding to the preset number of operation points so that the Internet of things platform can perform a platform test process through the first execution records.
After the test equipment triggers a preset number of operation points to realize the first function corresponding to the first instruction, the test equipment generates a preset number of first execution records corresponding to the operation points in the process of realizing the first function at the preset number of operation points, and at the moment, the platform of the internet of things can perform the process of testing the platform through the first execution records.
In the embodiment of the invention, in the process of realizing the first function by the preset number of operating points, a log module of the test equipment records a first execution record of the intelligent terminal equipment, the first execution record is stored in a log file, when error reporting information appears on the Oneet platform, the Oneet platform searches the first execution record from the log module, and determines the specific error type through the first execution record, and at the moment, the Oneet platform completes the process of platform test by using the test equipment.
It can be understood that, a large number of online terminal devices are simulated by using the test device, uniform execution parameters are configured for the terminal devices, when the internet of things platform sends a first instruction to the test device, the test device triggers a preset number of terminal devices to realize a first function corresponding to the first instruction, and records an executed record when the first function is realized, so that when the internet of things platform judges that the execution is abnormal, the reason of the abnormality is determined in time, and the accuracy and the speed of the test can be improved.
Example two
An embodiment of the present invention provides a test method, which is applied to a test device, where the test device is connected to an internet of things platform, and as shown in fig. 3, the test method may include:
s201, the testing equipment configures the protocol IP and the port which are interconnected between the networks.
The testing method provided by the embodiment of the invention is applied to the scene of testing the functions and the performances of the Internet of things platform by utilizing the simulation terminal based on the EDP protocol.
In the embodiment of the invention, the Internet of things platform is a OneNet platform of a Middling Internet of things company.
In the embodiment of the invention, the test equipment is used for simulating the batch simulation intelligent terminal to realize the rapid test and the rapid verification of the platform of the Internet of things.
In the embodiment of the present invention, the intelligent terminal includes an intelligent household appliance, a wearable device, a mobile phone, and the like, and is specifically selected according to an actual situation, and the embodiment of the present invention is not specifically limited.
In the embodiment of the present invention, the test device includes a communication packet configuration module, a concurrent parameter configuration module, and a log module, as shown in fig. 2, where the communication packet configuration module is configured with an IP and a port required by the OneNet platform, and a specific product registration code.
In the embodiment of the invention, the IP and the port configured by the communication message configuration module can be used for the IP and the port of the OneNet platform for receiving the reported message.
S202, the testing equipment is connected with the Internet of things platform through the IP and the port.
After the testing equipment configures the IP and the port, the testing equipment is connected with the Internet of things platform by using the IP and the port.
In the embodiment of the invention, the Internet of things platform searches for the test equipment by accessing the IP and the port, and establishes connection with the test equipment, at the moment, the test equipment is connected with the Internet of things platform by using the IP and the port, and a user can control the test equipment to realize different functions through the Internet of things platform, so that the functions and the performance of the Internet of things platform are tested.
S203, the test equipment configures a preset message with a preset event type according to a preset message format.
In the embodiment of the invention, a communication message configuration module of the test equipment configures preset messages of preset event types according to the format defined by the EDP message, wherein the preset messages comprise an equipment online message, an offline message, a startup message, a timing report message, an alarm message, an event response message and the like.
S204, configuring a preset number of operation points for concurrent operation by the test equipment.
In the embodiment of the invention, a concurrent parameter configuration module of the test equipment configures the preset number of operation points for concurrent operation, the running time of the operation points and other parameters.
It should be noted that S201 to S202, S203, and S204 are three parallel steps before S205, and a specific execution sequence is selected according to actual situations, which is not limited in the embodiment of the present invention.
S205, when the test equipment detects a first instruction sent by the platform of the Internet of things, the test equipment responds to the first instruction and determines a first event type for executing the first instruction.
After the test equipment is configured with the preset message and the preset number of operating points, the test equipment responds to the first instruction when detecting the first instruction sent by the Internet of things platform and determines that a first event type for executing the first instruction is available.
In the embodiment of the invention, a user performs first operation on a preset number of intelligent terminal devices on the OneNet platform, at the moment, the OneNet platform sends a first instruction to the test device, the test device responds to the first instruction and determines a first event type corresponding to the first instruction, wherein the first event type comprises power-on and power-off operation, message receiving and the like.
S206, the test equipment determines a first message corresponding to the first instruction from the preset messages according to the first event type.
After the test equipment determines a first event type for executing the first instruction, the test equipment determines, according to the first event type, a first message corresponding to the first instruction from a preset message.
In the embodiment of the invention, the test equipment determines the first message corresponding to the first instruction from the preset messages according to the first event type.
Illustratively, when a user pushes an APP service to an intelligent terminal device on an OneNet platform, a test device determines that a first event type is message reception, and at the moment, the test device determines a message reception message corresponding to the message reception.
S207, the test equipment triggers a preset number of operation points to realize a first function by using the first message.
After the test equipment determines a first message corresponding to the first instruction from the preset messages, the test equipment triggers a preset number of operation points to realize a first function by using the first message.
In the embodiment of the invention, the test equipment triggers a preset number of operation points to indicate the operation points to realize the first function by using the first message.
S208, in the process of realizing the first function at the preset number of operating points, the test equipment stores the first execution record into a log file.
After the test equipment triggers a preset number of operation points to realize the first function by using the first message, the test equipment stores the first execution record into the log file in the process of realizing the first function by the preset number of operation points.
In the embodiment of the invention, in the process of realizing the first function by the preset number of operation points, the log module of the test equipment records the first execution record of the intelligent terminal equipment and stores the first execution record into the log file, wherein the interaction details of the operation points and the Internet of things platform are stored in the first execution record.
S209, when the test equipment detects a log viewing instruction sent by the Internet of things platform, the test equipment transmits the log file to the Internet of things platform according to the log viewing instruction so that the Internet of things platform can perform a platform test process through the first execution record.
After the test equipment stores the first execution record into the log file, when the test equipment detects a log viewing instruction sent by the Internet of things platform, the log file is transmitted to the Internet of things platform according to the log viewing instruction, so that the Internet of things platform can perform a platform test process through the first execution record.
In the embodiment of the invention, when error reporting information appears on the OneNet platform, the OneNet platform searches the first execution record from the log module, and determines the specific error type through the first execution record, and at the moment, the OneNet platform completes the process of platform test by using the test equipment.
It can be understood that, a large number of online terminal devices are simulated by using the test device, uniform execution parameters are configured for the terminal devices, when the internet of things platform sends a first instruction to the test device, the test device triggers a preset number of terminal devices to realize a first function corresponding to the first instruction, and records an executed record when the first function is realized, so that when the internet of things platform judges that the execution is abnormal, the reason of the abnormality is determined in time, and the accuracy and the speed of the test can be improved.
EXAMPLE III
Fig. 4 is a schematic diagram of a first structural component of a testing apparatus according to an embodiment of the present invention, and in practical applications, based on the same inventive concept of the first embodiment to the second embodiment, as shown in fig. 4, a testing apparatus 1 according to an embodiment of the present invention includes: a processor 10, a memory 11, and a communication bus 12. In a Specific embodiment, the Processor 10 may be at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing terminal (DSPD), a Programmable Logic terminal (PLD), a Field Programmable Gate Array (FPGA), a CPU, a controller, a microcontroller, and a microprocessor. It will be appreciated that the electronic devices used to implement the processor functions described above may be other devices, and embodiments of the present invention are not limited in particular.
In the embodiment of the present invention, the communication bus 12 is used for realizing connection communication between the processor 10 and the memory 11; the processor 10 is configured to execute the operating program stored in the memory 11 to implement the following steps:
when a first instruction sent by the Internet of things platform is detected, responding to the first instruction, and triggering a preset number of operation points to realize a first function corresponding to the first instruction; and in the process of realizing the first function by the preset number of operation points, generating first execution records corresponding to the preset number of operation points so that the Internet of things platform can perform a platform test process through the first execution records.
In this embodiment of the present invention, further, the processor 10 is further configured to configure a preset message of a preset event type according to a preset message format; and configuring a preset number of operation points for concurrent operation.
In this embodiment of the present invention, further, the processor 10 is further configured to determine a first event type for executing the first instruction; determining a first message corresponding to the first instruction from the preset messages according to the first event type; and triggering the operation points with the preset number to realize the first function by using the first message.
In an embodiment of the present invention, the processor 10 is further configured to store the first execution record in a log file; when a log viewing instruction sent by the Internet of things platform is detected, the log file is transmitted to the Internet of things platform according to the log viewing instruction, so that the Internet of things platform can perform a platform test process through the first execution record.
In the embodiment of the present invention, the preset event type further includes an online device, an offline device, a startup device, a timed report, an event response packet, and the like.
In the embodiment of the present invention, further, the preset message format is a format defined by an enhanced device protocol EDP message.
In this embodiment of the present invention, further, the processor 10 is further configured to configure a protocol IP and a port that are interconnected between networks; and connecting the IP and the port with the Internet of things platform.
According to the test equipment provided by the embodiment of the invention, when a first instruction sent by the platform of the Internet of things is detected, the first instruction is responded, and a preset number of operation points are triggered to realize a first function corresponding to the first instruction; and in the process of realizing the first function by the preset number of operation points, generating first execution records corresponding to the preset number of operation points so as to provide the process of carrying out platform test by the Internet of things platform through the first execution records. Therefore, the test equipment provided by the embodiment of the invention can simulate a large number of on-line terminal equipment, configure uniform execution parameters for the terminal equipment, trigger a preset number of terminal equipment to realize a first function corresponding to a first instruction when the internet of things platform sends the first instruction to the test equipment, and record an executed record when the first function is realized, so that when the internet of things platform judges that the execution is abnormal, the reason of the abnormality is determined in time, and the accuracy and the speed of the test can be improved.
The embodiment of the present invention provides a computer-readable storage medium, where one or more programs are stored, where the one or more programs are executable by one or more processors and applied to a test device, and when the program is executed by the processors, the method according to the first to second embodiments is implemented.
Specifically, the program instructions corresponding to a testing method in the embodiment are read or executed by an electronic device, and include the following steps:
when a first instruction sent by the Internet of things platform is detected, responding to the first instruction, and triggering a preset number of operation points to realize a first function corresponding to the first instruction;
and in the process of realizing the first function by the preset number of operation points, generating first execution records corresponding to the preset number of operation points so that the Internet of things platform can perform a platform test process through the first execution records.
In an embodiment of the present invention, further, before responding to the first instruction, the one or more programs are executed by the one or more processors, and the following steps are further implemented:
configuring a preset message of a preset event type according to a preset message format;
and configuring a preset number of operation points for concurrent operation.
In an embodiment of the present invention, further, the triggering a preset number of operation points to implement a first function corresponding to the first instruction, and the one or more programs are executed by the one or more processors, to specifically implement the following steps:
determining a first event type for executing the first instruction;
determining a first message corresponding to the first instruction from the preset messages according to the first event type;
and triggering the operation points with the preset number to realize the first function by using the first message.
In an embodiment of the present invention, further, after the generating of the first execution records corresponding to the preset number of operation points, the one or more programs are executed by the one or more processors, and the following steps are further implemented:
storing the first execution record into a log file;
when a log viewing instruction sent by the platform of the internet of things is detected,
and transmitting the log file to the Internet of things platform according to the log viewing instruction so that the Internet of things platform can perform a platform test process through the first execution record.
In the embodiment of the present invention, the preset event type further includes an online device, an offline device, a startup device, a timed report, an event response packet, and the like.
In the embodiment of the present invention, further, the preset message format is a format defined by an enhanced device protocol EDP message.
In an embodiment of the present invention, further, when the one or more programs are executed by the one or more processors, the following steps are also implemented:
configuring a protocol IP and a port which are interconnected between networks;
and connecting the IP and the port with the Internet of things platform.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or system in which the element is included.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention or portions thereof contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the methods according to the embodiments of the present invention.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (15)

1. A testing method is applied to testing equipment, the testing equipment is connected with an Internet of things platform, and the method comprises the following steps:
when a first instruction sent by the Internet of things platform is detected, responding to the first instruction, and triggering a preset number of operation points to realize a first function corresponding to the first instruction;
and in the process of realizing the first function by the preset number of operation points, generating first execution records corresponding to the preset number of operation points so that the Internet of things platform can perform a platform test process through the first execution records.
2. The method of claim 1, wherein prior to responding to the first instruction, the method further comprises:
configuring a preset message of a preset event type according to a preset message format;
and configuring a preset number of operation points for concurrent operation.
3. The method according to claim 2, wherein the triggering a preset number of operation points to implement the first function corresponding to the first instruction comprises:
determining a first event type for executing the first instruction;
determining a first message corresponding to the first instruction from the preset messages according to the first event type;
and triggering the operation points with the preset number to realize the first function by using the first message.
4. The method of claim 1, wherein after the generating of the first execution record corresponding to the preset number of operation points, the method further comprises:
storing the first execution record into a log file;
when a log viewing instruction sent by the platform of the internet of things is detected,
and transmitting the log file to the Internet of things platform according to the log viewing instruction so that the Internet of things platform can perform a platform testing process through the first execution record.
5. The method according to claim 2, wherein the preset event type includes an online device, an offline device, a startup, a timed report, and an event response message.
6. The method according to claim 2, wherein the predetermined message format is a format defined by an Enhanced Device Protocol (EDP) message.
7. The method of claim 2, further comprising:
configuring a protocol IP and a port which are interconnected between networks;
and connecting the IP and the port with the Internet of things platform.
8. The test equipment is connected with an Internet of things platform, and comprises a processor, a memory and a communication bus, wherein the processor is used for executing an operation program stored in the memory so as to realize the following steps:
when a first instruction sent by the Internet of things platform is detected, responding to the first instruction, and triggering a preset number of operation points to realize a first function corresponding to the first instruction; and in the process of realizing the first function by the preset number of operation points, generating first execution records corresponding to the preset number of operation points so that the Internet of things platform can perform a platform test process through the first execution records.
9. The test apparatus of claim 8,
the processor is also used for configuring a preset message of a preset event type according to a preset message format; and configuring a preset number of operation points for concurrent operation.
10. The test apparatus of claim 9,
the processor is further configured to determine a first event type for executing the first instruction; determining a first message corresponding to the first instruction from the preset messages according to the first event type; and triggering the operation points with the preset number to realize the first function by using the first message.
11. The test apparatus of claim 8,
the processor is further configured to store the first execution record in a log file; when a log viewing instruction sent by the Internet of things platform is detected, the log file is transmitted to the Internet of things platform according to the log viewing instruction, so that the Internet of things platform can perform a platform test process through the first execution record.
12. The test equipment according to claim 9, wherein the predetermined event type includes an equipment on-line, an equipment off-line, a power-on, a timing report, and an event response message.
13. The test equipment according to claim 9, wherein the predetermined message format is a format defined by an enhanced device protocol, EDP, message.
14. The test apparatus of claim 9,
the processor is also used for configuring the protocol IP and the port which are interconnected among the networks; and connecting the IP and the port with the Internet of things platform.
15. A computer-readable storage medium, on which a computer program is stored, for use in a test apparatus, characterized in that the computer program, when being executed by a processor, carries out the test method according to any one of claims 1-7.
CN201811255561.0A 2018-10-26 2018-10-26 Test method, test equipment and computer readable storage medium Active CN111106975B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811255561.0A CN111106975B (en) 2018-10-26 2018-10-26 Test method, test equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811255561.0A CN111106975B (en) 2018-10-26 2018-10-26 Test method, test equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111106975A CN111106975A (en) 2020-05-05
CN111106975B true CN111106975B (en) 2022-08-12

Family

ID=70418854

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811255561.0A Active CN111106975B (en) 2018-10-26 2018-10-26 Test method, test equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111106975B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119243A (en) * 2007-09-12 2008-02-06 中兴通讯股份有限公司 Automatic testing method and automatic testing system of journal
CN102419727A (en) * 2011-09-30 2012-04-18 宇龙计算机通信科技(深圳)有限公司 Automatic test method and device
CN104270204A (en) * 2014-08-30 2015-01-07 杭州华为数字技术有限公司 Testing method and testing equipment for wireless communication module
CN104699591A (en) * 2013-12-06 2015-06-10 腾讯科技(深圳)有限公司 Reappearing method and device of test scenes
CN106713011A (en) * 2016-11-22 2017-05-24 腾讯科技(深圳)有限公司 Method and system for obtaining test data
CN106789153A (en) * 2016-11-09 2017-05-31 苏州数言信息技术有限公司 The log recording of self adaptation by all kinds of means of Internet of things system terminal device, output intent and system
CN106951362A (en) * 2015-09-18 2017-07-14 Fmr有限责任公司 To the real-time monitoring of computer system processor and affairs performance during ongoing performance test
CN107423218A (en) * 2017-07-20 2017-12-01 北京小米移动软件有限公司 Application testing method, device and terminal
CN107579879A (en) * 2017-09-26 2018-01-12 深圳震有科技股份有限公司 A kind of network simulation method of testing, emulation server and storage medium
CN108009451A (en) * 2017-11-30 2018-05-08 美的集团股份有限公司 Test method and testing tool

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103973504B (en) * 2013-01-25 2017-01-04 北京广利核系统工程有限公司 The parallel testing device of a kind of multiple network protocol and method of testing
CN105045690B (en) * 2015-07-10 2018-05-08 小米科技有限责任公司 Test the method and device of terminal
US20180189344A1 (en) * 2016-12-30 2018-07-05 General Electric Company Onboarding portal for cloud platform
CN108566299B (en) * 2018-04-20 2021-02-19 浪潮集团有限公司 Internet of things cloud platform terminal group management method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119243A (en) * 2007-09-12 2008-02-06 中兴通讯股份有限公司 Automatic testing method and automatic testing system of journal
CN102419727A (en) * 2011-09-30 2012-04-18 宇龙计算机通信科技(深圳)有限公司 Automatic test method and device
CN104699591A (en) * 2013-12-06 2015-06-10 腾讯科技(深圳)有限公司 Reappearing method and device of test scenes
CN104270204A (en) * 2014-08-30 2015-01-07 杭州华为数字技术有限公司 Testing method and testing equipment for wireless communication module
CN106951362A (en) * 2015-09-18 2017-07-14 Fmr有限责任公司 To the real-time monitoring of computer system processor and affairs performance during ongoing performance test
CN106789153A (en) * 2016-11-09 2017-05-31 苏州数言信息技术有限公司 The log recording of self adaptation by all kinds of means of Internet of things system terminal device, output intent and system
CN106713011A (en) * 2016-11-22 2017-05-24 腾讯科技(深圳)有限公司 Method and system for obtaining test data
CN107423218A (en) * 2017-07-20 2017-12-01 北京小米移动软件有限公司 Application testing method, device and terminal
CN107579879A (en) * 2017-09-26 2018-01-12 深圳震有科技股份有限公司 A kind of network simulation method of testing, emulation server and storage medium
CN108009451A (en) * 2017-11-30 2018-05-08 美的集团股份有限公司 Test method and testing tool

Also Published As

Publication number Publication date
CN111106975A (en) 2020-05-05

Similar Documents

Publication Publication Date Title
CN108712485B (en) Resource subscription method and device for Internet of things equipment
US8005890B2 (en) System and method for obtaining and executing instructions from a private network
CN111373698A (en) Heartbeat monitoring for broadband access and enterprise devices
US20100205600A1 (en) Simulation method for realizing large batches and different kinds of baseboard management controllers using a single server
CN112751733B (en) Link detection method, device, equipment, system and switch
CN112988485A (en) Simulation test method and device for power Internet of things equipment
CN112995133A (en) Analysis method, device and system based on modbus protocol
CN112087468A (en) Message processing method, related equipment and readable storage medium
EP3148266A1 (en) Notification message transmission method and device, and computer storage medium
CN111736938A (en) Information display method and device, storage medium and electronic device
CN112165445A (en) Method, device, storage medium and computer equipment for detecting network attack
CN107181606B (en) Method and apparatus for controlling network nodes
CN114567650A (en) Data processing method and Internet of things platform system
CN111106975B (en) Test method, test equipment and computer readable storage medium
CN113468045A (en) Test system, method and assembly for server batch configuration software
CN109995782B (en) Information processing method, device, system and computer storage medium
Keliris et al. Remote field device fingerprinting using device-specific modbus information
Lin et al. Cyber-Physical Testbed: Case Study to Evaluate Anti-Reconnaissance Approaches on Power Grids’ Cyber-Physical Infrastructures
CN115174245A (en) Test method and system based on DoIP protocol detection
CN105721231A (en) Service quality sensing detection method and service quality sensing detection device
CN105763347A (en) Method for obtaining parameter, network equipment and system
CN111600769A (en) Site detection method and device and storage medium
CN110830274A (en) Communication equipment simulation method and device
CN114157725B (en) Method, device, server, electronic equipment and storage medium for equipment linkage
GB2580973A (en) Message exchange between client and server

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
GR01 Patent grant
GR01 Patent grant