A method, device and system for positioning and testing Internet of Things equipment, and Internet of Things equipment
By setting test flag data in IoT devices and using SMS modules for remote testing, the problems of complexity and low efficiency of traditional testing methods are solved, efficient and accurate positioning function testing is achieved, the testing process is simplified and costs are reduced.
Patent Information
- Application Number
- CN202410883068.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-03
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-07-03
AI Technical Summary
Traditional IoT device positioning function testing methods are complex, costly, and inefficient, and it is difficult to ensure the accuracy and reliability of test results, especially in complex environments where remote testing cannot be effectively performed.
Set test flag data in the IoT device, initialize and remotely receive test instructions according to different modes, collect and send positioning data through the SMS module, realize remote positioning function testing, provide real-time feedback of test results, and synchronize the data to the cloud platform.
It simplifies the test process, reduces the cost, improves the convenience and efficiency of the test, and ensures the accuracy and reliability of the test results. It is not restricted by the outdoor environment and can be tested as long as there is SMS signal coverage.
Smart Images

Figure CN118433769B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of Internet of Things device testing, and specifically to an Internet of Things device positioning test method, device and system, and Internet of Things device. Background Art
[0002] Among the many functions of IoT devices, the positioning function is particularly important. It can help users accurately understand the location information of IoT devices, and provide great convenience for remote control, scheduling and management of IoT devices. With the continuous expansion of the IoT device market and the intensification of competition, the performance and quality requirements of IoT devices are also getting higher and higher. The accuracy and stability of the positioning function directly affect the use effect and user experience of the device. Therefore, in the production process, strict testing of the positioning function of IoT devices is a key link to ensure the performance and quality of the equipment.
[0003] The traditional method of testing the positioning function of IoT devices usually adopts the method of field testing, that is, the tester needs to carry equipment and tools to a specific test site for testing. This testing method is not only complicated to operate, but also has many inconveniences. First, the equipment that the tester needs to carry increases the difficulty and cost of the test. Secondly, the tester needs to perform on-site operations and data recording at the test site, which is a large workload and prone to errors, and it is also difficult to ensure the accuracy and reliability of the test results. In addition, since the test needs to simulate various complex environments and conditions in actual use scenarios, the traditional testing method is likely to lead to inaccurate and unreliable test results. In addition, in the production test link, not all IoT devices can be directly connected to the cloud platform, and can issue instructions and report data through the cloud platform. IoT devices may not have connection functions such as WiFi and Bluetooth, and data and instructions cannot be sent through IoT device connections.
[0004] Therefore, how to simplify the IoT device positioning function testing process, reduce testing costs, improve the convenience and efficiency of testing, and ensure the accuracy and reliability of test results has become an urgent problem to be solved in the current IoT device testing. Summary of the invention
[0005] The present application aims to solve the problem of poor efficiency and accuracy in the existing IoT device positioning function testing process, and proposes an IoT device positioning testing method, device and system, and IoT device.
[0006] The technical solution adopted by this application to solve the above technical problems is:
[0007] In a first aspect, the present application provides a method for testing the positioning of an IoT device, the method comprising:
[0008] Step 1: setting test mark data in an IoT device, wherein the IoT device is in a system mode corresponding to the test mark data, wherein the system mode includes at least a production line test mode, an outdoor test mode, and a user use mode;
[0009] Step 2: After the IoT device is turned on, the current system mode of the IoT device is determined according to the test mark data in the IoT device. If the current system mode of the IoT device is the outdoor test mode, proceed to step 3.
[0010] Step 3: Initialize the positioning module and SMS module of the IoT device, and control the IoT device to enter the standby state;
[0011] Step 4: remotely receive the SMS instruction of the positioning test sent by the test terminal through the SMS module of the Internet of Things device, and parse the SMS instruction to obtain the positioning test parameters;
[0012] Step 5: Control the IoT device to perform corresponding test operations according to the positioning test parameters, collect positioning data using the positioning module of the IoT device, and remotely send the positioning data to the test terminal through the SMS module;
[0013] Step 6: The test terminal obtains a test result based on the received positioning data.
[0014] Furthermore, the step 2 further comprises:
[0015] If the current system mode of the IoT device is the production line test mode, test the various functions of the IoT device according to the production line tool. After the production line test is completed and passed, modify the test mark data in the IoT device to the test mark data corresponding to the outdoor test mode, and re-enter step 2 when the outdoor test mode starts.
[0016] Furthermore, the positioning data is one or more of GNSS data, WiFi data, BLE data and LBS data.
[0017] Furthermore, step 6 also includes: the test terminal remotely sends the test result to the IoT device through a text message module; if the test result is that the test passes, the test mark data in the IoT device is modified; if the test result is that the test fails, the IoT device is controlled to shut down.
[0018] Furthermore, the method also includes: the test terminal sending the positioning data and the test result to a cloud platform server.
[0019] In a second aspect, the present application provides an IoT device positioning test device, which is used to implement the IoT device positioning test method as described in the first aspect.
[0020] In a third aspect, the present application provides another IoT device positioning test device, the device comprising:
[0021] A setting unit, configured to set test mark data in an IoT device, wherein the IoT device is in a system mode corresponding to the test mark data, wherein the system mode includes at least a production line test mode, an outdoor test mode, and a user use mode;
[0022] A determination unit, used to determine the current system mode of the IoT device according to the test mark data in the IoT device after the IoT device is turned on;
[0023] An initialization unit, used to initialize the positioning module and the SMS module of the IoT device when the current system mode of the IoT device is the outdoor test mode, and control the IoT device to enter a standby state;
[0024] A parsing unit, used to remotely receive a text message instruction of a positioning test sent by a test terminal through a text message module of an Internet of Things device, and parse the text message instruction to obtain positioning test parameters;
[0025] The test unit is used to control the Internet of Things device to perform corresponding test operations according to the positioning test parameters, and at the same time use the positioning module of the Internet of Things device to collect positioning data, and remotely send the positioning data to the test terminal through the SMS module, so that the test terminal can obtain the test results according to the received positioning data.
[0026] Furthermore, the positioning data is one or more of GNSS data, WiFi data, BLE data and LBS data.
[0027] In a fourth aspect, the present application provides an IoT device positioning test system, the system comprising the IoT device positioning test device as described in the third aspect, and further comprising a test terminal and a cloud platform server:
[0028] The test terminal is used to obtain a test result according to the received positioning data, and to remotely send the test result to the Internet of Things device through a text message module, and to send the positioning data and the test result to the cloud platform server;
[0029] The IoT device positioning test device is also used to modify the test mark data in the IoT device if the test result is that the test passes, and to control the IoT device to shut down if the test result is that the test fails.
[0030] In a fifth aspect, the present application provides an Internet of Things device, which includes a positioning module and a text message module, and also includes the Internet of Things device positioning test device as described in the third aspect.
[0031] The beneficial effects of the present application are as follows: the IoT device positioning test method, device and system, and IoT device provided by the present application do not require testers to carry special test tools, and can perform remote positioning tests by simply moving the IoT device, thereby improving the convenience and efficiency of the IoT device positioning function test. The test results are fed back in real time via SMS, and testers can use the test terminal to promptly understand the positioning function performance of the IoT device. In addition, the present application is not restricted by the outdoor environment, and remote positioning tests can be performed as long as there is SMS signal coverage, thereby improving the accuracy and reliability of the IoT device positioning function test. By setting the test mark data in the IoT device and checking the test mark data before the test, the influence of the IoT device that does not meet the test conditions on the positioning function test is avoided, and the efficiency and accuracy of the IoT device positioning function test is further improved. By sending the positioning data and test results to the cloud platform for synchronization, the centralized management and sharing of the test data are realized, and the data management efficiency and availability are improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 A flowchart of a method for testing the positioning of an IoT device provided in an embodiment of the present application;
[0033] Figure 2 A flowchart of another method for testing the location of an IoT device provided in an embodiment of the present application;
[0034] Figure 3 A schematic diagram of the structure of an IoT device positioning test device provided in an embodiment of the present application;
[0035] Figure 4 A schematic diagram of the structure of an Internet of Things device positioning test system provided in an embodiment of the present application;
[0036] Figure 5 A schematic diagram of the structure of an Internet of Things device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0037] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0038] The technical solution of the embodiment of the present application is applicable to application scenarios where the positioning function of an IoT device needs to be tested, especially an IoT device with a text messaging function.
[0039] Since the current positioning function test of IoT devices basically requires testers to carry equipment and tools to the outdoors for testing, the difficulty and cost of the test are increased, and the efficiency is low. In addition, testers need to perform on-site operations and data recording at the test site, which is a large workload and prone to errors, making it difficult to ensure the accuracy and reliability of the test results. In the prior art, there are also related solutions for functional testing of IoT devices by remotely sending test instructions, but this method requires the construction of a dedicated test platform and communication server, which still has the problems of high cost and low efficiency. In addition, since the positioning function test of IoT devices requires the IoT devices to be moved to various complex environments, the difficulty of building communication servers is increased. It is easy for the IoT devices to be unable to receive test instructions due to complex environments, which leads to the inability to conduct tests, making it difficult to ensure the accuracy and reliability of the test results. In addition, before the positioning function test of IoT devices, it is necessary to ensure that the production line test is qualified, that is, the hardware and software tests of IoT devices are completed and qualified. If the positioning function test is performed on IoT devices that have not completed the production line test, accurate positioning test results cannot be obtained, and the reliability is poor.
[0040] Based on this, the technical solution of the present application is proposed. In an embodiment of the present application, by setting test mark data in an Internet of Things device, the Internet of Things device is in a system mode corresponding to the test mark data, and the system mode includes at least a production line test mode, an outdoor test mode and a user use mode; after the Internet of Things device is turned on, the current system mode of the Internet of Things device is determined according to the test mark data in the Internet of Things device. If the current system mode of the Internet of Things device is the outdoor test mode, the positioning function test step is executed; the positioning function test step includes: initializing the positioning module and the SMS module of the Internet of Things device, and controlling the Internet of Things device to enter a standby state; remotely receiving the SMS instruction of the positioning test sent by the test terminal through the SMS module of the Internet of Things device, and parsing the SMS instruction to obtain the positioning test parameters; controlling the Internet of Things device to perform corresponding test operations according to the positioning test parameters, and at the same time using the positioning module of the Internet of Things device to collect positioning data, and remotely sending the positioning data to the test terminal through the SMS module; the test terminal obtains the test result according to the received positioning data.
[0041] Specifically, the embodiment of the present application sets the test mark data in the IoT device and checks the test mark data before the positioning function test. When the current system mode of the IoT device is the outdoor test mode, it indicates that the current IoT device meets the conditions for the positioning function test, and then the positioning function test step is executed, thereby avoiding the positioning function test of the IoT device whose production line test is not completed, and improving the reliability of the positioning test. When executing the positioning function test step, the positioning test instruction sent remotely by the test terminal is received through the SMS module of the IoT device, and the positioning test data is remotely sent to the test terminal through the SMS module, thereby realizing the remote test of the positioning function. The tester does not need to carry a special test tool, and only needs to move the IoT device to perform a remote positioning test, which improves the convenience and efficiency of the positioning function test of the IoT device. The test results are fed back in real time through SMS, and the tester can use the test terminal to timely understand the positioning function performance of the IoT device. In addition, the present application is not limited to the outdoor environment. As long as there is a SMS signal coverage, remote positioning test can be performed, which improves the accuracy and reliability of the positioning function test of the IoT device.
[0042] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments.
[0043] See also Figure 1 and Figure 2 The IoT device positioning test method provided in the embodiment of the present application includes the following steps:
[0044] S1. Setting test mark data in an IoT device, wherein the IoT device is in a system mode corresponding to the test mark data, wherein the system mode includes at least a production line test mode, an outdoor test mode, and a user use mode;
[0045] In actual application, the test mark data is imported into the IoT device in advance. When the test marks in the IoT device are different, it means that the IoT device is in a different test phase and the IoT device is in a different system mode. In actual application, when the test phase of the IoT device changes, the test mark data in the IoT device can be modified so that the IoT device enters the next test phase, and the system mode of the IoT device is modified to the system mode corresponding to the next test phase.
[0046] The testing phase of an IoT device usually includes a production line testing phase, an outdoor testing phase, and a test completion phase. The production line testing phase is a basic test of the hardware and software after the IoT device is assembled. Its purpose is to test the basic functions of the IoT device. After the production line test is qualified, it enters the outdoor testing phase. The outdoor testing phase is mainly to test the functions of the IoT device in different usage environments and the positioning function. After the outdoor testing phase is completed, all tests are completed and users can use the IoT device normally. Accordingly, in the embodiment of the present application, the system mode of the IoT device is divided into a production line testing mode, an outdoor testing mode, and a user use mode according to different test phases. When the IoT device is in different system modes, the system software and functions in the IoT device are also different to meet the testing requirements of different test phases.
[0047] S2. After the IoT device is turned on, the current system mode of the IoT device is determined according to the test mark data in the IoT device. If the current system mode of the IoT device is the outdoor test mode, enter S3.
[0048] In actual applications, the determination unit integrated in the IoT device can obtain the test mark data and determine whether the current system mode of the IoT device is the outdoor test mode based on the test mark data, that is, determine whether the IoT device is in the outdoor test stage and whether the system mode in the IoT device meets the outdoor test requirements.
[0049] In an embodiment of the present application, if the current system mode of the IoT device is the production line test mode, it is determined that the current IoT device does not meet the outdoor test requirements. At this time, the various functions of the IoT device are tested according to the production line tools. After the production line test is completed and the test is passed, the test mark data in the IoT device is modified to the test mark data corresponding to the outdoor test mode, and S2 is re-entered when the outdoor test mode is started.
[0050] If the current system mode of the IoT device is the outdoor test mode, it is determined that the current IoT device meets the outdoor test requirements, and then subsequent steps are performed to test the positioning function of the IoT device.
[0051] If the current system mode of the IoT device is user mode, the IoT device will be used normally without performing any related tests.
[0052] The embodiment of the present application sets test flag data in the Internet of Things device and checks the test flag data before the positioning function test. When the current system mode of the Internet of Things device is the outdoor test mode, it indicates that the current Internet of Things device meets the conditions for the positioning function test, and then the positioning function test steps, namely S3 to S6, are executed, thereby avoiding the positioning function test on the Internet of Things device whose production line test has not been completed, thereby improving the reliability of the positioning test, and avoiding repeated testing of the Internet of Things device that has been fully completed, thereby improving the efficiency of the positioning test.
[0053] S3, initialize the positioning module and SMS module of the IoT device, and control the IoT device to enter the standby state;
[0054] In practical applications, the initialization unit integrated in the IoT device can initialize the positioning module and SMS module of the IoT device and then enter the standby state, always listening to the SMS instructions from the test terminal. Among them, the positioning module is used to collect the positioning data of the IoT device, including but not limited to GNSS data, WiFi data, BLE data, LBS data, etc. The SMS module is used to communicate remotely with the test terminal through SMS, and it has a unique number for sending and receiving SMS.
[0055] S4. Remotely receive the SMS instruction of the positioning test sent by the test terminal through the SMS module of the Internet of Things device, and parse the SMS instruction to obtain the positioning test parameters;
[0056] In the embodiment of the present application, the test terminal is a terminal with a text message function, such as a smart phone, a personal computer, a tablet computer, etc. that can send and receive text messages. In actual applications, the tester writes the corresponding SMS instructions for the positioning test according to the test needs and requirements. The SMS instructions contain positioning test parameters. For example, the SMS instructions are "TEST_LOCATION:ALL", "TEST_LOCATION:WiFi", "TEST_LOCATION:BLE", "TEST_LOCATION:LBS", etc. Then, the SMS instruction is sent to the IoT device through the SMS function of the test terminal and the SMS receiving number of the IoT device. After the parsing unit integrated in the IoT device receives the SMS instruction through the SMS module, it parses the SMS to obtain the corresponding positioning test parameters.
[0057] S5. Control the IoT device to perform corresponding test operations according to the positioning test parameters, collect positioning data using the positioning module of the IoT device, and remotely send the positioning data to the test terminal through the SMS module;
[0058] Specifically, after obtaining the positioning test parameters, the test unit integrated in the IoT device starts the positioning function of the IoT device and performs corresponding positioning operations to obtain positioning data, such as starting the GNSS test task to obtain GNSS data; starting the WiFi scanning task to scan the surrounding WiFi data; starting the LBS data acquisition task to obtain the surrounding LBS data; starting the BLE scanning task to scan the surrounding BLE data. The obtained positioning data is then sent to the test terminal through the SMS module. In an embodiment of the present application, test status information can also be returned to the test terminal, for example: test failure returns: "RESULT: FAIL; DATA: GNSSTESTERROR"; test normal returns: "RESULT: SUCCESS; DATA: GNSSINF, WIFIINFO, LBSINFO, BLEINFO".
[0059] S6. The test terminal obtains a test result according to the received positioning data.
[0060] Specifically, the tester uses the location data in the SMS reply to quickly understand the performance of the device's positioning function and obtain the test results.
[0061] In an embodiment of the present application, it also includes: the test terminal remotely sends the test result to the Internet of Things device through a text message module; if the test result is that the test passes, the test flag data in the Internet of Things device is modified; if the test result is that the test fails, the Internet of Things device is controlled to shut down.
[0062] Specifically, if the test result received by the IoT device is a pass, the test flag data in the IoT device is modified to the test flag data corresponding to the user mode, and the system mode of the IoT device is modified to the user mode, so that the IoT device can be used normally. If the test result received by the IoT device is a fail, the IoT device is shut down, and the positioning function test is re-performed after the staff has troubleshooted it.
[0063] In the embodiment of the present application, the test terminal also sends the positioning data and test results to the cloud platform server. By sending the positioning data and test results to the cloud platform for synchronization, testers and other relevant personnel can view the test data through the cloud platform, thereby realizing centralized management and sharing of test data and improving data management efficiency and availability.
[0064] In summary, the IoT device positioning test method provided by the embodiment of the present application sets the test mark data in the IoT device and checks the test mark data before the positioning function test. When the current system mode of the IoT device is the outdoor test mode, it indicates that the current IoT device meets the conditions for the positioning function test, and then the positioning function test step is executed, thereby avoiding the positioning function test of the IoT device whose production line test is not completed, improving the reliability of the positioning test, and avoiding repeated testing of the IoT device that has completed the test, thereby improving the test efficiency. When executing the positioning function test step, the positioning test instruction sent remotely by the test terminal is received by the SMS module of the IoT device, and the positioning test data is remotely sent to the test terminal through the SMS module, thereby realizing the remote testing of the positioning function. The tester does not need to carry a special test tool, and only needs to move the IoT device to perform a remote positioning test, which improves the convenience and efficiency of the positioning function test of the IoT device. The test results are fed back in real time through SMS, and the tester can use the test terminal to promptly understand the positioning function performance of the IoT device. In addition, the present application is not limited to the outdoor environment. As long as there is a place covered by the SMS signal, a remote positioning test can be performed, which improves the accuracy and reliability of the positioning function test of the IoT device.
[0065] Based on the above technical solution, this embodiment also proposes an IoT device positioning test device, which is used to implement the IoT device positioning test method described in the embodiment of this application.
[0066] Based on the above technical solution, this embodiment also proposes another IoT device positioning test device, please refer to Figure 3 , the device comprises:
[0067] A setting unit, configured to set test mark data in an IoT device, wherein the IoT device is in a system mode corresponding to the test mark data, wherein the system mode includes at least a production line test mode, an outdoor test mode, and a user use mode;
[0068] A determination unit, used to determine the current system mode of the IoT device according to the test mark data in the IoT device after the IoT device is turned on;
[0069] An initialization unit, used to initialize the positioning module and the SMS module of the IoT device when the current system mode of the IoT device is the outdoor test mode, and control the IoT device to enter a standby state;
[0070] A parsing unit, used to remotely receive a text message instruction of a positioning test sent by a test terminal through a text message module of an Internet of Things device, and parse the text message instruction to obtain positioning test parameters;
[0071] The test unit is used to control the Internet of Things device to perform corresponding test operations according to the positioning test parameters, and at the same time use the positioning module of the Internet of Things device to collect positioning data, and remotely send the positioning data to the test terminal through the SMS module, so that the test terminal can obtain the test results according to the received positioning data.
[0072] Based on the above technical solution, the present application embodiment also proposes an IoT device positioning test system, please refer to Figure 4 , the system includes the IoT device positioning test device described in the embodiment of the present application, and also includes a test terminal and a cloud platform server:
[0073] The test terminal is used to obtain a test result according to the received positioning data, and to remotely send the test result to the Internet of Things device through a text message module, and to send the positioning data and the test result to the cloud platform server;
[0074] The IoT device positioning test device is also used to modify the test mark data in the IoT device if the test result is that the test passes, and to control the IoT device to shut down if the test result is that the test fails.
[0075] Based on the above technical solution, the present application embodiment also proposes an Internet of Things device, please refer to Figure 5 The Internet of Things device includes a positioning module and a text message module, and also includes the Internet of Things device positioning test device described in the embodiment of the present application.
[0076] It can be understood that since the devices, systems and equipment described in the embodiments of the present application are devices, systems and equipment for implementing the methods described in the embodiments, for the devices, systems and equipment disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple. For relevant matters, please refer to the partial description of the method, which will not be repeated here.
[0077] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
Claims
1. A method for positioning a device of the Internet of Things, characterized in that: The method comprises: Step 1: setting test mark data in an IoT device, wherein the IoT device is in a system mode corresponding to the test mark data, wherein the system mode includes at least a production line test mode, an outdoor test mode, and a user use mode; Step 2: After the IoT device is turned on, the current system mode of the IoT device is determined according to the test mark data in the IoT device. If the current mode of the IoT device is the outdoor test mode, proceed to step 3. Step 3: Initialize the positioning module and SMS module of the IoT device, and control the IoT device to enter the standby state; Step 4: remotely receive the SMS instruction of the positioning test sent by the test terminal through the SMS module of the Internet of Things device, and parse the SMS instruction to obtain the positioning test parameters; Step 5: Control the IoT device to perform corresponding positioning operations according to the positioning test parameters, collect positioning data using the positioning module of the IoT device, and remotely send the positioning data to the test terminal through the SMS module; Step 6: The test terminal obtains a test result based on the received positioning data.
2. The method for positioning and testing an Internet of Things device according to claim 1, characterized in that: The step 2 also includes: If the current system mode of the IoT device is the production line test mode, test the various functions of the IoT device according to the production line tool. After the production line test is completed and passed, modify the test mark data in the IoT device to the test mark data corresponding to the outdoor test mode, and re-enter step 2 when the outdoor test mode starts.
3. The method for positioning and testing an Internet of Things device according to claim 1, characterized in that: The positioning data is one or more of GNSS data, WiFi data, BLE data and LBS data.
4. The method for positioning and testing an Internet of Things device according to claim 1, characterized in that: The step 6 also includes: the test terminal remotely sends the test result to the IoT device through the SMS module; if the test result is that the test passes, the test mark data in the IoT device is modified; if the test result is that the test fails, the IoT device is controlled to shut down.
5. The method for positioning and testing an Internet of Things device according to claim 1, characterized in that: The method also includes: the test terminal sending the positioning data and the test result to a cloud platform server.
6. A positioning test device for an Internet of Things device, characterized in that: The device is used to implement the Internet of Things device positioning test method as described in any one of claims 1 to 5.
7. A positioning test device for an Internet of Things device, characterized in that: The device comprises: A setting unit, configured to set test mark data in an IoT device, wherein the IoT device is in a system mode corresponding to the test mark data, wherein the system mode includes at least a production line test mode, an outdoor test mode, and a user use mode; A determination unit, used to determine the current system mode of the IoT device according to the test mark data in the IoT device after the IoT device is turned on; An initialization unit, used to initialize the positioning module and the SMS module of the IoT device when the current system mode of the IoT device is the outdoor test mode, and control the IoT device to enter a standby state; A parsing unit, used to remotely receive a text message instruction of a positioning test sent by a test terminal through a text message module of an Internet of Things device, and parse the text message instruction to obtain positioning test parameters; The test unit is used to control the Internet of Things device to perform corresponding positioning operations according to the positioning test parameters, and at the same time use the positioning module of the Internet of Things device to collect positioning data, and remotely send the positioning data to the test terminal through the SMS module, so that the test terminal can obtain the test results according to the received positioning data.
8. The IoT device positioning test device according to claim 7, characterized in that: The positioning data is one or more of GNSS data, WiFi data, BLE data and LBS data.
9. An Internet of Things device positioning test system, characterized in that: The system includes the IoT device positioning test device according to claim 7 or 8, and also includes a test terminal and a cloud platform server: The test terminal is used to obtain a test result according to the received positioning data, and to remotely send the test result to the Internet of Things device through a text message module, and to send the positioning data and the test result to the cloud platform server; The IoT device positioning test device is also used to modify the test mark data in the IoT device if the test result is that the test passes, and to control the IoT device to shut down if the test result is that the test fails.
10. An Internet of Things device, comprising a positioning module and a text message module, characterized in that: It also includes the Internet of Things device positioning test device as described in claim 7 or 8.
