Dual-mode communication module testing device and method
By setting up control modules, signal sending modules and signal receiving modules in the actual operating environment, the dual-mode communication modules are tested, and the problem of inaccurate test results in the existing technology is solved, and high-precision and high-efficiency testing is achieved.
Patent Information
- Application Number
- CN202411787463.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-05
- Publication Date
- 2025-03-28
Smart Images

Figure CN119727783A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of power grid equipment communication technology, and in particular to a dual-mode communication module testing device and method. Background Art
[0002] In the power system, communication is very important. By transmitting data in real time, power system operators can monitor, control and protect the operation of the system. Traditional communication methods mainly use transmission lines or wireless networks, but these methods often have problems such as instability and slow transmission rates. For this reason, dual-mode communication modules are used in some power communication networks, such as HPLC (High Power Line Carrier)-HRF (High Frequency Radio Frequency). The HPLC-HRF dual-mode communication module combines carrier and wireless communication technologies to achieve high-speed and reliable data transmission in the power system.
[0003] With the continuous deepening of the application of dual-mode communication technology in power communication networks, the performance test of dual-mode communication modules is an important prerequisite for ensuring communication quality. For the communication test of dual-mode communication modules, the existing test methods are mostly implemented in a laboratory environment by simulating problem scenarios and combining simulation of upstream and downstream equipment. However, this test scenario simulated in the laboratory is quite different from the actual operating environment, and cannot truly and effectively provide data that is closer to the actual situation. There is a certain deviation from the actual operating data, which makes the test results unable to accurately reflect the real data in the actual operating environment. Summary of the invention
[0004] The embodiments of the present application provide a dual-mode communication module testing device and method to solve the problem that the test results obtained by the testing methods in the prior art cannot accurately reflect the real data in the actual operating environment.
[0005] On the one hand, an embodiment of the present application provides a dual-mode communication module testing device for testing a dual-mode communication module in an actual operating environment, the device comprising: a control module, and a signal sending module and a signal receiving module respectively coupled to the control module; the signal sending module and the signal receiving module are also coupled to a communication network where the dual-mode communication module to be tested is located;
[0006] The control module is used to send a test command to the dual-mode communication module to be tested;
[0007] The signal sending module is used to convert the test command into a communication signal, and send the communication signal to the dual-mode communication module to be tested through the communication network;
[0008] The signal receiving module is used to receive the response signal of the dual-mode communication module to be tested through the communication network, convert the response signal into a response command and send it to the control module;
[0009] The control module is further used to determine the test result of the dual-mode communication module to be tested according to the response command.
[0010] Optionally, the signal receiving module is further used to monitor the communication network parameters currently running in the communication network, and send the communication network parameters to the control module;
[0011] The control module determines the test command to be sent according to the communication network parameters.
[0012] Optionally, the communication network parameters include: network ID and network reference clock.
[0013] Optionally, the dual-mode communication module to be tested supports both carrier communication and wireless communication;
[0014] The communication signal includes: a carrier signal and / or a wireless signal.
[0015] Optionally, the signal sending module converts the test command into a high-speed carrier signal and sends it to the dual-mode communication module to be tested; or the signal sending module converts the test command into a high-speed wireless signal and sends it to the dual-mode communication module to be tested.
[0016] Optionally, the control module is further used to set communication parameters for the signal sending module and the signal receiving module through a control port.
[0017] Optionally, the communication parameters set by the control module include: a communication frequency band of a high-speed carrier, a communication frequency point of high-speed wireless communication, and a communication address of a dual-mode communication module to be tested.
[0018] On the other hand, an embodiment of the present application further provides a dual-mode communication module testing method, the method comprising:
[0019] Sending a test command for a dual-mode communication module to be tested, where the dual-mode communication module to be tested is located in a communication network under an actual operating environment;
[0020] Converting the test command into a communication signal, and sending the communication signal to the dual-mode communication module to be tested through the communication network;
[0021] Receiving a response signal from the dual-mode communication module to be tested through the communication network, and converting the response signal into a response command;
[0022] The test result of the dual-mode communication module to be tested is determined according to the response command.
[0023] Optionally, the method further comprises:
[0024] Monitoring the communication network parameters currently running on the communication network;
[0025] The test command to be sent is determined according to the communication network parameters.
[0026] Optionally, converting the test command into a communication signal includes: converting the test command into a high-speed carrier signal; or converting the test command into a high-speed wireless signal.
[0027] On the other hand, an embodiment of the present application also provides a computer-readable storage medium, which is a non-volatile storage medium or a non-transient storage medium, on which a computer program is stored, and when the computer program is run by a processor, the dual-mode communication module testing method is executed.
[0028] On the other hand, an embodiment of the present application further provides a computer program product, including a computer program / instruction, which implements the steps of the dual-mode communication module testing method when executed by a processor.
[0029] The dual-mode communication module testing device and method provided in the embodiment of the present application is for the dual-mode communication module in the actual operating environment. By setting a communication sending module and a communication receiving module in the application system, the control module sends a test command for the dual-mode communication module to be tested, the communication sending module converts the test command into a communication signal and sends it to the application system, and receives the response signal of the dual-mode communication module to be tested through the communication receiving module, converts the response signal into a response command and returns it to the control module, and the control module determines the test result of the dual-mode communication module to be tested according to the response command. Using the scheme of the present application, the test of the dual-mode communication module can be completed in the non-working time period of the application system, and the test in the actual operating environment is realized, the accuracy and efficiency of the test are improved, and more accurate test results are provided for the product test. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following is an exemplary introduction to the drawings used in the description of the embodiments. The drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without creative work. The drawings are used to provide a further understanding of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation on the present application.
[0031] Figure 1 It is a structural schematic diagram of a dual-mode communication module testing device provided in an embodiment of the present application;
[0032] Figure 2 It is a flow chart of a dual-mode communication module testing method provided in an embodiment of the present application;
[0033] Figure 3 It is a hardware structure diagram of the dual-mode communication module testing device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0034] In order to make the above-mentioned purposes, features and beneficial effects of the present application more obvious and easy to understand, the specific embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0035] It should be noted that the terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit this specification. The singular forms of "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. In addition, the "plurality" appearing in the embodiments of the present application refers to two or more.
[0036] The use of dual-mode communication modules can achieve high-speed and reliable data transmission in power systems. For example, the HPLC-HRF dual-mode communication module combines carrier and wireless communication technologies. The working principles and processes are as follows:
[0037] (1) Data acquisition: Collect the data to be transmitted from the power system and process the collected data.
[0038] (2) Carrier communication: The processed data is transmitted to each node in the power system through a carrier signal. Carrier communication uses the power lines in the power system as the transmission medium to transmit data in the form of a carrier signal. Carrier communication has a high speed and stability.
[0039] (3) Wireless communication: In some cases where longer distance transmission is required, data is converted into high-frequency wireless signals and transmitted wirelessly through antennas. Wireless communication has a wider coverage range and can achieve long-distance communication.
[0040] (4) Data analysis: Analyze the received data, restore it to the original information, and perform corresponding processing or feedback.
[0041] In order to ensure the quality of communication, it is necessary to perform performance testing on the dual-mode communication module. In view of the problem that the existing test results in a laboratory environment cannot accurately reflect the real data in the actual operating environment, the embodiment of the present application provides a dual-mode communication module testing device and method, which tests the dual-mode communication module to be tested in the actual operating environment to obtain accurate test results that can reflect the actual operating environment.
[0042] like Figure 1 , which is a structural diagram of a dual-mode communication module testing device provided in an embodiment of the present application.
[0043] The dual-mode communication module testing device 100 is used to test the dual-mode communication module in the actual operating environment, for example, it can test the dual-mode communication module 1 and the dual-mode communication module 2 in the communication network, and the communication network can be a power system communication network or other system communication network, which is not limited to this embodiment of the present application.
[0044] In some embodiments, the communication network may include, for example: a carrier communication network, a wireless communication network, etc.
[0045] The test of the dual-mode communication module may include a performance test, and there may be multiple parameters that need to be tested, which are not limited in the embodiments of the present application.
[0046] Reference Figure 1 The dual-mode communication module testing device 100 includes: a control module 101, and a signal sending module 102 and a signal receiving module 103 respectively coupled to the control module 101; the signal sending module 102 and the signal receiving module 103 are also coupled to the communication network where the dual-mode communication module to be tested is located. Wherein:
[0047] The control module 101 is used to send a test command for the dual-mode communication module to be tested;
[0048] The signal sending module 102 is used to convert the test command into a communication signal, and send the communication signal to the dual-mode communication module to be tested through the communication network;
[0049] The signal receiving module 103 is used to receive a response signal from the dual-mode communication module to be tested through the communication network, and convert the response signal into a response command and send it to the control module 101;
[0050] Accordingly, the control module 101 may determine the test result of the dual-mode communication module to be tested according to the response command.
[0051] When testing the dual-mode communication module to be tested, a non-working time period of the application system (such as an electric power meter reading system) may be selected to complete the test of the dual-mode communication module to be tested.
[0052] In specific implementation, corresponding test software can be compiled according to test requirements, and the test software can be uploaded to the control module 101, and the control module 101 runs the test software to complete the test.
[0053] It should be noted that the dual-mode communication module to be tested can complete the reception and response of test data through a corresponding communication method according to the data format defined in the dual-mode technical specification. The communication method may include, but is not limited to, any one or more of the following: carrier communication, wireless communication, etc. Accordingly, the conversion of the test command by the signal sending module 102 can be converted accordingly according to the test needs, such as converting it into a carrier signal, or a wireless signal, etc.
[0054] The test of the dual-mode communication module to be tested can be determined according to the content to be tested, for example, simulating the slave node to send network conflict messages and event reporting messages to the master node; for another example, simulating the master node to read the slave node data, etc.
[0055] In some tests, sending a test command requires the currently running communication network parameters. Taking the power meter reading system as an example, the communication network parameters may include, but are not limited to: network ID, TEI (Terminal Equipment Identifier) of the target node, network reference clock, etc. Otherwise, the sent test command may be invalid. To this end, in some embodiments, the signal receiving module 103 is also used to listen to the communication network parameters currently running in the communication network, and send the communication network parameters to the control module 101. Accordingly, the control module 101 determines the test command to be sent based on the communication network parameters. For example, to simulate the master node reading the slave node data, the reading command sent needs to use the network ID and the TEI of the target node.
[0056] It should be noted that what kind of test command the control module 101 sends is determined by the specific test content and has nothing to do with the monitored communication network parameters.
[0057] During each test, the control module 101 can initialize the signal sending module 102 and the signal receiving module 103 through the control port, for example, clear the cache, and if necessary, set the CRC check to automatically fill in, set the TEI list for automatic reply ACK, etc. Further, the control port can also be used to set communication parameters for the signal sending module 102 and the signal receiving module 103, such as the communication frequency band of the high-speed carrier, the communication frequency of the high-speed wireless communication, the communication address of the dual-mode communication module to be tested, and other parameters.
[0058] By using the dual-mode communication module testing device provided in the embodiment of the present application, online detection can be performed on the running equipment, and operation and maintenance of the equipment can be performed or problems arising during the operation of the equipment can be checked, which greatly reduces the testing cost, improves the testing efficiency, shortens the product development time, and reduces the maintenance workload.
[0059] Accordingly, the present application also provides a dual-mode communication module testing method, such as Figure 2 The figure shows a flow chart of a dual-mode communication module testing method provided in an embodiment of the present application.
[0060] In step 201, a test command is sent for a dual-mode communication module to be tested, where the dual-mode communication module to be tested is located in a communication network under an actual operating environment.
[0061] For example, the test command is converted into a high-speed carrier signal; or the test command is converted into a high-speed wireless signal, etc., which can be specifically determined according to the communication mode currently running in the dual-mode communication module to be tested.
[0062] In step 202, the test command is converted into a communication signal, and the communication signal is sent to the dual-mode communication module to be tested through the communication network.
[0063] In step 203, a response signal of the dual-mode communication module to be tested is received through the communication network, and the response signal is converted into a response command.
[0064] The response signal and the communication signal are signals of the same type, for example, both are carrier signals, or both are wireless signals.
[0065] In step 204, a test result of the dual-mode communication module to be tested is determined according to the response command.
[0066] In a non-limiting embodiment, the dual-mode communication module testing method may further include the following steps: monitoring the communication network parameters currently running in the communication network. Accordingly, in the above step 201, the test command to be sent may be determined according to the communication network parameters.
[0067] It should be noted that in the specific implementation, the Figure 1 The test process shown is cut, combined or repeated in a loop to complete all test contents. For example, to test the carrier signal strength or wireless signal strength in the actual operating environment, it is only necessary to receive signal data without sending test commands; for another example, to test the meter reading function of the main node in the power meter reading system, it is necessary to repeat the above process multiple times, that is, multiple communication interactions are required.
[0068] The dual-mode communication module testing method provided in the embodiment of the present application can complete the testing of the dual-mode communication module in the actual operating environment during the non-working time period of the application system, thereby realizing the testing of the dual-mode communication unit in the actual operating environment, improving the accuracy of the test, and providing more accurate test results for product testing.
[0069] In the electric power meter reading system, the dual-mode communication module converts the data from the upstream node (such as the concentrator) into HPLC or HRF signals and transmits them to the meter end. After receiving the signal, the communication unit at the meter end converts it into data that the meter can recognize, and transmits the meter's response data back to the upstream node through the dual-mode communication module.
[0070] When testing a specific dual-mode communication module in an electric power meter reading system, the above process can be simulated, and the testing device sends a communication signal containing a test command to the dual-mode communication module, and the dual-mode communication module transmits the corresponding communication signal to the electric meter, and then transmits the response data of the electric meter to the testing device. The testing device determines the test result based on the response data, and the test result can more accurately reflect the performance of the dual-mode communication module in the actual operating environment.
[0071] In a specific implementation, each module / unit included in each device or product described in the above embodiments may be a software module / unit or a hardware module / unit, or may be partly a software module / unit and partly a hardware module / unit.
[0072] For example, for each device or product applied to or integrated in a chip, each module / unit contained therein may be implemented in the form of hardware such as circuits, or at least some of the modules / units may be implemented in the form of software programs, which run on a processor integrated inside the chip, and the remaining (if any) modules / units may be implemented in the form of hardware such as circuits; for each device or product applied to or integrated in a chip module, each module / unit contained therein may be implemented in the form of hardware such as circuits, and different modules / units may be located in the same component (such as a chip, circuit module, etc.) or different components of the chip module, or at least some of the modules / units may be implemented in the form of software programs. The element can be implemented in the form of a software program, which runs on a processor integrated inside the chip module, and the remaining (if any) modules / units can be implemented in the form of hardware such as circuits; for various devices and products applied to or integrated in the terminal, the various modules / units contained therein can be implemented in the form of hardware such as circuits, and different modules / units can be located in the same component (for example, chip, circuit module, etc.) or in different components in the terminal, or, at least some modules / units can be implemented in the form of a software program, which runs on a processor integrated inside the terminal, and the remaining (if any) modules / units can be implemented in the form of hardware such as circuits.
[0073] The embodiment of the present application also discloses a storage medium, which is a computer-readable storage medium, on which a computer program is stored, and when the computer program is running, the steps of the dual-mode communication module test method shown in the aforementioned embodiment can be executed. The storage medium may include a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc. The storage medium may also include a non-volatile memory (non-volatile) or a non-transitory memory, etc.
[0074] An embodiment of the present application also provides a computer program product, including a memory and a processor, wherein the memory stores a computer program that can be executed on the processor, and the processor executes the steps in the above-mentioned dual-mode communication module testing method embodiment when running the computer program.
[0075] Please refer to Figure 3 The embodiment of the present application also provides a hardware structure diagram of a dual-mode communication module testing device. The device includes a processor 301, a memory 302 and a transceiver 303.
[0076] Processor 301 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application. Processor 301 may also include multiple CPUs, and processor 301 may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. The processor here may refer to one or more devices, circuits, or processing cores for processing data (such as computer program instructions).
[0077] The memory 302 may be a ROM or other types of static storage devices that can store static information and instructions, a RAM or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of an instruction or data structure and can be accessed by a computer, and the embodiments of the present application do not impose any restrictions on this. The memory 302 may exist independently or be integrated with the processor 301. Among them, the memory 302 may contain a computer program code. The processor 301 is used to execute the computer program code stored in the memory 302, thereby realizing the method provided in the embodiments of the present application.
[0078] The processor 301, the memory 302 and the transceiver 303 are connected via a bus. The transceiver 303 is used to communicate with other devices or a communication network.
[0079] when Figure 3 The schematic diagram of the structure shown is used to illustrate the structure of the dual-mode communication module test device involved in the above embodiment. The processor 301 is used to control and manage the actions of the dual-mode communication module test device. For example, the processor 301 is used to support the dual-mode communication module test device to execute Figure 2 The steps in the embodiment of the present application and / or the actions performed by the dual-mode communication module testing device in other processes described in the embodiment of the present application. The processor 301 can communicate with other network entities through the transceiver 303. The memory 302 is used to store program codes and data of the dual-mode communication module testing device.
[0080] It should be understood that the term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article indicates that the associated objects before and after are in an "or" relationship.
[0081] The "plurality" appearing in the embodiments of the present application refers to two or more.
[0082] The first, second, etc. descriptions appearing in the embodiments of the present application are only used for illustration and distinction of the description objects. There is no order, nor do they indicate any special limitation on the number of devices in the embodiments of the present application, and cannot constitute any limitation on the embodiments of the present application.
[0083] The various embodiments provided in this application can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented using software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, a computer, a server or a data center to another website site, a computer, a server or a data center by wired or wireless means. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and 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 embodiment of the present application.
[0084] In the several embodiments provided in the present application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device embodiments described above are merely schematic; for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation; for example, 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 through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0085] Each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may be physically arranged separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0086] Although the present application is disclosed as above, the present application is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present application. Therefore, the protection scope of the present application shall be subject to the scope defined by the claims.
Claims
1. A dual-mode communication module testing device, used to test a dual-mode communication module in an actual operating environment, characterized in that: The device comprises: a control module, and a signal sending module and a signal receiving module respectively coupled to the control module; the signal sending module and the signal receiving module are also coupled to a communication network where the dual-mode communication module to be tested is located; The control module is used to send a test command to the dual-mode communication module to be tested; The signal sending module is used to convert the test command into a communication signal, and send the communication signal to the dual-mode communication module to be tested through the communication network; The signal receiving module is used to receive the response signal of the dual-mode communication module to be tested through the communication network, convert the response signal into a response command and send it to the control module; The control module is further used to determine the test result of the dual-mode communication module to be tested according to the response command.
2. The dual-mode communication module testing device according to claim 1, characterized in that: The signal receiving module is further used to monitor the communication network parameters currently running in the communication network and send the communication network parameters to the control module; The control module determines the test command to be sent according to the communication network parameters.
3. The dual-mode communication module testing device according to claim 2, characterized in that: The communication network parameters include: network ID and network reference clock.
4. The dual-mode communication module testing device according to claim 1, characterized in that: The dual-mode communication module to be tested supports both carrier communication and wireless communication; The communication signal includes: a carrier signal and / or a wireless signal.
5. The dual-mode communication module testing device according to claim 4, characterized in that: The signal sending module converts the test command into a high-speed carrier signal and sends it to the dual-mode communication module to be tested; or The signal sending module converts the test command into a high-speed wireless signal and sends it to the dual-mode communication module to be tested.
6. The dual-mode communication module testing device according to any one of claims 1 to 5, characterized in that: The control module is further used to set communication parameters for the signal sending module and the signal receiving module through a control port.
7. The dual-mode communication module testing device according to claim 6, characterized in that: The communication parameters set by the control module include: the communication frequency band of the high-speed carrier, the communication frequency point of the high-speed wireless communication, and the communication address of the dual-mode communication module to be tested.
8. A dual-mode communication module testing method, characterized in that: The method comprises: Sending a test command for a dual-mode communication module to be tested, where the dual-mode communication module to be tested is located in a communication network under an actual operating environment; Converting the test command into a communication signal, and sending the communication signal to the dual-mode communication module to be tested through the communication network; Receiving a response signal from the dual-mode communication module to be tested through the communication network, and converting the response signal into a response command; The test result of the dual-mode communication module to be tested is determined according to the response command.
9. The dual-mode communication module testing method according to claim 8, characterized in that: The method further comprises: Monitoring the communication network parameters currently running on the communication network; The test command to be sent is determined according to the communication network parameters.
10. The dual-mode communication module testing method according to claim 8 or 9, characterized in that: The converting the test command into a communication signal comprises: converting the test command into a high-speed carrier signal; or The test command is converted into a high-speed wireless signal.
11. A computer-readable storage medium, wherein the computer-readable storage medium is a non-volatile storage medium or a non-transient storage medium, and a computer program is stored thereon, wherein: When the computer program is executed by a processor, the steps of the dual-mode communication module testing method according to any one of claims 8 to 10 are executed.
12. A dual-mode communication module testing device, comprising a computer program / instruction, characterized in that: When the computer program / instruction is executed by a processor, the steps of the dual-mode communication module testing method described in any one of claims 8 to 10 are implemented.