Field test equipment, signal test method and system and computer equipment
Through the LoRa signal interaction between the site test equipment and the gateway, signal quality data can be directly obtained and displayed, which solves the problem of difficulty in time viewing signal test results in the prior art, and improves data transmission efficiency and testing efficiency.
Patent Information
- Application Number
- CN202411553195.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-01
- Publication Date
- 2025-01-10
AI Technical Summary
When deploying LoRaWAN network, the field testing equipment in the prior art needs to upload test data to the server through other communication means (such as 4G and Wi-Fi), which makes it difficult to view the test results in time when the signal quality is poor, and are inefficient.
Through the LoRa signal interaction between the site test equipment and the gateway, uplink signal quality data can be directly obtained and displayed, reducing dependence on other communication means, and realizing instant viewing of test results.
It improves the data transmission efficiency of signal testing, reduces the requirements for environmental communication signals, and improves the testing efficiency, especially in scenarios of poor mobile networks to be deployed.
Smart Images

Figure CN119300061A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communications, and in particular to a field testing device, a signal testing method, a system and a computer device. Background Art
[0002] As a communication technology widely used in the field of Internet of Things, LoRa has shown significant advantages in many scenarios requiring large-scale network coverage with its long-distance transmission capability and low power consumption characteristics. When deploying a LoRaWAN network, it is necessary to deploy the locations of gateways and nodes, so field testing is required to ensure network coverage and signal quality.
[0003] In the related technology, the field test equipment and gateway usually upload the test data to the server. After the server calculates the test results, it sends the test results to the user end through the server using other communication means (such as 4G, Wi-Fi, etc.) in addition to LoRa technology. The test results are viewed through the user end. This method causes the user to view the test results, which is limited by the signal quality of other communication means. If the signal quality of other communication means is poor, the user will not be able to conveniently view the test results at the test location, resulting in low test efficiency. Summary of the invention
[0004] The present application provides a field testing device, a signal testing method, a system and a computer device to improve the efficiency of signal testing.
[0005] In a first aspect, the present application provides a field testing device, comprising:
[0006] A first sending module, configured to send an uplink test message to the gateway at the current test location in response to the test instruction, so that the gateway determines the uplink signal quality data based on the uplink test message, and sends a downlink message carrying the uplink signal quality data to the site test equipment;
[0007] The first processing module is used to obtain uplink signal quality data of the field test equipment at the current test position based on the downlink message sent by the gateway;
[0008] The result display module is used to display the first signal test result based on the uplink signal quality data of the current test position in response to the first result display instruction.
[0009] In a second aspect, the present application provides a gateway, including:
[0010] A receiving module, used to receive an uplink test message sent by a field test device; the uplink test message is sent by the field test device to the gateway at the current test location in response to a test instruction;
[0011] An uplink sending module is used to send the received uplink test message to a server; the server is a cloud server or a built-in server of a gateway;
[0012] The second processing module is used to capture the uplink test message from the server to the server, and determine the uplink signal quality data according to the captured uplink test message;
[0013] The second sending module is used to encapsulate the uplink signal quality data into a downlink message and send the downlink message to the field test device, so that the field test device determines the uplink signal quality data of the field test device at the current test position based on the downlink message sent by the gateway.
[0014] In a third aspect, the present application provides a signal testing method, which is applied to field testing equipment, comprising:
[0015] In response to the test instruction, an uplink test message is sent to the gateway at the current test position, so that the gateway determines the uplink signal quality data based on the uplink test message, and sends the downlink message carrying the uplink signal quality data to the field test equipment; based on the downlink message sent by the gateway, the uplink signal quality data of the field test equipment at the current test position is obtained; in response to the first result display instruction, the first signal test result is displayed based on the uplink signal quality data of the current test position.
[0016] In a fourth aspect, the present application provides a signal testing method, applied to a gateway, including:
[0017] Receive an uplink test message sent by a field test device; the uplink test message is sent by the field test device to the gateway at the current test location in response to a test instruction; send the received uplink test message to a server; the server is a cloud server or a built-in server of the gateway; capture the uplink test message from the server to the server, and determine the uplink signal quality data based on the captured uplink test message; encapsulate the uplink signal quality data into a downlink message, and send the downlink message to the field test device, so that the field test device obtains the uplink signal quality data of the field test device at the current test location based on the downlink message sent by the gateway.
[0018] In a fifth aspect, the present application provides a signal testing system, comprising:
[0019] The field test equipment is used to send an uplink test message to the gateway at the current test location in response to the test instruction;
[0020] The gateway is used to receive the uplink test message sent by the field test equipment and send the received uplink test message to the server; the server is a cloud server or a built-in server of the gateway;
[0021] A gateway, used to capture an uplink test message from the server to the server, determine uplink signal quality data based on the captured uplink test message, encapsulate the uplink signal quality data into a downlink message, and send the downlink message to the site test equipment;
[0022] The site test device is also used to obtain uplink signal quality data of the site test device at the current test location based on the downlink message sent by the gateway;
[0023] The field test equipment is further used to display the first signal test result based on the uplink signal quality data of the current test position in response to the first result display instruction.
[0024] In a sixth aspect, the present application also provides a computer device, the computer comprising: a processor, and a memory communicatively connected to the processor; the memory stores computer execution instructions; and the above method is implemented when the processor executes the computer execution instructions stored in the memory.
[0025] In a seventh aspect, the present application also provides a computer-readable storage medium, in which computer-readable storage medium is stored computer-executable instructions, and the computer-executable instructions are used to implement the above method when executed by a processor.
[0026] In an eighth aspect, the present application also provides a computer program product, comprising computer execution instructions, which implement the above method when executed by a processor.
[0027] The present application provides a field test device, a signal test method, a system and a computer device. The field test device sends an uplink test message to a gateway, and the gateway determines uplink signal quality data based on the uplink test message. The field test device receives a downlink message sent by the gateway, and obtains uplink signal quality data of the field test device at a current test position based on the downlink message. The field test device responds to a first result display instruction and displays a first signal test result based on the uplink signal quality data of the current test position.
[0028] In the related art, nodes and gateways are required to send test data to the server, which calculates the test results and sends them to the user end, and the test personnel view the test results through the user end; in the present application, signal testing is achieved only through the interaction between the field test equipment and the gateway, and the test results are viewed on the field test equipment, without the need to interact with the server and the user end, thereby reducing the communication overhead of the signal test and enabling instant viewing of the test results; and viewing the test results through the user end requires data to be transmitted through the mobile network, which is poor in the scenario of the nodes to be deployed; the field test equipment of the present application obtains the uplink signal quality data directly from the gateway through the LoRa technology, rather than using other communication means such as 4G and other communication technologies to obtain the uplink signal quality data from the server. Compared with methods using other communication means, the LoRa signal has a wide coverage range and strong anti-interference ability, and the LoRa signal is used for interaction throughout the entire process of the signal test, which effectively improves the data transmission efficiency and reduces the requirements for the communication signal of the environment. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0030] Figure 1 A schematic diagram of an application environment of a signal testing method provided in an embodiment;
[0031] Figure 2 The process of a signal testing method provided in an embodiment is as follows Figure 1 ;
[0032] Figure 3 The process of a signal testing method provided in an embodiment is as follows Figure 2 ;
[0033] Figure 4 The process of a signal testing method provided in an embodiment is as follows Figure 3 ;
[0034] Figure 5 A schematic diagram of the structure of a signal testing system provided in one embodiment;
[0035] Figure 6 A schematic diagram of the structure of a signal testing device provided in an embodiment Figure 1 ;
[0036] Figure 7 A schematic diagram of the structure of a signal testing device provided in an embodiment Figure 2 ;
[0037] Figure 8A hardware structure diagram of a computer device provided in one embodiment.
[0038] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0039] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0040] In the description of this application, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0041] First, the terms involved in this application are explained:
[0042] LoRa (Long Range Radio) is a low-power, long-distance wireless communication technology.
[0043] LoRaWAN (Long Range Wide Area Network) is a low-power wide area network standard built based on LoRa technology, which defines a complete network architecture; LoRaWAN systems often include nodes, gateways, network servers and other auxiliary equipment; between nodes and gateways, data is transmitted in the form of LoRa signals.
[0044] Node, also known as LoRa node, is a device that collects and sends data through the LoRa wireless module. It is the data source of LoRaWAN and is used to collect and read data.
[0045] The gateway is a radio device equipped with a LoRa module. When used, it is responsible for receiving data packets from nodes and converting these data into a format suitable for transmission on the Internet, and then sending the data to the cloud server. During field testing, the gateway is used to receive data packets from field test equipment.
[0046] The site test equipment is used to test the LoRa signal quality at various locations in the site, so as to facilitate the subsequent deployment of nodes at locations with stronger LoRa signal quality. It can also be used to determine the comprehensive signal quality of gateways deployed at different locations by comprehensively evaluating the signal quality to determine the optimal gateway deployment location. Signal quality can be any one or more of the following parameters: packet loss rate, signal strength, signal-to-noise ratio, transmission rate, etc.
[0047] When deploying a LoRaWAN network, field testing is required to determine the locations of gateways and nodes so that the deployed gateways can cover more site areas and that the signal quality of the nodes at the locations selected in each area of interest within the covered area is better; in related technologies, the gateway usually uploads test data to a server (the server can be a cloud server or a built-in server in the gateway). After the server calculates the test results, it sends the test results to the user end through other communication means other than LoRa technology (for example, it is sent to an app on the user's mobile phone specifically for viewing signal quality data). The test results are viewed through the user end, which results in low test efficiency and is extremely dependent on the signal quality of other communication means.
[0048] The signal testing method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown, the field test device 102 communicates with the gateway 104 via the LoRaWAN network.
[0049] The field test device 102 can respond to the test instruction and send an uplink test message to the gateway at the current test location; the gateway 104 can obtain the uplink signal quality data based on the uplink test message from the server (the server can be a cloud server or a built-in server in the gateway), and return it to the field device 102. The field test device 102 can obtain the signal quality data of the field test device at the current test location based on the information received from the gateway 104; the signal quality data includes uplink signal quality data, and the uplink signal quality data can be any one or more of the following parameters of the uplink: packet loss rate, signal strength, signal-to-noise ratio, transmission rate, etc.; the field test device 102 can also respond to the first result display instruction and display the first signal test result based on the signal quality data of the current test location.
[0050] The signal testing method provided in the embodiment of the present application implements signal testing only through the interaction between the field test equipment and the gateway, and the test results are viewed on the field test equipment. There is no need to interact with the server and the user end using communication technologies other than the LoRa technology, which reduces the dependence on other communication technologies and reduces the communication overhead of the signal test, and can realize instant viewing of the test results; and, to view the test results through the user end, it is necessary to transmit data through the mobile network, and in the scenario of the node to be deployed, the mobile network may be poor; the field test equipment and the gateway of the present application interact through the LoRa signal. Compared with the mobile network, the LoRa signal has a wide coverage range and strong anti-interference ability. The LoRa signal is used for interaction throughout the entire process of the signal test, which effectively improves the data transmission efficiency.
[0051] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0052] In some embodiments, Figure 2 As shown, a signal testing method is provided, which is applied to Figure 1 Taking the field test equipment in the example as an example, the above method includes:
[0053] S202, in response to the test instruction, sending an uplink test message to the gateway at the current test location, so that the gateway determines uplink signal quality data based on the uplink test message, and sends a downlink message carrying the uplink signal quality data to the field test equipment.
[0054] The test instruction is used to instruct the start of the test; in actual applications, the tester operates the field test equipment and triggers the test instruction through the UI (human-computer interaction) interface of the field test equipment.
[0055] It is understandable that the field test equipment includes a display component, such as a display screen, which can be a touch screen or a non-touch screen; the display component can be used to display a UI interface, and the tester can trigger the test command through the UI interface.
[0056] The current test position is the current location of the field test equipment. During the test, the field test equipment can change its test position in the area to be deployed, perform tests at each test position, and obtain test results at each test position. Subsequently, based on the test results of each test position, a test position with good signal quality can be selected in the area to be deployed to deploy nodes in the area to be deployed.
[0057] The uplink test message is a test message sent by the field test equipment to the gateway. The signal quality of the uplink (the field test equipment sends data to the gateway) can be determined through the uplink test message. The uplink signal quality data is used to indicate the signal quality of the uplink. In practical applications, the uplink signal quality data may include at least one of: uplink packet loss rate, uplink signal strength, or uplink signal-to-noise ratio.
[0058] Specifically, when the field test equipment is in the current test position, the tester triggers a test command on the field test equipment, the field test equipment responds to the test command, encapsulates the data to be sent into an uplink test message, and sends an uplink test message to the gateway. The gateway receives the uplink test message, determines the uplink signal quality data based on the uplink test message, encapsulates the uplink signal quality data into a downlink message sent to the field test equipment, and sends the downlink message to the field test equipment.
[0059] After receiving the uplink test message, the gateway can send the uplink test message to the server, which can be a cloud server or a built-in server of the gateway. The server determines the uplink packet loss rate and / or the signal strength and uplink signal-to-noise ratio based on the number of data packets included in the uplink test message sent by the gateway to obtain uplink signal quality data. The gateway is configured with a data acquisition plug-in, which enables the gateway to obtain data from the server, and then the gateway can obtain uplink signal quality data from the server.
[0060] It should be noted that the number of uplink test messages can be one or more. When the field test equipment is in the current test position, multiple uplink test messages can be sent to the gateway in sequence. Each of the multiple uplink test messages will carry sequence number information, so that the gateway or server can calculate the uplink packet loss rate based on the sequence number information of the received uplink test message. The uplink signal quality data can be the packet loss rate or other common signal quality parameters in the LoRa field.
[0061] In one implementation, a preset number of messages can be set. For ease of description, the preset number of messages is recorded as N. When the number of uplink test messages received by the gateway is less than or equal to N, the current uplink packet loss rate is calculated based on the uplink test messages less than or equal to N; when the number of uplink test messages received by the gateway exceeds N, the real-time uplink packet loss rate can be calculated based on the latest N test messages received; for example, when the Nth uplink test message is received, the current uplink packet loss rate is calculated based on the 1st to Nth uplink test messages, and when the N+1th uplink test message is received, the current uplink packet loss rate is calculated based on the 2nd to N+1th uplink test messages. The preset number of messages can be set according to actual needs, for example, N can be 50, and this is not limited in the embodiments of the present application.
[0062] In another implementation, the gateway can calculate the current uplink packet loss rate in real time based on all uplink test messages currently received. For example, when the mth uplink test message is received, the current uplink packet loss rate is calculated based on the 1st to mth uplink test messages. When the m+1th uplink test message is received, the current uplink packet loss rate is calculated based on the 1st to m+1st uplink test messages.
[0063] In another implementation, the field test device may send multiple uplink test messages to the gateway in sequence until the number of uplink test messages sent reaches a message number threshold and stops sending. After the field test device stops sending uplink test messages, the gateway calculates the uplink packet loss rate based on the received uplink test messages.
[0064] S204, based on the downlink message sent by the gateway, obtaining uplink signal quality data of the field test equipment at the current test location.
[0065] Specifically, the gateway encapsulates the uplink signal quality data into a downlink message, and after receiving the downlink message, the field test equipment extracts the uplink signal quality data from the downlink message.
[0066] That is to say, the gateway can calculate the uplink signal quality data based on the built-in server, or obtain the uplink signal quality data calculated by the cloud server, encapsulate the uplink signal quality data into the downlink message, and send the downlink message to the field test equipment to send the uplink signal quality data to the field test equipment. Since the gateway and the field test equipment communicate through LoRa signals, the field test equipment does not need to rely on other communication means to obtain the uplink signal quality data (for example, through WIFI, 4G, 5G and other technologies to communicate with the server to obtain the uplink signal quality data calculated by the server). Compared with other communication means, LoRa signals have a wide coverage range and strong anti-interference ability. LoRa signals are used for interaction throughout the entire process of signal testing, which effectively improves data transmission efficiency and reduces the requirements for environmental communication signals.
[0067] In some embodiments, the downlink signal quality data of the downlink can also be calculated; for example, the field test device sends a quality for testing the downlink signal quality to the gateway, and through the interaction between the gateway and the server, the gateway sends a downlink test message to the field test device, so that the field test device calculates the downlink signal quality data based on the received downlink test message. Calculating both the uplink signal quality data and the downlink signal quality data can more comprehensively reflect the signal transmission quality between the field test device and the gateway.
[0068] S206: In response to the first result display instruction, display the first signal test result based on the uplink signal quality data of the current test position.
[0069] The first result display instruction is used to instruct to display the first signal test result; in actual applications, the tester can initiate the first result display instruction through the UI interface of the field test equipment.
[0070] The number of signal quality data can be one or more; when the number of signal quality data is one, the first signal test result is used to visualize the signal quality data; when the number of signal quality data is multiple, the first signal test result is used to reflect the change of the signal quality quantity during the test period.
[0071] In actual applications, the uplink test message sent by the field test equipment to the gateway at the current test position may include multiple rounds of uplink test messages. Accordingly, the field test equipment can receive multiple rounds of downlink messages, and thus obtain multiple rounds of uplink signal quality data; the time period from the start time to the end time corresponding to the multiple rounds is the test time period of the current test position; that is, when the field test equipment is at the current test position, it can send multiple uplink test messages to the gateway in sequence within the test time period, and thus obtain multiple uplink signal quality data.
[0072] In one possible implementation, the amount of uplink signal quality data is one, and the first signal test result is detailed information of the uplink signal quality data; the field test equipment responds to the first result display instruction to display the detailed information of the uplink signal quality data based on the uplink signal quality data of the current test location.
[0073] In another possible implementation, the number of uplink signal quality data is multiple, and the first signal test result is a signal quality line graph representing the changes of multiple uplink signal quality data over time; the field test equipment responds to the first result display instruction to display the uplink signal quality line graph based on the multiple uplink signal quality data of the current test location.
[0074] In the signal testing method provided in the embodiment of the present application, the field test equipment sends an uplink test message to the gateway, and the gateway determines the uplink signal quality data according to the uplink test message. The field test equipment receives the downlink message sent by the gateway, and obtains the uplink signal quality data of the field test equipment at the current test position according to the downlink message. The field test equipment responds to the first result display instruction and displays the first signal test result based on the uplink signal quality data of the current test position.
[0075] In the related art, nodes and gateways are required to send test data to the server, which calculates the test results and sends them to the user end, and the test personnel view the test results through the user end; in the present application, signal testing is achieved only through the interaction between the field test equipment and the gateway, and the test results are viewed on the field test equipment, without the need to interact with the server and the user end, thereby reducing the communication overhead of the signal test and enabling instant viewing of the test results; and viewing the test results through the user end requires data to be transmitted through the mobile network, which is poor in the scenario of the nodes to be deployed; the field test equipment of the present application obtains the uplink signal quality data directly from the gateway through the LoRa technology, rather than using other communication means such as 4G and other communication technologies to obtain the uplink signal quality data from the server. Compared with methods using other communication means, the LoRa signal has a wide coverage range and strong anti-interference ability, and the LoRa signal is used for interaction throughout the entire process of the signal test, which effectively improves the data transmission efficiency and reduces the requirements for the communication signal of the environment.
[0076] In some embodiments, after obtaining the uplink signal quality data of the field test equipment at the current test location, it also includes: obtaining a label of the current test location; saving the signal quality data of the current test location and the label in association; the signal quality data includes one or more of the following: uplink signal quality data, downlink signal quality data; the type of signal quality data includes one or more of the following: packet loss rate, signal strength, signal-to-noise ratio and transmission rate; based on the signal quality data of the current test location, displaying a first signal test result, including: obtaining a label associated with the signal quality data of the current test location; based on the signal quality data and the label of the current test location, displaying the first signal test result.
[0077] The signal quality data may include uplink signal quality data and / or downlink signal quality data; and the first signal test result may include a signal test result corresponding to the uplink signal quality data and / or downlink signal quality data. Exemplarily, the signal quality data may include uplink signal quality data and downlink signal quality data, and the first signal test result includes an uplink signal quality line graph and a downlink signal quality line graph.
[0078] In a possible manner, before responding to the test instruction, the tag of the current test location may be obtained, and after determining the signal quality data of the field test equipment at the current test location, the signal quality data of the current test location and the tag may be associated and saved.
[0079] Among them, the label represents the location information of the current test location; in actual applications, the label can be set by the tester through the field test equipment. For example, before starting the test at the current test location, the tester inputs the test period and location information through the UI interface of the field test equipment. This location information is the label of the current test location. The label can also be automatically obtained by the field test equipment. For example, the field test equipment is equipped with a GPS (Global Positioning System) module, and the GPRS module can obtain the current location information of the field test equipment. The location information obtained by the GPRS positioning module can be used as the label of the current test location.
[0080] Specifically, the field test equipment obtains the label of the current test location. After obtaining the signal quality data of the current test location, the field test equipment associates and saves the signal quality data of the current test location with the label. In the case where there are multiple signal quality data, the signal quality data can be associated and saved with the label after each signal quality data is obtained.
[0081] Accordingly, the field testing equipment responds to the first result display instruction, obtains the label associated with the signal quality data of the current test location, generates and displays the first signal test result based on the signal quality data and the label of the current test location; that is, the displayed first signal test result includes the location information of the current test location; it can be understood that the signal quality data obtained from the signal test is associated with the test period of the signal test, and the generated first test result can also include the associated test period.
[0082] In one possible manner, the field testing equipment can perform multiple signal tests on the current test location. For each signal test, the signal quality data obtained from the signal test is associated with the signal test period. When the current test location includes signal quality data under multiple test periods, multiple test periods can be displayed. After selecting any test period, the first result display instruction is triggered, and then the field testing equipment responds to the first result display instruction, obtains the test period carried by the first result display instruction (any selected test period), obtains the signal quality data of the current test location under the test period, and generates and displays the first signal test result based on the signal quality data of the current test location under the test period.
[0083] Specifically, the first signal test result can be a signal quality line graph; there are multiple signal quality data, and the multiple signal quality data have their own test moments (each moment within the test period associated with the signal quality data). The first coordinate axis is determined in order from front to back of the test moments, and the second coordinate axis is determined according to the signal quality data, and then a signal quality line graph of the signal quality data that changes with the test moments within the test period is generated and displayed.
[0084] In the case where the signal quality data includes uplink signal quality data, the uplink signal quality data includes at least one of an uplink packet loss rate, an uplink signal strength, or an uplink signal-to-noise ratio, and the signal quality line graph may include at least one of a line graph whose second coordinate axis is a line graph of uplink packet loss rate, a line graph whose second coordinate axis is a line graph of uplink signal strength, or a line graph whose second coordinate axis is an uplink signal-to-noise ratio.
[0085] When the signal quality data also includes downlink signal quality data, the downlink signal quality data includes at least one of a downlink packet loss rate, a downlink signal strength, or a downlink signal-to-noise ratio, and the signal quality line graph may also include at least one of a line graph whose second coordinate axis is a downlink packet loss rate, a line graph whose second coordinate axis is a downlink signal strength, or a line graph whose second coordinate axis is a downlink signal-to-noise ratio.
[0086] In the above embodiment, the field test equipment responds to the first result display instruction and displays the first signal test result according to the signal quality data and label of the current test location, so that the tester can directly view the first signal test result through the field test equipment at the test site, so that the tester can perform subsequent tests based on the first signal test result, and there is no need to view the first signal test result through the user terminal, thereby improving the test efficiency; and the signal quality data includes uplink signal quality data and / or downlink signal quality data, which can more comprehensively reflect the signal transmission quality between the field test equipment and the gateway.
[0087] In some embodiments, the signal testing method further includes: in response to a second result display instruction, obtaining signal quality data of the field testing equipment at one or more test locations; obtaining labels respectively associated with the signal quality data of the one or more test locations; and displaying a second signal test result based on the signal quality data and labels of multiple test locations.
[0088] The second result display instruction is used to instruct to display the second signal test result. In actual applications, the tester can initiate the second result display instruction through the UI interface of the field test equipment.
[0089] Similarly, before conducting a test at a certain test location, or after obtaining the signal quality data of a certain test location, the label of the test location can be obtained, and the label of the test location and the signal quality data can be associated and saved. In this way, the associated labels can be obtained respectively according to the signal quality data of multiple test locations, and the signal quality data of multiple test locations can be obtained respectively according to multiple labels.
[0090] The second signal test result can reflect the signal quality data of one or more test locations. The difference in signal quality data of one or more test locations can be intuitively understood through the second signal test result, which is convenient for determining the location of the deployed node in multiple test locations.
[0091] Specifically, a second result display instruction is triggered on the UI interface of the field testing equipment. The field testing equipment responds to the second result display instruction and displays a signal quality data selection page. The tester selects signal quality data of multiple test locations on the page. The field testing equipment obtains labels associated with the signal quality data of the multiple test locations, and displays the second signal test result based on the signal quality data and labels of the multiple test locations.
[0092] In one possible manner, labels of multiple test locations are displayed on the UI interface of the field testing equipment. After the tester selects a label through the UI interface of the field testing equipment, a second result display instruction is triggered. The field testing equipment responds to the second result display instruction, obtains one or more labels carried by the second result display instruction, obtains signal quality data of one or more associated test locations based on the multiple labels, and displays the second signal test result based on the signal quality data and labels of the one or more test locations.
[0093] In the above embodiment, the second signal test result can be displayed based on the signal quality data and labels of one or more test locations. The difference in signal quality data of one or more test locations can be intuitively understood through the second signal test result, which facilitates determining the location of the deployed node in multiple test locations.
[0094] In some embodiments, multiple test locations belong to the area to be deployed; the label includes location information; the second signal test result includes a signal quality heat map; based on the signal quality data and labels of the multiple test locations, the second signal test result is displayed, including: obtaining a map of the area to be deployed; based on the map, the location information and signal quality data of the multiple test locations, the signal quality heat map is displayed.
[0095] Among them, the area to be deployed can be a building, park, industrial scene and other areas; multiple test locations belong to the area to be deployed, and the test site tests the signal quality data of the equipment at multiple test locations to facilitate determining the location of the deployment node in multiple test locations.
[0096] Specifically, the label includes location information, which can be obtained through the GPS module of the field test equipment; the field test equipment obtains a map of the area to be deployed, determines the multiple location points on the map corresponding to the location information of multiple test locations, and draws a signal quality heat map based on the multiple location points on the map and the signal quality data of the multiple test locations; in the signal quality heat map, the better the signal quality of the location point, the darker the color, and the worse the signal quality of the location point, the lighter the color. The signal quality heat map can be used to intuitively understand the difference in signal quality of multiple test locations in the area to be deployed.
[0097] It should be noted that for each test location, there may be multiple signal quality data. The multiple signal quality data of the test location can be averaged to obtain the average signal quality data of the test location; then, a signal quality heat map can be displayed based on the map, the average signal quality data of multiple test locations and the location information.
[0098] In one possible manner, when a map of the area to be deployed is not obtained, the field test equipment can display a signal quality scatter plot based on the location information and signal quality data of multiple test locations; the signal quality scatter plot is used to reflect the difference in signal quality of signal quality data of different location information; unlike the signal quality heat map, the signal quality scatter plot does not display a map of the area to be deployed.
[0099] In the above embodiment, a signal quality heat map can be displayed based on the location information (labels), signal quality data and maps of multiple test locations. The signal quality heat map can be used to intuitively understand the difference in signal quality of multiple test locations in the area to be deployed, thereby improving the efficiency of signal testing and the diversity of signal test result display.
[0100] In some embodiments, the signal testing method further includes: sending an instruction for testing the downlink signal quality to the gateway so that the gateway captures the instruction for testing the downlink signal quality from the server to send a downlink test message to the field test equipment; and calculating the downlink signal quality data based on the received downlink test message.
[0101] Specifically, the field test device sends an instruction for testing the downlink signal quality to the gateway, the gateway sends the instruction for testing the downlink signal quality to the server, the gateway captures the instruction for testing the downlink signal quality from the server, and sends a downlink test message to the field test device, and the field test device calculates the downlink signal quality data based on the downlink test message.
[0102] The downlink signal quality data may include at least one of downlink signal strength, downlink signal-to-noise ratio, or downlink packet loss rate.
[0103] In one possible manner, after the field test equipment obtains the downlink signal quality data, it can encapsulate the downlink signal quality data into the uplink test message sent to the gateway in the next round, that is, the uplink test message of the current round encapsulates the downlink signal quality data of the previous round; in this way, the gateway can obtain the downlink signal quality data of the current round based on the uplink test message of the next round. Since the uplink signal quality data of the current round is determined by the gateway, the gateway can obtain the uplink signal quality data and the downlink signal quality data of the current round. The gateway stores the uplink signal quality data and the downlink signal quality data so that the uplink signal quality data and the downlink signal quality data of each test location can be viewed through the gateway later.
[0104] In actual applications, there is a situation where the gateway sends data to the field test equipment. Therefore, when testing the signal, adding the test of the downlink signal quality data can improve the comprehensiveness and accuracy of the signal test. In the above embodiment, the uplink signal quality data and the downlink signal quality data can fully reflect the signal quality of the link between the gateway and the field test equipment, thereby improving the accuracy of the signal test.
[0105] For example, Figure 3 As shown, the tester triggers a test instruction through the field test equipment, and the field test equipment responds to the test instruction and sends an uplink test message to the gateway at the current test position. The gateway determines the uplink signal quality data according to the uplink test message, and encapsulates the uplink signal quality data into the downlink message. The gateway sends a downlink message to the field test equipment, and the field test equipment extracts the uplink signal quality data from the downlink message; the tester triggers an instruction for testing the downlink signal quality through the field test equipment, and the field test equipment sends the instruction to the gateway. The gateway sends the instruction for testing the downlink signal quality to the server, and the gateway grabs the instruction for testing the downlink signal quality from the server, sends the downlink test message to the field test equipment, and the field test equipment calculates the downlink signal quality data according to the downlink test message; the field test equipment triggers a first result display instruction, and the field test equipment responds to the first result display instruction to display the first signal test result based on the uplink signal quality data and the downlink signal quality data of the current test position.
[0106] In some embodiments, the signal testing method further includes: in response to a report generation instruction, obtaining signal quality data of multiple test locations, and generating a report based on the signal quality data of the multiple test locations; in response to a report export instruction, exporting the generated report in an export method corresponding to the report export instruction.
[0107] Among them, the export method can be to store the report to an external storage medium, wherein the external storage medium includes but is not limited to a USB flash drive, an external hard drive and an SD card; the export method can also be to generate a graphic code corresponding to the report, and the report can be viewed by scanning the graphic code later, and the graphic code can be a QR code; the export method can also be to generate a download link for the report, and the report can be obtained through the download link; the export method can also be other methods.
[0108] In the signal testing method provided in the embodiment of the present application, the field test equipment sends an uplink test message to the gateway, and the gateway determines the uplink signal quality data according to the uplink test message. The field test equipment receives the downlink message sent by the gateway, and obtains the signal quality data of the field test equipment at the current test position according to the downlink message. The field test equipment responds to the first result display instruction and displays the first signal test result based on the signal quality data of the current test position.
[0109] In the related art, nodes and gateways are required to send test data to the server, which calculates the test results and sends them to the user end, and the test personnel view the test results through the user end; in the present application, signal testing is achieved only through the interaction between the field test equipment and the gateway, and the test results are viewed on the field test equipment. There is no need to interact with the server and the user end, which reduces the communication overhead of the signal test and enables instant viewing of the test results; and viewing the test results through the user end requires data to be transmitted through the mobile network, but in the scenario of the nodes to be deployed, the mobile network is poor; the field test equipment of the present application obtains signal quality data directly from the gateway through the LoRa technology, rather than using other communication means such as 4G and other communication technologies to obtain signal quality data from the server. Compared with other communication means, the LoRa signal has a wide coverage range and strong anti-interference ability. LoRa signals are used for interaction throughout the entire process of signal testing, which effectively improves data transmission efficiency and reduces the requirements for environmental communication signals.
[0110] In some embodiments, Figure 4 As shown, a signal testing method is provided, which is applied to Figure 1 Taking the gateway in as an example, the above method includes:
[0111] S402, receiving an uplink test message sent by a field test device; the uplink test message is sent by the field test device to the gateway at the current test location in response to a test instruction.
[0112] Specifically, when the field test device is at the current test position, the tester triggers a test instruction on the field test device, and the field test device responds to the test instruction and sends an uplink test message to the gateway at the current test position; the gateway receives the uplink test message sent by the field test device.
[0113] S404, sending the received uplink test message to a server; the server is a cloud server or a built-in server of a gateway;
[0114] Specifically, the gateway determines uplink signal quality data according to the received uplink test message, where the uplink signal quality data includes at least one of an uplink packet loss rate, an uplink signal strength, or an uplink signal-to-noise ratio.
[0115] After receiving the uplink test message, the gateway may send the uplink test message to a server, which may be a cloud server or a built-in server of the gateway.
[0116] The gateway is configured with a data acquisition plug-in, which enables the gateway to have the ability to obtain data from the server, and then the gateway can obtain uplink signal quality data from the server.
[0117] S406, capturing an uplink test message transmitted uplink to the server from the server, and determining uplink signal quality data according to the captured uplink test message.
[0118] The gateway may capture the uplink test message that is uplinked to the server from the server, and calculate the uplink signal quality data based on the captured uplink test message.
[0119] It should be noted that the number of uplink test messages can be one or more. When the field test equipment is in the current test position, multiple uplink test messages can be sent to the gateway in sequence. Each of the multiple uplink test messages will carry sequence number information, so that the gateway or server can calculate the uplink packet loss rate based on the sequence number information of the received uplink test message. The uplink signal quality data can be the packet loss rate or other common signal quality parameters in the LoRa field.
[0120] In one implementation, a preset number of messages can be set. For ease of description, the preset number of messages is recorded as N. When the number of uplink test messages received by the gateway is less than or equal to N, the current uplink packet loss rate is calculated based on the uplink test messages less than or equal to N; when the number of uplink test messages received by the gateway exceeds N, the real-time uplink packet loss rate can be calculated based on the most recently received N test messages.
[0121] In another implementation, the gateway may calculate the current uplink packet loss rate in real time based on all uplink test messages currently received.
[0122] In another implementation, the field test device may send multiple uplink test messages to the gateway in sequence until the number of uplink test messages sent reaches a message number threshold and stops sending. After the field test device stops sending uplink test messages, the gateway calculates the uplink packet loss rate based on the received uplink test messages.
[0123] S408, encapsulate the uplink signal quality data into a downlink message, and send the downlink message to the field test equipment, so that the field test equipment obtains the uplink signal quality data of the field test equipment at the current test position based on the downlink message sent by the gateway, and displays the first signal test result based on the signal quality data of the current test position in response to the first result display instruction; the signal quality data includes uplink signal quality data.
[0124] Specifically, the gateway encapsulates the uplink signal quality data into a downlink message, sends the downlink message to the field test equipment, and the field test equipment receives the downlink message and extracts the uplink signal quality data through the downlink message.
[0125] The field test equipment displays the first signal test result according to the signal quality data of the current test location in response to the first result display instruction.
[0126] In some embodiments, the field testing device may also obtain signal quality data of the field testing device at multiple test locations in response to a second result display instruction; obtain labels associated with the signal quality data of the multiple test locations respectively; and display a second signal test result based on the signal quality data and labels of the multiple test locations.
[0127] In some embodiments, the signal testing method also includes receiving instructions for testing downlink signal quality sent by the field test equipment, and sending the instructions for testing downlink signal quality to the server; capturing instructions for testing downlink signal quality from the server, and then, based on the instructions for testing downlink signal quality, the gateway sends a downlink test message to the field test equipment, so that the field test equipment calculates the downlink signal quality data based on the received downlink test message.
[0128] Specifically, the field test equipment sends an instruction for testing the downlink signal quality to the gateway, the gateway receives the instruction for testing the downlink signal quality sent by the field test equipment, and sends the instruction for testing the downlink signal quality to the server. The gateway captures the instruction for testing the downlink signal quality from the server, and sends a downlink test message to the field test equipment. The field test equipment calculates the downlink signal quality data according to the downlink test message.
[0129] The downlink signal quality data may include at least one of downlink signal strength, downlink signal-to-noise ratio, or downlink packet loss rate.
[0130] In one possible manner, the uplink test message sent by the field test equipment is encapsulated with the downlink signal quality data of the previous round, and the gateway can extract the downlink signal quality data of the previous round based on the received uplink test message; accordingly, after the field test equipment determines the downlink signal quality data of the current round, the downlink signal quality data of the current round can also be sent to the gateway through the uplink test message, and then the gateway can obtain the uplink signal quality data and downlink signal quality data of the current round, so that the uplink signal quality data and downlink signal quality data of each test location can be viewed through the gateway later.
[0131] In actual applications, there is a situation where the gateway sends data to the field test equipment. Therefore, when testing the signal, adding the test of the downlink signal quality data can improve the comprehensiveness and accuracy of the signal test. In the above embodiment, the uplink signal quality data and the downlink signal quality data can fully reflect the signal quality of the link between the gateway and the field test equipment, thereby improving the accuracy of the signal test.
[0132] In the above embodiment, after receiving the uplink test message, the gateway can calculate the uplink signal quality data according to the built-in server, or obtain the uplink signal quality data calculated by the cloud server, encapsulate the uplink signal quality data into the downlink message, and send the downlink message to the field test equipment to send the uplink signal quality data to the field test equipment. Since the gateway and the field test equipment communicate through the LoRa signal, the field test equipment does not need to rely on other communication means to obtain the uplink signal quality data (for example, communicate with the server through WIFI, 4G, 5G and other technologies to obtain the uplink signal quality data calculated by the server). Compared with other communication means, the LoRa signal has a wide coverage range and strong anti-interference ability. The LoRa signal is used for interaction throughout the entire process of signal testing, which effectively improves the data transmission efficiency and reduces the requirements for environmental communication signals.
[0133] It should be noted that, in the signal testing method, the specific process performed by the field testing device and the process of interaction between the field testing device and the gateway can refer to the description of the embodiment of the above-mentioned signal testing method applied to the field testing device.
[0134] In the signal testing method provided in the embodiment of the present application, the field test equipment sends an uplink test message to the gateway, and the gateway determines the uplink signal quality data according to the uplink test message. The field test equipment receives the downlink message sent by the gateway, and obtains the uplink signal quality data of the field test equipment at the current test position according to the downlink message. The field test equipment responds to the first result display instruction and displays the first signal test result based on the uplink signal quality data of the current test position.
[0135] In the related art, nodes and gateways are required to send test data to the server, which calculates the test results and sends them to the user end, and the test personnel view the test results through the user end; in the present application, signal testing is achieved only through the interaction between the field test equipment and the gateway, and the test results are viewed on the field test equipment. There is no need to interact with the server and the user end, which reduces the communication overhead of the signal test and enables instant viewing of the test results; and viewing the test results through the user end requires data to be transmitted through the mobile network, but in the scenario of the nodes to be deployed, the mobile network is poor; the field test equipment of the present application obtains signal quality data directly from the gateway through the LoRa technology, rather than using other communication means such as 4G and other communication technologies to obtain signal quality data from the server. Compared with other communication means, the LoRa signal has a wide coverage range and strong anti-interference ability. LoRa signals are used for interaction throughout the entire process of signal testing, which effectively improves data transmission efficiency and reduces the requirements for environmental communication signals.
[0136] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0137] In some embodiments, Figure 5 As shown, a signal testing system is provided, including: a field testing device 501 and a gateway 502;
[0138] The field test device 501 is used to send an uplink test message to the gateway at the current test location in response to the test instruction;
[0139] The gateway 502 is used to receive the uplink test message sent by the field test equipment, and send the received uplink test message to the server; the server is a cloud server or a built-in server of the gateway;
[0140] The gateway 502 is used to capture the uplink test message from the server to the server, determine the uplink signal quality data according to the captured uplink test message, encapsulate the uplink signal quality data into the downlink message, and send the downlink message to the site test equipment;
[0141] The field test device 501 is also used to obtain the uplink signal quality data of the field test device at the current test position based on the downlink message sent by the gateway, and to display the first signal test result based on the uplink signal quality data of the current test position in response to the first result display instruction.
[0142] Among them, the field test equipment can execute the above-mentioned signal test method, and the gateway can also execute the above-mentioned signal test method. The specific process executed by the field test equipment can refer to the implementation example of the above-mentioned signal test method; the specific process executed by the gateway can also refer to the implementation example of the above-mentioned signal test method, which will not be repeated here.
[0143] In one possible embodiment, the gateway includes a first LoRa communication unit, a second LoRa communication unit and a computing unit, the first LoRa communication unit is used to receive a LoRa signal from a field test device, and the second LoRa communication unit is used to send a LoRa signal to the field test device; it should be noted that both the uplink test message and the downlink message are sent in the form of a LoRa signal.
[0144] The calculation unit is used to determine the uplink signal quality; in actual applications, the calculation module can also calculate the distance between the test distance where the field test equipment is located and the gateway, which can be used as a reference for adjusting the relative distance between the gateway and the field test equipment; the calculation module can also be used to save signal quality data and associated tags, and can also provide a function for downloading signal quality data.
[0145] The field test equipment may include a communication unit, a device processing unit and a device storage unit; the communication unit is used to receive LoRa signals from the gateway, and can also be used to send LoRa signals to the gateway, for example, it can be used to send uplink test messages to the gateway, and can receive downlink messages sent by the gateway or downlink test messages sent by the gateway.
[0146] The device processing unit can be used to obtain the received downlink message from the communication unit and obtain the uplink signal quality data according to the downlink message; it can also be used to obtain the received downlink test message from the communication unit to determine the downlink signal quality data. For the obtained uplink or downlink signal quality data, the device processing unit can also calculate the average value of multiple quality data, and can also perform data screening and cleaning, etc., and can also modify the configuration of the field test equipment, such as modifying the LoRa radio frequency parameters, wireless connection mode, etc.
[0147] The device storage unit is used to store data, such as data calculated by the device processor, such as uplink signal quality data and downlink signal quality data, as well as labels, calculated average values, and configuration parameters, such as LoRa radio frequency parameters, wireless connection methods, etc.
[0148] The field testing equipment may be provided with an interactive unit, which is used to interact with the tester, such as displaying a UI interface through an interactive module. The tester may use the UI interface to browse the test results and trigger instructions through the UI interface, such as test instructions, first result display instructions, second result display instructions, etc. The first signal test results and the second signal test results may also be displayed through the UI interface. The configuration parameters of the field testing equipment may also be displayed through the interactive module.
[0149] In some embodiments, a signal testing system may be used to implement the above signal testing method, including:
[0150] When the field test equipment is in the current test position, the field test equipment can be configured with input and output components and / or display components. The input and output components and / or display components can be a touch screen. A UI interface is displayed on the touch screen, and the tester can trigger the test instructions through the UI interface. The field test equipment can also be configured with physical buttons, and the tester can trigger the test instructions through the physical buttons.
[0151] The field testing equipment responds to the test instruction and obtains the label corresponding to the current test location, and the label may include location information; specifically, the field testing equipment can obtain the location information of the current test location through the GPS module, and use the location information as the label. When the field testing equipment cannot obtain the location information of the current test location through the GPS module, the location information of the current test location can also be input, such as inputting: Conference Room 001, that is, Conference Room 001 is the label of the current test location; the longitude and latitude of the current test location can also be obtained through other means, and the longitude and latitude can be used as the label of the current test location.
[0152] It should be noted that if the current test location has already undergone a signal test (this is not the first time a signal test has been performed on the current test location), there may be a historical tag for the current test location in the site test equipment (the tag set during the previous test). The historical tag of the current test location can be used as the tag for this signal test. There is no need to obtain the location information of the current test location through the GPS module, or to enter the location information.
[0153] After determining the tag of the current test location, the field test device sends an uplink test message to the gateway. Specifically, the uplink test message may include multiple test data packets, and the time interval between two adjacent test data packets sent may be a preset interval; the number of test data packets included in the uplink test message may be set according to actual needs, such as 50, or there may be no limit on the number, and the message is sent to the field test device to receive the user-input stop test instruction; the preset interval may be set according to actual needs, such as the preset interval may be a time interval selected from 6s to 3600s.
[0154] After receiving the uplink test message sent by the field test equipment each time, the gateway sends the received uplink test message to the server; the server is a cloud server or a built-in server of the gateway; then, the gateway captures the uplink test message from the server to the server, and determines the uplink signal quality data based on the captured uplink test message. The uplink signal quality data may include one or more of the following uplink packet loss rate, uplink signal strength and uplink signal-to-noise ratio, etc. The uplink signal quality data is encapsulated into a downlink message, and the downlink message is sent to the field test equipment.
[0155] The field test equipment receives the downlink message and can extract the uplink signal quality data, so as to display the uplink signal quality data according to the instruction input by the user.
[0156] The field test device can also receive a user-input instruction for testing downlink signal quality data, so that the field test device sends the instruction for testing downlink signal quality data to the gateway, so that the gateway sends a downlink test message to the field test device based on the instruction for testing downlink signal quality data.
[0157] The gateway sends a downlink test message to the field test equipment based on the instruction for testing the downlink signal quality data. The gateway sends the instruction to the server, which can be a cloud server or a server built into the gateway. The gateway captures the instruction for testing the downlink signal quality data from the server, and sends the downlink test message to the field test equipment based on the instruction, so that the field test equipment can determine the downlink signal quality data based on the received downlink test message. The downlink signal quality data may include one or more of the following: downlink packet loss rate, downlink signal strength, downlink signal-to-noise ratio, etc.
[0158] After completing the signal test at the current test location, the tester can trigger the first result display instruction through the UI interface of the field test equipment. The field test equipment responds to the first result display instruction and displays the signal quality line chart according to the signal quality data and label of the current test location.
[0159] It can be understood that the signal quality data of the current test location includes the signal quality data corresponding to each of the multiple test moments, and the signal quality data corresponding to each of the multiple test moments are obtained sequentially during the test process. Therefore, the signal quality line graph can be displayed in real time during the test process, that is, the field test equipment obtains the uplink signal quality data and downlink signal quality data of the field test equipment at the current test location based on the received downlink message, and displays the signal quality line graph in real time during the process of receiving the downlink message; in this way, the tester can intuitively understand the signal quality of the current test location during the test and improve the test efficiency.
[0160] The tester can also trigger a second result display instruction through the UI interface of the field test equipment. The field test equipment responds to the second result display instruction, obtains a map of the area to be deployed, and displays a signal quality heat map based on the labels and signal quality data of multiple test locations.
[0161] In practical applications, when a map is not obtained, a signal quality scatter plot can be generated based on the labels and signal quality data of multiple test locations.
[0162] In the signal testing system provided in the embodiment of the present application, the field test equipment sends an uplink test message to the gateway, and the gateway determines the uplink signal quality data according to the uplink test message. The field test equipment receives the downlink message sent by the gateway, and obtains the signal quality data of the field test equipment at the current test position according to the downlink message. The field test equipment responds to the first result display instruction and displays the first signal test result based on the signal quality data of the current test position.
[0163] In the related art, nodes and gateways are required to send test data to the server, which calculates the test results and sends them to the user end, and the test personnel view the test results through the user end; in the present application, signal testing is achieved only through the interaction between the field test equipment and the gateway, and the test results are viewed on the field test equipment. There is no need to interact with the server and the user end, which reduces the communication overhead of the signal test and enables instant viewing of the test results; and, in order to view the test results through the user end, it is necessary to transmit data through the mobile network, and in the scenario of the nodes to be deployed, the mobile network may be poor; the field test equipment and the gateway of the present application interact through the LoRa signal. Compared with the mobile network, the LoRa signal has a wide coverage range and strong anti-interference ability. In the process of displaying signal quality data, except for the communication between the gateway and the cloud server, no other communication means are required. The field test equipment can also obtain signal quality data based on the LoRa technology, which reduces the dependence on other communication means and effectively improves the data transmission efficiency.
[0164] Based on the same inventive concept, an embodiment of the present application also provides a field testing device. The implementation solution for solving the problem provided by the field testing device is similar to the implementation solution recorded in the above method. Therefore, the specific limitations in the field testing device embodiment provided below can refer to the limitations on the signal testing method above, and will not be repeated here.
[0165] In some embodiments, Figure 6 As shown, a field test device 60 is provided, comprising: a first sending module 601, a first processing module 602 and a result display module 603, wherein:
[0166] The first sending module 601 is used to send an uplink test message to the gateway at the current test location in response to the test instruction, so that the gateway determines the uplink signal quality data based on the uplink test message, and sends the downlink message carrying the uplink signal quality data to the site test equipment;
[0167] The first processing module 602 is used to obtain uplink signal quality data of the field test equipment at the current test location based on the downlink message sent by the gateway;
[0168] The result display module 603 is used to display the first signal test result based on the uplink signal quality data of the current test position in response to the first result display instruction.
[0169] In some embodiments, the field testing equipment also includes: a label processing module, used to obtain a label of the current test location; saving the signal quality data of the current test location and the label in association; the signal quality data includes one or more of the following: uplink signal quality data, downlink signal quality data; the type of signal quality data includes one or more of the following: packet loss rate, signal strength, signal-to-noise ratio and transmission rate; the result display module 603 is also used to obtain a label associated with the signal quality data of the current test location; based on the signal quality data and the label of the current test location, display the first signal test result.
[0170] In some embodiments, the result display module 603 is also used to obtain signal quality data of the field test equipment at one or more test locations in response to a second result display instruction; obtain labels associated with the signal quality data of one or more test locations respectively; and display the second signal test result based on the signal quality data and labels of one or more test locations.
[0171] In some embodiments, multiple test locations belong to the area to be deployed of the LoRa node; the label includes location information; the second signal test result includes a signal quality heat map; the result display module 603 is also used to obtain a map of the area to be deployed; based on the map, the location information of multiple test locations and the signal quality data, the signal quality heat map is displayed.
[0172] In some embodiments, the signal quality data also includes downlink signal quality data; the first processing module 602 is further configured to determine the downlink signal quality data based on the downlink message sent by the gateway; and extract the uplink signal quality data encapsulated in the downlink message.
[0173] In actual applications, the first sending module 601 may include a second communication unit, which sends an uplink test message to the gateway through the second communication unit; the first processing module 602 may include a first communication unit, which is used to receive a downlink message; the first processing module may also include a device processing unit, which is used to determine signal quality data; the result display module 603 may include a device storage unit, which is used to store signal quality data and corresponding labels and other data.
[0174] Each module in the above-mentioned field test equipment can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module above.
[0175] In some embodiments, Figure 7 As shown, a gateway 70 is provided, comprising: a receiving module 701, an uplink sending module 702, a second processing module 703 and a second sending module 704, wherein:
[0176] The receiving module 701 is used to receive an uplink test message sent by the field test device; the uplink test message is sent by the field test device to the gateway at the current test location for each test location in response to the test instruction;
[0177] The uplink sending module 702 is used to send the received uplink test message to the server; the server is a cloud server or a built-in server of the gateway;
[0178] The second processing module 703 is used to determine the uplink signal quality data according to the uplink test message;
[0179] The second sending module 704 is used to encapsulate the uplink signal quality data into a downlink message and send the downlink message to the field test device, so that the field test device obtains the uplink signal quality data of the field test device at the current test position based on the downlink message sent by the gateway.
[0180] In some embodiments, the receiving module 701 is further used to receive instructions for testing the downlink signal quality sent by the field test equipment; the uplink sending module 702 is further used to send instructions for testing the downlink signal quality to the server; the gateway captures the instructions for testing the downlink signal quality from the server, and then the second sending module 704 is further used to send a downlink test message to the field test equipment, so that the field test equipment calculates the downlink signal quality data based on the received downlink test message.
[0181] In actual applications, the receiving module 701 may include a first LoRa communication unit for receiving an uplink test message sent by a field test device; the second processing module 703 may include a calculation unit for calculating uplink signal quality data; the second sending module 704 may include a second LoRa communication unit for sending a downlink message to the field test device; it should be noted that the field test device can send and receive Lora signals through the same chip, that is, the first LoRa communication unit and the second LoRa communication unit can be the same Lora chip. The receiving module and the second sending module are used here to describe the solution process, and it does not mean that the receiving module and the second sending module need to be implemented by different chips.
[0182] Each module in the above gateway can be implemented in whole or in part by software, hardware and their combination. Each module can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to each module above.
[0183] Figure 8 This is a schematic diagram of the structure of the computer device provided in this application. Figure 8 As shown, the computer device 80 provided in this embodiment includes: at least one processor 801 and a memory 802. Optionally, the device 80 also includes a communication component 803. The processor 801, the memory 802 and the communication component 803 are connected via a bus 804.
[0184] In a specific implementation process, at least one processor 801 executes the computer-executable instructions stored in the memory 802, so that at least one processor 801 executes the above method.
[0185] The specific implementation process of the processor 801 can be found in the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.
[0186] In the above embodiments, it should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the invention may be directly implemented as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.
[0187] The memory may include a high-speed memory (Random Access Memory, RAM), and may also include a non-volatile memory (Non-volatile Memory, NVM), such as at least one disk memory.
[0188] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.
[0189] The present application also provides a computer program product, including a computer program, which implements the above method when executed by a processor.
[0190] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the above method is implemented.
[0191] The above-mentioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special-purpose computer.
[0192] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC). Of course, the processor and the readable storage medium can also exist in the device as discrete components.
[0193] The division of units is only a logical function division, and there may be other divisions in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interface, device or unit, which can be electrical, mechanical or other forms.
[0194] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0195] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0196] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0197] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.
[0198] Finally, it should be noted that those skilled in the art will readily conceive of other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. The present invention is intended to cover any variations, uses or adaptations of the present invention, which follow the general principles of the present invention and include common knowledge or customary technical means in the art not disclosed by the present invention, are not limited to the precise structure described above and shown in the drawings, and may be modified and changed in various ways without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
Claims
1. A field testing device, characterized in that: include: A first sending module, configured to send an uplink test message to a gateway at a current test location in response to a test instruction, so that the gateway determines uplink signal quality data based on the uplink test message, and sends a downlink message carrying the uplink signal quality data to a site test device; A first processing module, configured to obtain uplink signal quality data of the field test equipment at the current test location based on the downlink message sent by the gateway; The result display module is used to display the first signal test result based on the uplink signal quality data of the current test position in response to the first result display instruction.
2. The field testing equipment according to claim 1, characterized in that: The field test equipment also includes: A label processing module, used to obtain the label of the current test position; store the signal quality data of the current test position in association with the label; the signal quality data includes one or more of the following: the uplink signal quality data, the downlink signal quality data; the type of the signal quality data includes one or more of the following: packet loss rate, signal strength, signal-to-noise ratio and transmission rate; The result display module is further used to obtain a label associated with the signal quality data of the current test position; and display the first signal test result based on the signal quality data and the label of the current test position.
3. The field testing equipment according to claim 1, characterized in that: The result display module is further configured to, in response to a second result display instruction, obtain signal quality data of the field test equipment at one or more test locations; and obtain tags respectively associated with the signal quality data of the one or more test locations; Based on the signal quality data and the labels of the one or more test locations, a second signal test result is presented.
4. The field testing equipment according to claim 3, characterized in that: The one or more test locations belong to a to-be-deployed area; the tag includes location information; the second signal test result includes a signal quality heat map; The result display module is further used to obtain a map of the area to be deployed; and display the signal quality heat map based on the map, location information of the one or more test locations, and signal quality data.
5. The field testing device according to any one of claims 1 to 4, characterized in that: The first processing module is further configured to determine downlink signal quality data based on the downlink test message sent by the gateway.
6. A gateway, characterized in that: include: A receiving module, used for receiving an uplink test message sent by a field test device; The uplink test message is sent by the field test device to the gateway at the current test location in response to the test instruction; An uplink sending module, used for sending the received uplink test message to a server; the server is a cloud server or a built-in server of the gateway; A second processing module, used for capturing an uplink test message from the server to the server, and determining uplink signal quality data according to the captured uplink test message; The second sending module is used to encapsulate the uplink signal quality data into a downlink message and send the downlink message to the field test device, so that the field test device determines the uplink signal quality data of the field test device at the current test location based on the downlink message sent by the gateway.
7. A gateway according to claim 6, characterized in that: The receiving module is further used to receive an instruction sent by the site test equipment for testing the downlink signal quality; The uplink sending module is further used to send the instruction for testing the downlink signal quality to the server; The gateway captures the instruction for testing the downlink signal quality from the server, and then the second sending module is further used to send a downlink test message to the field test equipment, so that the field test equipment calculates the downlink signal quality data based on the received downlink test message.
8. A signal testing method, characterized in that: Applied to field testing equipment, including: In response to the test instruction, an uplink test message is sent to the gateway at the current test location, so that the gateway determines uplink signal quality data based on the uplink test message, and sends a downlink message carrying the uplink signal quality data to the field test equipment; Based on the downlink message sent by the gateway, obtaining uplink signal quality data of the field test equipment at the current test location; In response to the first result display instruction, a first signal test result is displayed based on the uplink signal quality data of the current test position.
9. The method according to claim 8, characterized in that After obtaining the uplink signal quality data of the site test device at the current test location, the method further includes: Get the label of the current test position; The signal quality data of the current test position is stored in association with the tag; the signal quality data includes one or more of the following: the uplink signal quality data and the downlink signal quality data; the type of the signal quality data includes one or more of the following: packet loss rate, signal strength, signal-to-noise ratio and transmission rate; The displaying of the first signal test result based on the signal quality data of the current test position includes: Obtaining a tag associated with the signal quality data of the current test position; Based on the signal quality data and the label of the current test position, a first signal test result is displayed.
10. The method according to claim 8, characterized in that The method further comprises: In response to a second result display instruction, obtaining signal quality data of the field test equipment at one or more test locations; obtaining tags respectively associated with the signal quality data of the one or more test locations; Based on the signal quality data and the labels of the one or more test locations, a second signal test result is presented.
11. The method according to claim 10, characterized in that The one or more test locations belong to a to-be-deployed area; the tag includes location information; the second signal test result includes a signal quality heat map; The displaying of the second signal test result based on the signal quality data and labels of the one or more test locations comprises: Obtaining a map of the area to be deployed; The signal quality heat map is displayed based on the map, the location information of the one or more test locations, and the signal quality data.
12. The method according to any one of claims 8 to 11, characterized in that The method further comprises: Sending an instruction for testing the quality of a downlink signal to the gateway, so that the gateway captures the instruction for testing the quality of a downlink signal from the server to send a downlink test message to the site test device; Downlink signal quality data is calculated based on the received downlink test message.
13. A signal testing method, characterized in that: Applied to gateways, including: Receiving an uplink test message sent by a field test device; the uplink test message is sent by the field test device to the gateway at a current test location in response to a test instruction; Sending the received uplink test message to a server; the server is a cloud server or a built-in server of the gateway; Capturing an uplink test message transmitted uplink to the server from the server, and determining uplink signal quality data according to the captured uplink test message; The uplink signal quality data is encapsulated into a downlink message, and the downlink message is sent to the field test device, so that the field test device obtains the uplink signal quality data of the field test device at the current test location based on the downlink message sent by the gateway.
14. The method according to claim 13, characterized in that The method further comprises: receiving an instruction for testing the quality of a downlink signal sent by a site test device, and sending the instruction for testing the quality of a downlink signal to a server; The instruction for testing the downlink signal quality is captured from the server, and then, based on the instruction for testing the downlink signal quality, the gateway sends a downlink test message to the field test equipment, so that the field test equipment calculates the downlink signal quality data based on the received downlink test message.
15. A signal testing system, characterized in that: include: The field test equipment is used to send an uplink test message to the gateway at the current test location in response to the test instruction; The gateway is used to receive the uplink test message sent by the field test equipment, and send the received uplink test message to a server; the server is a cloud server or a built-in server of the gateway; The gateway is used to capture an uplink test message from the server to the server, determine uplink signal quality data according to the captured uplink test message, encapsulate the uplink signal quality data into a downlink message, and send the downlink message to the site test device; The field test device is further used to obtain uplink signal quality data of the field test device at the current test location based on the downlink message sent by the gateway; The field test equipment is further configured to display a first signal test result based on the uplink signal quality data of the current test location in response to a first result display instruction.
16. A computer device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 8 to 13.
17. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 8 to 13 when executed by a processor.
18. A computer program product, characterized in that The method comprises computer-executable instructions, which implement the method according to any one of claims 8 to 13 when executed by a processor.