Optical path alignment system, first device and second device

By reducing the number of port identifications in the wireless optical communication system and using the camera device to determine the target port location, the problem of high design complexity in traditional technology is solved, and more efficient optical path alignment is achieved.

CN119483740APending Publication Date: 2025-02-18HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311006427.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-10
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

In large-scale wireless optical communication systems, traditional technologies require the configuration of a large number of port identifiers to achieve port alignment between AP and STA, resulting in increased design complexity.

Method used

Port alignment is achieved by displaying a small number of port identifiers in the first device, and acquiring the spatial position information of these identifiers in the second device using the camera device, and determining the position of the target port in combination with the relative spatial position information.

Benefits of technology

The number of port identifications is reduced, the design difficulty of port identification in the system is reduced, and the alignment efficiency of the optical path alignment system is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119483740A_ABST
    Figure CN119483740A_ABST
Patent Text Reader

Abstract

The invention discloses a light path alignment system, a first device and a second device, the light path alignment system comprises the first device and at least one second device, and the first device and the at least one second device are used for point-to-multipoint free space laser communication. Under the condition that the first equipment displays the b port identifiers at the b ports in the a ports, the second equipment can obtain the spatial position information of the b port identifiers through the camera device, and determines the spatial position information of the target port based on the spatial position information of the b port identifiers and the relative spatial position information obtained by the second equipment, and adjusting the port of the second equipment to be aligned with the target port based on the spatial position information of the target port. Since the second device can realize port alignment between the first device and the second device through a relatively small number of port identifiers configured by the first device, the number of the port identifiers used by the communication system is reduced, and the design difficulty of the port identifiers is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present application relate to the field of optical communications, and in particular, to an optical path alignment system, a first device, and a second device. Background Art

[0002] Optical wireless communication (OWC), also known as free space optical communication (FSO), is a communication technology that transmits optical signals (e.g., laser signals) in free space without relying on waveguide media such as optical fibers. Currently, optical wireless communication is often used in point-to-multipoint communication scenarios. For example, an access point (AP) communicates with multiple stations (STA) by transmitting optical signals through multiple ports. Before formal communication, the port of the AP needs to be aligned with the port of the corresponding STA.

[0003] In traditional technology, such as Figure 1 As shown, in order to enable each port of the AP to be quickly aligned with the ports of each STA, a port identifier is configured on each port of the AP, and different ports have different port identifiers. The STA obtains the port identifier displayed by the AP through a camera device, and identifies each port identifier of the AP one by one through image detection technology until the STA identifies the port identifier of the target port in the AP used to communicate with the STA, and then the STA adjusts the port to align with the target port in the AP. At this time, the AP can accurately receive the laser signal from the STA.

[0004] However, when the number of STAs in the communication system is huge, a port identifier is configured for each port and different ports are configured with different port identifiers, which will result in the entire communication system needing to be configured with more port identifiers, thereby increasing the complexity of the port identifier design. Summary of the invention

[0005] The present application provides an optical path alignment system, a first device and a second device, which are used to achieve port alignment between the first device and the second device by configuring a smaller number of port identifiers, thereby helping to reduce the number of port identifiers used by the first device, and further helping to reduce the design difficulty of the port identifiers in the system.

[0006] In a first aspect, the present application provides an optical path alignment system, which includes a first device and at least one second device. The first device and the at least one second device are used to realize point-to-multipoint free-space laser communication. Among them, the first device has a ports, different ports among the a ports are used to communicate with different second devices through laser signals, each second device has a port for communicating with the first device through laser signals, and the first device includes a target port for communicating with the second device, and a is an integer greater than 2. When the optical path alignment system is working, the first device is used to display b port identifiers, b is an integer greater than 1 and less than a; the second device is used to obtain the spatial position information of the b port identifiers through a camera device; and, based on the spatial position information of the b port identifiers and the relative spatial position information, the spatial position information of the target port is determined, and the relative spatial position information is used to indicate the spatial position of the target port relative to the b port identifiers; in addition, the second device is also used to adjust the alignment of the port of the second device with the target port based on the spatial position information of the target port.

[0007] Exemplarily, the relative spatial position information may be manually configured into the second device, or may be sent by the first device to the second device via a wireless communication connection established between the first device and the second device.

[0008] Exemplarily, the first device may be a master gateway device having multiple ports (eg, Figure 1 The AP shown in the figure may also be other optical communication devices with multiple laser ports; the second device may be a slave gateway device with at least one port (for example, Figure 1 The STA shown in the figure may also be other optical communication equipment having at least one laser port, which is not limited in the present application.

[0009] Exemplarily, the camera is located near the port of the second device, and the camera is used to capture the direction in which the port of the second device is pointing, and then the second device determines the spatial position information of b port identifiers through the information captured by the camera. In one example, the camera is a depth camera, and the camera can directly output the spatial position information of the captured port identifier. In another example, the output of the camera is a two-dimensional image, but the second device can calculate the spatial position information of b port identifiers through the shooting parameters of the camera (for example, focal length, etc.).

[0010] In the present application, when the first device displays b port identifiers on b ports among a ports, the second device can obtain the spatial position information of the b port identifiers through a camera device, and determine the spatial position information of the target port based on the spatial position information of the b port identifiers and the relative spatial position information already obtained by the second device, and then adjust the port of the second device to align with the target port based on the spatial position information of the target port. Since the second device can achieve port alignment between the first device and the second device through a smaller number of port identifiers configured by the first device, it is beneficial to reduce the number of port identifiers used by the communication system, thereby reducing the design difficulty of the port identifiers in the system.

[0011] In a possible implementation, the relative spatial position information includes the first spatial position information of b port identifiers and the first spatial position information of the target port, the first spatial position information is used to indicate the spatial position of the port identifier or port in the first spatial coordinate system established with the first device as the reference; the spatial position information of the b port identifiers includes the second spatial position information of the b port identifiers, the second spatial position information is used to indicate the spatial position of the port identifier in the second spatial coordinate system established with the second device as the reference; the spatial position information of the target port includes the second spatial position information of the target port. The second device is specifically used to determine the second spatial position information of the target port based on the second spatial position information of the b port identifiers, the first spatial position information of the b port identifiers and the first spatial position information of the target port.

[0012] In this embodiment, the spatial position information of the port identifier is represented by the position of the port identifier in the second spatial coordinate system (i.e., the second spatial position information), and the positions of the b ports and the target port in the first spatial coordinate system (i.e., the first spatial position information) are used to represent the relative spatial position information. The second device calculates the position of the target port in the second spatial coordinate system based on the positions of the b ports and the target port in the first spatial coordinate system and the positions of the b port identifiers in the second spatial coordinate system. This is beneficial for the second device to quickly and accurately calculate the position of the target port in the second spatial coordinate system based on a small number of port identifiers, and thus the second device can directly adjust the alignment of the port of the second device with the target port based on the position of the target port in the second spatial coordinate system, which is beneficial for improving the alignment efficiency of the optical path alignment system.

[0013] In a possible implementation, the b ports identify any two ports among the a ports; or, the b ports identify any three non-collinear ports among the a ports; or, the b ports identify any four non-coplanar ports among the a ports.

[0014] Exemplarily, if a ports are arranged in one dimension, then b ports identify any two ports among the a ports; or, if a ports are arranged in two dimension, then b ports identify any three non-collinear ports among the a ports; or, if a ports are arranged in three dimension, then b ports identify any four non-coplanar ports among the a ports.

[0015] In this embodiment, when b takes a smaller value, that is, when the number of displayed port identifiers is at the lower limit, how to arrange the b port identifiers so that the second device can accurately locate the port of the first device is provided. This is beneficial to improving the accuracy of the second device locating the port of the first device, and also beneficial to improving the efficiency of the subsequent alignment process.

[0016] In a possible implementation manner, the target port is different from any port among the b ports. It can also be understood that the target port does not belong to the b ports.

[0017] In this embodiment, it is proposed to configure the b ports used for positioning and the target port as different ports, which is conducive to the second device to accurately locate based on the b ports. Of course, if the target port happens to be one of the b ports, the second device can also determine the spatial location information of the target port.

[0018] In a possible implementation manner, the b port identifiers are different from each other, each port identifier is formed by an arrangement of a plurality of characteristic points, and the characteristic points in different port identifiers are arranged in different ways.

[0019] Optionally, each feature point can be made of a light-emitting diode (LED) or a reflective material, or other materials, which are not limited here. Exemplarily, when the feature point is made of a light-emitting diode (LED), the first device or the second device can display different port identifiers on the same port by lighting different LEDs, that is, the port identifier of the same port can be changed.

[0020] In this embodiment, the b port identifiers are configured to be different, that is, the second device can distinguish the b ports based on each port identifier. This is beneficial for when one of the port identifiers fails, the second device can also be located based on the remaining (b-1) port identifiers, which is beneficial for improving the reliability of the optical path alignment system.

[0021] In a possible implementation, the second device is further configured to communicate with the first device through a free space laser based on a passive optical network (PON) protocol after the port of the second device is aligned with the target port. Since the free space laser used between the first device and the second device supports the PON protocol, it is beneficial for the first device and the second device to use a standard protocol and frame structure for information exchange, which is convenient for industrial promotion and application.

[0022] In a possible implementation, the first device is further configured to establish a wireless communication connection with the second device. Optionally, the wireless communication connection may be any one of wireless fidelity (Wi-Fi), Bluetooth, ZigBee, optical camera communication (OCC), or light fidelity (Li-Fi).

[0023] The first device is further used to send relative spatial position information to the second device.

[0024] In this embodiment, it is proposed that the first device and the second device can establish a wireless communication connection before performing optical path alignment, and then the first device and the second device can exchange information involved in the optical path alignment process (for example, relative air interface position information, etc.), which can save the steps of manually configuring parameters for the first device and the second device respectively, which is beneficial to improving the automation performance of the optical path alignment system and improving the alignment efficiency of the optical path alignment system.

[0025] In a possible implementation, the first device is further used to send arrangement dimension information of the port identifiers to the second device, where the arrangement dimension information is used to indicate the arrangement dimensions supported by the b port identifiers displayed by the first device.

[0026] Optionally, the arrangement dimension information includes any one of a one-dimensional arrangement, a two-dimensional arrangement, or a three-dimensional arrangement;

[0027] If the arrangement dimension information is a one-dimensional arrangement, the b port identifiers are located at any two ports among the a ports; or,

[0028] If the arrangement dimension information is a two-dimensional arrangement, the b port identifiers are any three non-collinear ports among the a ports; or,

[0029] If the arrangement dimension information is a three-dimensional arrangement, the b port identifiers are any four non-coplanar ports among the a ports.

[0030] In this implementation, the first device can provide the second device with arrangement dimension information, which is helpful for the second device to know in advance the dimension in which the b port identifications displayed by the first device are displayed, so that the second device can quickly obtain the second spatial position information of the b port identifications through the camera device. Therefore, it is helpful to improve the alignment efficiency of the optical path alignment system.

[0031] In a possible implementation manner, the first device is further configured to send at least one of the following items to the second device:

[0032] At least one arrangement pattern information, the arrangement pattern information is used to indicate the first spatial position information of b port identifiers displayed by the first device, and at least one arrangement pattern information includes a first arrangement pattern, and the first arrangement pattern is used to indicate the first spatial position information of b port identifiers. The first spatial position information of b port identifiers can also be called an arrangement pattern, and the arrangement pattern can be adjusted by adjusting at least one port identifier among the b port identifiers.

[0033] The port identifier supported by the first device may be the number of the port identifier or the location information of the characteristic point contained in the port identifier. If the second device stores the correspondence between the number of the port identifier and the location information of the characteristic point contained in the port identifier, the first device may notify the second device of the port identifier supported by the first device in the form of the number of the port identifier, and the second device determines the location information of the characteristic point of each port identifier based on the number of the port identifier and the correspondence. In addition, the first device may also directly notify the second device of the location information of the characteristic point contained in the port identifier.

[0034] In a possible implementation, the second device is further configured to send first identification requirement information to the first device based on at least one arrangement pattern information, where the first identification requirement information is used to indicate a first arrangement pattern used by a port of the first device.

[0035] In this embodiment, the first device can provide at least one arrangement pattern information to the second device, and the second device can select an arrangement pattern based on the received at least one arrangement pattern information for the first device to display, that is, the second device can send the first identification requirement information to the first device. Therefore, it is beneficial for the first device from different manufacturers to interact with the second device to identify the requirements, and improve the compatibility of the optical path alignment system.

[0036] In a possible implementation, the second device is further used to send location information of characteristic points supported by the port of the second device to the first device. The first device is further used to send second identification requirement information to the second device, the second identification requirement information is used to indicate the port identification used by the port of the second device, and the second identification requirement information is determined by the first device based on the location information of characteristic points supported by the port of the second device; the second device is further used to display the port identification of the port based on the second identification requirement information.

[0037] In this embodiment, the first device determines the port identifier expected to be used by the second device based on the position of the feature point provided by the second device, which is beneficial for the first device to uniformly allocate port identifiers used by multiple second devices, avoid conflicts between port identifiers used by different second devices, and improve the compatibility and robustness of the optical path alignment system.

[0038] In a possible implementation, the first device is also used to send port test information to the second device, the port test information is used to indicate the start of the port test process; the second device is also used to obtain the port identifier displayed on the test port of the first device through a camera device; when the port identifier displayed on the test port is consistent with the test identifier, first indication information is sent to the first device, the first indication information is used to indicate that there is no fault characteristic point on the test port; when the port identifier displayed on the test port is inconsistent with the test identifier, the location information of the fault characteristic point is determined.

[0039] Optionally, the port test information includes the location information of at least one test port and the test identification to be displayed for each test port. The location information of at least one test port is used to indicate which ports need to be measured in this test. Optionally, the location information of the test port can be represented by the position in the first spatial coordinate system. The test identification to be displayed for each test port can be indicated by an identification number or by the location information of a feature point contained in the test identification.

[0040] Optionally, the port test information also includes the display time of each test port displaying the test identifier. The display time of each test port displaying the test identifier is used to indicate when the test port displays the test identifier. Optionally, the display time of different test identifiers can be the same or different. The specific value of the display time can be determined according to the shooting frequency of the camera device of the second device, and the present application does not limit the size of the display time.

[0041] In this embodiment, the second device can know when and which test port of the first device displays which test mark based on the port test information received from the first device. Then, the second device can obtain the port mark displayed by the test port of the first device through the camera at the display time, and compare the port mark displayed by the test port photographed by the camera with the test mark of the test port indicated by the test information to determine whether there is a fault feature point in the feature points contained in the port mark displayed by the test port. This is beneficial for the first device to avoid displaying the port mark involving the fault feature point when displaying the port mark, and further helps to improve the accuracy and efficiency of the optical path alignment between the first device and the second device, and improve the robustness of the optical path alignment system.

[0042] In a possible implementation, the second device is further used to send third identification requirement information to the first device, where the third identification requirement information is used to indicate a second arrangement pattern consisting of multiple port identifications to be displayed on the ports of the first device, and the characteristic points contained in any port identification in the second arrangement pattern do not contain a fault characteristic point.

[0043] In this embodiment, it is proposed to notify the first device of the location information of the fault characteristic point in an implicit manner, which is beneficial for the first device to avoid displaying the port identification involving the fault characteristic point when displaying the port identification, thereby improving the accuracy and efficiency of the optical path alignment between the first device and the second device, and improving the robustness of the optical path alignment system.

[0044] In a possible implementation, the second device is further used to send second indication information to the first device, where the second indication information is used to indicate location information of a fault characteristic point; the first device is further used to determine a third arrangement pattern based on the second indication information, where characteristic points of the third arrangement pattern do not include the fault characteristic point.

[0045] In this embodiment, it is proposed to notify the first device of the location information of the fault characteristic point in an explicit manner, which is beneficial for the first device to avoid displaying the port identification related to the fault characteristic point when displaying the port identification, thereby improving the accuracy and efficiency of the optical path alignment between the first device and the second device, and improving the robustness of the optical path alignment system.

[0046] In a second aspect, the present application provides a first device, which is applied to an optical path alignment system. The optical path alignment system includes a first device and at least one second device. The first device has a ports, different ports among the a ports are used to communicate with different second devices via laser signals, each second device has a port for communicating with the first device via laser signals, the first device includes a target port for communicating with the second device, a is an integer greater than 2, and is characterized in that it includes: a display module for displaying b port identifiers, b is an integer greater than 1 and less than a.

[0047] In a possible implementation, the first device also includes a processing module; the processing module is used to obtain first spatial position information of b port identifiers, the first spatial position information is used to indicate the position of the port identifier in a first spatial coordinate system established with the first device as a reference; and a display module is specifically used to display b port identifiers based on the first spatial position information of the b port identifiers.

[0048] In the present application, when the first device displays b port identifiers on b ports among a ports, the second device can obtain the spatial position information of the b port identifiers through a camera device, and determine the spatial position information of the target port based on the spatial position information of the b port identifiers and the relative spatial position information already obtained by the second device, and then adjust the port of the second device to align with the target port based on the spatial position information of the target port. Since the second device can achieve port alignment between the first device and the second device through a smaller number of port identifiers configured by the first device, it is beneficial to reduce the number of port identifiers used by the communication system, thereby reducing the design difficulty of the port identifiers in the system.

[0049] In a possible implementation, the b ports identify any two ports among the a ports; or, the b ports identify any three non-collinear ports among the a ports; or, the b ports identify any four non-coplanar ports among the a ports.

[0050] In a possible implementation manner, the target port is different from any one of the b ports.

[0051] In a possible implementation manner, the b port identifiers are different from each other, each port identifier is formed by an arrangement of a plurality of characteristic points, and the characteristic points in different port identifiers are arranged in different ways.

[0052] In a possible implementation, the first device also includes a wireless communication module; the wireless communication module is used to establish a wireless communication connection with the second device and send relative spatial position information to the second device, the relative spatial position information includes first spatial position information of b port identifiers and first spatial position information of the target port, and the first spatial position information is used to indicate the spatial position of the port identifier or port in a first spatial coordinate system established with the first device as a reference.

[0053] In a possible implementation, the wireless communication module is further used to send arrangement dimension information of the port identifiers to the second device, where the arrangement dimension information is used to indicate the arrangement dimensions supported by the b port identifiers displayed by the first device.

[0054] Optionally, the arrangement dimension information includes any one of a one-dimensional arrangement, a two-dimensional arrangement, or a three-dimensional arrangement;

[0055] If the arrangement dimension information is a one-dimensional arrangement, the b port identifiers are located at any two ports among the a ports; or,

[0056] If the arrangement dimension information is a two-dimensional arrangement, the b port identifiers are any three non-collinear ports among the a ports; or,

[0057] If the arrangement dimension information is a three-dimensional arrangement, the b port identifiers are any four non-coplanar ports among the a ports.

[0058] In a possible implementation manner, the wireless communication module is further configured to send at least one of the following items to the second device:

[0059] At least one arrangement pattern information, the arrangement pattern information is used to indicate the first spatial position information of b port identifiers displayed by the first device, and at least one arrangement pattern information includes a first arrangement pattern, and the first arrangement pattern is used to indicate the first spatial position information of b port identifiers; port identifiers supported by the first device.

[0060] In a possible implementation, the wireless communication module is further configured to receive first identification requirement information from the second device, where the first identification requirement information is used to indicate a first arrangement pattern used by a port of the first device.

[0061] In a possible implementation, the wireless communication module is also used to: receive location information of characteristic points supported by a port of the second device from a second device; send second identification requirement information to the second device, the second identification requirement information is used to indicate a port identifier used by the port of the second device, and the second identification requirement information is determined by the first device based on the location information of characteristic points supported by the port of the second device.

[0062] In a possible implementation, the wireless communication module is further used to: send port test information to the second device, the port test information is used to indicate the start of the port test process; receive and send first indication information from the second device, the first indication information is used to indicate that there is no fault characteristic point in the test port; or, receive third identification requirement information from the second device, the third identification requirement information is used to indicate a second arrangement pattern composed of multiple port identifications to be displayed on the port of the first device, and the characteristic points contained in any one of the port identifications in the second arrangement pattern do not include the fault characteristic point; or, receive second indication information from the first device, the second indication information is used to indicate the location information of the fault characteristic point, and the second indication information is used for the processing module to determine the third arrangement pattern, and the characteristic points of the third arrangement pattern do not include the fault characteristic point.

[0063] Optionally, the port test information includes location information of at least one test port and a test identifier to be displayed for each test port.

[0064] Optionally, the port test information also includes the display time of the test mark displayed on each test port.

[0065] It should be noted that the specific implementation methods and beneficial effects of this aspect are similar to some implementation methods in the first aspect above. Please refer to the specific implementation methods and beneficial effects of the first aspect for details, and no further details will be given here.

[0066] In a third aspect, the present application provides a second device, which is applied to an optical path alignment system. The optical path alignment system includes a first device and at least one second device. The first device has a number of ports, and different ports among the a number of ports are used to communicate with different second devices through laser signals. Each second device has a port for communicating with the first device through laser signals. The first device includes a target port for communicating with the second device. a is an integer greater than 2, and is characterized in that it includes:

[0067] a processing module, configured to obtain, by means of a camera, spatial position information of b port identifiers displayed by the first device; and determine spatial position information of a target port based on the spatial position information of the b port identifiers and relative spatial position information, wherein the relative spatial position information is used to indicate a spatial position of the target port relative to the b port identifiers;

[0068] The processing module is further used to adjust the alignment between the port of the second device and the target port based on the spatial position information of the target port.

[0069] In a possible implementation, the relative spatial position information includes first spatial position information of b port identifiers and first spatial position information of a target port, the first spatial position information being used to indicate the spatial position of the port identifier or port in a first spatial coordinate system established with the first device as a reference; the spatial position information of the b port identifiers includes second spatial position information of the b port identifiers, the second spatial position information being used to indicate the spatial position of the port identifier in a second spatial coordinate system established with the second device as a reference; the spatial position information of the target port includes the second spatial position information of the target port; and a processing module is specifically used to determine the second spatial position information of the target port based on the second spatial position information of the b port identifiers, the first spatial position information of the b port identifiers, and the first spatial position information of the target port.

[0070] In a possible implementation, the b ports identify any two ports among the a ports; or, the b ports identify any three non-collinear ports among the a ports; or, the b ports identify any four non-coplanar ports among the a ports.

[0071] In a possible implementation manner, the target port is different from any one of the b ports.

[0072] In a possible implementation manner, the b port identifiers are different from each other, each port identifier is formed by an arrangement of a plurality of characteristic points, and the characteristic points in different port identifiers are arranged in different ways.

[0073] In a possible implementation, the second device further includes a wireless communication module; the wireless communication module is used to establish a wireless communication connection with the first device and receive relative spatial position information from the first device.

[0074] In a possible implementation, the wireless communication module is further used to receive arrangement dimension information of the port identifiers from the first device, where the arrangement dimension information is used to indicate arrangement dimensions supported by the b port identifiers displayed by the first device.

[0075] Optionally, the arrangement dimension information includes any one of a one-dimensional arrangement, a two-dimensional arrangement, or a three-dimensional arrangement;

[0076] If the arrangement dimension information is a one-dimensional arrangement, the b port identifiers are located at any two ports among the a ports; or,

[0077] If the arrangement dimension information is a two-dimensional arrangement, the b port identifiers are any three non-collinear ports among the a ports; or,

[0078] If the arrangement dimension information is a three-dimensional arrangement, the b port identifiers are any four non-coplanar ports among the a ports.

[0079] In a possible implementation, the wireless communication module is further used to receive at least one of the following items from the first device: at least one arrangement pattern information, the arrangement pattern information is used to indicate the first spatial position information of b port identifiers displayed by the first device, at least one arrangement pattern information includes a first arrangement pattern, the first arrangement pattern is used to indicate the first spatial position information of b port identifiers; port identifiers supported by the first device.

[0080] In a possible implementation, the wireless communication module is further used to send first identification requirement information to the first device based on at least one arrangement pattern information, where the first identification requirement information is used to indicate a first arrangement pattern used by a port of the first device.

[0081] In a possible implementation, the wireless communication module is also used to: send location information of characteristic points supported by the port of the second device to the first device; receive second identification requirement information from the first device, the second identification requirement information is used to indicate the port identification used by the port of the second device, the second identification requirement information is determined by the first device based on the location information of characteristic points supported by the port of the second device; the processing module is also used to display the port identification of the port based on the second identification requirement information.

[0082] In a possible implementation, the wireless communication module is further used to receive port test information from the first device, where the port test information is used to indicate starting a port test process;

[0083] The processing module is also used to obtain the port identifier displayed on the test port of the first device through a camera device; when the port identifier displayed on the test port is consistent with the test identifier, control the wireless communication module to send a first indication message to the first device, and the first indication message is used to indicate that there is no fault characteristic point on the test port; when the port identifier displayed on the test port is inconsistent with the test identifier, determine the location information of the fault characteristic point.

[0084] Optionally, the port test information includes location information of at least one test port and a test identifier to be displayed for each test port.

[0085] Optionally, the port test information also includes the display time of the test mark displayed on each test port.

[0086] In a possible implementation, the wireless communication module is further used to send third identification requirement information to the first device, where the third identification requirement information is used to indicate a second arrangement pattern consisting of multiple port identifications to be displayed on the ports of the first device, and the characteristic points contained in any one of the port identifications in the second arrangement pattern do not contain a fault characteristic point.

[0087] In a possible implementation, the wireless communication module is further used to send second indication information to the first device, where the second indication information is used to indicate location information of the fault characteristic point; and receive a third arrangement pattern from the first device, where the characteristic points of the third arrangement pattern do not include the fault characteristic point. BRIEF DESCRIPTION OF THE DRAWINGS

[0088] Figure 1 An example diagram of an optical path alignment system in conventional technology;

[0089] Figure 2 A structural schematic diagram of the optical path alignment system provided in this application;

[0090] Figure 3 An example diagram of an arrangement of multiple ports of a first device in the present application;

[0091] Figure 4 An example diagram of the port identification involved in this application;

[0092] Figure 5A An example diagram of b port identifiers displayed by the first device when arranged in one dimension in this application;

[0093] Figure 5BAn example diagram of b port identifiers displayed by the first device when arranged in two dimensions in this application;

[0094] Figure 5C An example diagram of b port identifiers displayed by the first device when arranged in three dimensions in this application;

[0095] Figure 6 A flow chart of the optical path alignment system provided in the present application when executing the optical path alignment process;

[0096] Fig. 7A An example diagram of the first space coordinate system and the second space coordinate system provided in this application;

[0097] Figure 7B An example diagram of a port identifier displayed by a first device and a port identifier displayed by a second device in this application;

[0098] Figure 8 A flow chart of the optical path alignment system provided in the present application when executing the negotiation port identification process;

[0099] Fig. 9 A flow chart of the optical path alignment system provided in the present application when executing the port test process;

[0100] Fig.10 A schematic diagram of an embodiment of the device provided in this application. DETAILED DESCRIPTION

[0101] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments.

[0102] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0103] 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 generally indicates that the associated objects before and after are in an "or" relationship.

[0104] The present application provides an optical path alignment system, a first device and a second device, which are used to achieve port alignment between the first device and the second device by configuring a smaller number of port identifiers, thereby helping to reduce the number of port identifiers used by the first device, and further helping to reduce the design difficulty of the port identifiers in the system.

[0105] like Figure 2 As shown, the optical path alignment system 00 provided in the present application includes a first device 01 and at least one second device 02. The first device 01 and the at least one second device 02 are used to realize point-to-multipoint free-space laser communication. For example, narrow beam optical wireless communication (NB-OWC) or channel adaptive optical wireless communication (CA-OWC), etc. Among them, the first device 01 has multiple ports, and different ports among the multiple ports are used to communicate with different second devices 02 through laser signals. Each second device 02 has at least one port, and the port in the second device 02 is used to communicate with the first device 01 through a laser signal. Among them, the laser signal can be a free-space laser.

[0106] Exemplarily, the first device 01 may be a main gateway device having multiple ports (eg, Figure 1 The AP shown in the figure may also be other optical communication devices with multiple laser ports; the second device 02 may be a slave gateway device with at least one port (for example, Figure 1 The STA shown in the figure may also be other optical communication equipment having at least one laser port, which is not limited in the present application.

[0107] It should be understood that the multiple ports in the first device 01 may be arranged regularly or irregularly, which is not limited in this application. For example, if the multiple ports in the first device 01 are arranged regularly, the multiple ports in the first device 01 may be arranged in a straight line (e.g. Figure 3 Example (a) in the figure), or they can be arranged in an arc shape (such as Figure 3 Example (b) in the figure), or in a rectangular arrangement (e.g. Figure 3 Example (c) in the figure), or in a circular arrangement (e.g. Figure 3It should also be understood that the multiple ports in the first device 01 may be arranged in a one-dimensional arrangement (for example, Figure 3 In the example (a) in the figure, the two-dimensional arrangement can also be arranged in a straight line (for example, Figure 3 Example (c) in is rectangular, such as Figure 3 In the example (d) of FIG. 1 , a circular arrangement can also be used, or a three-dimensional arrangement can be used (for example, a spherical arrangement). It should be noted that: Figure 3 The ports in the various examples shown are represented by rectangles, but in actual applications, the shape of the ports can be circular or other shapes, which is not limited here.

[0108] In addition, a port identifier may be displayed near each port of the first device 01, or may not be displayed. All ports of the first device 01 may display port identifiers at the same time, or only some ports may display identifiers. In addition, if the second device 02 has only one port, the second device 02 only displays the port identifier of the one port. The port identifier is used to indicate the location of the port. Different ports generally display different port identifiers, so different port identifiers can distinguish different ports.

[0109] Optionally, each port identifier is composed of a plurality of characteristic points arranged in an arrangement, and the characteristic points in different port identifiers are arranged in different ways. For example, Figure 1 The arrangement of the characteristic points of different port identifiers of the AP in the example is different. Figure 4 As shown, in this application, multiple feature points in a port identifier can be arranged in a variety of ways. For example, Figure 4 In the example (a) shown, multiple feature points are distributed on an ellipse to form a port identifier. For another example, Figure 4 In the example (b) shown, multiple feature points are distributed on a rectangle to form a port identification. For another example, Figure 4 In the example (c) shown, multiple feature points are distributed on a circle to form a port mark. For another example, Figure 4 In the example (d) shown, multiple feature points are distributed on the upper and lower circumferences of the cone to form a port identifier. In practical applications, feature points can also be arranged in other ways, which are not limited here. In addition, the arrangement of feature points of different port identifiers of the same device is generally similar, which helps to reduce the difficulty of designing and storing port identifiers. For example, Figure 1 As shown, the port identifiers of the ports of the AP are different, but the different port identifiers are distributed on the rectangle in different ways to form the port identifiers.

[0110] Optionally, each feature point can be made of a light-emitting diode (LED) or a reflective material, or other materials, which are not limited here. Exemplarily, when the feature point is made of a light-emitting diode (LED), the first device or the second device can display different port identifiers on the same port by lighting different LEDs, that is, the port identifier of the same port can be changed.

[0111] In the optical path alignment system 00 provided in the present application, only some of the multiple ports of the first device 01 display port identifiers, and the second device 02 can determine the spatial position information of the port (hereinafter referred to as the target port) in the first device 01 used to communicate with the second device 02 through the spatial position information of the port identifiers of some of the ports displayed by the first device 01. For ease of introduction, an example is given in which the first device 01 has a total of a port identifiers and the first device 01 only displays b port identifiers on b of the a ports. Wherein, a is an integer greater than 2, and b is an integer greater than 1 and less than a.

[0112] like Figure 2 As shown, in the optical path alignment system 00, the first device 01 is used to display b port identifiers; the second device 02 is used to obtain the spatial position information of the b port identifiers through a camera device. In addition, the second device 02 has obtained relative spatial position information, and the relative spatial position information is used to indicate the spatial position of the target port relative to the b port identifiers. Then, the second device 02 determines the spatial position information of the target port based on the spatial position information of the b port identifiers and the obtained relative spatial position information, and then the second device 02 is also used to adjust the alignment of the port of the second device 02 with the target port based on the spatial position information of the target port.

[0113] Optionally, the second device 02 is further configured to communicate with the first device through a free space laser based on a passive optical network (PON) protocol after a port of the second device 02 is aligned with a target port.

[0114] The camera device is located near the port of the second device 02, and is used to capture the direction in which the port of the second device 02 points, and then the second device 02 determines the spatial position information of the b port identifiers through the information captured by the camera device. In one example, the camera device is a depth camera, and the camera device can directly output the spatial position information of the captured port identifier. In another example, the output of the camera device is a two-dimensional image, but the second device 02 can calculate the spatial position information of the b port identifiers through the shooting parameters of the camera device (for example, focal length, etc.).

[0115] In addition, the relative spatial position information may be manually configured into the second device 02, or may be sent to the second device 02 by the first device 01 through a wireless communication connection established with the second device 02. For details, please refer to Figure 6 Related introduction in the corresponding embodiment.

[0116] Optionally, the arrangement dimension of the b port identifiers may be a one-dimensional arrangement, a two-dimensional arrangement or a three-dimensional arrangement. Optionally, at least one port is spaced between two adjacent ports in the b ports.

[0117] Exemplarily, if the a ports of the first device 01 are arranged in one dimension, the arrangement dimension of the b port identifiers is a one-dimensional arrangement, and the b ports are any two ports among the a ports. Figure 5A As shown, taking the a ports of the first device 01 being arranged linearly as an example, in this example, a=N, and b=2, the b ports displaying port identifiers in the first device 01 are the two ports located at both ends of the linear arrangement, that is, the first device 01 displays a port identifier at the 1st port and displays a port identifier at the Nth port.

[0118] Exemplarily, if the a ports of the first device 01 are arranged in two dimensions, then the arrangement dimension of the b port identifiers is a two-dimensional arrangement, and the b ports are any three non-collinear ports among the a ports. Figure 5B As shown, taking the a ports of the first device 01 arranged in a rectangle as an example, in this example, a=N*M, and b=3, the b ports displaying port identifications in the first device 01 are the ports located at the three vertices of the rectangle in the rectangular arrangement, that is, the first device 01 displays port identifications on the port located in the 1st row and 1st column, the port located in the 1st row and Nth column, and the port located in the Mth row and 1st column, respectively.

[0119] Exemplarily, if the a ports of the first device 01 are arranged in three dimensions, then the arrangement dimension of the b port identifiers is a three-dimensional arrangement, and the b ports are any four non-coplanar ports among the a ports. Figure 5C As shown, a=N*M*P, and b=4, the b ports displaying port identifiers in the first device 01 are the four non-coplanar ports in the three-dimensional arrangement, that is, the first device 01 displays port identifiers on the four non-coplanar ports respectively.

[0120] It should be understood that Figure 5A , Figure 5B and Figure 5C The examples are only listed for the convenience of readers to understand the solution. In actual applications, the ports of the first device may also be arranged in other ways, and the first device may also select another b ports based on the arrangement dimension of a ports to display b port identifiers. They are not listed here one by one.

[0121] like Figure 6 As shown, taking the alignment of a second device 02 in the optical path alignment system 00 with a target port in the first device 01 (i.e., a port in the first device 01 used for communicating with the second device 02) as an example, the first device 01 and the second device 02 may perform the following steps:

[0122] Step 601: A first device establishes a wireless communication connection with a second device.

[0123] The first device may establish a wireless communication connection with the second device before displaying the port identification, so that the first device provides the second device with information used by the second device in the optical path alignment process through the wireless communication connection.

[0124] Optionally, the wireless communication connection can be any one of wireless fidelity (Wi-Fi), Bluetooth, ZigBee, optical camera communication (OCC) or light fidelity (Li-Fi), and this application is not limited.

[0125] Step 602: The first device sends relative spatial position information to the second device; correspondingly, the second device receives the relative spatial position information from the first device.

[0126] After establishing the wireless communication connection, the first device can send relative spatial position information to the second device via the wireless communication connection; correspondingly, the second device can receive relative spatial position information from the first device via the wireless communication connection.

[0127] The relative spatial position information includes the first spatial position information of b port identifiers and the first spatial position information of the target port.

[0128] The first spatial position information is used to indicate the position of the port identifier in a first spatial coordinate system established based on the first device.

[0129] The first spatial position information of b port identifiers is the position of the b port identifiers to be displayed by the first device in the first spatial coordinate system established with the first device as a reference. The first device stores the first spatial position information of the b port identifiers so that the first device can display the b port identifiers based on the first spatial position information of the b port identifiers. The first spatial position information of the b port identifiers can be determined by the first device or manually pre-configured, which is not limited here. After the first device sends the first spatial position information of the b port identifiers to the second device, the second device can know on which ports the first device will display the port identifiers based on the first spatial position information of the b port identifiers.

[0130] The first spatial position information of the target port is used to indicate the position of the target port in the first spatial coordinate system, and the target port is a port in the first device used to communicate with the second device. After the first device sends the first spatial position information of the target port to the second device, the second device can know which port the second device communicates with the first device through based on the first spatial position information of the target port, so that the second device can calculate the position of the target port in a subsequent process.

[0131] The first spatial coordinate system is a spatial coordinate system established with the first device as a reference. For example, the first spatial coordinate system is a spatial coordinate system established with a fixed component in the first device as the origin. Optionally, the first spatial coordinate system may be a spatial rectangular coordinate system, a cylindrical coordinate system, a spherical coordinate system, or other coordinate systems, which are not limited here.

[0132] Combine the following Fig. 7A and Figure 7B , taking the first spatial coordinate system as a spatial rectangular coordinate system as an example, and taking a=9, b=3, and b port identifiers as follows Figure 7B As shown in the figure. Fig. 7A As shown, the first spatial coordinate system is a coordinate system ijk established based on the first device #1. The first device #1 displays port identifiers on port 1, port 2, and port 3, and the port identifiers of the three ports are different. The first device does not display port identifiers on other ports. In this example, the first spatial position information of the b port identifiers includes the first spatial position information of the port identifier of port 1 (i.e. (i1, j1, k1)), the first spatial position information of the port identifier of port 2 (i.e. (i2, j2, k2)), and the first spatial position information of the port identifier of port 3 (i.e. (i3, j3, k3)). In addition, if the first device #1 determines to use port 4 to communicate with the second device #3, port 4 is the target port, and the first spatial position information of the target port is the position of port 4 in the first spatial coordinate system (i.e. coordinate system ijk), i.e. (i4, j4, k4).

[0133] It should be noted that in this embodiment, steps 601 to 602 are optional steps. When the relative spatial position information is manually pre-configured in the second device, steps 601 and 602 may not be performed, and step 603 may be directly performed.

[0134] Step 603: The first device displays b port identifiers.

[0135] Optionally, the first device displays b port identifiers based on the first spatial position information of the b port identifiers.

[0136] It should be understood that when the first device and the second device execute step 601 and step 602, there is no clear time sequence between step 603 and steps 601 to 602. For example, the first device may first display b port identifiers based on the first spatial position information of the b port identifiers, and then send the first spatial position information of the b port identifiers and the first spatial position information of the target port to the second device via a wireless communication connection. For another example, the first device may first send the first spatial position information of b port identifiers and the first spatial position information of the target port to the second device via a wireless communication connection, and then display the b port identifiers based on the first spatial position information of the b port identifiers. This is not limited here.

[0137] For the explanation of the first spatial position information of the b port identifiers, please refer to the relevant introduction in the above step 602, which will not be repeated here.

[0138] For example, taking the first spatial coordinate system as a spatial rectangular coordinate system, and taking a=9, b=3 as an example, the b port identifiers displayed by the first device are as follows: Fig. 7A shown.

[0139] Step 604: The second device obtains spatial position information of b port identifiers through a camera.

[0140] Specifically, the second device obtains the second spatial position information of b port identifiers through a camera.

[0141] The second spatial position information is used to indicate the position of the port identifier in the second spatial coordinate system established with the second device as the reference. The second spatial coordinate system is a spatial coordinate system established with the second device as the reference. For example, the second spatial coordinate system is a spatial coordinate system established with a fixed component in the second device as the origin. Optionally, the second spatial coordinate system can be a spatial rectangular coordinate system, a cylindrical coordinate system, a spherical coordinate system, or other coordinate system, which is not limited here.

[0142] The second spatial position information is determined by the second device based on an image (e.g., a two-dimensional image or a depth image) taken by a camera and parameters of the camera (e.g., focal length, etc.). Exemplarily, the camera may be a depth camera or other camera capable of calculating the coordinates of a spatial point, which is not limited here.

[0143] Combine the following Fig. 7A and Figure 7B , taking the second spatial coordinate system as a spatial rectangular coordinate system as an example, and taking a=9, b=3, and b port identifiers as follows Figure 7B As shown in the figure. Fig. 7A As shown, the second spatial coordinate system is a coordinate system xyz established based on the second device #3. The first device #1 displays port identifiers on port 1, port 2, and port 3, and the port identifiers of the three ports are different. The first device does not display port identifiers on other ports. In this example, the second spatial position information of each port identifier in the b port identifiers includes the second spatial position information of the port identifier of port 1 (i.e. (x1, y1, z1)), the second spatial position information of the port identifier of port 2 (i.e. (x2, y2, z2)), and the second spatial position information of the port identifier of port 3 (i.e. (x3, y3, z3)).

[0144] Step 605: The second device determines the spatial position information of the target port based on the spatial position information of the b port identifiers and the relative spatial position information.

[0145] The spatial position information of the target port includes the second spatial position information of the target port, that is, the position of the target port in the second spatial coordinate system. Optionally, the target port is different from any one of the b ports.

[0146] Specifically, the second device determines the second spatial position information of the target port based on the first spatial position information of the b port identifiers, the second spatial position information of the b port identifiers, and the first spatial position information of the target port.

[0147] Still Fig. 7A and Figure 7BTaking the example shown as an example, the second device #3 can obtain the coordinates of the port identification of port 1, the port identification of port 2 and the port identification of port 3 in the second space coordinate system (i.e., coordinate system xyz) through the camera device, i.e., (x1, y1, z1), (x2, y2, z2) and (x3, y3, z3). In addition, the second device #3 can obtain the coordinates of the port identification of port 1, the port identification of port 2, the port identification of port 3 and the port identification of port 4 in the first space coordinate system (i.e., coordinate system ijk) through wireless communication connection or pre-configuration, i.e., (i1, j1, k1), (i2, j2, k2), (i3, j3, k3) and (i4, j4, k4). Then, the second device #3 can obtain the coordinates (x4, y4, z4) of port 4 (i.e., the target port) in the second space coordinate system, i.e., the second space position information of the target port.

[0148] Step 606: The second device adjusts the alignment between the port of the second device and the target port based on the location information of the target port.

[0149] Specifically, the second device adjusts the alignment between the port of the second device and the target port based on the second spatial position information of the target port.

[0150] Since the second device is the reference of the second spatial coordinate system and the second spatial position information of the target port is the position in the second spatial coordinate system, the second device can adjust the alignment of the port of the second device with the target port based on the second spatial position information of the target port. After the port of the second device is aligned with the target port, the second device can communicate with the first device through free space laser based on the passive optical network PON protocol.

[0151] In this embodiment, when the first device displays b port identifiers on b ports among a ports, the second device can obtain the spatial position information of the b port identifiers through the camera device, and determine the spatial position information of the target port based on the spatial position information of the b port identifiers and the relative spatial position information already obtained by the second device, and then adjust the port of the second device to align with the target port based on the spatial position information of the target port. Since the second device can achieve port alignment between the first device and the second device through a smaller number of port identifiers configured by the first device, it is beneficial to reduce the number of port identifiers used in the communication system, thereby reducing the design difficulty of the port identifiers in the system.

[0152] In addition, the first device 01 and the second device 02 in the optical path alignment system provided by the present application can negotiate the port identification to be displayed before performing optical path alignment. Figure 8 This section describes the process of negotiating port IDs:

[0153] Step 801: A first device establishes a wireless communication connection with a second device.

[0154] In this embodiment, step 801 is similar to step 601. For details, please refer to the relevant introduction in the previous step 601, which will not be repeated here.

[0155] Step 802: The first device sends a priori information to the second device; correspondingly, the second device receives the priori information from the first device.

[0156] The a priori information is information used by the first device and the second device in the process of negotiating the port identifier. The a priori information can be understood as the port attribute and the port identifier attribute of the first device.

[0157] Optionally, the prior information includes at least one of the following: arrangement dimension information of the port identifier, at least one arrangement pattern information, the number of ports of the first device, and the port identifiers supported by the first device.

[0158] Among them, the arrangement dimension information is used to indicate the arrangement dimension supported by the b port identifiers displayed by the first device. The arrangement dimension information includes any one of a one-dimensional arrangement, a two-dimensional arrangement or a three-dimensional arrangement. If the arrangement dimension information is a one-dimensional arrangement, the b ports are any two ports among the a ports; if the arrangement dimension information is a two-dimensional arrangement, the b ports are any three non-collinear ports among the a ports; if the arrangement dimension information is a three-dimensional arrangement, the b ports are any four non-coplanar ports among the a ports. The second device determines the dimension according to which the b port identifiers displayed by the first device are arranged based on the received arrangement dimension information, so that the second device can obtain the second spatial position information of the b port identifiers more accurately and quickly based on the arrangement dimension of the b port identifiers.

[0159] The arrangement pattern information is used to indicate the first spatial position information of the b port identifiers displayed by the first device. The first spatial position information of the b port identifiers can also be called an arrangement pattern, and the arrangement pattern can be adjusted by adjusting at least one of the b port identifiers. The first device can send one or more arrangement pattern information to the second device.

[0160] Among them, the port identifier supported by the first device can be the number of the port identifier or the location information of the characteristic point contained in the port identifier. If the second device stores the correspondence between the number of the port identifier and the location information of the characteristic point contained in the port identifier, the first device can notify the second device of the port identifier supported by the first device in the form of the number of the port identifier, and the second device determines the location information of the characteristic point of each port identifier based on the number of the port identifier and the correspondence. In addition, the first device can also directly notify the second device of the location information of the characteristic point contained in the port identifier.

[0161] Optionally, the first device may encapsulate the a priori information in a frame structure of wireless communication and send it to the second device. In addition to the a priori information, the frame structure also includes address information of the first device and address information of the second device. Optionally, the address information may be a media access control (MAC) address or an internet protocol address (IP) address.

[0162] Exemplarily, the frame structure may be as shown in Table 1 below:

[0163] Table 1

[0164]

[0165] Since the wireless communication connection modes used between the first device and the second device are different, the specific implementation forms of the above frame structure are different.

[0166] Step 803: The second device sends first identification requirement information to the first device; correspondingly, the first device receives the first identification requirement information from the second device.

[0167] The first identification requirement information is an arrangement pattern of port identifications that the second device determines and expects the first device to use. Optionally, the first identification requirement information is used to indicate a first arrangement pattern used by the port of the first device.

[0168] Optionally, the second device determines the first identification requirement information based on at least one arrangement pattern information received. Exemplarily, if the at least one arrangement pattern information includes only one arrangement pattern information (e.g., the first arrangement pattern information), the second device learns based on the first arrangement pattern information that the first device displays b port identifications based on arrangement pattern 1. If the first device sends multiple arrangement pattern information to the second device (e.g., indicating arrangement pattern 1, arrangement pattern 2, and arrangement pattern 3), the second device can select one arrangement pattern from the multiple arrangement patterns as the first identification requirement information.

[0169] Step 804: The first device displays b port identifiers based on the first identifier requirement information.

[0170] After the first device receives the first identification requirement information sent by the second device, the first device may display b port identifications based on the first identification requirement information.

[0171] In addition, the second device may directly display the locally stored port identifier as the port identifier of the second device, and the second device may also negotiate with the first device about the port identifier used by the second device through the following steps 805 to 807.

[0172] In this embodiment, steps 805 to 807 are optional steps.

[0173] Step 805 , the second device sends the location information of the feature points supported by the port of the second device to the first device; correspondingly, the first device receives the location information of the feature points supported by the port of the second device from the second device.

[0174] The position information of the characteristic points supported by the port of the second device is used to indicate which characteristic points the second device can display, and thus the second device can display different port identifiers by displaying different characteristic points.

[0175] Step 806: The first device sends second identification requirement information to the second device; correspondingly, the second device receives the second identification requirement information from the first device.

[0176] The second identification requirement information is used to indicate the port identification used by the port of the second device. The second identification requirement information is the port identification determined by the first device and expected to be used by the second device.

[0177] Specifically, the first device determines the port identifier used by the second device based on the position of the feature point provided by the second device, and obtains the second identifier requirement information.

[0178] Step 807: The second device displays the port identifier of the port based on the second identifier requirement information.

[0179] After the second device receives the second identification requirement information sent by the first device, the second device may display the port identification based on the second identification requirement information.

[0180] In this embodiment, before executing the optical path alignment process, the first device and the second device can exchange various identification usage requirements through a wireless communication connection, so that the first device can display b port identifications as expected by the second device, and the second device can display port identifications as expected by the first device. This is conducive to improving the compatibility of the first device and the second device from different manufacturers, and improving the efficiency of the optical path alignment between the first device and the second device. In addition, it is also conducive to the first device to uniformly allocate port identifications used by multiple second devices, avoiding conflicts in port identifications used by different second devices, and improving the compatibility and robustness of the optical path alignment system.

[0181] In addition, before the first device 01 and the second device 02 in the optical path alignment system provided by the present application perform optical path alignment, the second device can detect whether each port of the first device can display the identification normally, that is, detect whether each feature point used to display the port identification in the first device is faulty, thereby avoiding using the identification containing the faulty feature point to affect the accuracy of the optical path alignment. Fig. 9The detection process is introduced as follows:

[0182] Step 901: A first device establishes a wireless communication connection with a second device.

[0183] In this embodiment, step 901 is similar to step 601. For details, please refer to the relevant introduction in the previous step 601, which will not be repeated here.

[0184] Step 902: The first device sends port test information to the second device; correspondingly, the second device receives the port test information from the first device.

[0185] The port test information is used to indicate starting the port test process. When the second device receives the port test information, the second device will start the port test process.

[0186] Optionally, the port test information includes location information of at least one test port and a test identifier to be displayed for each test port.

[0187] The position information of at least one test port is used to indicate which ports need to be measured in this test. Optionally, the position information of the test port can be represented by the position in the first spatial coordinate system. Figure 7B For example, if port 1 is a test port, the position information of the test port is (i1, j1, k1).

[0188] The test identification to be displayed on each test port may be indicated by an identification number, or may be indicated by location information of a feature point included in the test identification.

[0189] Exemplarily, if the test identification to be displayed for each test port is indicated by an identification number, the port test information may be as shown in the following Table 2-1:

[0190] Table 2-1

[0191] Test port location information Test mark (i1, j1, k1) Identification number 1 (i2, j2, k2) Identification number 2 (i3, j3, k3) Identification number 3 … …

[0192] In the example shown in Table 2-1, since the second device stores the correspondence between the identification number and the position information of the characteristic points contained in the test identification, after receiving the port test information shown in Table 2-1, the second device can determine which characteristic points the test identification is specifically composed of based on the identification number shown in Table 2-1 and the correspondence, and then determine which test identification the first device displays during the test.

[0193] Exemplarily, if the test mark to be displayed for each test port is indicated by the position information of the feature point contained in the test mark, the port test information may be as shown in the following Table 2-2:

[0194] Table 2-2

[0195]

[0196] In the example shown in Table 2-2, the test mark to be displayed on the test port is indicated by the position information of the characteristic points contained in the test mark. Taking the first row of Table 2-2 as an example, the test mark used by the test port located at (i1, j1, k1) is composed of characteristic points 1.1, 1.2 and 1.3. Among them, the coordinates of characteristic point 1.1 are (i11, j11, k11), the coordinates of characteristic point 1.2 are (i12, j12, k12), and the coordinates of characteristic point 1.3 are (i13, j13, k13). The second device can determine which test marks will be displayed by the first device during the test based on the position information of the characteristic points contained in the test mark.

[0197] Optionally, the port test information also includes the display time of each test port displaying the test identifier. The display time of each test port displaying the test identifier is used to indicate when the test port displays the test identifier. Optionally, the display time of different test identifiers can be the same or different. The specific value of the display time can be determined according to the shooting frequency of the camera device of the second device, and the present application does not limit the size of the display time.

[0198] Exemplarily, if the test identification to be displayed for each test port is indicated by an identification number, when the port test information also includes a display time, the port test information may be as shown in the following Table 2-3:

[0199] Table 2-3

[0200] Test port location information Test logo Display time (i1, j1, k1) Identification number 1 T1 (i2, j2, k2) Identification number 2 T2 (i3, j3, k3) Identification number 3 T3 … … …

[0201] It should be noted that the display times corresponding to different test ports can be the same or different. For example, when T1=T2=T3 in Table 2-3, the three test ports located at (i1, j1, k1), (i2, j2, k2) and (i3, j3, k3) will simultaneously display their corresponding port identifiers. In addition, by adjusting the display time, the order in which the test ports display port identifiers can be controlled. For example, T1=first second, T2=second second, T3=third second, then the test port located at (i1, j1, k1) is displayed at the first second, the test port located at (i2, j2, k2) is displayed at the second second, and the test port located at (i3, j3, k3) is displayed at the third second.

[0202] It should also be noted that when the port test information does not include the display time of the test identifier of the test port, the second device keeps the test identifier based on the location information of at least one test port and the test identifier to be displayed on each test port. That is, after receiving the port test information, the second device displays the corresponding port identifier based on the location information of at least one test port and the test identifier to be displayed on each test port.

[0203] Step 903: The second device obtains the port identifier displayed on the test port of the first device through a camera.

[0204] Optionally, if the port test information includes a display time of a test identifier displayed on the test port, the second device obtains the port identifier displayed on the test port of the first device at the display time through a camera.

[0205] After the second device captures the port identifier displayed on the test port of the first device through a camera device, the second device compares the port identifier captured by the camera device with the test identifier obtained through the test information. When the port identifier displayed on the test port is consistent with the test identifier, the second device executes step 904a; when the port identifier displayed on the test port is inconsistent with the test identifier, the second device executes step 904b.

[0206] It should be understood that if the display time of different test identifiers is different, the second device will perform multiple shots at multiple display times through the camera device, and compare the port identifier displayed on the test port with the test identifier after each shot. If the display time of different test identifiers is the same, that is, the first device displays the test identifiers of all test ports at the same time, the second device only performs one shot at the display time through the camera device, and compares the port identifiers displayed on multiple test ports in the obtained image with the multiple test identifiers obtained by the second device from the test information one by one.

[0207] In this embodiment, steps 904a to 906 are optional steps.

[0208] Step 904a: The second device sends first indication information to the first device; correspondingly, the first device receives the first indication information from the second device.

[0209] When the port identifier displayed by the test port is consistent with the test identifier, the second device sends first indication information to the first device.

[0210] The first indication information is used to indicate that there is no fault characteristic point on the test port, that is, the first indication information is used to indicate that there is no fault characteristic point among the multiple characteristic points corresponding to the test identifier displayed by the test port.

[0211] Optionally, the first indication information includes an identification number of the test identification and / or a port number of the test port. After receiving the first indication information, the first device can determine which test port does not have a fault characteristic point based on the identification number and / or the port number of the test port in the first indication information.

[0212] Step 904b: The second device determines the location information of the fault characteristic point.

[0213] When the port identifier displayed by the test port is inconsistent with the test identifier, the second device determines the location information of the fault characteristic point. Exemplarily, the second device compares each characteristic point included in the port identifier displayed by the test port with each characteristic point included in the test identifier one by one, and then determines the location information of the fault characteristic point.

[0214] After the second device determines the location information of the fault characteristic point, the second device will notify the first device of the location information of the fault characteristic point in an explicit or implicit manner. Specifically, the second device may only perform step 905a, may only perform step 905b, or may perform both step 905a and step 905b.

[0215] Step 905a: The second device sends third identification requirement information to the first device; correspondingly, the first device receives the third identification requirement information from the second device.

[0216] The third identification requirement information is used to indicate a second arrangement pattern consisting of a plurality of port identifications to be displayed on the ports of the first device, and a feature point included in any port identification in the second arrangement pattern does not include a fault feature point.

[0217] In this step, the second device notifies the first device of the location information of the fault feature point in an implicit manner.

[0218] Step 905b: The second device sends second indication information to the first device; correspondingly, the first device receives the second indication information from the second device.

[0219] The second indication information is used to indicate the location information of the fault characteristic point.

[0220] In this step, the second device notifies the first device of the location information of the fault feature point by display.

[0221] In one example, when the test port of the first device uses a passive identifier (e.g., a checkerboard), that is, the identifier used by the test port cannot be changed, the second device sends a second indication message to the first device to notify that the passive identifier has a fault. In this example, since the port identifier of the first device cannot be changed, the first device does not perform step 906.

[0222] In another example, when the test port of the first device uses an active identifier (for example, an identifier composed of multiple LEDs), that is, the identifier used by the test port can be changed, after the first device receives the second indication information from the second device, the first device will also execute step 906.

[0223] Step 906: The first device determines a third arrangement pattern based on the second indication information.

[0224] Among them, the characteristic points of the third arrangement pattern do not include fault characteristic points.

[0225] After the first device receives the second indication information from the second device, the first device can determine a third arrangement pattern that does not include the fault feature point based on the second indication information. For example, the first device selects an arrangement pattern that does not include the fault feature point from a preset arrangement pattern as the third arrangement pattern, or the first device generates a third arrangement pattern that does not include the fault feature point based on the position of the fault feature point.

[0226] In this embodiment, the second device can know when and which test port of the first device displays which test identifier based on the port test information received from the first device. Then, the second device can obtain the port identifier displayed by the test port of the first device through the camera at the display time, and compare the port identifier displayed by the test port photographed by the camera with the test identifier of the test port indicated by the test information to determine whether there is a fault feature point in the feature points contained in the port identifier displayed by the test port, and then notify the first device of the location information of the fault feature point in an explicit manner (i.e., the second indication information) or an implicit manner (i.e., the third identifier requirement information). This is beneficial for the first device to avoid displaying the port identifier involving the fault feature point when displaying the port identifier, and is beneficial for improving the accuracy and efficiency of the optical path alignment between the first device and the second device, and improving the robustness of the optical path alignment system.

[0227] In addition, if Fig.10 As shown, the present application also provides a device 100, Fig.10 The schematic diagram of the structure of the device 100 provided in this application. The device 100 may be Figure 2 The first device 01 introduced may also be Figure 2 The second device 02 described above Figure 6 , Figure 8 or Fig. 9 The first device or the second device in the corresponding embodiment can be based on the Fig.10 The structure of the device 100 is shown.

[0228] like Fig.10As shown, the device 100 may include a processor 1010, a memory 1020, and a transceiver 1030. The processor 1010 is coupled to the memory 1020, and the processor 1010 is coupled to the transceiver 1030.

[0229] Among them, the aforementioned transceiver 1030 may also be referred to as a transceiver unit, a transceiver, a transceiver device, etc. Optionally, the device used to implement the receiving function in the transceiver unit may be regarded as a receiving unit, and the device used to implement the sending function in the transceiver unit may be regarded as a sending unit, that is, the transceiver unit includes a receiving unit and a sending unit, and the receiving unit may also be referred to as a receiver, an input port, a receiving circuit, etc., and the sending unit may be referred to as a transmitter, a transmitter, or a transmitting circuit, etc. In the present application, the transceiver 1030 may be an optical module for receiving and receiving optical signals. The optical module may be an optical module supporting NB-OWC, CA-OWC, OCC, or Li-Fi. For example, the transceiver 1030 is capable of transmitting free air lasers and receiving free space lasers. In addition, the transceiver 1030 may also be a wireless transceiver supporting Wi-Fi, Bluetooth, or ZigBee, and is capable of exchanging information with other devices through wireless communication connections. For example, the relative spatial position information, a priori information, identification requirement information, and port test information described above. Please refer to the relevant introduction in the aforementioned embodiment for details, which will not be repeated here.

[0230] The processor 1010 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof. The processor 1010 may refer to one processor or may include multiple processors, which are not specifically limited here. The processor 1010 may perform functions such as image detection, image processing, and spatial coordinate calculation.

[0231] In addition, the aforementioned memory 1020 is mainly used to store software programs and data. The memory 1020 may exist independently and be connected to the processor 1010. Optionally, the memory 1020 may be integrated with the processor 1010, for example, integrated into one or more chips. Among them, the memory 1020 can store program codes for executing the technical solutions of the embodiments of the present application, and is controlled and executed by the processor 1010, and the various types of computer program codes executed can also be regarded as drivers of the processor 1010. The memory 1020 may include volatile memory (volatile memory), such as random-access memory (random-access memory, RAM); the memory may also include non-volatile memory (non-volatile memory), such as read-only memory (read-only memory, ROM), flash memory (flash memory), hard disk drive (hard disk drive, HDD) or solid-state drive (solid-state drive, SSD); the memory 1020 may also include a combination of the above-mentioned types of memory. The memory 1020 may refer to one memory or may include multiple memories. Exemplarily, the memory 1020 is used to store the relative spatial position information, prior information, identification requirement information, port test information, etc., which are described above. Please refer to the relevant introduction in the above embodiments for details, which will not be described here.

[0232] In one implementation, the memory 1020 stores computer-readable instructions, which include multiple software modules, such as a display module 1021, a processing module 1022, and a wireless communication module 1023. After executing each software module, the processor 1010 can perform corresponding operations according to the instructions of each software module. In this embodiment, the operation performed by a software module actually refers to the operation performed by the processor 1010 according to the instructions of the software module.

[0233] Exemplarily, when the device 100 is used to implement the function of the first device, the display module 1021 in the device 100 is used to display b port identifiers, where b is an integer greater than 1 and less than a.

[0234] In a possible implementation, the processing module 1022 is used to obtain first spatial position information of b port identifiers, where the first spatial position information is used to indicate the position of the port identifier in a first spatial coordinate system established based on the first device. The display module 1021 is specifically used to display the b port identifiers based on the first spatial position information of the b port identifiers.

[0235] In a possible implementation, the b ports identify any two ports among the a ports; or, the b ports identify any three non-collinear ports among the a ports; or, the b ports identify any four non-coplanar ports among the a ports.

[0236] In a possible implementation manner, the target port is different from any one of the b ports.

[0237] In a possible implementation manner, the b port identifiers are different from each other, each port identifier is formed by an arrangement of a plurality of characteristic points, and the characteristic points in different port identifiers are arranged in different ways.

[0238] In one possible implementation, the wireless communication module 1023 is used to establish a wireless communication connection with a second device and send relative spatial position information to the second device, wherein the relative spatial position information includes first spatial position information of b port identifiers and first spatial position information of the target port, and the first spatial position information is used to indicate the spatial position of the port identifier or port in a first spatial coordinate system established with the first device as a reference.

[0239] In a possible implementation, the wireless communication module 1023 is further used to send arrangement dimension information of the port identifiers to the second device, where the arrangement dimension information is used to indicate the arrangement dimensions supported by the b port identifiers displayed by the first device.

[0240] Optionally, the arrangement dimension information includes any one of a one-dimensional arrangement, a two-dimensional arrangement, or a three-dimensional arrangement;

[0241] If the arrangement dimension information is a one-dimensional arrangement, the b port identifiers are located at any two ports among the a ports; or,

[0242] If the arrangement dimension information is a two-dimensional arrangement, the b port identifiers are any three non-collinear ports among the a ports; or,

[0243] If the arrangement dimension information is a three-dimensional arrangement, the b port identifiers are any four non-coplanar ports among the a ports.

[0244] In a possible implementation, the wireless communication module 1023 is also used to send at least one of the following items to the second device: at least one arrangement pattern information, the arrangement pattern information is used to indicate the first spatial position information of b port identifiers displayed by the first device, at least one arrangement pattern information includes a first arrangement pattern, and the first arrangement pattern is used to indicate the first spatial position information of b port identifiers; port identifiers supported by the first device.

[0245] In a possible implementation, the wireless communication module 1023 is further configured to receive first identification requirement information from the second device, where the first identification requirement information is used to indicate a first arrangement pattern used by a port of the first device.

[0246] In a possible implementation, the wireless communication module 1023 is also used to: receive location information of characteristic points supported by a port of the second device from a second device; send second identification requirement information to the second device, the second identification requirement information being used to indicate a port identifier used by the port of the second device, the second identification requirement information being determined by the first device based on the location information of characteristic points supported by the port of the second device.

[0247] In a possible implementation, the wireless communication module 1023 is also used to: send port test information to the second device, the port test information is used to indicate the start of the port test process; receive and send first indication information from the second device, the first indication information is used to indicate that there is no fault characteristic point on the test port; or, receive third identification requirement information from the second device, the third identification requirement information is used to indicate a second arrangement pattern composed of multiple port identifications to be displayed on the port of the first device, and the characteristic points contained in any one of the port identifications in the second arrangement pattern do not include fault characteristic points; or, receive second indication information from the first device, the second indication information is used to indicate location information of the fault characteristic point, and the second indication information is used for the processing module to determine the third arrangement pattern, and the characteristic points of the third arrangement pattern do not include fault characteristic points.

[0248] Optionally, the port test information includes location information of at least one test port and a test identifier to be displayed for each test port.

[0249] Optionally, the port test information also includes the display time of the test mark displayed on each test port.

[0250] The rest can be referenced Figure 6 , Figure 8 or Fig. 9 The method related to the first device in the corresponding embodiment will not be repeated here.

[0251] Exemplarily, when the device 100 is used to function as a second device, the processing module 1022 in the device 100 is used to obtain, through a camera, spatial position information of b port identifiers displayed by the first device; and, based on the spatial position information of the b port identifiers and relative spatial position information, determine the spatial position information of the target port, wherein the relative spatial position information is used to indicate the spatial position of the target port relative to the b port identifiers; the processing module 1022 is also used to adjust the alignment of the port of the second device with the target port based on the spatial position information of the target port.

[0252] In a possible implementation, the relative spatial position information includes first spatial position information of b port identifiers and first spatial position information of a target port, the first spatial position information being used to indicate the spatial position of the port identifier or port in a first spatial coordinate system established with the first device as a reference; the spatial position information of the b port identifiers includes second spatial position information of the b port identifiers, the second spatial position information being used to indicate the spatial position of the port identifier in a second spatial coordinate system established with the second device as a reference; the spatial position information of the target port includes the second spatial position information of the target port; and a processing module is specifically used to determine the second spatial position information of the target port based on the second spatial position information of the b port identifiers, the first spatial position information of the b port identifiers, and the first spatial position information of the target port.

[0253] In a possible implementation, the b ports identify any two ports among the a ports; or, the b ports identify any three non-collinear ports among the a ports; or, the b ports identify any four non-coplanar ports among the a ports.

[0254] In a possible implementation manner, the target port is different from any one of the b ports.

[0255] In a possible implementation manner, the b port identifiers are different from each other, each port identifier is formed by an arrangement of a plurality of characteristic points, and the characteristic points in different port identifiers are arranged in different ways.

[0256] In a possible implementation, the wireless communication module 1023 is used to establish a wireless communication connection with the first device and receive relative spatial position information from the first device.

[0257] In a possible implementation, the wireless communication module 1023 is further used to receive arrangement dimension information of the port identifiers from the first device, where the arrangement dimension information is used to indicate the arrangement dimensions supported by the b port identifiers displayed by the first device.

[0258] Optionally, the arrangement dimension information includes any one of a one-dimensional arrangement, a two-dimensional arrangement, or a three-dimensional arrangement;

[0259] If the arrangement dimension information is a one-dimensional arrangement, the b port identifiers are located at any two ports among the a ports; or,

[0260] If the arrangement dimension information is a two-dimensional arrangement, the b port identifiers are any three non-collinear ports among the a ports; or,

[0261] If the arrangement dimension information is a three-dimensional arrangement, the b port identifiers are any four non-coplanar ports among the a ports.

[0262] In a possible implementation, the wireless communication module 1023 is also used to receive at least one of the following items from the first device: at least one arrangement pattern information, the arrangement pattern information is used to indicate the first spatial position information of b port identifiers displayed by the first device, at least one arrangement pattern information includes a first arrangement pattern, the first arrangement pattern is used to indicate the first spatial position information of b port identifiers; port identifiers supported by the first device.

[0263] In a possible implementation, the wireless communication module 1023 is further configured to send first identification requirement information to the first device based on at least one arrangement pattern information, where the first identification requirement information is used to indicate a first arrangement pattern used by a port of the first device.

[0264] In a possible implementation, the wireless communication module 1023 is also used to: send location information of characteristic points supported by the port of the second device to the first device; receive second identification requirement information from the first device, the second identification requirement information is used to indicate the port identification used by the port of the second device, the second identification requirement information is determined by the first device based on the location information of characteristic points supported by the port of the second device; the processing module is also used to display the port identification of the port based on the second identification requirement information.

[0265] In a possible implementation, the wireless communication module 1023 is also used to receive port test information from the first device, and the port test information is used to indicate the start of the port test process; the processing module 1022 is also used to obtain the port identifier displayed on the test port of the first device through a camera device; when the port identifier displayed on the test port is consistent with the test identifier, the wireless communication module is controlled to send first indication information to the first device, and the first indication information is used to indicate that there is no fault characteristic point on the test port; when the port identifier displayed on the test port is inconsistent with the test identifier, the location information of the fault characteristic point is determined.

[0266] Optionally, the port test information includes location information of at least one test port and a test identifier to be displayed for each test port.

[0267] Optionally, the port test information also includes the display time of the test mark displayed on each test port.

[0268] In a possible implementation, the wireless communication module 1023 is also used to send third identification requirement information to the first device, and the third identification requirement information is used to indicate a second arrangement pattern consisting of multiple port identifications to be displayed on the ports of the first device, and the characteristic points contained in any port identification in the second arrangement pattern do not contain fault characteristic points.

[0269] In a possible implementation, the wireless communication module 1023 is further used to send second indication information to the first device, where the second indication information is used to indicate location information of the fault characteristic point; and receive a third arrangement pattern from the first device, where the characteristic points of the third arrangement pattern do not include the fault characteristic point.

[0270] The rest can be referenced Figure 6 , Figure 8 or Fig. 9 The method related to the second device in the corresponding embodiment will not be repeated here.

[0271] In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in a processor or an instruction in the form of software. The steps of the method disclosed in conjunction with the embodiment of the present application can be directly embodied as a hardware processor for execution, or a combination of hardware and software modules in a processor for execution. The software module can be located in a storage medium mature 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. The storage medium is located in a memory, and the processor reads the information in the memory and completes the steps of the above method in conjunction with its hardware. To avoid repetition, it is not described in detail here.

[0272] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0273] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. An optical path alignment system, characterized in that: include: A first device and at least one second device, the first device having a ports, different ports among the a ports being used to communicate with different second devices via laser signals, each of the second devices having a port for communicating with the first device via laser signals, the first device comprising a target port for communicating with the second device, and a being an integer greater than 2; The first device is used to display b port identifiers, where b is an integer greater than 1 and less than a; The second device is used to obtain the spatial position information of the b port identifiers through a camera device; and determining the spatial position information of the target port based on the spatial position information and relative spatial position information of the b port identifiers, wherein the relative spatial position information is used to indicate the spatial position of the target port relative to the b port identifiers; The second device is further used to adjust the alignment between the port of the second device and the target port based on the spatial position information of the target port.

2. The optical path alignment system according to claim 1, characterized in that: The relative spatial position information includes first spatial position information of the b port identifiers and first spatial position information of the target port, the first spatial position information being used to indicate the spatial position of the port identifier or port in a first spatial coordinate system established with the first device as a reference; the spatial position information of the b port identifiers includes second spatial position information of the b port identifiers, the second spatial position information being used to indicate the spatial position of the port identifier in a second spatial coordinate system established with the second device as a reference; the spatial position information of the target port includes the second spatial position information of the target port; The second device is specifically configured to determine the second spatial position information of the target port based on the second spatial position information of the b port identifiers, the first spatial position information of the b port identifiers, and the first spatial position information of the target port.

3. The optical path alignment system according to claim 1 or 2, characterized in that: The b port identifiers are located at any two ports among the a ports; or, The b ports identify any three non-collinear ports among the a ports; or, The b ports identify any four non-coplanar ports among the a ports.

4. The optical path alignment system according to any one of claims 1 to 3, characterized in that: The target port is different from any one of the b ports.

5. The optical path alignment system according to any one of claims 1 to 4, characterized in that: The b port identifiers are different from each other, each port identifier is formed by an arrangement of a plurality of characteristic points, and the characteristic points in different port identifiers are arranged in different ways.

6. The optical path alignment system according to any one of claims 1 to 5, characterized in that: The second device is further configured to communicate with the first device through a free space laser based on a passive optical network (PON) protocol after a port of the second device is aligned with the target port.

7. The optical path alignment system according to any one of claims 1 to 6, characterized in that: The first device is further configured to establish a wireless communication connection with the second device; The first device is further used to send the relative spatial position information to the second device.

8. The optical path alignment system according to claim 7, characterized in that: The first device is further used to send arrangement dimension information of the port identifier to the second device, where the arrangement dimension information is used to indicate the arrangement dimensions supported by the b port identifiers displayed by the first device.

9. The optical path alignment system according to claim 8, characterized in that: The arrangement dimension information includes any one of a one-dimensional arrangement, a two-dimensional arrangement or a three-dimensional arrangement; If the arrangement dimension information is a one-dimensional arrangement, the b port identifiers are located at any two ports among the a ports; or, If the arrangement dimension information is a two-dimensional arrangement, the b port identifiers are any three non-collinear ports among the a ports; or, If the arrangement dimension information is a three-dimensional arrangement, the b port identifiers are any four non-coplanar ports among the a ports.

10. The optical path alignment system according to any one of claims 7 to 9, characterized in that: The first device is further configured to send at least one of the following items to the second device: at least one arrangement pattern information, the arrangement pattern information being used to indicate first spatial position information of b port identifiers displayed by the first device, the at least one arrangement pattern information comprising a first arrangement pattern, the first arrangement pattern being used to indicate the first spatial position information of the b port identifiers; The port identifiers supported by the first device.

11. The optical path alignment system according to claim 10, characterized in that: The second device is further used to send first identification requirement information to the first device based on the at least one arrangement pattern information, where the first identification requirement information is used to indicate the first arrangement pattern used by the port of the first device.

12. The optical path alignment system according to claim 10, characterized in that: The second device is further used to send location information of feature points supported by a port of the second device to the first device; The first device is further used to send second identification requirement information to the second device, where the second identification requirement information is used to indicate a port identification used by a port of the second device, and the second identification requirement information is determined by the first device based on location information of a feature point supported by the port of the second device; The second device is further configured to display the port identifier of the port based on the second identifier requirement information.

13. The optical path alignment system according to claim 11 or 12, characterized in that: The first device is further used to send port test information to the second device, where the port test information is used to indicate starting a port test process; The second device is further configured to obtain, through the camera device, a port identifier displayed on the test port of the first device; When the port identifier displayed on the test port is consistent with the test identifier, first indication information is sent to the first device, and the first indication information is used to indicate that there is no fault characteristic point on the test port; when the port identifier displayed on the test port is inconsistent with the test identifier, the location information of the fault characteristic point is determined.

14. The optical path alignment system according to claim 13, characterized in that: The port test information includes location information of at least one test port and a test mark to be displayed for each test port.

15. The optical path alignment system according to claim 14, characterized in that: The port test information also includes a display time for each of the test ports to display the test mark.

16. The optical path alignment system according to any one of claims 13 to 15, characterized in that: The second device is also used to send third identification requirement information to the first device, and the third identification requirement information is used to indicate a second arrangement pattern composed of multiple port identifications to be displayed on the ports of the first device, and the characteristic points contained in any port identification in the second arrangement pattern do not contain the fault characteristic point.

17. The optical path alignment system according to any one of claims 13 to 15, characterized in that: The second device is further used to send second indication information to the first device, where the second indication information is used to indicate location information of the fault characteristic point; The first device is further used to determine a third arrangement pattern based on the second indication information, and the characteristic points of the third arrangement pattern do not include the fault characteristic point.

18. A first device, the first device is used in an optical path alignment system, the optical path alignment system comprises the first device and at least one second device, the first device has a ports, different ports among the a ports are used to communicate with different second devices via laser signals, each second device has a port for communicating with the first device via laser signals, the first device comprises a target port for communicating with the second device, a is an integer greater than 2, characterized in that, include: The display module is used to display b port identifiers, where b is an integer greater than 1 and less than a.

19. The first device according to claim 18, characterized in that The first device also includes a processing module; The processing module is used to obtain first spatial position information of b port identifiers, where the first spatial position information is used to indicate the positions of the port identifiers in a first spatial coordinate system established based on the first device; The display module is specifically configured to display b port identifiers based on the first spatial position information of the b port identifiers.

20. The first device according to claim 18 or 19, characterized in that The b port identifiers are located at any two ports among the a ports; or, The b ports identify any three non-collinear ports among the a ports; or, The b ports identify any four non-coplanar ports among the a ports.

21. The first device according to any one of claims 18 to 20, characterized in that The target port is different from any one of the b ports.

22. The first device according to any one of claims 18 to 21, characterized in that The b port identifiers are different from each other, each port identifier is formed by an arrangement of a plurality of characteristic points, and the characteristic points in different port identifiers are arranged in different ways.

23. The first device according to any one of claims 18 to 22, characterized in that The first device also includes a wireless communication module; The wireless communication module is used to establish a wireless communication connection with the second device and send relative spatial position information to the second device, wherein the relative spatial position information includes the first spatial position information of the b port identifiers and the first spatial position information of the target port, and the first spatial position information is used to indicate the spatial position of the port identifier or port in a first spatial coordinate system established with the first device as a reference.

24. The first device according to claim 23, characterized in that The wireless communication module is further used to send arrangement dimension information of the port identifier to the second device, where the arrangement dimension information is used to indicate the arrangement dimensions supported by the b port identifiers displayed by the first device.

25. The first device according to claim 24, characterized in that The arrangement dimension information includes any one of a one-dimensional arrangement, a two-dimensional arrangement or a three-dimensional arrangement; If the arrangement dimension information is a one-dimensional arrangement, the b port identifiers are located at any two ports among the a ports; or, If the arrangement dimension information is a two-dimensional arrangement, the b port identifiers are any three non-collinear ports among the a ports; or, If the arrangement dimension information is a three-dimensional arrangement, the b port identifiers are any four non-coplanar ports among the a ports.

26. The first device according to any one of claims 24 to 25, characterized in that The wireless communication module is further configured to send at least one of the following to the second device: at least one arrangement pattern information, the arrangement pattern information being used to indicate first spatial position information of b port identifiers displayed by the first device, the at least one arrangement pattern information comprising a first arrangement pattern, the first arrangement pattern being used to indicate the first spatial position information of the b port identifiers; The port identifiers supported by the first device.

27. The first device according to claim 26, characterized in that The wireless communication module is further used to receive first identification requirement information from the second device, where the first identification requirement information is used to indicate the first arrangement pattern used by the port of the first device.

28. The first device according to claim 27, characterized in that The wireless communication module is further used for: receiving, from the second device, location information of a feature point supported by a port of the second device; Second identification requirement information is sent to the second device, where the second identification requirement information is used to indicate a port identification used by a port of the second device, and the second identification requirement information is determined by the first device based on location information of a feature point supported by the port of the second device.

29. The first device according to claim 27 or 28, characterized in that The wireless communication module is further used for: Sending port test information to the second device, where the port test information is used to indicate starting a port test process; A first indication message is received and sent from the second device, wherein the first indication message is used to indicate that there is no fault characteristic point on the test port; or, a third identification requirement message is received from the second device, wherein the third identification requirement message is used to indicate a second arrangement pattern consisting of multiple port identifications to be displayed on the port of the first device, wherein a characteristic point included in any one of the port identifications in the second arrangement pattern does not include the fault characteristic point; or, a second indication message is received from the first device, wherein the second indication message is used to indicate location information of the fault characteristic point, and the second indication message is used by the processing module to determine a third arrangement pattern, wherein the characteristic points of the third arrangement pattern do not include the fault characteristic point.

30. The first device according to claim 29, characterized in that The port test information includes location information of at least one test port and a test mark to be displayed for each test port.

31. The first device according to claim 30, characterized in that The port test information also includes a display time for each of the test ports to display the test mark.

32. A second device, the second device is used in an optical path alignment system, the optical path alignment system comprises a first device and at least one second device, the first device has a number of ports, different ports among the a number of ports are used to communicate with different second devices via laser signals, each second device has a port for communicating with the first device via laser signals, the first device comprises a target port for communicating with the second device, a is an integer greater than 2, characterized in that: include: A processing module, configured to obtain, through a camera device, spatial position information of b port identifiers displayed by the first device; and determining the spatial position information of the target port based on the spatial position information and relative spatial position information of the b port identifiers, wherein the relative spatial position information is used to indicate the spatial position of the target port relative to the b port identifiers; The processing module is further configured to adjust the alignment between the port of the second device and the target port based on the spatial position information of the target port.

33. The second device according to claim 32, characterized in that The relative spatial position information includes first spatial position information of the b port identifiers and first spatial position information of the target port, the first spatial position information being used to indicate the spatial position of the port identifier or port in a first spatial coordinate system established with the first device as a reference; the spatial position information of the b port identifiers includes second spatial position information of the b port identifiers, the second spatial position information being used to indicate the spatial position of the port identifier in a second spatial coordinate system established with the second device as a reference; the spatial position information of the target port includes the second spatial position information of the target port; The processing module is specifically configured to determine the second spatial position information of the target port based on the second spatial position information of the b port identifiers, the first spatial position information of the b port identifiers, and the first spatial position information of the target port.

34. The second device according to claim 32 or 33, characterized in that The b port identifiers are located at any two ports among the a ports; or, The b ports identify any three non-collinear ports among the a ports; or, The b ports identify any four non-coplanar ports among the a ports.

35. The second device according to any one of claims 32 to 34, characterized in that The target port is different from any one of the b ports.

36. The second device according to any one of claims 32 to 35, characterized in that The b port identifiers are different from each other, each port identifier is formed by an arrangement of a plurality of characteristic points, and the characteristic points in different port identifiers are arranged in different ways.

37. The second device according to any one of claims 32 to 36, characterized in that The second device also includes a wireless communication module; The wireless communication module is used to establish a wireless communication connection with the first device and receive the relative spatial position information from the first device.

38. The second device according to claim 37, characterized in that The wireless communication module is further used to receive arrangement dimension information of the port identifier from the first device, where the arrangement dimension information is used to indicate the arrangement dimensions supported by the b port identifiers displayed by the first device.

39. The second device according to claim 38, characterized in that The arrangement dimension information includes any one of a one-dimensional arrangement, a two-dimensional arrangement or a three-dimensional arrangement; If the arrangement dimension information is a one-dimensional arrangement, the b port identifiers are located at any two ports among the a ports; or, If the arrangement dimension information is a two-dimensional arrangement, the b port identifiers are any three non-collinear ports among the a ports; or, If the arrangement dimension information is a three-dimensional arrangement, the b port identifiers are any four non-coplanar ports among the a ports.

40. The second device according to any one of claims 37 to 39, characterized in that The wireless communication module is further configured to receive at least one of the following from the first device: at least one arrangement pattern information, the arrangement pattern information being used to indicate first spatial position information of b port identifiers displayed by the first device, the at least one arrangement pattern information comprising a first arrangement pattern, the first arrangement pattern being used to indicate the first spatial position information of the b port identifiers; The port identifiers supported by the first device.

41. The second device according to claim 40, characterized in that The wireless communication module is further used to send first identification requirement information to the first device based on the at least one arrangement pattern information, where the first identification requirement information is used to indicate the first arrangement pattern used by the port of the first device.

42. The second device according to claim 40, characterized in that The wireless communication module is further used for: Sending location information of feature points supported by a port of the second device to the first device; receiving second identification requirement information from the first device, where the second identification requirement information is used to indicate a port identification used by a port of the second device, and the second identification requirement information is determined by the first device based on location information of a feature point supported by the port of the second device; The processing module is further configured to display the port identification of the port based on the second identification requirement information.

43. The second device according to claim 41 or 42, characterized in that The wireless communication module is further used to receive port test information from the first device, where the port test information is used to indicate starting a port test process; The processing module is also used to obtain the port identifier displayed on the test port of the first device through the camera device; when the port identifier displayed on the test port is consistent with the test identifier, control the wireless communication module to send first indication information to the first device, and the first indication information is used to indicate that there is no fault characteristic point on the test port; when the port identifier displayed on the test port is inconsistent with the test identifier, determine the location information of the fault characteristic point.

44. The second device according to claim 43, characterized in that The port test information includes location information of at least one test port and a test mark to be displayed for each test port.

45. The second device according to claim 44, characterized in that The port test information also includes a display time for each of the test ports to display the test mark.

46. ​​The second device according to any one of claims 43 to 45, characterized in that The wireless communication module is also used to send third identification requirement information to the first device, and the third identification requirement information is used to indicate a second arrangement pattern composed of multiple port identifications to be displayed on the ports of the first device, and the characteristic points contained in any port identification in the second arrangement pattern do not contain the fault characteristic point.

47. The second device according to any one of claims 43 to 45, characterized in that The wireless communication module is further used to send second indication information to the first device, where the second indication information is used to indicate location information of the fault feature point; and receive a third arrangement pattern from the first device, where the feature points of the third arrangement pattern do not include the fault feature point.