CN112463511A - Automatic test system and test method for serial port equipment of Internet of things - Google Patents

Automatic test system and test method for serial port equipment of Internet of things Download PDF

Info

Publication number
CN112463511A
CN112463511A CN202011241797.6A CN202011241797A CN112463511A CN 112463511 A CN112463511 A CN 112463511A CN 202011241797 A CN202011241797 A CN 202011241797A CN 112463511 A CN112463511 A CN 112463511A
Authority
CN
China
Prior art keywords
serial port
serial
public cloud
cloud platform
parameters
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011241797.6A
Other languages
Chinese (zh)
Other versions
CN112463511B (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.)
Wuhan Maiwei Communications Co ltd
Original Assignee
Wuhan Maiwei Communications 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 Wuhan Maiwei Communications Co ltd filed Critical Wuhan Maiwei Communications Co ltd
Priority to CN202011241797.6A priority Critical patent/CN112463511B/en
Publication of CN112463511A publication Critical patent/CN112463511A/en
Application granted granted Critical
Publication of CN112463511B publication Critical patent/CN112463511B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/267Reconfiguring circuits for testing, e.g. LSSD, partitioning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2247Verification or detection of system hardware configuration
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/10Detection; Monitoring

Abstract

The invention provides an automatic test system and a test method for serial port equipment of the Internet of things, wherein the test system comprises a serial port configuration debugging tool, serial port equipment, an automatic test server and a plurality of public cloud platforms; the serial port configuration debugging tool acquires the parameters of the serial port equipment from the serial port equipment and submits the parameters to the private automatic test server for storage; after the serial port equipment is connected with the public cloud platform, the public cloud platform receives reported data of the serial port equipment and forwards the reported data to the private automatic test server; the private automatic test server analyzes the serial device parameters in the reported data, performs consistency check on the analyzed serial device parameters and the locally stored serial device parameters, and obtains a test result according to a check result. The invention provides an automatic testing system of serial devices, which can automatically realize the testing of the serial devices on a plurality of public cloud platforms, and improves the efficiency and the accuracy of the testing compared with a manual testing method.

Description

Automatic test system and test method for serial port equipment of Internet of things
Technical Field
The invention belongs to the field of automatic testing, and particularly relates to an automatic testing system and method for serial devices of the Internet of things.
Background
At present, NB-IoT serial port equipment testing is mainly realized by manually connecting a serial port debugging tool, connecting the NB-IoT serial port equipment to a public cloud platform through serial port configuration parameters, logging in corresponding public cloud platform to add serial port equipment, restarting the serial port equipment, and observing the state of the serial port equipment to determine a testing result.
Because there are many internet of things cloud platforms, each platform needs to reconfigure a serial port configuration tool and then logs in a corresponding cloud platform to observe the serial port equipment, so that the repeatability test is carried out, and the test of labor and time is consumed.
Disclosure of Invention
The embodiment of the invention provides an automatic test and a test method for serial devices of the internet of things, which overcome the problems or at least partially solve the problems, and is used for realizing the automatic test of the serial devices.
According to a first aspect of the embodiment of the invention, an automatic test system for serial port equipment of the internet of things is provided, which comprises a serial port configuration debugging tool, serial port equipment, an automatic test server and a plurality of public cloud platforms;
the serial port configuration debugging tool is used for acquiring serial port equipment parameters from serial port equipment and submitting the serial port equipment parameters to the private automatic test server for storage;
the public cloud platform is used for receiving the reported data of the serial port equipment after the serial port equipment is connected with the public cloud platform, and forwarding the reported data to the private automatic test server;
and the private automatic test server is used for analyzing the serial device parameters in the reported data, performing consistency check on the analyzed serial device parameters and the locally stored serial device parameters, and obtaining a test result according to a check result.
On the basis of the above technical solutions, the embodiments of the present invention may be further improved as follows.
Further, the private automatic test server is further configured to add the serial device to the public cloud platform through a northbound interface of the public cloud platform according to the serial device parameters submitted by the serial configuration debugging tool; parameters required by the serial port equipment to access the public cloud platform are forwarded to a serial port configuration debugging tool;
correspondingly, the public cloud platform is used for:
when the private automation test server calls the northbound interface of the public cloud platform successfully, parameters required by the serial port device to access the public cloud platform are returned to the private automation test server;
the serial port configuration debugging tool is also used for writing parameters required by the serial port equipment to be accessed into the public cloud platform into the serial port equipment so as to enable the serial port equipment to be connected with the public cloud platform.
Further, the serial device parameters at least comprise an IMEI unique identification code of the serial device.
Further, parameters required by the serial device to access the public cloud platform include an MQTT user name, a password, a link address and topic.
Further, the serial port configuration debugging tool is communicated with serial port equipment through a computer serial port or a USB (universal serial bus), and is communicated with a private automatic test server through the Internet;
the private automatic test server is communicated with a serial port configuration debugging tool through a C & C service port or an HTTP interface, and is communicated with a northbound interface of a public cloud platform through a southbound interface;
and the serial port equipment is communicated with the public cloud platform through a serial port network.
Further, the private automatic test server is configured to analyze serial device parameters in the reported data, perform consistency check on the analyzed serial device parameters and the locally stored serial device parameters, and obtain a test result according to a check result, where the test result includes:
the automatic test server analyzes the IMEI unique identification code of the serial device from the reported data of the serial device;
comparing the analyzed IMEI unique identification code of the serial device with the IMEI unique identification code of the serial device stored locally, and if the analyzed IMEI unique identification code of the serial device is consistent with the IMEI unique identification code of the serial device stored locally, judging that the test result is a pass; if not, the test result is a failure.
According to a second aspect of the embodiment of the invention, an automatic testing method for serial devices of the internet of things is provided, which comprises the following steps:
the serial port configuration debugging tool acquires serial port equipment parameters and submits the serial port equipment parameters to a private automatic test server for storage;
after the serial port equipment is connected with the public cloud platform, the public cloud platform receives reported data of the serial port equipment and forwards the reported data to the private automatic test server;
the private automatic test server analyzes the serial port equipment parameters in the reported data, carries out consistency check on the analyzed serial port equipment parameters and the locally stored serial port equipment parameters, and obtains a test result according to a check result.
Further, before the serial device is connected with the public cloud platform, the method further includes:
the private automatic test server adds the serial port equipment to the public cloud platform through a northbound interface of the public cloud platform according to the serial port equipment parameters submitted by the serial port configuration debugging tool;
when the private automation test server calls the northbound interface of the public cloud platform successfully, the public cloud platform returns parameters required by the serial port device to access the public cloud platform to the private automation server;
the private automatic test server forwards parameters required by the serial port equipment to access the public cloud platform to a serial port configuration debugging tool;
the serial port configuration debugging tool writes parameters required by the serial port device to be accessed into the public cloud platform into the serial port device, so that the serial port device is connected with the public cloud platform.
Further, the serial device parameters at least comprise an IMEI unique identification code of the serial device.
Further, the analyzing of the serial device parameters in the reported data by the private automatic test server, and the consistency check of the analyzed serial device parameters and the locally stored serial device parameters, and obtaining the test result according to the check result includes:
the automatic test server analyzes the IMEI unique identification code of the serial device from the reported data of the serial device;
comparing the analyzed IMEI unique identification code of the serial device with the IMEI unique identification code of the serial device stored locally, and if the analyzed IMEI unique identification code of the serial device is consistent with the IMEI unique identification code of the serial device stored locally, judging that the test result is a pass; if not, the test result is a failure.
The automatic test system and method for the serial port equipment of the Internet of things provided by the embodiment of the invention comprise a serial port configuration debugging tool, serial port equipment, an automatic test server and a plurality of public cloud platforms; the serial port configuration debugging tool acquires the parameters of the serial port equipment from the serial port equipment and submits the parameters to the private automatic test server for storage; after the serial port equipment is connected with the public cloud platform, the public cloud platform receives reported data of the serial port equipment and forwards the reported data to the private automatic test server; the private automatic test server analyzes the serial device parameters in the reported data, performs consistency check on the analyzed serial device parameters and the locally stored serial device parameters, and obtains a test result according to a check result. The embodiment of the invention provides an automatic testing system of serial devices, which can automatically realize the testing of the serial devices on a plurality of public cloud platforms, and improves the testing efficiency and accuracy compared with a manual testing method.
Drawings
Fig. 1 is a structural diagram of an automatic test system for serial devices of the internet of things according to an embodiment of the present invention;
fig. 2 is a flowchart of an automatic testing method for serial devices of the internet of things according to an embodiment of the present invention;
fig. 3 is a flowchart of an automatic testing method for serial devices of the internet of things according to the embodiment of the invention.
Detailed Description
The following detailed description of embodiments of the present invention is provided in connection with the accompanying drawings and examples. The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.
Fig. 1 is an automatic test system for serial devices of the internet of things according to an embodiment of the present invention, and as shown in fig. 1, the automatic test system includes a serial configuration debugging tool, a serial device, an automatic test server, and a plurality of public cloud platforms.
The serial port configuration debugging tool is used for acquiring parameters of the serial port equipment from the serial port equipment and submitting the parameters of the serial port equipment to the private automatic test server for storage; the public cloud platform is used for receiving the reported data of the serial port equipment after the serial port equipment is connected with the public cloud platform and forwarding the reported data to the private automatic test server; and the private automatic test server is used for analyzing the serial device parameters in the reported data, performing consistency check on the analyzed serial device parameters and the locally stored serial device parameters, and obtaining a test result according to a check result.
It can be understood that the serial device is required to be compatible with each public cloud platform by sending data to each different public cloud platform through the serial device. The test system mainly comprises a serial port configuration debugging tool, serial port equipment, an automatic test server and a plurality of public cloud platforms.
The NB-IoT (Narrow Band Internet of Things) is constructed in a cellular network, consumes a bandwidth of about 180kHz, and can be directly deployed in a GSM network, a UMTS network, or an LTE network.
The NB-IoT serial port device is a device which supports serial ports to communicate with external hardware, and can send serial port communication data to a specified IoT platform (public cloud platform) through an NB-IoT network. The serial port configuration debugging tool is a program running on a Windows computer, can be communicated with NB-IoT serial port equipment through a Windows computer serial port or a USB, and can also be communicated with a private automatic test server through the Internet.
The IoT platform is a platform supporting NB-IoT serial port equipment to communicate through the Internet or an NB-IoT private network, and can also provide a northbound interface to communicate with a private automatic test server.
A proprietary automated test server is a server running on the internet that provides a southbound interface (subscription interface) for communicating with IoT platforms, and also provides a C & C or HTTP interface for communicating with serial tools.
The public cloud platform in the embodiment of the invention can be an Ali cloud Internet of things platform or a telecom Internet of things Ctwing platform, the public cloud platform can support the configuration of terminal communication modes such as TCP/UDP MQTT CoAP LwM2M, and the serial port equipment is NB-IoT serial port equipment.
The serial port configuration debugging tool reads the parameters of the serial port equipment from the serial port equipment and sends the read parameters of the serial port equipment to the private automatic test server, and the private automatic test server stores the parameters of the serial port equipment in the local. After the serial port equipment is connected with the public cloud platform, data are reported to the public cloud platform, the public cloud platform forwards reported data sent by the serial port equipment to the private automatic test server, the private automatic test server analyzes the reported data, serial port equipment parameters are analyzed from the reported data, the analyzed serial port equipment parameters are compared with the serial port equipment parameters stored locally, and a test result is obtained according to a comparison result.
The embodiment of the invention provides an automatic testing system of serial devices, which can automatically realize the testing of the serial devices on a plurality of public cloud platforms, and improves the testing efficiency and accuracy compared with a manual testing method.
In a possible embodiment, the private automatic test server is further configured to add the serial device to the public cloud platform through a northbound interface of the public cloud platform according to the serial device parameters submitted by the serial configuration debugging tool; parameters required by the serial port equipment to access the public cloud platform are forwarded to a serial port configuration debugging tool; correspondingly, the public cloud platform is used for: when the private automation test server calls the northbound interface of the public cloud platform successfully, parameters required by the serial port device to access the public cloud platform are returned to the private automation test server; the serial port configuration debugging tool is also used for writing parameters required by the serial port equipment to be accessed into the public cloud platform into the serial port equipment so as to enable the serial port equipment to be connected with the public cloud platform.
It can be understood that the process of establishing connection between the serial device and the public cloud platform is that the private automatic test server adds the serial device to the public cloud platform through a northbound interface of the public cloud platform according to the parameters of the serial device (wherein, the private automatic test server communicates with the public cloud platform through the northbound interface of the public cloud platform). After the serial port equipment is successfully added, the public cloud platform returns parameters required by the serial port equipment to be accessed into the public cloud platform to the private automatic test server, and forwards the parameters required by the serial port equipment to be accessed into the public cloud platform to the serial port configuration debugging tool. And the serial port configuration debugging tool writes parameters required by the access of the serial port equipment to the public cloud platform into the serial port equipment. And after the parameters are written into the serial port equipment, the serial port equipment is connected with the public cloud platform.
The parameters required by the serial port device to access the public cloud platform comprise an MQTT user name, a password, a link address and topic.
It can be understood that after parameters required by the serial device to access the public cloud platform are written into the serial device, the serial device accesses the public cloud platform according to the parameters, can establish connection with the public cloud platform, and sends data to the public cloud platform.
In a possible embodiment, the private automatic test server is configured to analyze serial device parameters in the reported data, perform consistency check on the analyzed serial device parameters and locally stored serial device parameters, and obtain a test result according to a check result, where the test result includes: the automatic test server analyzes the IMEI unique identification code of the serial device from the reported data of the serial device; comparing the analyzed IMEI unique identification code of the serial device with the IMEI unique identification code of the serial device stored locally, and if the analyzed IMEI unique identification code of the serial device is consistent with the IMEI unique identification code of the serial device stored locally, judging that the test result is a pass; if not, the test result is a failure.
It can be understood that, after the serial device is connected with the public cloud platform, the serial device reports data to the public cloud platform and forwards the data to the private automatic test server, and the private automatic test server analyzes the reported data to analyze serial device parameters in the reported data, wherein the serial device parameters mainly include an IMEI unique identification code of the serial device.
The private automatic test server compares the analyzed IMEI unique identification code of the serial device with the IMEI unique identification code stored in local serial devices, and if the analyzed IMEI unique identification code is consistent with the IMEI unique identification code stored in local serial devices, the test result is passed; if not, the test result is a failure. And at this moment, the serial port equipment is tested on a public cloud platform.
In one possible embodiment mode, the serial port configuration debugging tool is communicated with serial port equipment through a computer serial port or a USB (universal serial bus), and is communicated with a private automatic test server through the Internet; the private automatic test server is communicated with the serial port configuration debugging tool through a C & C service port or an HTTP interface, and is communicated with a northbound interface of the public cloud platform through a southbound interface; the serial port device communicates with the public cloud platform through a serial port network.
It can be understood that the serial port configuration debugging tool establishes communication with the private automatic test server through the C & C service port or the HTTP interface, and submits the obtained serial port device parameters to the private automatic test server through the C & C or the HTTP interface provided by the automatic test server. And the private automatic test server sends the serial port equipment to the public cloud platform through a northbound interface of the public cloud platform. And the public cloud platform returns parameters required by the serial port equipment to access the public cloud platform through the southbound interface of the private automatic test server.
It should be noted that the automatic serial device testing system provided by the embodiment of the invention can realize sequential testing of a plurality of public cloud platforms and can also test a plurality of public cloud platforms.
Referring to fig. 2, an automatic testing method for serial devices of the internet of things is provided, which includes: 201. the serial port configuration debugging tool acquires serial port equipment parameters and submits the serial port equipment parameters to a private automatic test server for storage; 202. after the serial port equipment is connected with the public cloud platform, the public cloud platform receives reported data of the serial port equipment and forwards the reported data to the private automatic test server; 203. the private automatic test server analyzes the serial port equipment parameters in the reported data, carries out consistency check on the analyzed serial port equipment parameters and the locally stored serial port equipment parameters, and obtains a test result according to a check result.
Wherein, treat that serial port equipment still includes before establishing the connection with public cloud platform: the private automatic test server adds the serial port equipment to the public cloud platform through a northbound interface of the public cloud platform according to the serial port equipment parameters submitted by the serial port configuration debugging tool; when the private automation test server calls the northbound interface of the public cloud platform successfully, the public cloud platform returns parameters required by the serial port device to access the public cloud platform to the private automation server; the private automatic test server forwards parameters required by the serial port equipment to access the public cloud platform to a serial port configuration debugging tool; the serial port configuration debugging tool writes parameters required by the serial port device to be accessed into the public cloud platform into the serial port device, so that the serial port device is connected with the public cloud platform.
The serial device parameters at least comprise an IMEI unique identification code of the serial device.
The private automatic test server analyzes the serial device parameters in the reported data, performs consistency check on the analyzed serial device parameters and the locally stored serial device parameters, and obtains a test result according to a check result, wherein the test result comprises: the automatic test server analyzes the IMEI unique identification code of the serial device from the reported data of the serial device; comparing the analyzed IMEI unique identification code of the serial device with the IMEI unique identification code of the serial device stored locally, and if the analyzed IMEI unique identification code of the serial device is consistent with the IMEI unique identification code of the serial device stored locally, judging that the test result is a pass; if not, the test result is a failure.
The specific execution steps of the method for automatically testing the serial device of the internet of things provided by the embodiment of the invention can refer to the automatic testing system of the serial device of the internet of things of the previous embodiments, and are not described herein again.
Referring to fig. 3, a specific example is described below to illustrate that the serial device automatic test system according to the embodiment of the present invention needs to prepare and confirm before testing, (1) whether the serial configuration debugging tool can access the internet and the automatic test server, and operates normally.
(2) The NB-IoT serial port device needs a non-directional SIM card and the charge is normal.
(3) And the public cloud platform related login address, the account password and the corresponding parameters of the northbound API interface.
(4) And automatically testing whether the server has a public network address and whether a corresponding firewall policy is opened.
After the correctness is confirmed, test work is prepared, MGT571 serial port equipment is used for the test, the platform corresponding to the automatic test is an Ariiyun IoT platform, and the automatic test server is an Ariiyun ECS cloud server, and the method mainly comprises the following steps:
1.1, inserting a special SIM card, and connecting the DB9 interface of the PC and the MGT571 serial device by using a serial port line.
1.2, the MGT571 serial port equipment is powered on and starts to operate.
1.3, configuring automatic parameters by a serial port configuration debugging tool, wherein the default serial port mode of the MGT571 serial port device is RS232, the baud rate is 115200, 8 data bits, 1 stop bit, no parity check and no flow control.
1.4, the serial port configuration debugging tool reads parameter information of the MGT571 serial port equipment, takes the IMEI number of the serial port equipment as an equipment unique identification number, and sends the IMEI number of the serial port equipment to an API (application program interface) of the automatic test server by an HTTP (hyper text transport protocol).
1.5, the automatic test server analyzes the IMEI number of the serial port equipment from the received data of the serial port configuration debugging tool, registers the IMEI number as the equipment name to the Aliskiu IoT platform, the Aliskiu IoT platform returns the MQTT user name, the password, the link address and the topic which are successfully registered, an Aliskiu IoT platform interface is called, and the subscription data points to the IP and the port of the automatic test server, so that the automatic test server can receive the data sent by the Aliskiu IoT platform.
1.6, the serial port configuration debugging tool writes the parameters into MGT57 serial port equipment, configures the serial port equipment, and the configured serial port equipment can send data to the cloud platform, namely, the MQTT user name, the password, the link address and the topic returned in the step 1.5 write the parameters and restart the equipment
And 1.7, after the serial port equipment is restarted, the serial port equipment is connected to an Aliskian IoT platform according to the MQTT user name, the Aliskian IoT platform automatically pushes an online event to an automatic test server after the online event is successfully uploaded, the automatic test server compares the analyzed serial port equipment name with the IMEI number of the serial port equipment read in the step 1.4 to determine whether the IMEI number is consistent, and records a comparison result to a specific webpage.
1.8, after the Aliskive IoT platform is tested, jumping to the next platform such as a telecom Cwing platform, and re-executing the step 1.1.
The automatic test system and the test method for the serial port equipment of the Internet of things provided by the embodiment of the invention comprise a serial port configuration debugging tool, serial port equipment, an automatic test server and a plurality of public cloud platforms; the serial port configuration debugging tool acquires the parameters of the serial port equipment from the serial port equipment and submits the parameters to the private automatic test server for storage; after the serial port equipment is connected with the public cloud platform, the public cloud platform receives reported data of the serial port equipment and forwards the reported data to the private automatic test server; the private automatic test server analyzes the serial device parameters in the reported data, performs consistency check on the analyzed serial device parameters and the locally stored serial device parameters, and obtains a test result according to a check result. The invention provides an automatic testing system of serial devices, which can automatically realize the testing of the serial devices on a plurality of public cloud platforms, and improves the efficiency and the accuracy of the testing compared with a manual testing method.
It should be noted that, in the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to relevant descriptions of other embodiments for parts that are not described in detail in a certain embodiment.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include such modifications and variations.

Claims (10)

1. An automatic test system for serial port equipment of the Internet of things is characterized by comprising a serial port configuration debugging tool, serial port equipment, an automatic test server and a plurality of public cloud platforms;
the serial port configuration debugging tool is used for acquiring serial port equipment parameters from serial port equipment and submitting the serial port equipment parameters to the private automatic test server for storage;
each public cloud platform is used for receiving the reported data of the serial port equipment after the serial port equipment is connected with the public cloud platform, and forwarding the reported data to the private automatic test server;
and the private automatic test server is used for analyzing the serial device parameters in the reported data, performing consistency check on the analyzed serial device parameters and the locally stored serial device parameters, and obtaining a test result according to a check result.
2. The automated testing system of claim 1, wherein the private automated testing server is further configured to add the serial device to the public cloud platform through a northbound interface of the public cloud platform according to the serial device parameters submitted by the serial configuration debugging tool; parameters required by the serial port equipment to access the public cloud platform are forwarded to a serial port configuration debugging tool;
correspondingly, the public cloud platform is used for:
when the private automation test server calls the northbound interface of the public cloud platform successfully, parameters required by the serial port device to access the public cloud platform are returned to the private automation test server;
the serial port configuration debugging tool is also used for writing parameters required by the serial port equipment to be accessed into the public cloud platform into the serial port equipment so as to enable the serial port equipment to be connected with the public cloud platform.
3. The automated testing system of claim 1, wherein the serial device parameters comprise at least an IMEI unique identification code of the serial device.
4. The automated testing system of claim 2, wherein the parameters required for the serial device to access the public cloud platform include MQTT user name, password, link address, and topic.
5. The automated testing system of any one of claims 1-4, wherein the serial port configuration debugging tool communicates with a serial device through a computer serial port or USB, and communicates with a private automated testing server through the Internet;
the private automatic test server is communicated with a serial port configuration debugging tool through a C & C service port or an HTTP interface, and is communicated with a northbound interface of a public cloud platform through a southbound interface;
and the serial port equipment is communicated with the public cloud platform through a serial port network.
6. The automated testing system of claim 3, wherein the private automated testing server is configured to parse serial device parameters in the reported data, perform consistency check on the parsed serial device parameters and locally stored serial device parameters, and obtain a testing result according to a checking result includes:
the automatic test server analyzes the IMEI unique identification code of the serial device from the reported data of the serial device;
comparing the analyzed IMEI unique identification code of the serial device with the IMEI unique identification code of the serial device stored locally, and if the analyzed IMEI unique identification code of the serial device is consistent with the IMEI unique identification code of the serial device stored locally, judging that the test result is a pass; if not, the test result is a failure.
7. An automatic testing method for serial port equipment of the Internet of things is characterized by comprising the following steps:
the serial port configuration debugging tool acquires serial port equipment parameters and submits the serial port equipment parameters to a private automatic test server for storage;
after the serial port equipment is connected with the public cloud platform, the public cloud platform receives reported data of the serial port equipment and forwards the reported data to the private automatic test server;
the private automatic test server analyzes the serial port equipment parameters in the reported data, carries out consistency check on the analyzed serial port equipment parameters and the locally stored serial port equipment parameters, and obtains a test result according to a check result.
8. The automated testing method of claim 7, wherein before the device to be connected to the public cloud platform, the method further comprises:
the private automatic test server adds the serial port equipment to the public cloud platform through a northbound interface of the public cloud platform according to the serial port equipment parameters submitted by the serial port configuration debugging tool;
when the private automation test server calls the northbound interface of the public cloud platform successfully, the public cloud platform returns parameters required by the serial port device to access the public cloud platform to the private automation server;
the private automatic test server forwards parameters required by the serial port equipment to access the public cloud platform to a serial port configuration debugging tool;
the serial port configuration debugging tool writes parameters required by the serial port device to be accessed into the public cloud platform into the serial port device, so that the serial port device is connected with the public cloud platform.
9. The automated testing method of claim 7, wherein the serial device parameters comprise at least an IMEI unique identification code of the serial device.
10. The automated testing method of claim 9, wherein the private automated testing server parses out the serial device parameters in the reported data, and performs consistency check on the parsed serial device parameters and the locally stored serial device parameters, and obtaining the testing result according to the checking result comprises:
the automatic test server analyzes the IMEI unique identification code of the serial device from the reported data of the serial device;
comparing the analyzed IMEI unique identification code of the serial device with the IMEI unique identification code of the serial device stored locally, and if the analyzed IMEI unique identification code of the serial device is consistent with the IMEI unique identification code of the serial device stored locally, judging that the test result is a pass; if not, the test result is a failure.
CN202011241797.6A 2020-11-09 2020-11-09 Automatic test system and test method for serial port equipment of Internet of things Active CN112463511B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011241797.6A CN112463511B (en) 2020-11-09 2020-11-09 Automatic test system and test method for serial port equipment of Internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011241797.6A CN112463511B (en) 2020-11-09 2020-11-09 Automatic test system and test method for serial port equipment of Internet of things

Publications (2)

Publication Number Publication Date
CN112463511A true CN112463511A (en) 2021-03-09
CN112463511B CN112463511B (en) 2022-06-07

Family

ID=74825447

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011241797.6A Active CN112463511B (en) 2020-11-09 2020-11-09 Automatic test system and test method for serial port equipment of Internet of things

Country Status (1)

Country Link
CN (1) CN112463511B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113326068A (en) * 2021-07-02 2021-08-31 佛山市淇特科技有限公司 Cloud testing method, device, equipment and storage medium on intelligent household equipment
CN115396340A (en) * 2022-08-31 2022-11-25 宁波小匠物联网科技有限公司 Production test system of Internet of things equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150381737A1 (en) * 2014-06-30 2015-12-31 Davra Networks Limited Gateway device and a gateway system for an internet-of-things environment
WO2016180894A1 (en) * 2015-05-12 2016-11-17 Mineus )( S.R.O. Method and system for automating the process of testing of software application
US20180062919A1 (en) * 2016-08-25 2018-03-01 Intel Corporation IoT SOLUTION SIZING
CN109104705A (en) * 2018-07-13 2018-12-28 广州市森锐科技股份有限公司 A kind of intelligent terminal and its system based on NB-IOT
CN109802845A (en) * 2017-11-17 2019-05-24 潘立华 A kind of intelligent distribution network terminal simulation test system and its test method
CN109818827A (en) * 2019-01-23 2019-05-28 四川虹美智能科技有限公司 Communication module detection method and system based on NB-IOT Internet of Things
CN109936553A (en) * 2017-12-18 2019-06-25 宁波中科集成电路设计中心有限公司 A kind of serial communication protocol automatic adaptation middleware
CN110568339A (en) * 2019-08-09 2019-12-13 江苏斯菲尔电气股份有限公司 Instrument automatic testing system and method based on Internet of things
CN111132060A (en) * 2019-12-16 2020-05-08 中建八局第二建设有限公司 Internet of things-based hardware automatic test tool and test method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150381737A1 (en) * 2014-06-30 2015-12-31 Davra Networks Limited Gateway device and a gateway system for an internet-of-things environment
WO2016180894A1 (en) * 2015-05-12 2016-11-17 Mineus )( S.R.O. Method and system for automating the process of testing of software application
US20180062919A1 (en) * 2016-08-25 2018-03-01 Intel Corporation IoT SOLUTION SIZING
CN109802845A (en) * 2017-11-17 2019-05-24 潘立华 A kind of intelligent distribution network terminal simulation test system and its test method
CN109936553A (en) * 2017-12-18 2019-06-25 宁波中科集成电路设计中心有限公司 A kind of serial communication protocol automatic adaptation middleware
CN109104705A (en) * 2018-07-13 2018-12-28 广州市森锐科技股份有限公司 A kind of intelligent terminal and its system based on NB-IOT
CN109818827A (en) * 2019-01-23 2019-05-28 四川虹美智能科技有限公司 Communication module detection method and system based on NB-IOT Internet of Things
CN110568339A (en) * 2019-08-09 2019-12-13 江苏斯菲尔电气股份有限公司 Instrument automatic testing system and method based on Internet of things
CN111132060A (en) * 2019-12-16 2020-05-08 中建八局第二建设有限公司 Internet of things-based hardware automatic test tool and test method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
无名: "DTU使用VCOM通过有人云一对一数据透传(G771)", 《HTTPS://WWW.USR.CN/FAQ/964.HTML》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113326068A (en) * 2021-07-02 2021-08-31 佛山市淇特科技有限公司 Cloud testing method, device, equipment and storage medium on intelligent household equipment
CN115396340A (en) * 2022-08-31 2022-11-25 宁波小匠物联网科技有限公司 Production test system of Internet of things equipment

Also Published As

Publication number Publication date
CN112463511B (en) 2022-06-07

Similar Documents

Publication Publication Date Title
CN104641673B (en) For automatically configuring the method and test system of tester
CN110442524B (en) Method and device for testing web service interface with authentication authorization
CN112463511B (en) Automatic test system and test method for serial port equipment of Internet of things
CN105099811A (en) Interface testing method and device
CN112988485B (en) Simulation test method and device for electric power Internet of things equipment
EP3518441B1 (en) Test troubleshooting system and method
CN109683997B (en) Method for accessing application program interface through sandbox, sandbox and sandbox equipment
CN110995764A (en) Fuzzy test system and method for data flow of application layer of mobile cellular network
JP2003060766A (en) Method for recording data and portable telephone set
CN113259996A (en) IOT wireless debugging method and equipment
CN111723019A (en) Interface debugging method and system
CN109660386B (en) Software upgrading method for semiconductor memory aging test system
CN111211934A (en) Cluster remote communication test method and system
CN113038499B (en) Terminal Wi-Fi compatibility testing method, device, system, equipment and medium
CN110198222B (en) Plug-and-play test method and test master station for power distribution automation terminal
CN108540344B (en) Router upgrading test method and system
CN110825617B (en) Method and device for simulating communication interaction between devices
CN116545891A (en) Automatic distribution network testing method based on intelligent equipment
CN114490746B (en) Equipment testing method and device, equipment to be tested and storage medium
US9294865B2 (en) Enhanced system and method for custom programming of large groups of phones without requiring additional equipment
CN111930625A (en) Log obtaining method, device and system based on cloud service platform
CN111082984A (en) Method and device for simulating login of network equipment to carry out command line interaction
CN113938943B (en) Method, system, equipment and medium for testing coexistence performance of wireless communication
WO2023185533A1 (en) Detection processing method, apparatus and system, and storage medium and electronic apparatus
US11928040B2 (en) API adapter test system, API adapter test assistance device, API adapter test assistance method, and API adapter test assistance program

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