A laser communication test method and test system
By analyzing signal changes, the cause of communication abnormalities is solved, and the problem of difficulty in distinguishing the reasons for communication quality reduction in spatial laser communication is improved, and the testing efficiency and accuracy are improved.
Patent Information
- Application Number
- CN202211421110.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-14
- Publication Date
- 2025-06-20
- Estimated Expiration
- 2042-11-14
AI Technical Summary
During the spatial laser communication process, it is difficult to distinguish the reason for the degradation of communication quality is due to the communication device itself or environmental factors, which makes the tester unable to solve the problem in a targeted manner, increasing the difficulty of testing.
By analyzing the changes in signals on different end sides, the location of the communication device that causes communication abnormalities is determined, and the causes of the current communication abnormalities are analyzed according to the signal change trend, and the causes of the abnormalities are reported to the tester so that corresponding measures can be taken.
This enables testers to quickly grasp the causes of communication abnormalities and eliminate interference factors according to relevant prompts, improving the testing efficiency and accuracy of laser communication devices.
Smart Images

Figure CN115987385B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of communication testing, and in particular to a laser communication testing method and a testing system. Background Art
[0002] Compared with microwave communication, satellite laser communication with laser as information carrier has incomparable advantages over microwave communication in the following aspects: ultra-high bandwidth, ultra-high transmission data rate, strong anti-interference ability, difficult to be intercepted, good security, small equipment size, light weight, low power consumption, low cost, strong system mobility, no radio frequency license, easy to expand and flexible networking, etc. Therefore, space laser communication has become a key project for the development of major countries in the world. The laser communication system includes an optical signal transmitter and an optical signal receiver. During the communication process, the optical signal transmitter needs to be remotely aligned with the optical signal receiver, and there must be no obstacles between the two to avoid blocking the communication optical signal and affecting the communication quality; in practical applications, in order to ensure better communication quality, an aircraft is usually equipped with a space forwarding system, that is, an optical communication forwarding device with both signal receiving and signal transmitting functions is added in the air. During communication, the signal transmitter on the ground directly sends an optical signal to the optical communication forwarding device in the air. After receiving the optical signal, the optical communication forwarding device forwards it to the optical receiving end on the ground to complete the ground-air-ground optical communication process.
[0003] In the process of ground-air-ground communication, due to the influence of various factors, the communication quality will be reduced. Since there are many factors affecting the communication quality, it is difficult to distinguish whether it is caused by the communication device itself or environmental factors. Especially in the early production test of the equipment, the tester cannot identify the factors that cause the current communication quality to be reduced, and cannot solve the corresponding problems in a targeted manner, which brings certain difficulties to the space laser communication test. Therefore, it is necessary to provide a laser communication test method to solve or partially solve the above technical problems. Summary of the invention
[0004] In order to solve the above technical problems, the present invention provides a communication testing method and a testing system, which can determine the location of the communication device causing the communication abnormality by analyzing the changes in signals on different ends, and analyze the cause of the current communication abnormality according to the changes in the communication signal, so as to facilitate the test personnel to take corresponding measures to solve the cause of the current communication abnormality.
[0005] To achieve the above object, the present invention provides the following solutions:
[0006] In a first aspect, the present invention provides a laser communication test method, comprising the following steps:
[0007] S101: The optical communication device 1 sends a test message, which is forwarded by the optical communication forwarding device to the optical communication device 2; the optical communication device 2 makes a response according to the test message.
[0008] S102: The optical communication device 1 receives the response message sent by the optical communication device 2 through the optical communication forwarding device; and determines whether there is communication anomaly.
[0009] Specifically, the communication anomaly is judged by the integrity of the response message.
[0010] S103: The optical communication device 1 sends a communication anomaly handling request to the optical communication forwarding device.
[0011] The communication anomaly handling request contains communication information such as the current received loss rate of abnormal information data, data reception time, the code number or encoding of the received response message, etc.
[0012] S104: After receiving the communication anomaly request, the optical communication forwarding device confirms the integrity of the information sent by the peer communication device within a certain time threshold.
[0013] S105: Judge the current position of the communication anomaly terminal according to the integrity of the information sent by the peer communication device.
[0014] By judging the integrity of the data, i.e., the data loss rate, it is determined whether there is a communication anomaly in the peer communication device; that is, when the data loss rate of the peer communication data exceeds a certain threshold, it indicates that the communication quality of the peer is poor and there is a communication anomaly; when the peer communication is normal, it indicates that the communication quality of the local end is poor.
[0015] S106: Analyze the change trend of the signal strength of the communication anomaly end to determine the cause of the communication anomaly.
[0016] When affected by atmospheric turbulence, the change of the signal strength is random or irregular, while when the communication performance of the communication device is affected by its own design, structure, etc., its signal strength generally shows regular changes, such as regular weakening, or remaining stable within a certain time period, that is, generally there will be no drastic change in the signal strength.
[0017] S107: The optical communication forwarding device sends the cause of the communication anomaly to both ends of the communication.
[0018] Specifically, the optical communication forwarding device sends the communication exception reasons to the two communication devices at both ends respectively according to the judgment result. Specifically, in this embodiment, when the communication exception occurs on one side of the optical communication device, a communication exception reason prompt is sent to the optical communication device one, such as the communication is abnormal due to the influence of the local environment, or the communication is abnormal due to the influence of the local structure. At the same time, the communication exception reason is sent to the optical communication device two, such as the communication is abnormal due to the influence of the opposite end environment, or the communication is abnormal due to the influence of the opposite end structure.
[0019] In a second aspect, the present invention further provides a laser communication test system; the system includes:
[0020] A test information sending module, configured to send test information;
[0021] A test information response module, configured to send response information to the test information sending module;
[0022] A communication exception judgment module, configured to judge whether there is a communication exception in the current communication through the integrity of the response information;
[0023] A communication exception analysis module, configured to determine the position of the communication exception terminal by judging the information integrity of the test information sending module and the test information response module, and determine the communication exception reason by analyzing the signal strength change trend in the test information sending module and the test information response module;
[0024] An exception reason feedback module, configured to feedback the communication exception reason to the test information sending module and the test information response module.
[0025] In a third aspect, the present invention provides an electronic device, including a memory, a processor, and computer instructions stored on the memory and running on the processor. When the computer instructions are run by the processor, the method described in the first aspect is completed.
[0026] In a fourth aspect, the present invention provides a computer-readable storage medium for storing computer instructions. When the computer instructions are executed by a processor, the method described in the first aspect is completed.
[0027] The present invention has achieved the following technical effects compared with the prior art:
[0028] Beneficial effects: The present invention judges the position of the terminal causing the current communication exception by tracking the data loss rate in the data transmission process, determines the reason causing the communication exception according to the signal change trend, and at the same time feeds back the communication exception reason to each communication terminal, enabling the tester to quickly master the reason for the communication exception and eliminate the interference factors of the communication exception according to the relevant prompts, facilitating the completion of the test of the laser communication device. Description of the Drawings
[0029] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0030] Figure 1 It is a schematic flow chart of the steps in Embodiment 1 of the present invention. Specific embodiments
[0031] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present invention.
[0032] The object of the present invention is to provide a laser communication test method and test system, which determine the communication device causing communication anomalies by analyzing the changes in signal data at different terminal sides, and analyze the reasons for the current communication anomalies based on the changes in communication signals, facilitating testers to provide support for solving the reasons for the current communication anomalies in a timely manner.
[0033] First, the application scenario of the present invention will be described. During the preliminary test of laser communication equipment, the communication performance of the equipment is a very important test content. However, there are various factors affecting the communication performance of the equipment, including both external environmental factors and the equipment itself. In the external environment, the main factor affecting communication performance is atmospheric turbulence, which mainly has two effects. One is the random fluctuation of the received light intensity caused by the random fluctuation of the atmospheric refractive index, which is called the light intensity scintillation effect; the other is the random offset of the spot center at the receiving end, which is called the beam drift effect. In a space laser communication system, when the beam passes through the atmosphere, the signal light intensity at the receiving end will change randomly, thus having a greater impact on the communication performance of the entire system. Due to the real-time and random nature of atmospheric motion, the impact of atmospheric turbulence on laser communication signals is also random, that is, the change in its signal strength is irregular. Among the factors affecting the equipment itself, it is mainly caused by factors such as the mechanical design of the equipment itself. For example, the lens barrels for transmission and reception are affected by factors such as swing, vibration, and thermal expansion, resulting in line-of-sight errors and jitter errors, causing the communication beam to randomly generate fixed jitters near the ideal beam center. Due to the limited aperture of the receiving device, the optical axis cannot be accurately aligned in the end, so the offset of the beam center will cause a decrease in the received light intensity, thus having a certain impact on communication.
[0034] In the present invention, the communication device involved at least includes two optical communication devices that simultaneously have the ability to transmit and receive optical signals; and an optical communication forwarding device that has the ability to receive and transmit optical signals. For the purpose of distinction and easy understanding, in the present invention, the two optical communication devices are respectively named as optical communication device one and optical communication device two; in order to be able to complete the communication performance test in a real environment, in an exemplary scenario, optical communication device one and optical communication device two are arranged on the ground, and the optical communication forwarding device is arranged in the air, such as being carried by an aircraft, etc. The optical communication forwarding device is used to receive and forward optical communication information, and the communication between optical communication device one and optical communication device two is completed relying on the optical communication forwarding device. In addition, it should be noted that in the present invention, optical communication device one, optical communication device two, and the optical communication forwarding device all have the ability to analyze optical signals and process data.
[0035] It should be noted that the following detailed description is illustrative and aims to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the technical field to which the present invention belongs. It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present invention.
[0036] In one embodiment, the method flow in the present invention is described from the perspective of a system composed of optical communication device one, optical communication device two, and the optical communication forwarding device. During this communication process, optical communication device one sends fixed test information to the optical communication forwarding device, and after receiving the test information from optical communication device one, the optical communication forwarding device forwards it directly to optical communication device two. After receiving the test information from optical communication device one, optical communication device two responds with fixed response information and sends the response information to the optical communication forwarding device, and then through the optical communication forwarding device to optical communication device one. In this application, optical communication device one and optical communication device two are test devices, and the optical communication forwarding device is a standard communication device, that is, it is defaulted that there are no any mechanical design problems.
[0037] First aspect, a laser communication test method, specifically includes the following steps:
[0038] S101: Optical communication device one sends out test information, which is forwarded to optical communication device two through the optical communication forwarding device; optical communication device two responds according to the test information;
[0039] Specifically, the test information can be various different test information contents; different response information is set for different test contents for response; for example, the test information content can include three different test information such as test information one, test information two, and test information three. The response information for test information one is response information one; the response information for test information two is response information two, and the response information for test information three is response information three, and response information one, response information two, and response information three are different from each other.
[0040] S102: Optical communication device one receives the response information sent by optical communication device two through the optical communication forwarding device; and determines whether there is communication anomaly.
[0041] Specifically, the communication anomaly is judged by the integrity of the response information, the communication quality of the response information, etc.; further, in this step, optical communication device two sends corresponding response information according to the received test information, and the response information is sent to the end of optical communication device one through the optical communication forwarding device; optical communication device one judges the integrity or signal quality of the received response information, so as to determine whether there is a communication anomaly phenomenon. During the communication process, affected by various factors, the loss of optical signals will occur, resulting in the reduction of the validity of the transmitted data, that is, the communication quality decreases; therefore, optical communication device one can judge whether the current communication is abnormal through the communication quality of the optical signal.
[0042] In this embodiment, optical communication device one judges the data loss rate of the currently received response information according to the complete response information stored internally, so as to determine the current communication signal quality. Of course, those skilled in the art can also judge whether the current communication is abnormal through other parameters that can characterize the communication quality.
[0043] Further, by judging the data loss rate, it is determined whether there is a current communication anomaly; for example, when the data loss rate is greater than a certain threshold, it is determined that there is a current communication anomaly. If there is a communication anomaly, step S103 is executed.
[0044] S103: Optical communication device one sends a communication anomaly handling request to the optical communication forwarding device.
[0045] After optical communication device one confirms that the current communication is abnormal, it sends a fixed request information to the optical communication forwarding device, that is, a communication anomaly handling request; the communication anomaly handling request includes communication information such as the data loss rate of the currently received abnormal information, the data reception time, the response information code or encoding received, etc.; for example, after optical communication device one receives response information one, it determines that there is a current communication anomaly, and optical communication device one immediately feeds back communication information such as the reception time t, data loss rate, and response information code of response information one to the optical communication forwarding device.
[0046] S104: After the optical communication forwarding device receives a communication exception request, it confirms the integrity of the information sent by the peer communication device within a certain time threshold.
[0047] The peer communication device refers to another communication terminal that communicates with the communication device sending the communication exception request. In this embodiment, the optical communication forwarding device is only used to forward relevant communication data and does not belong to a communication terminal. The communication device sending the communication exception request is Communication Device 1, and the other communication terminal communicating with Communication Device 1 is Communication Device 2.
[0048] Specifically, when the optical communication forwarding device receives a communication exception request, it parses the data content of the current communication exception request and the carried data reception time information t. According to the parsing result, it determines whether the communication information corresponding to the data content received from the peer communication device is complete. For example, after the optical communication forwarding device receives a communication exception handling request from Communication Device 1, it parses to obtain its data reception time t, the response information code is Response Information 1, and the data loss rate is 50%. The optical communication forwarding device determines the complete response content corresponding to this response information in the current storage according to the parsed response information number and the set response rules. The complete response content is the standard response information content set in advance by the system. It is defined here that in this application, the complete response content is called the standard response. By matching the response information received from Communication Device 2 with the standard response content, the data loss rate of the original response data of Communication Device 2 received by the optical communication forwarding device at time t is further determined, so as to judge the integrity of the received data and determine the data loss rate of the information from Communication Device 2 at time t.
[0049] S105: According to the integrity of the information sent by the peer communication device, judge the position of the current communication exception terminal.
[0050] By judging the integrity of the data, that is, the data loss rate, it is determined whether there is a communication exception in the peer communication device. That is, when the data loss rate of the peer communication data received by the optical communication forwarding device exceeds a certain threshold, it indicates that the communication quality of the peer is poor and there is a communication exception in the peer. When the peer communication is normal, it indicates that the communication quality of the local end is poor.
[0051] In addition, it should be taken into account that communication anomalies may occur at both ends of the communication. Therefore, when it is determined that the communication at the other end is abnormal, it is also necessary to further determine the communication data loss rate at this end to confirm whether there is also a communication anomaly at this end. The method for determining the communication data loss rate at this end is as follows: The optical communication forwarding device analyzes the valid data in the original communication information sent to this end and matches it with the data in the standard response to determine the loss rate of the original communication data sent. The loss rate of the original data sent is compared with the data loss rate included in the communication anomaly handling request. When it exceeds a certain threshold, it indicates that too much communication data is lost at this end, that is, the communication quality is poor, and there is also a communication anomaly at this end. It should be noted that in this embodiment, "this end" refers to one end of the optical communication device. Since in this application, during the communication test process, the optical communication forwarding device is used for forwarding optical communication data without data transformation, the valid data in the communication information sent by the optical communication forwarding device to this end is equivalent to the valid data of the response information from the other end received by the optical communication forwarding device.
[0052] Specifically in this embodiment, when the data loss rate at one end of the second optical communication device exceeds a certain threshold, it indicates that a communication anomaly occurs on the side of the second optical communication device. At this time, in order to further determine whether there is a communication anomaly on the side of the first optical communication device, it can be determined through the optical communication forwarding device. Specifically, the optical communication forwarding device determines whether there is excessive data loss in the data received at one end of the first optical communication device by comparing the integrity and data loss rate of the sent data with the integrity and loss rate in the received communication anomaly handling request, thereby making a judgment on whether there is a communication anomaly in the first optical communication device.
[0053] S106: Analyze the change trend of the signal strength of the communication anomaly end to determine the cause of the communication anomaly.
[0054] Generally, atmospheric turbulence is the main environmental factor affecting optical communication signals. Due to the randomness of atmospheric motion, it often causes random offsets of optical signals, and then random changes in optical signal strength. That is, when atmospheric turbulence has an impact, the signal strength change is random or irregular. When the communication device is affected by its own design, structure, etc. and its communication performance is affected, its signal strength generally shows regular and stable changes, such as a regular gradual weakening, or maintaining a stable weak signal within a certain time period. That is, generally, there will be no drastic signal strength changes.
[0055] Specifically, around the current time t, the communication data signal strength within a certain time threshold range of the communication abnormal end is selected as the analysis sample. If the signal strength remains relatively stable within a certain threshold range, it indicates that the probability of this communication abnormality being caused by equipment reasons is relatively high; if within this time range, the signal strength change exceeds the set threshold range, indicating that the signal strength changes violently, it indicates that this communication abnormality is mainly caused by environmental reasons. For example, when it is determined that one end of the optical communication device causes a communication abnormality, the optical communication forwarding device selects the communication data with the optical communication device one as the analysis sample.
[0056] S107: The optical communication forwarding device sends the communication abnormality cause to both ends of the communication;
[0057] Specifically, the optical communication forwarding device sends the communication abnormality cause to the two end communication devices respectively according to the judgment result. Specifically in this embodiment, for example, when the communication abnormality is generated on one side of the optical communication device one, a communication abnormality cause prompt is sent to the optical communication device one, such as this end is affected by the environment and the communication is abnormal, or this end is affected by its own structure and the communication is abnormal. At the same time, the communication abnormality cause is sent to the optical communication device two, such as being affected by the environment of the opposite end and the communication is abnormal, or being affected by the structure of the opposite end and the communication is abnormal.
[0058] When the two ends of the communication receive the relevant reminders, the test personnel can timely discover the abnormal cause and take targeted measures to solve the relevant problems. If the current communication abnormality is caused by the structure of the equipment itself, the relevant structure can be optimized. If the communication abnormality is caused by the environment, the test personnel can move the corresponding communication equipment to a relatively open environment for testing, or conduct the test after a certain period of time.
[0059] Embodiment 2
[0060] In Embodiment 2, the relevant processes are described from the perspective of the optical communication forwarding device. And in this process, the optical communication device one is the test information sending end, and the optical communication device two is the test information response end; the test information is sent by the optical communication device one, forwarded by the optical communication device to the optical communication device two end, and after the optical communication device two receives the test information, it sends out the corresponding test response information and sends it to the optical communication device one end through the optical communication forwarding device. Of course, in practical applications, both the optical communication device one and the optical communication device two can be used as both the test information sending end and the test information receiving end; in this embodiment, for the sake of easy understanding, the optical communication device one is only used as the test information sending end, and the optical communication device two is only used as the test information response end. It should be noted that the processes and judgment methods in Embodiment 2 are the same as those in Embodiment 1, and the only difference lies in the description angle, and the purpose is to enable those skilled in the art to better understand this solution.
[0061] In Embodiment 2, the method of the present invention specifically includes the following steps:
[0062] S101: The optical communication forwarding device receives the test information sent by the first optical communication device and forwards it to the second optical communication device;
[0063] Specifically, the test information can be various different test information contents; different response messages are sent for response to different test contents; for example, the test information content can include Test Information 1, Test Information 2, Test Information 3, etc., the response message for Test Information 1 is Response Message 1; the response message for Test Information 2 is Response Message 2, and the response message for Test Information 3 is Response Message 3, and Response Message 1, Response Message 2, and Response Message 3 are different from each other.
[0064] S102: Receive the response message sent by the second optical communication device and forward it to the first optical communication device;
[0065] S103: Determine whether a communication exception handling request sent by the first optical communication device is received; if so, determine that there is a communication exception and execute step S104;
[0066] The communication exception handling request contains communication information such as the data loss rate, data reception time, and response message encoding received by the first optical communication device;
[0067] S104: After receiving the communication exception request, the optical communication forwarding device confirms the integrity of the information sent by the peer communication device within a certain time threshold.
[0068] The peer communication device refers to another communication terminal that communicates with the communication device sending the communication exception request. In this embodiment, the optical communication forwarding device is only used to forward relevant communication data and does not belong to the communication terminal. The communication device sending the communication exception request is the first communication device, and the other communication terminal that communicates with the first communication device is the second communication device;
[0069] Specifically, when the optical communication forwarding device receives a communication exception request, it parses the data content of the current communication exception request and the carried data reception time information t. According to the parsing result, it determines the integrity or data loss rate of the communication information corresponding to the data content received from the peer communication device at time t by itself; for example, after the optical communication forwarding device receives the communication exception handling request of communication device 1, it parses to obtain its data reception time t, response message code, etc.; according to the parsed response message number, it determines the complete response content corresponding to the response message. The complete response content is the standard response message content set in advance by the system and has the same definition here as in Embodiment 1: that is, the complete response content is called the standard response; by matching with the standard response, it further determines the data loss rate of the original response data of optical communication device 2 received at time t, so as to judge the integrity of the data.
[0070] S105: Determine the current communication exception terminal location according to the integrity of the information sent by the peer communication device;
[0071] By judging the integrity of the data, that is, the data loss rate, it is determined whether there is a communication exception in the peer communication device; that is, when the data loss rate of the peer communication data exceeds a certain threshold, it indicates that the communication quality of the peer is poor and the peer communication is abnormal; when the peer communication is normal, it indicates that the communication quality of the local end is poor;
[0072] In addition, the situation where there are communication exceptions at both ends should be taken into account. Therefore, when it is judged that there is a communication exception at the peer end, the data loss rate of the local communication data should be further judged to confirm whether there is also a communication exception at the local end. The method for judging the data loss rate of the local communication data is as follows: Parse the valid data or data loss rate in the communication information sent by the optical communication forwarding device to the local end. Since the optical forwarding device is only used to forward communication data, the data loss rate in the communication information sent by the optical communication forwarding device to the local end is equal to the data loss rate of the response information received by the optical communication forwarding device from the peer end. Specifically, the optical communication forwarding device matches the obtained response information sent by the peer with the data in the standard response to determine the data loss rate of the communication data forwarded by the optical communication forwarding device, and compares the obtained data loss rate of the forwarded communication data with the data loss rate included in the communication exception handling request. When it exceeds a certain threshold, it indicates that there is too much data loss in the local communication data, that is, the communication quality is poor and there is also a communication exception at the local end;
[0073] Specifically in this embodiment, when the data loss rate at one end of the optical communication device 2 exceeds a certain threshold, it indicates that communication anomalies occur on the side of the optical communication device 2. At this time, in order to further determine whether communication anomalies exist on the side of the optical communication device 1, it can be judged through the optical communication forwarding device. Specifically, the optical communication forwarding device determines whether there is excessive data loss in the data received at one end of the optical communication device 1 by comparing the validity of the sent data, that is, the data loss rate, with the data loss rate in the received communication anomaly handling request, so as to judge whether communication anomalies exist in the optical communication device 1.
[0074] S106: Analyze the change trend of the signal strength at the communication anomaly end to determine the cause of the communication anomaly.
[0075] Specifically, around the current time t, select the signal strength of the communication data of the anomaly end within a certain time threshold range as the analysis sample. If the signal strength remains relatively stable within a certain threshold range, it indicates that the communication anomaly is caused by equipment reasons; if within this time range, the change in the signal strength exceeds the set threshold range, indicating that the signal strength changes violently, it indicates that the communication anomaly is caused by environmental reasons.
[0076] S107: The optical communication forwarding device sends the cause of the communication anomaly to both ends of the communication;
[0077] Specifically, the optical communication forwarding device sends the cause of the communication anomaly to the two communication devices at both ends according to the judgment result. Specifically in this embodiment, when the communication anomaly is caused by the optical communication device 1, a communication anomaly cause prompt is sent to the optical communication device 1, such as the communication anomaly is affected by the environment at this end, or the communication anomaly is affected by its own structure at this end. At the same time, the cause of the communication anomaly is sent to the optical communication device 2, such as the communication anomaly is affected by the environment of the opposite end, or the communication anomaly is affected by the structure of the opposite end.
[0078] The present invention also provides a laser communication test system; the laser communication test system includes: a test information sending module, a test information answering module, a communication anomaly judgment module, a communication anomaly analysis module, and an anomaly cause feedback module;
[0079] The test information sending module is used to send test information;
[0080] The test information answering module is used to send response information to the test information sending module;
[0081] The communication anomaly judgment module judges whether there is a communication anomaly in the current communication through the integrity of the response information;
[0082] The communication anomaly analysis module determines the location of the communication anomaly terminal by judging the information integrity of the test information sending module and the test information response module, and determines the cause of the communication anomaly by analyzing the signal strength change trend in the test information sending module and the test information response module;
[0083] The anomaly cause feedback module is used to feedback the cause of the communication anomaly to the test information sending module and the test information response module.
[0084] It should be noted here that the laser communication test system formed by the above modules is used to complete the laser communication test method in Embodiment 1 or Embodiment 2. The examples and application scenarios implemented by this system and the corresponding steps are the same, but are not limited to the content disclosed in the above embodiments. It should be noted that the above modules, as part of the system, can be executed in a computer system such as a set of computer executable instructions.
[0085] In more embodiments, there is also provided:
[0086] An electronic device includes a memory, a processor, and computer instructions stored on the memory and running on the processor. When the computer instructions are run by the processor, the communication test method described in the foregoing embodiments is completed. For the sake of brevity, it will not be elaborated here.
[0087] It should be understood that in this embodiment, the processor may be a central processing unit CPU, and the processor may also be other general-purpose processors, digital signal processors DSP, application-specific integrated circuits ASIC, off-the-shelf programmable gate arrays FPGA or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0088] The memory may include a read-only memory and a random access memory, and provide instructions and data to the processor. A part of the memory may also include a non-volatile random memory. For example, the memory may also store information about the device type.
[0089] A computer-readable storage medium is used to store computer instructions. When the computer instructions are executed by the processor, the method described in the foregoing embodiments is completed.
[0090] The laser communication test method in the present invention can be directly implemented by a hardware processor, or by a combination of hardware and software modules in the processor. The software module can be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. This storage medium is located in the memory, and the processor reads the information in the memory and combines its hardware to complete the steps of the above method. To avoid repetition, it will not be described in detail here.
[0091] Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in combination with this embodiment can be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.
[0092] The above is only the preferred embodiment of the present invention and is not used to limit the present invention. For those skilled in the art, the present invention can have various changes and modifications. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
[0093] In this specification, specific examples are used to elaborate on the principle and implementation manner of the present invention. The description of the above embodiments is only used to help understand the method and its core idea of the present invention; at the same time, for those of ordinary skill in the art, there will be changes in the specific implementation manner and application scope according to the idea of the present invention. Those skilled in the art should understand that based on the technical solution of the present invention, various modifications or deformations that can be made by those skilled in the art without creative labor are still within the protection scope of the present invention.
[0094] In summary, the content of this specification should not be construed as a limitation on the present invention.
Claims
1. A laser communication test method, characterized in that, It includes the following steps: Step 1: The first optical communication device sends a test message, which is forwarded by the optical communication forwarding device to the second optical communication device; the second optical communication device makes a response according to the test message; Step 2: The first optical communication device receives the response message sent by the second optical communication device and determines whether there is communication anomaly; Step 3: If there is communication anomaly, the first optical communication device sends a communication anomaly handling request to the optical communication forwarding device. The communication anomaly handling request includes anomaly information such as data loss rate and data reception time; Step 4: The optical communication forwarding device determines the current communication anomaly terminal according to the data integrity of reception and transmission; The specific method for determining the current communication anomaly terminal is as follows: The optical communication forwarding device judges the data loss rate of the response message sent by the second optical communication device received. When the data loss rate is greater than a certain threshold, it is determined that the second optical communication device has anomaly; when the second optical communication device has normal communication, it indicates that the first optical communication device is the anomaly terminal; when the second optical communication device has communication anomaly, the optical communication forwarding device also judges whether the first optical communication device has communication anomaly. Specifically, it includes: The optical communication forwarding device matches the obtained response message sent by the second optical communication device with the data in the standard response to determine the data loss rate of the communication data forwarded by the optical communication forwarding device, and compares the obtained forwarded communication data loss rate with the data loss rate included in the communication anomaly handling request. When it exceeds a certain threshold, it indicates that the first optical communication device has excessive communication data loss and the first optical communication device also has communication anomaly; Step 6: Analyze according to the signal strength change of the communication anomaly end to determine the communication anomaly cause; The method for judging the communication anomaly cause is as follows: Select the communication data signal strength within a certain time threshold range as the analysis sample. If the signal strength remains stable within a certain threshold range, it is confirmed that the communication anomaly is caused by equipment reasons; if within this time range, the signal strength change exceeds the set threshold range, it is confirmed that the communication anomaly is caused by environmental reasons; Step 8: The optical communication forwarding device sends the communication anomaly cause to both communication ends; 2. A laser communication test system for performing the laser communication test method according to claim 1, characterized in that, The laser communication test system includes: the first optical communication device, the second optical communication device, a communication anomaly judgment module, a communication anomaly analysis module, and an anomaly cause feedback module; The first optical communication device is used to send test messages; The second optical communication device is used to send response messages to the first optical communication device; The communication anomaly judgment module judges whether there is communication anomaly in the current communication through the integrity of the response message; The communication anomaly analysis module determines the position of the communication anomaly terminal by judging the information integrity of the first optical communication device and the second optical communication device, and determines the communication anomaly cause by analyzing the signal strength change trend in the first optical communication device and the second optical communication device; The anomaly cause feedback module is used to feedback the communication anomaly cause to the first optical communication device and the second optical communication device; 3. An electronic device, characterized in that, It includes a memory, a processor, and computer instructions stored on the memory and running on the processor. When the computer instructions are run by the processor, the method described in claim 1 is completed.
4. A computer-readable storage medium, characterized in that, For storing computer instructions which, when executed by a processor, implement the method recited in claim 1.
Citation Information
Patent Citations
Free-space laser communications error control system
US6285481B1