Method, apparatus and device for detecting communication performance of dual-mode carrier module and storage medium

By sending networking mode commands in a dual-mode communication network of power line carrier and low-power wireless and comparing the execution results, the problems of slow and incomplete detection speed are solved, and fast and reliable communication performance detection is achieved.

CN116582472BActive Publication Date: 2026-05-01SHENZHEN CLOU POWER TECH CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHENZHEN CLOU POWER TECH CO LTD
Filing Date
2023-04-21
Publication Date
2026-05-01

AI Technical Summary

Technical Problem

Existing technologies are slow and cannot fully detect the communication capabilities when detecting the topology of dual-mode communication networks using power line carrier and low-power wireless.

Method used

By sending commands for the first and second networking modes to the analog concentrator module and the carrier under test module, the execution results of the two networking modes are obtained and compared. If they are consistent, the communication performance is deemed to have passed.

Benefits of technology

This improves the reliability and speed of dual-mode carrier module communication performance testing, avoids forced selection of wireless networking due to hardware attenuation, and ensures comprehensive testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116582472B_ABST
    Figure CN116582472B_ABST
Patent Text Reader

Abstract

The application discloses a method, device and equipment for detecting communication performance of a dual-mode carrier and a storage medium, and the method comprises the following steps: after receiving a detection instruction, sending a command of a first network mode and a second network mode to an analog concentrator module, and sending a table address to a detected carrier module; acquiring a first network mode of the analog concentrator module and the detected carrier module according to the first network mode and the table address, and obtaining a first execution result by executing the detection instruction by the detected carrier module; acquiring a second network mode of the analog concentrator module and the detected carrier module according to the second network mode and the table address, and obtaining a second execution result by executing the detection instruction by the detected carrier module; and comparing the first execution result with the second execution result, and if the first execution result is consistent with the second execution result, the communication performance detection of the dual-mode carrier module is passed. The application improves the reliability of the communication performance detection of the detected carrier module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of Internet of Things (IoT) technology, and in particular relates to a method, apparatus, device, and storage medium for detecting the performance of dual-mode carrier communication. Background Technology

[0002] The dual-mode communication network topology of power line carrier and low-power wireless is a hybrid network topology based on a unified networking mechanism. Each node has both power line carrier and wireless communication capabilities. When both networks exist, the node can automatically prioritize power line carrier communication or choose wireless networking based on network quality. However, the host computer cannot select either networking mode. In the automatic dual-mode testing, in addition to meeting the requirements of the original power line carrier testing items (power consumption, chip ID, communication performance testing, power adaptability, etc.), the wireless networking and wireless communication capabilities of the dual-mode module also need to be tested.

[0003] Currently, when testing the communication capabilities of low-power wireless, the only method is to increase attenuation through carrier hardware lines, forcing the tested carrier module and concentrator module to choose wireless networking. This results in slow detection speed and incomplete detection when testing the dual-mode communication network topology of power line carrier and low-power wireless. Summary of the Invention

[0004] Based on this, the present invention provides a method, apparatus, device and storage medium for detecting the performance of dual-mode carrier communication, which solves the problems of the inability to select the networking mode of dual-mode carrier modules and the inadequate detection of communication capabilities.

[0005] This invention provides a method for detecting the performance of dual-mode carrier communication, the method comprising:

[0006] Upon receiving the detection command, the system sends commands for the first network mode and the second network mode to the analog concentrator module, and sends the table address to the carrier module under test.

[0007] The first networking mode between the analog concentrator module and the carrier module under test is obtained according to the first networking mode and the table address. The carrier module under test executes the detection command and obtains the first execution result.

[0008] The second networking mode of the analog concentrator module and the carrier module under test is obtained according to the second networking mode and the table address. The carrier module under test executes the detection command and obtains the second execution result.

[0009] If the first execution result and the second execution result are consistent, then the communication performance test of the dual-mode carrier module is passed.

[0010] Further, the step of obtaining the first networking mode between the analog concentrator module and the tested carrier module based on the first networking mode and the table address, and the tested carrier module executing the detection command to obtain a first execution result, includes:

[0011] Detect whether the analog concentrator module and the carrier module under test have successfully formed a network;

[0012] If the network is successfully formed, poll the network topology information within a preset time period to detect whether the current network channel between each node of the detected carrier module and the analog concentrator module is the first networking mode;

[0013] If so, the carrier module under test executes the detection instruction and obtains the first execution result.

[0014] Further, the step of obtaining the second networking mode between the analog concentrator module and the tested carrier module based on the second networking mode and the table address, and the tested carrier module executing the detection command to obtain a second execution result, includes:

[0015] Detect whether the analog concentrator module and the carrier module under test have successfully formed a network;

[0016] If the network is successfully formed, poll the network topology information within a preset time period to detect whether the current network channel between each node of the detected carrier module and the analog concentrator module is the second networking mode;

[0017] If so, the carrier module under test executes the detection command to obtain a second execution result.

[0018] Further, after obtaining the first networking mode of the analog concentrator module and the carrier module under test according to the first networking mode and the table address, and the carrier module under test executes the detection command to obtain the first execution result, before obtaining the second networking mode of the analog concentrator module and the carrier module under test according to the second networking mode and the table address, and the carrier module under test executes the detection command to obtain the second execution result, the method further includes:

[0019] Reset the carrier module under test and clear the cached data of the carrier module under test.

[0020] Further, after comparing the first execution result and the second execution result, and if they are consistent, the communication performance test of the dual-mode carrier module passes, the process further includes:

[0021] Send an instruction to obtain the ID of the carrier module under test, read the ID of the carrier module under test, and store the ID of the carrier module under test and the first execution result and the second execution result of the carrier module under test in a one-to-one correspondence.

[0022] Further, before obtaining the first networking mode of the analog concentrator module and the carrier module under test according to the first networking mode and the table address, and before the carrier module under test executes the detection command and obtains the first execution result, the method further includes:

[0023] A power-on command is sent to the carrier module under test, and the carrier module under test is powered on.

[0024] Furthermore, the analog concentrator module is a dual-mode communication network topology.

[0025] The present invention also provides an apparatus for detecting the communication performance of a dual-mode carrier module, the apparatus comprising:

[0026] The sending module is used to send commands for the first network mode and the second network mode to the analog concentrator module and send the table address to the carrier under test after receiving the detection command.

[0027] The first acquisition module is used to acquire the first networking mode of the analog concentrator module and the carrier module under test according to the first networking mode and the table address, and the carrier module under test executes the detection command to obtain the first execution result;

[0028] The second acquisition module is used to acquire the second networking mode of the analog concentrator module and the carrier module under test according to the second networking mode and the table address. The carrier module under test executes the detection command to obtain the second execution result.

[0029] The comparison module is used to compare the first execution result and the second execution result. If they are consistent, the communication performance test of the dual-mode carrier module is passed.

[0030] The present invention also provides a device for detecting the communication performance of a dual-mode carrier module, comprising a memory and a processor, wherein:

[0031] The memory is used to store computer programs;

[0032] The processor is used to read the computer program in the memory and execute the steps of the method for detecting the performance of dual-mode carrier communication as described in any of the preceding claims.

[0033] The present invention also provides a computer-readable storage medium having a readable computer program stored thereon, which, when executed by a processor, implements the steps of the method for detecting the performance of dual-mode carrier communication as described in any of the preceding claims.

[0034] The method for detecting the communication performance of dual-mode carrier modules provided by this invention involves receiving a detection command, sending commands for a first network mode and a second network mode to an analog concentrator module, and sending a table address to the carrier module under test. Based on the first network mode and the table address, a first network configuration between the analog concentrator module and the carrier module under test is obtained. The carrier module under test executes the detection command to obtain a first execution result. Based on the second network mode and the table address, a second network configuration between the analog concentrator module and the carrier module under test is obtained. The carrier module under test executes the detection command to obtain a second execution result. The first execution result and the second execution result are compared. If they match, the communication performance detection of the dual-mode carrier module passes. This allows the carrier module under test to quickly connect to the analog concentrator according to the specified network access mode, avoiding the previous method of forcing the carrier module and the analog concentrator to choose wireless networking by increasing attenuation in the carrier hardware line, thus improving the reliability of the communication performance detection of the carrier module under test. Attached Figure Description

[0035] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0036] Figure 1 This is a flowchart illustrating a method for detecting the performance of dual-mode carrier communication according to an embodiment of the present invention.

[0037] Figure 2 A schematic diagram of a hardware environment for detecting the communication performance of a dual-mode carrier module, provided in an embodiment of the present invention;

[0038] Figure 3 This is a schematic diagram of a process for obtaining a first execution result according to an embodiment of the present invention;

[0039] Figure 4 A schematic diagram of a process for obtaining a second execution result is provided in an embodiment of the present invention;

[0040] Figure 5 A flowchart illustrating another method for detecting the performance of dual-mode carrier communication provided in an embodiment of the present invention;

[0041] Figure 6 A structural block diagram of a device for detecting the communication performance of a dual-mode carrier module provided in an embodiment of the present invention;

[0042] Figure 7 This is a structural block diagram of a first acquisition module provided in an embodiment of the present invention;

[0043] Figure 8 This is a structural block diagram of a second acquisition module provided in an embodiment of the present invention;

[0044] Figure 9 A structural block diagram of another device for detecting the communication performance of a dual-mode carrier module provided in an embodiment of the present invention;

[0045] Figure 10 A structural block diagram of a device for detecting the communication performance of a dual-mode carrier module is also provided as an embodiment of the present invention;

[0046] Figure 11 A structural block diagram of a computer-readable storage medium is also provided as an embodiment of the present invention. Detailed Implementation

[0047] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains; the terminology used herein in the specification of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "comprising" and "having," and any variations thereof, in the specification, claims, and foregoing drawings of this application, are intended to cover non-exclusive inclusion. The terms "first," "second," etc., in the specification, claims, or foregoing drawings of this application are used to distinguish different objects, not to describe a particular order.

[0048] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0049] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without inventive effort are within the scope of protection of this invention.

[0050] In the following description, suffixes such as “module,” “part,” or “unit” used to denote elements are used only for the purposes of this application and have no specific meaning in themselves.

[0051] like Figure 1The diagram shown is a flowchart illustrating a method for detecting the performance of dual-mode carrier communication according to an embodiment of the present invention. The method includes:

[0052] Step S1: After receiving the detection command, send the first network mode and the second network mode commands to the analog concentrator module, and send the table address to the carrier module under test;

[0053] Step S2: Obtain the first networking mode of the analog concentrator module and the carrier module under test according to the first networking mode and the table address; the carrier module under test executes the detection command to obtain the first execution result.

[0054] Step S3: Obtain the second networking mode between the analog concentrator module and the carrier module under test according to the second networking mode and the table address. The carrier module under test executes the detection command to obtain the second execution result.

[0055] Step S4: Compare the first execution result and the second execution result. If they are consistent, the communication performance test of the dual-mode carrier module is passed.

[0056] Specifically, such as Figure 2The diagram shows a hardware environment for detecting the communication performance of a dual-mode carrier module according to an embodiment of the present invention. It includes a PC testing program 7, a multi-channel server 8, a power switching relay module 2, a power consumption acquisition module 3, a CCO / STA dual-mode carrier module under test 1, an analog concentrator 6, an analog energy meter 5, and a detection module switcher 4. The PC testing program, the power switching relay module 2, the power consumption acquisition module 3, the CCO / STA dual-mode carrier module under test 1, the analog concentrator 6, and the analog energy meter 5 are all connected to the multi-channel server 8. The power consumption acquisition module 3 is connected to the detection module switcher 4, and the detection module switcher 4 is connected to the analog concentrator 6 and the analog energy meter 5. The CCO / STA dual-mode carrier module under test 1 is connected between the power consumption acquisition module 3 and the detection module switcher 4. The method for detecting the performance of dual-mode carrier communication provided by the present invention is applied in the PC detection program 7. When detecting the communication performance of the CCO / STA dual-mode carrier module 7, after receiving the detection command, the PC detection program 7 sends a command for the first networking mode to the analog concentrator module 6. The dual-mode networking mode can be preset in the analog concentrator module 6. The data unit format of the dual-mode networking mode is shown in Table 1. In this embodiment, the first networking mode is fixed carrier independent networking, and the second networking mode is fixed wireless independent networking. The CCO / STA dual-mode carrier detection module 1 is an STA (single-phase and three-phase energy meter dual-mode module). The CCO / STA dual-mode carrier detection module 1 sends a request for the meter address to the PC detection program 7. The PC detection program 7 generates the meter address and sends it to the CCO / STA dual-mode carrier detection module 1. After receiving the meter address, the CCO / STA dual-mode carrier detection module 1 obtains the first networking mode between the analog concentrator module 6 and the CCO / STA dual-mode carrier detection module 1 according to the meter address and the first networking mode. For example, the analog concentrator module 6 and the CCO / STA dual-mode carrier detection module 1 are in a fixed carrier independent networking. Then, the detection command (such as reading the energy meter reading) is sent to the analog concentrator 6. The analog concentrator 6 sends the detection command to the CCO / STA dual-mode carrier detection module 1. The CCO / STA dual-mode carrier detection module 1 executes the detection command. For example, if the energy meter reading is performed on the analog energy meter 5, the first energy reading from the analog energy meter 5 is sent to the PC detection program 7.Next, the PC testing program 7 sends a command for the second networking mode to the analog concentrator module 6. Based on the table address and the second networking mode, it obtains the second networking method between the analog concentrator module 6 and the CCO / STA dual-mode carrier tested module 1, such as a fixed wireless independent network between the analog concentrator module 6 and the CCO / STA dual-mode carrier tested module 1. Then, it sends a testing command (such as reading the electricity meter reading) to the analog concentrator module 6. The analog concentrator module 6 sends the testing command to the CCO / STA dual-mode carrier tested module 1. The CCO / STA dual-mode carrier tested module 1 executes the testing command, such as reading the electricity meter reading of the analog electricity meter 5, and sends the second electricity reading from the analog electricity meter 5 to the PC testing program 7. Then, it compares whether the first and second electricity readings are the same. If they are the same, the communication performance of the CCO / STA dual-mode carrier tested module 1 is good, and the test passes.

[0057] Table 1 Data Unit Format for Dual-Mode Networking

[0058] Data content Data format byte count Network topology BIN 1

[0059] The meaning of the data content is explained as follows: Networking mode: 0 is silent state (default); 1 is the first networking mode; 2 is the second networking mode.

[0060] In some embodiments, such as Figure 3 The diagram shown is a flowchart illustrating how to obtain a first execution result according to an embodiment of the present invention. Step S2 includes:

[0061] Step S21: Detect whether the analog concentrator module and the carrier module under test have successfully formed a network;

[0062] Step S22: If the network is successfully formed, poll the network topology information within a preset time period and detect whether the current network channel between each node of the detected carrier module and the analog concentrator module is the first networking mode;

[0063] Step S23: If yes, the carrier module under test executes the detection instruction to obtain the first execution result.

[0064] Specifically, in this embodiment, after the PC detection program 7 sends the command for the first networking mode to the analog concentrator module 6, the analog concentrator module 6 and the CCO / STA dual-mode carrier under test module 1 form a network according to the first networking mode. First, it checks whether the analog concentrator module 6 and the CCO / STA dual-mode carrier under test module 1 have successfully formed a network. If the networking fails, a networking failure message is sent directly, and no further work is performed. If the networking is successful, the network topology information is polled within a preset time period to detect the CCO / STA dual-mode carrier under test module 1. The system checks whether the current network channel between each node and the analog concentrator module 6 is in the first networking mode. If the current network channel between each node of the CCO / STA dual-mode carrier detection module 1 and the analog concentrator module 6 is not in the first networking mode, a prompt message is sent directly without further processing. If the current network channel between each node of the CCO / STA dual-mode carrier detection module 1 and the analog concentrator module 6 is in the first networking mode, the CCO / STA dual-mode carrier detection module 1 executes the detection command and begins to read the electricity consumption from the analog electricity meter 5 to obtain the first electricity consumption.

[0065] In some embodiments, such as Figure 4 The diagram shown is a flowchart illustrating how to obtain a second execution result according to an embodiment of the present invention. Step S3 includes:

[0066] Step S31: Detect whether the network between the analog concentrator module and the carrier module under test is successful;

[0067] Step S32: If the network is successfully formed, poll the network topology information within a preset time period and detect whether the current network channel between each node of the detected carrier module and the analog concentrator module is the second networking mode;

[0068] Step S33: If yes, the carrier module under test executes the detection instruction to obtain a second execution result.

[0069] Specifically, in this embodiment, after the PC detection program 7 sends the command for the second networking mode to the analog concentrator module 6, the analog concentrator module 6 and the CCO / STA dual-mode carrier under test module 1 form a network according to the second networking method. First, it checks whether the networking between the analog concentrator module 6 and the CCO / STA dual-mode carrier under test module 1 is successful; if the networking is unsuccessful, a networking failure prompt is sent directly, and no further work is performed; if the networking is successful, the network topology information is polled within a preset time period to detect the CCO / STA dual-mode carrier under test module 1. The system checks whether the current network channel between each node and the analog concentrator module 6 is in the second networking mode. If the current network channel between each node of the CCO / STA dual-mode carrier detection module 1 and the analog concentrator module 6 is not in the first networking mode, a prompt message is sent directly without further processing. If the current network channel between each node of the CCO / STA dual-mode carrier detection module 1 and the analog concentrator module 6 is entirely in the second networking mode, the CCO / STA dual-mode carrier detection module 1 executes the detection command and begins to read the electricity consumption from the analog energy meter 5 to obtain the second electricity consumption.

[0070] In some embodiments, such as Figure 5 The diagram shown is a flowchart illustrating another method for detecting the performance of dual-mode carrier communication provided by an embodiment of the present invention. After step S2 and before step S3, the method further includes:

[0071] Step S201: Reset the carrier module under test and clear the cached data of the carrier module under test.

[0072] Specifically, in this embodiment, after obtaining the first power level, the CCO / STA dual-mode carrier detection module 1 is reset, and the cached data of the CCO / STA dual-mode carrier detection module 1 is cleared to avoid affecting the accuracy of obtaining the second result.

[0073] In some embodiments, such as Figure 5 As shown, after step S4, the method further includes:

[0074] Step S5: Send an instruction to obtain the ID of the carrier module under test, read the ID of the carrier module under test, and store the ID of the carrier module under test and the first execution result and the second execution result of the carrier module under test in a one-to-one correspondence.

[0075] Specifically, in this embodiment, by obtaining the ID of the carrier module under test, and storing the obtained ID of the CCO / STA dual-mode carrier under test module 1 in a one-to-one correspondence with the first and second execution results of the CCO / STA dual-mode carrier under test module 1, the detection results of the CCO / STA dual-mode carrier under test module 1 can be displayed more clearly. Simultaneously, the ID of the CCO / STA dual-mode carrier under test module 1 is compared with the previously stored IDs to verify whether there are any omissions or errors in the previously stored IDs.

[0076] In some embodiments, such as Figure 5 As shown, before step S2, the method further includes:

[0077] Step S101: Send a power-on command to the carrier module under test, and the carrier module under test is powered on.

[0078] In some embodiments, the analog concentrator module is a dual-mode communication network topology.

[0079] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0080] In some embodiments, such as Figure 6 The diagram shown is a structural block diagram of a device for detecting the communication performance of a dual-mode carrier module according to an embodiment of the present invention. The device includes:

[0081] The sending module 601 is used to send commands for the first network mode and the second network mode to the analog concentrator module and send the table address to the carrier under test after receiving the detection command.

[0082] The first acquisition module 602 is used to acquire the first networking mode of the analog concentrator module and the carrier module under test according to the first networking mode and the table address, and the carrier module under test executes the detection command to obtain the first execution result;

[0083] The second acquisition module 603 is used to acquire the second networking mode of the analog concentrator module and the carrier module under test according to the second networking mode and the table address. The carrier module under test executes the detection command to obtain the second execution result.

[0084] The comparison module 604 is used to compare the first execution result and the second execution result. If they are consistent, the communication performance test of the dual-mode carrier module is passed.

[0085] In some embodiments, such as Figure 7 The diagram shown is a structural block diagram of a first acquisition module provided in an embodiment of the present invention. The first acquisition module 602 includes:

[0086] The first detection module 6021 is used to detect whether the network between the analog concentrator module and the carrier module under test is successfully established.

[0087] The second detection module 6022 is used to poll the network topology information within a preset time if the network is successfully formed, and to detect whether the current network channel between each node of the detected carrier module and the analog concentrator module is the first networking mode.

[0088] The first execution module 6023 is used to execute the detection command and obtain a first execution result when the current network channel between each node of the detected carrier module and the analog concentrator module is in the first networking mode.

[0089] In some embodiments, such as Figure 8 The diagram shown is a structural block diagram of a second acquisition module provided in an embodiment of the present invention. The second acquisition module 603 includes:

[0090] The third detection module 6031 is used to detect whether the analog concentrator module and the carrier module under test have successfully formed a network.

[0091] The fourth detection module 6032 is used to poll the network topology information within a preset time period if the network is successfully formed, and to detect whether the current network channel between each node of the detected carrier module and the analog concentrator module is the second networking mode.

[0092] The second execution module 6033 is used to execute the detection command and obtain a second execution result when the current network channel between each node of the carrier module under test and the analog concentrator module is in the second networking mode.

[0093] In some embodiments, such as Figure 9 The diagram shown is a structural block diagram of another device for detecting the communication performance of a dual-mode carrier module according to an embodiment of the present invention. The device further includes:

[0094] The reset module 605 is used to reset the carrier module under test and clear the cached data of the carrier module under test.

[0095] In some embodiments, such as Figure 9 As shown, the device further includes:

[0096] The detected carrier module ID acquisition module 606 is used to send an instruction to acquire the detected carrier module ID, read the detected carrier module ID, and store the detected carrier module ID and the first execution result and the second execution result of the detected carrier module in a one-to-one correspondence.

[0097] In some embodiments, such as Figure 9 As shown, the device further includes:

[0098] The power-on command sending module 607 is used to send a power-on command to the carrier module under test, so that the carrier module under test can be powered on.

[0099] Specific limitations regarding the apparatus for detecting the communication performance of a dual-mode carrier module can be found in the limitations of the method for detecting dual-mode carrier communication performance described above, and will not be repeated here. Each module in the aforementioned apparatus for detecting the communication performance of a dual-mode carrier module can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in hardware or independently of the processor in a computer device, or stored in software in the memory of a computer device, so that the processor can call and execute the operations corresponding to each module.

[0100] Based on the above methods for detecting the performance of dual-mode carrier communication, such as Figure 10 As shown in the figure, this embodiment of the invention also provides a structural block diagram of a device for detecting the communication performance of a dual-mode carrier module, including a memory 101 and a processor 102, wherein: the memory 101 is used to store a computer program; the processor 102 is used to read the computer program in the memory 101 and execute the steps of the method for detecting the communication performance of a dual-mode carrier described above.

[0101] For further details regarding the implementation of the above-mentioned technical solution by the processor 102 in the device for detecting the communication performance of the dual-mode carrier module, please refer to the description in the method for detecting the communication performance of the dual-mode carrier provided in the above-mentioned embodiments of the invention, which will not be repeated here.

[0102] The processor 102 can also be called a CPU (Central Processing Unit). The processor 102 may be an integrated circuit chip with signal processing capabilities. The processor 102 may also be a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. The general-purpose processor may be a microprocessor, or the processor 102 may be any conventional processor.

[0103] like Figure 11 As shown in the diagram, this embodiment of the invention also provides a structural block diagram of a computer-readable storage medium, on which a readable computer program 1101 is stored. The computer program 1101 can be stored in the storage medium in the form of a software product, including several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods described in various embodiments of the invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, magnetic disks or optical disks, ROM (Read-Only Memory), RAM (Random Access Memory), or terminal devices such as computers, servers, mobile phones, and tablets.

[0104] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or modules may be electrical, mechanical, or other forms.

[0105] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network modules. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0106] Furthermore, the functional modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can be stored in a computer-readable storage medium.

[0107] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product.

[0108] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a server or data center that integrates one or more available media. The available medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state disk (SSD)).

[0109] The technical solutions provided in this application have been described in detail above. Specific examples have been used in this application to illustrate the principles and implementation methods of this application. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

[0110] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0111] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0112] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0113] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0114] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.

Claims

1. A method for detecting the communication performance of a dual-mode carrier module, characterized in that, The method includes: Upon receiving the detection command, commands for the first network mode and the second network mode are sent to the analog concentrator module, and the table address is sent to the dual-mode carrier module under test; wherein, the first network mode is a fixed carrier standalone network, and the second network mode is a fixed wireless standalone network; The first networking mode between the analog concentrator module and the tested dual-mode carrier module is obtained according to the first networking mode and the table address. The tested dual-mode carrier module executes the detection command to obtain a first execution result, including: Detect whether the analog concentrator module and the tested dual-mode carrier module have successfully formed a network; If the network is successfully formed, poll the network topology information within a preset time period and detect whether the current network channel between each node of the tested dual-mode carrier module and the analog concentrator module is the first networking mode. If so, the tested dual-mode carrier module executes the detection command and obtains a first execution result; The second networking mode between the analog concentrator module and the tested dual-mode carrier module is obtained according to the second networking mode and the table address. The tested dual-mode carrier module executes the detection command and obtains a second execution result, including: Detect whether the analog concentrator module and the tested dual-mode carrier module have successfully formed a network; If the network is successfully formed, poll the network topology information within a preset time period to detect whether the current network channel between each node of the tested dual-mode carrier module and the analog concentrator module is the second networking mode; If so, the tested dual-mode carrier module executes the detection command to obtain a second execution result; If the first execution result and the second execution result are consistent, then the communication performance test of the tested dual-mode carrier module is passed.

2. The method for detecting the communication performance of a dual-mode carrier module according to claim 1, characterized in that, After obtaining the first networking mode of the analog concentrator module and the tested dual-mode carrier module according to the first networking mode and the table address, and the tested dual-mode carrier module executes the detection command and obtains the first execution result, before obtaining the second networking mode of the analog concentrator module and the tested dual-mode carrier module according to the second networking mode and the table address, and the tested dual-mode carrier module executes the detection command and obtains the second execution result, the method further includes: Reset the tested dual-mode carrier module and clear the cached data of the tested dual-mode carrier module.

3. The method for detecting the communication performance of a dual-mode carrier module according to claim 1, characterized in that, After comparing the first execution result and the second execution result, and if they are consistent, the communication performance test of the tested dual-mode carrier module passes, the process further includes: Send an instruction to obtain the ID of the dual-mode carrier module under test, read the ID of the dual-mode carrier module under test, and store the ID of the dual-mode carrier module under test and the first execution result and the second execution result of the dual-mode carrier module under test in a one-to-one correspondence.

4. The method for detecting the communication performance of a dual-mode carrier module according to claim 1, characterized in that, Before obtaining the first networking mode of the analog concentrator module and the tested dual-mode carrier module according to the first networking mode and the table address, and before the tested dual-mode carrier module executes the detection command and obtains the first execution result, the method further includes: A power-on command is sent to the tested dual-mode carrier module, and the tested dual-mode carrier module is powered on.

5. The method for detecting the communication performance of a dual-mode carrier module according to claim 1, characterized in that, The analog concentrator module is a dual-mode communication network topology.

6. A device for detecting the communication performance of a dual-mode carrier module, characterized in that, The apparatus is used to implement the method for detecting the communication performance of a dual-mode carrier module as described in any one of claims 1-5, comprising: The sending module is used to send commands for the first network mode and the second network mode to the analog concentrator module after receiving the detection command, and to send the table address to the dual-mode carrier module under test. The first acquisition module is used to acquire the first networking mode of the analog concentrator module and the tested dual-mode carrier module according to the first networking mode and the table address. The tested dual-mode carrier module executes the detection command to obtain the first execution result. The second acquisition module is used to acquire the second networking mode between the analog concentrator module and the tested dual-mode carrier module according to the second networking mode and the table address. The tested dual-mode carrier module executes the detection command to obtain the second execution result. The comparison module is used to compare the first execution result and the second execution result. If they are consistent, the communication performance test of the tested dual-mode carrier module is passed.

7. A device for detecting the communication performance of a dual-mode carrier module, characterized in that, Includes memory and processor, wherein: The memory is used to store computer programs; The processor is used to read the computer program in the memory and execute the steps of the method for detecting the communication performance of a dual-mode carrier module as described in any one of claims 1-5.

8. A computer-readable storage medium, characterized in that, It stores a readable computer program that, when executed by a processor, implements the steps of the method for detecting the communication performance of a dual-mode carrier module as described in any one of claims 1-5.

Citation Information

Patent Citations

  • Test system and method of dual-mode communication device, and nonvolatile storage medium

    CN113395086A

  • Dual-mode test system and method based on power line and wireless

    CN113938402A