Communication port management method and related equipment
By generating an overall port information matrix and using characteristic tags to determine the location of communication ports, the problem of difficult port label identification in optical distribution networks is solved, and management efficiency and accuracy are improved.
Patent Information
- Application Number
- CN202110414998.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-17
- Publication Date
- 2025-09-12
- Estimated Expiration
- 2041-04-17
Smart Images

Figure CN115225985B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a communication port management method and related equipment. Background Art
[0002] In optical distribution networks (ODNs), the high-density layout of passive devices such as optical distribution frames (ODFs) and optical distribution terminals (FDTs) requires information-based management of port resources. However, due to the small size and high density of communication ports within fiber optic subracks, as well as the small size of the port labels attached to them, accurate identification of the relative position and port identification of each communication port on the fiber optic subrack in this high-density and complex fiber network environment is impossible, impacting the efficiency of communication port management. Summary of the Invention
[0003] The embodiments of the present application provide a communication port management method and related devices, which can improve the accuracy of communication port positioning and improve the efficiency of communication port management.
[0004] In a first aspect, embodiments of the present application provide a communication port management method that can be applied to electronic devices or components within electronic devices, such as chips and processors. The method is used to manage multiple communication ports on a communication device connection panel, each of which is accompanied by a port label identifying the port. The method comprises: obtaining at least two partial images of the communication device connection panel, each of which corresponds to a local area of the communication device connection panel; generating an overall port information matrix for the communication device connection panel based on the at least two partial images, the overall port information matrix representing the port identifier of each of the multiple communication ports and the relative position of each communication port within the overall area of the communication device connection panel; and managing the communication ports based on the overall port information matrix. By capturing a local area of the communication device connection panel, the clarity of the local image is improved, thereby improving the accuracy of communication port identification when generating the overall port information matrix for the communication device connection panel based on the local image. The method enables management of the communication ports in the communication device connection panel using the overall port information matrix, thereby improving the efficiency of communication port management.
[0005] In one possible design, a corresponding local port information matrix is generated for each partial image, resulting in at least two local port information matrices. Each local port information matrix represents the port identifier of each communication port in the corresponding local area and its relative position within the corresponding local area. Based on the at least two local port information matrices, an overall port information matrix is generated. By fusing the local port information matrices to generate the overall port information matrix, communication ports within the overall area can be identified using multiple local areas, improving information processing accuracy.
[0006] In another possible design, the relative position of each local area is determined, where the relative position of each local area corresponds to each port information matrix within the communication device connection panel. Based on the relative position of each local area and the relative position of each communication port within the local area corresponding to each port information matrix, the relative position of each communication port within the overall area of the communication device connection panel is determined. The relative position of each communication port within the overall area is determined based on the relative position of each local area and the relative position of each communication port within the local area, thereby improving the accuracy of communication port positioning.
[0007] In another possible design, the relative position of each local area is determined based on the relative position of each local image input by the user. By determining the relative position of each local area based on the relative position of each local image, the relative position of each communication port within the overall area is further determined, thereby improving the accuracy of communication port positioning.
[0008] In another possible design, the relative position of each local area is determined based on identification information of at least one characteristic marker. By using the identification information of the characteristic marker to determine the relative position of each local area, the relative position of each communication port within the overall area is further determined, thereby improving the accuracy of communication port positioning.
[0009] In another possible design, the relative position of each local area is determined based on the relative position of at least one characteristic marker within the overall area, as input by the user. The relative position of each local area is determined based on the relative position of the characteristic marker within the overall area, and the relative position of each communication port within the overall area is then determined, thereby improving the accuracy of communication port positioning.
[0010] In another possible design, the relative position of each local area is determined based on the arrangement characteristics of the port identifiers in each local port information matrix. This determination of the relative position of each local area, and thus the relative position of each communication port within the overall area, improves the accuracy of communication port positioning.
[0011] In another possible design, in the at least two partial images, there is an overlapping area between the partial area corresponding to the first partial image and the partial area corresponding to the second partial image.
[0012] In another possible design, duplicate port identifiers of communication ports and their relative positions within the overall area of the communication device connection panel are removed from at least two local port information matrices. This removal of duplicate information ensures the accuracy of the overall port information matrix synthesized from the at least two local port information matrices.
[0013] In another possible design, multiple preview images of the connection panel of the communication device are obtained; when the characteristic marker is detected, a partial image in which the characteristic marker is identifiable is selected from the multiple preview images. The characteristic marker is used to divide the local area, thereby ensuring the quality of the captured partial image.
[0014] In another possible design, while capturing a connection panel of a communication device, the image quality of multiple preview frames is determined. Based on the image quality, a prompt message is displayed to prompt the user to control the shooting speed and distance. By analyzing the image quality and providing prompts to the user, the quality of the captured partial image is guaranteed.
[0015] In another possible design, multiple partial images are captured for each local area, and a first partial image having a clarity greater than a preset threshold is selected from the multiple partial images. By selecting the partial image having a clarity greater than the preset threshold for recognition, image recognition accuracy is ensured.
[0016] In another possible design, a second partial image is reselected from the multiple partial images; a corresponding local port information matrix is regenerated based on the second partial image; and the port identifiers and their relative positions in the corresponding local area of the communication ports that failed to be identified in the corresponding local port information matrix generated based on the first partial image are filled in based on the regenerated local port information matrix. By filling in the blind spots in the local port information matrix, all communication ports in the local area can be identified, thereby improving the accuracy of communication port positioning.
[0017] In another possible design, a prompt is displayed prompting the user to retake a second partial image; a second partial image is retaken for the local area corresponding to the first partial image; a corresponding local port information matrix is regenerated based on the second partial image; and the port identifiers and relative positions of communication ports in the corresponding local area that failed to be identified in the corresponding local port information matrix generated based on the first partial image are filled in based on the regenerated local port information matrix. By filling in the blind spots in the local port information matrix, all communication ports in the local area can be identified, thereby improving the accuracy of communication port positioning.
[0018] In another possible design, the relative position of the communication port to be found in the communication device connection panel is displayed based on the port identifier of the communication port to be found and the overall port information matrix. By displaying the relative position of the communication port to be found in the communication device connection panel, communication port management is achieved, improving the efficiency of communication port management.
[0019] In another possible design, the communication port to be found is an idle communication port. In the overall port information matrix, the communication port to be found is identified as an idle communication port. This allows the user to determine the relative position of the idle communication port in the global area based on the identified idle communication port, thereby quickly finding the idle communication port.
[0020] In another possible design, the relative position of each communication port in the overall area of the communication device wiring panel includes row position information and column position information in the overall area of the communication device wiring panel.
[0021] In a second aspect, embodiments of the present application provide a communication port management method that can be applied to electronic devices or components within electronic devices, such as chips and processors. The method is used to locate communication ports on a communication device connection panel, where each communication port on the communication device connection panel is attached with a port label identifying each communication port. The method comprises: obtaining a partial image of the communication device connection panel, wherein the partial image corresponds to a local area of the communication device connection panel; generating a corresponding local port information matrix based on the partial image, wherein the local port information matrix is used to represent the port identifier of each communication port in the local area and its relative position within the local area; and presenting the relative position of the communication port to be found within the local area based on the port identifier of the communication port to be found and the local port information matrix. By capturing a local area of the communication device connection panel, the clarity of the partial image is improved, thereby improving the accuracy of communication port identification when generating the local port information matrix based on the partial image, thereby improving the accuracy of communication port locating and the efficiency of communication port management. Furthermore, locating the communication port using the partial image can reduce the amount of information processing.
[0022] In another possible design, the relative positions of the communication ports in the local area whose port identifiers in the local port information matrix are identical to the port identifier of the communication port to be found are presented. By presenting the relative positions of the communication ports to be found in the local area, management of the communication ports to be found is achieved, thereby improving the efficiency of communication port management.
[0023] In another possible design, the port identifier of each communication port in the local port information matrix is compared with the port identifier of the communication port to be found. If the port identifier of a communication port in the local port information matrix is the same as the port identifier of the communication port to be found, the relative position of the communication port to be found in the local area is determined to be the relative position of the communication port in the local port information matrix in the local area. The relative position of the communication port to be found in the local area is then presented. By comparing the relative position of the communication port to be found in the local port information matrix with the port identifier in the local port information matrix, the relative position of the communication port to be found in the local area is accurately obtained.
[0024] In another possible design, the port identifier of the communication port to be found is obtained by scanning the port label of the communication port to be found on the connection panel of other communication equipment.
[0025] In another possible design, a partial image is captured for a local area based on a characteristic mark on a connection panel of the communication device. The local area is divided by the characteristic mark, thereby ensuring the quality of the captured partial image.
[0026] In another possible design, the relative position of the communication port to be found in the local area includes column position information and row position information in the local area. Optionally, the column position information is determined based on position information of a feature marker in the local area, and the row position information is determined based on the distance from the first row of communication ports in the local area.
[0027] In another possible design, the relative position of the communication port to be found in the local area is presented in a highlighted manner to remind the user to find the communication port to be found in the local area according to the relative position of the communication port to be found in the local area.
[0028] In a third aspect, an embodiment of the present application provides a communication port management device for managing multiple communication ports on a communication device connection panel, wherein each of the multiple communication ports is attached with a port label for identifying each communication port, and includes: an acquisition module for acquiring at least two partial images of the communication device connection panel, wherein each partial image corresponds to a local area of the communication device connection panel; a processing module for generating an overall port information matrix of the communication device connection panel based on at least two partial images, wherein the overall port information matrix is used to represent the port identification of each communication port among the multiple communication ports and the relative position of each communication port in the overall area of the communication device connection panel; and communication port management is performed based on the overall port information matrix.
[0029] In another possible design, the processing module is further used to generate a corresponding local port information matrix for each local image, thereby obtaining at least two local port information matrices, wherein each local port information matrix is used to represent the port identifier of each communication port in the corresponding local area and its relative position in the corresponding local area; and based on the at least two local port information matrices, an overall port information matrix is obtained.
[0030] In another possible design, the processing module is also used to determine the relative position of each local area, where the relative position of each local area is the relative position of the local area corresponding to each port information matrix in the communication equipment connection panel; based on the relative position of each local area and the relative position of each communication port in the local area corresponding to each port information matrix, the relative position of each communication port in the overall area of the communication equipment connection panel is determined.
[0031] In another possible design, the processing module is further used to determine the relative position of each local area based on the relative position of each local image input by the user.
[0032] In another possible design, at least one characteristic marker is attached to the connection panel of the communication device; the processing module is further used to determine the relative position of each local area based on the identification information of the at least one characteristic marker.
[0033] In another possible design, at least one characteristic mark is attached to the connection panel of the communication device; the processing module is further used to determine the relative position of each local area based on the relative position of the at least one characteristic mark input by the user in the overall area.
[0034] In another possible design, the processing module is further configured to determine the relative position of each local area according to an arrangement feature of the port identifiers in each local port information matrix.
[0035] In another possible design, in at least two partial images, there is an overlapping area between the partial area corresponding to the first partial image and the partial area corresponding to the second partial image.
[0036] In another possible design, the processing module is further configured to remove duplicate port identifiers of communication ports in at least two local port information matrices and their relative positions in the overall area of the communication device connection panel.
[0037] In another possible design, the acquisition module is further used to obtain multiple preview images of the connection panel of the communication device; the processing module is further used to select a local image that can identify the characteristic mark from the multiple preview images when the characteristic mark is detected.
[0038] In another possible design, the processing module is also used to determine the imaging quality of multiple frames of preview images during the process of shooting the connection panel of the communication device; and display prompt information based on the imaging quality, which is used to prompt the user to control the shooting speed and shooting distance.
[0039] In another possible design, the processing module is further configured to capture multiple local images for each local area; and select a local image having a clarity greater than a preset threshold from the multiple local images.
[0040] In another possible design, the display module is further configured to present the relative position of the communication port to be found in the connection panel of the communication device according to the port identifier of the communication port to be found and the overall port information matrix.
[0041] In another possible design, the communication port to be found is an idle communication port, and the processing module is further configured to identify the communication port to be found as an idle communication port in the overall port information matrix.
[0042] In another possible design, the relative position of each communication port in the overall area of the communication device wiring panel includes row position information and column position information of each communication port in the overall area of the communication device wiring panel.
[0043] In another possible design, the processing module is further used to reselect a second local image from the multiple local images; regenerate a corresponding local port information matrix based on the second local image; and fill in the port identifiers of the communication ports that failed to be identified in the corresponding local port information matrix generated based on the first local image and their relative positions in the corresponding local areas according to the regenerated local port information matrix.
[0044] In another possible design, the display module is used to display a prompt message, which is used to prompt the user to retake a second local image; the processing module is also used to retake a second local image for the local area corresponding to the first local image; based on the second local image, the corresponding local port information matrix is regenerated; according to the regenerated local port information matrix, the port identifier of the communication port that failed to be identified in the corresponding local port information matrix generated based on the first local image and its relative position in the corresponding local area are filled in.
[0045] The operations and beneficial effects of the above third aspect and various possible designs executed in the third aspect can be referred to the above first aspect and various possible designs executed in the first aspect, and will not be repeated here.
[0046] In a fourth aspect, an embodiment of the present application provides a communication port management device for searching for communication ports on a communication device connection panel, wherein each communication port on the communication device connection panel is attached with a port label for identifying each communication port, including: an acquisition module for acquiring a local image of the communication device connection panel, wherein the local image corresponds to a local area of the communication device connection panel; a processing module for generating a corresponding local port information matrix based on the local image, wherein the local port information matrix is used to represent the port identification of each communication port in the local area and its relative position in the local area; a display module for presenting the relative position of the communication port to be found in the local area based on the port identification of the communication port to be found and the local port information matrix.
[0047] In a possible design, the display module is further configured to present the relative positions of the communication ports in the local port information matrix whose port identifiers are the same as the port identifier of the communication port to be found in the local area.
[0048] In another possible design, the acquisition module is further configured to acquire the port identifier of the communication port to be found by scanning the port label of the communication port to be found on the connection panel of other communication devices.
[0049] In another possible design, at least one characteristic mark is attached to the connection panel of the communication device; the acquisition module is further used to capture a local image of a local area based on the characteristic mark on the connection panel of the communication device.
[0050] In another possible design, the relative position of the communication port to be found in the local area includes column position information and row position information in the local area.
[0051] In another possible design, the display module is further configured to present the relative position of the communication port to be found in the local area by highlighting it.
[0052] The operations and beneficial effects of the above fourth aspect and various possible designs executed in the fourth aspect can be referred to the above second aspect and various possible designs executed in the second aspect, and will not be repeated here.
[0053] In a fifth aspect, the present application provides a communication port management device, which may be an electronic device, a device in an electronic device, or a device that can be used in conjunction with an electronic device. The communication port management device may also be a chip system. The communication port management device may execute the methods described in the first and second aspects above. The functions of the communication port management device may be implemented by hardware, or by hardware executing corresponding software implementations. The hardware or software includes one or more modules corresponding to the above functions. The module may be software and / or hardware. The operations and beneficial effects performed by the communication port management device may refer to the methods and beneficial effects described in the first and second aspects above, and the repeated parts will not be repeated.
[0054] In a sixth aspect, the present application provides a communication port management device, which includes a processor. When the processor calls a computer program in a memory, the method described in any one of the first and second aspects is executed.
[0055] In the seventh aspect, the present application provides a communication port management device, which includes a processor and a memory, the memory being used to store a computer program; the processor being used to execute the computer program stored in the memory so that the communication port management device performs a method as described in any one of the first and second aspects.
[0056] In an eighth aspect, the present application provides a communication port management device, which includes a processor, a memory, and a transceiver, wherein the transceiver is used to receive a channel or signal, or send a channel or signal; the memory is used to store a computer program; and the processor is used to call the computer program from the memory to execute a method as described in any one of the first and second aspects.
[0057] In the ninth aspect, the present application provides a communication port management device, which includes a processor and an interface circuit, wherein the interface circuit is used to receive a computer program and transmit it to the processor; the processor runs the computer program to execute the method as described in any one of the first and second aspects.
[0058] In a tenth aspect, the present application provides a computer-readable storage medium for storing a computer program. When the computer program is executed, the method described in any one of the first and second aspects is implemented.
[0059] In an eleventh aspect, the present application provides a computer program product comprising a computer program, which, when executed, enables the method according to any one of the first and second aspects to be implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the background technology, the drawings required for use in the embodiments of the present application or the background technology will be described below.
[0061] Figure 1 It is a schematic diagram of the structure of an electronic device;
[0062] Figure 2 This is a flow chart of a communication port management method provided in an embodiment of the present application;
[0063] Figure 3 is a schematic diagram of an optical fiber plug-in frame provided in an embodiment of the present application;
[0064] Figure 4 is a schematic diagram of another optical fiber frame provided in an embodiment of the present application;
[0065] Figure 5 is a schematic diagram of another local area provided in an embodiment of the present application;
[0066] Figure 6 is a schematic diagram of a local port information matrix provided in an embodiment of the present application;
[0067] Figure 7 This is a schematic diagram of a synthetic overall port information matrix provided by an embodiment of the present application;
[0068] Figure 8 This is a flow chart of another communication port management method provided by an embodiment of the present application;
[0069] Figure 9 This is a schematic diagram of the structure of a communication port management device provided in an embodiment of the present application;
[0070] FIG10(A) is a schematic diagram of a position display provided in an embodiment of the present application;
[0071] FIG10(B) is a schematic diagram of another position display provided in an embodiment of the present application. DETAILED DESCRIPTION
[0072] The embodiments of the present application are described below in conjunction with the drawings in the embodiments of the present application.
[0073] Figure 1 A schematic structural diagram of the electronic device 100 is shown.
[0074] The electronic device 100 may include a processor 110 , a camera 193 and a display screen 194 .
[0075] The processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units can be independent devices or integrated into one or more processors. Among them, the controller can be the nerve center and command center of the electronic device 100. The controller can generate an operation control signal based on the instruction opcode and timing signal to complete the control of instruction fetching and execution.
[0076] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids repeated accesses, reduces processor 110 latency, and thus increases system speed.
[0077] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface.
[0078] Display screen 194 is used to display images, videos, and the like. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-oLed, or a quantum dot light-emitting diode (QLED). In some embodiments, electronic device 100 may include one or N display screens 194, where N is a positive integer greater than one.
[0079] The electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
[0080] The ISP processes data fed back by camera 193. For example, when taking a photo, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, which is then passed to the ISP for processing and converted into a visible image. The ISP can also perform algorithmic optimization on image noise and brightness. It can also optimize parameters such as exposure and color temperature of the captured scene. In some embodiments, the ISP can be located within camera 193.
[0081] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then passes the electrical signal to the ISP for conversion into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
[0082] The digital signal processor is used to process digital signals. In addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0083] Optionally, the electronic device 100 may also include an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like. Each component is described below.
[0084] It should be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0085] It is understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is merely an illustrative illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods from the above embodiments, or a combination of multiple interface connection methods.
[0086] The charging management module 140 is configured to receive charging input from a charger. The charger can be either a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input via the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also provide power to the electronic device via the power management module 141.
[0087] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage, impedance). In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.
[0088] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0089] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.
[0090] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0091] The modem processor may include a modulator and a demodulator. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be provided in the same device as the mobile communication module 150 or other functional modules.
[0092] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0093] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).
[0094] Electronic device 100 implements display functionality through a GPU, display screen 194, and an application processor. A GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.
[0095] Video codecs are used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. This allows electronic device 100 to play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, and MPEG4.
[0096] The NPU is a neural network (NN) computing processor. Drawing on the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it rapidly processes input information and can continuously self-learn. The NPU can enable intelligent cognitive applications in electronic device 100, such as image recognition, face recognition, speech recognition, and text comprehension.
[0097] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 via the external memory interface 120 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.
[0098] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area can store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0099] The electronic device 100 can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0100] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be provided in the processor 110, or some functional modules of the audio module 170 can be provided in the processor 110.
[0101] The speaker 170A, also called a "speaker", is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music or listen to hands-free calls through the speaker 170A.
[0102] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or a voice message, the user can place the receiver 170B close to the ear to hear the voice.
[0103] Microphone 170C, also known as "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to the microphone 170C to input the sound signal into the microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the source of sound, realize directional recording function, etc.
[0104] The headphone jack 170D is used to connect a wired headphone and can be the USB interface 130 or a 3.5mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.
[0105] Pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, pressure sensor 180A can be located on display screen 194. There are many types of pressure sensors 180A, such as resistive, inductive, and capacitive. A capacitive pressure sensor can include at least two parallel plates made of conductive material. When force is applied to pressure sensor 180A, the capacitance between the electrodes changes. Electronic device 100 determines the intensity of the pressure based on this change in capacitance. When a touch operation is applied to display screen 194, electronic device 100 detects the intensity of the touch operation based on pressure sensor 180A. Electronic device 100 can also calculate the touch location based on the detection signal from pressure sensor 180A. In some embodiments, touch operations applied to the same touch location but with different touch operation intensities can correspond to different operation instructions. For example, when a touch operation with an intensity less than a first pressure threshold is applied to a short message application icon, a command to view short messages is executed. When a touch operation with an intensity greater than or equal to the first pressure threshold is applied to a short message application icon, a command to create a new short message is executed.
[0106] The gyro sensor 180B may be used to determine the motion posture of the electronic device 100 .
[0107] The air pressure sensor 180C is used to measure air pressure.
[0108] The magnetic sensor 180D includes a Hall sensor.
[0109] Accelerometer 180E can detect the magnitude of acceleration of electronic device 100 in all directions (generally three axes). It can also detect the magnitude and direction of gravity when electronic device 100 is stationary. It can also be used to identify the electronic device's posture, enabling applications such as switching between landscape and portrait modes and pedometers.
[0110] The distance sensor 180F is used to measure distance.
[0111] The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector such as a photodiode.
[0112] The ambient light sensor 180L is used to sense the brightness of the ambient light.
[0113] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.
[0114] The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy.
[0115] The touch sensor 180K is also called a "touch panel." The touch sensor 180K can be disposed on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen." The touch sensor 180K is used to detect touch operations applied thereto or in the vicinity thereof. The touch sensor can transmit the detected touch operations to the application processor to determine the type of touch event. Visual output related to the touch operations can be provided via the display screen 194. In other embodiments, the touch sensor 180K can also be disposed on the surface of the electronic device 100, at a location different from that of the display screen 194.
[0116] The buttons 190 include a power button, a volume button, and the like. The buttons 190 may be mechanical buttons or touch buttons. The electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100.
[0117] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
[0118] The indicator 192 may be an indicator light, which may be used to indicate the charging status, power level changes, messages, missed calls, notifications, etc.
[0119] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to or disconnected from the electronic device 100 by inserting it into or removing it from the SIM card interface 195. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
[0120] The electronic devices involved in the embodiments of the present application may be mobile phones, tablet computers, laptop computers, ultra-mobile personal computers (UMPCs), handheld computers, netbooks, personal digital assistants (PDAs), wearable electronic devices, virtual reality devices, etc. Alternatively, the electronic devices may include a camera and a processing device (such as a computer), for example, the camera captures a partial image, and the processing device processes the captured partial image to locate the communication port.
[0121] The communication ports in the fiber optic subrack can be located by using an electronic device to capture a global image of the ODF. Based on this global image, the relative positions and port identifiers of the communication ports in the entire fiber optic subrack are identified. If the identification information is incomplete, the operator is instructed to retake a global image at a different angle until all relative positions and port identifiers are obtained. However, this method has the following problems:
[0122] (1) To obtain an image of the entire fiber optic frame, the camera's zoom factor must be adjusted during shooting to capture the entire image. However, since the information surface supported by the array structure is too small and the electronic device is too far from the imaging information surface, the captured image is prone to edge distortion, blurring, and low clarity, which increases the difficulty of parsing the port identification. If the fiber optic frame is long and flat, capturing an image of the entire fiber optic frame requires long-distance shooting. This long-distance shooting will result in the loss of some image details, affecting the decoding efficiency of the port label on the communication port.
[0123] (2) Capture multiple frames of images of the global area and use them for information fusion. Based on the similarity between the multiple frames, select a portion of the frames for processing according to certain rules. However, images based on a portion of the frames may not be accurately recognized, and the image processing load increases. When fusing the recognition results of the portion of the frames, if there are differences in the positioning of some areas in the portion of the frames, it will be difficult to correctly determine the location of the communication port, affecting the accuracy of the communication port positioning.
[0124] (3) The global area image covers all communication ports. Due to the small size and high distribution density of the communication ports in the optical fiber frame, it is easy to have errors in the positioning of the row and column position information of the communication ports.
[0125] (4) When instructing the photographer to switch angles for shooting, some local areas may be affected by various factors such as lighting, which may affect the contour detection of the communication port in the fiber optic frame and the parsing of the port label. In addition, this shooting method is easily affected by the frame type and external factors. The processing process is complex and the calculation amount is large, and it is impossible to complete the fixed-point "blind spot filling" function.
[0126] Furthermore, when fiber is delivered to the home, an optical fiber must be connected between the optical splitter and the user side. The optical path of the fiber is: splitter side -> user side. If a user side goes offline, the operator will unplug the end of the fiber connected to the user side. Since one end of the fiber is directly connected to the user side, it is possible to determine which communication port in the fiber optic subrack it is connected to. However, on the splitter side, it is impossible to accurately determine which communication port the other end of the fiber is connected to, making communication port management difficult.
[0127] In order to solve the above technical problems, the embodiments of the present application provide the following solutions.
[0128] like Figure 2 As shown, Figure 2 : This is a flow chart of a communication port management method provided by an embodiment of the present application. The steps in the embodiment of the present application at least include:
[0129] S201: The electronic device obtains at least two partial images of the connection panel of the communication device, wherein each partial image corresponds to a partial area of the connection panel of the communication device.
[0130] The communication equipment connection panel may be a fiber optic plug-in frame, which may include M rows and N columns of communication ports. M and N are both positive integers. For example, Figure 3 As shown, Figure 3 This is a schematic diagram of a fiber optic subrack provided in an embodiment of the present application. The fiber optic subrack may include 12 rows and 12 columns of communication ports, all of which are evenly distributed within the fiber optic subrack. Each communication port is attached with a port label to identify it. The port label may be a QR code, barcode, string of characters, or machine-readable code, among other information.
[0131] Optionally, all communication ports may be unevenly distributed in the fiber optic subrack. For example, the first row of the fiber optic subrack includes 10 communication ports, and the second to 12 rows each include 12 communication ports. The leftmost and rightmost portions of the second to 12 rows each have one more communication port than the first row. Communication ports may also be distributed in the fiber optic subrack in other ways, which will not be described in detail here.
[0132] Optionally, if there is no obvious characteristic information on the communication device connection panel, such as the row and column number information (such as A1, B2, C3, etc.) marked on the edge of the communication device connection panel, the user can add characteristic marks on the communication device connection panel, and fix the characteristic marks to the edge area of the communication device connection panel by pasting, nesting, etc. For example, the characteristic marks can be fixed above the first row of communication ports in the communication device connection panel, or below the last row of communication ports, etc. The characteristic marks can be different types of identification information, such as different patterns, different color blocks, or different letters, etc. By setting characteristic marks, different local areas on the communication device connection panel can be distinguished.
[0133] For example, Figure 4As shown, a characteristic mark is set in the upper area of the first row of the 4th and 9th columns of the optical fiber subrack, and the characteristic mark of the 4th column and the characteristic mark of the 9th column are different colors. The characteristic mark divides the communication ports in columns 1 to 4 into a first local area, the communication ports in columns 4 to 9 into a second local area, and the communication ports in columns 9 to 12 into a third local area, with overlapping areas between these local areas. The local areas can also be divided in other ways, for example, dividing the communication ports in columns 1 to 4 into a first local area, dividing the communication ports in columns 5 to 9 into a second local area, and dividing the communication ports in columns 10 to 12 into a third local area, with no overlapping areas between these local areas. If the communication equipment connection panel has obvious characteristic marks, the characteristic marks on the communication equipment connection panel can be used directly to distinguish the local areas.
[0134] Optionally, the user can use an electronic device to scan and photograph the connection panel of the communication device, and obtain multiple frames of preview images of the connection panel of the communication device for each local area; when the characteristic mark is detected, a local image that can identify the characteristic mark is selected from the multiple frames of preview images. For example, Figure 5 As shown, use the camera to scan from left to right to shoot Figure 4 In the fiber optic subrack shown, when the electronic device scans the communication ports in the fourth column, it detects the presence of a characteristic marker in the fourth column and determines that the communication ports in columns 1 through 4 of the fiber optic subrack are the first local area. The electronic device can then select a local image from the acquired multiple preview images. When the electronic device scans the communication ports in the ninth column, it detects the presence of characteristic markers in both columns 4 and 9 and determines that the communication ports in columns 4 through 9 are the second local area. The electronic device can then select another local image from the acquired multiple preview images, and so on.
[0135] Optionally, before photographing the connection panel of the communication device, the user can input the relative position of each characteristic mark in the entire area corresponding to the connection panel of the communication device to the electronic device. When the electronic device scans and photographs the connection panel of the communication device, it can obtain at least two partial images based on the relative position of the characteristic mark in the entire area, and record the relative position of the characteristic mark corresponding to each partial image. For example, scanning from left to right as Figure 4In the fiber optic subrack shown, when the electronic device scans the communication port in the 4th column, it knows in advance that the first characteristic marker is located in the 4th column of the communication device connection panel. Therefore, it takes a picture of the local area from the 1st to the 4th column. When it scans the communication port in the 9th column, it knows in advance that the second characteristic marker is located in the 9th column of the communication device connection panel. Therefore, it takes another picture of the local area from the 4th to the 9th column. And so on.
[0136] Optionally, the user can also take at least two partial images according to multiple different shooting angles. For each local area, take a partial image. Figure 4 In the fiber optic plug-in frame shown, the user divides the fiber optic plug-in frame into three local areas based on the characteristic marks, adjusts the shooting angle of the electronic device's camera, and makes the electronic device aim at the communication ports in the first to fourth columns, takes a local image, then aims at the communication ports in the fourth to ninth columns, takes another local image, and finally aims at the communication ports in the ninth to twelfth columns, and takes another local image.
[0137] Among the at least two partial images, there is an overlapping area between the local area corresponding to the first partial image and the local area corresponding to the second partial image, and the local area corresponding to the first partial image and the local area corresponding to the second partial image are two adjacent local areas. Figure 4 In the fiber optic subrack shown, the communication ports in the fourth column are the overlapping areas between the first and second local areas, and the communication ports in the ninth column are the overlapping areas between the second and third local areas. Optionally, in the at least two partial images, there is no overlapping area between the local areas corresponding to the first partial image and the local areas corresponding to the second partial image. For example, a first partial image may be taken for the communication ports in columns 1 to 4, a second partial image may be taken for the communication ports in columns 5 to 8, and a third partial image may be taken for the communication ports in columns 9 to 12.
[0138] Alternatively, if the communication device connection panel lacks a characteristic marking, the user can first divide the communication device connection panel into at least two local areas, then aim the camera at each local area and capture a local image. For example, if the fiber optic subrack includes 4 columns and 8 rows of communication ports, the communication ports in rows 1 through 4 can be considered as a local area and captured a local image. Then, the communication ports in rows 5 through 8 can be considered as a local area and captured another local image.
[0139] Optionally, the user can input the relative position of each partial image to the electronic device, wherein the relative position can be a sequence identifier. For example, scanning from left to right as shown in FIG. Figure 4 For the optical fiber plug-in frame shown, for the communication ports in columns 1 to 4, the corresponding partial images can be recorded as 1, for the communication ports in columns 5 to 8, the corresponding partial images can be recorded as 2, and for the communication ports in columns 9 to 12, the corresponding partial images can be recorded as 3.
[0140] Optionally, during the process of photographing the connection panel of the communication device, multiple preview images may be analyzed in real time to determine the image quality of the multiple preview images; based on the image quality, a prompt message may be displayed to prompt the user to control the shooting speed and shooting distance. The image quality may include clarity, imaging area, etc.
[0141] For example, when a user uses an electronic device to capture a connection panel of a communication device, the preview image is analyzed to determine the clarity or imaging area of the preview image. If the clarity of one or more preview frames is less than a first preset threshold, the user is prompted to adjust the shooting angle or reduce the speed of the electronic device. Alternatively, if the imaging area of one or more preview frames is less than a second preset threshold or greater than a third preset threshold, the user is prompted to adjust the distance between the electronic device and the connection panel of the communication device so that the imaging area of the captured partial image matches the local area.
[0142] Optionally, for each local area, multiple local images are taken; a first local image with a clarity greater than a preset threshold is selected from the multiple local images as one of the at least two local images. Figure 4 For the fiber optic subrack shown, multiple local images can be captured for the local area of columns 1 through 4, and the highest-resolution image can be selected. Alternatively, any image with a resolution greater than a preset threshold can be selected. Multiple local images can then be captured for the local area of columns 5 through 9, and the highest-resolution image can be selected. Alternatively, any image with a resolution greater than a preset threshold can be selected. Other local areas can be processed in the same manner and will not be further described here.
[0143] S202, the electronic device generates an overall port information matrix of the communication device connection panel based on the at least two partial images, wherein the overall port information matrix is used to represent the port identification of each communication port among the multiple communication ports and its relative position in the overall area of the communication device connection panel.
[0144] First, each of the partial images can be identified to generate a corresponding local port information matrix, resulting in at least two local port information matrices. Each local port information matrix is used to represent the port identifier of each communication port in the corresponding local area and its relative position in the corresponding local area. The relative position in the local area is the position of the communication port relative to the origin in the local area. The origin can be the upper left corner, upper right corner, lower left corner, lower right corner, or center of the local area, or a characteristic marker in the local area.
[0145] For example, for Figure 4 The fiber optic subrack shown captures the local area from columns 1 to 4 to obtain a first local image. Since each communication port is attached with a port label, the port identifier of each communication port can be obtained by identifying the port label of each communication port in the first local image. Then, using the origin in the local area corresponding to the first local image as a reference point, the relative position of each communication port in the local area is determined. For example, using the upper left corner of the local area as the origin, the communication port in row 1, column 1 can be recorded as (1, 1), the communication port in row 2, column 1 can be recorded as (2, 1), the communication port in row 3, column 1 can be recorded as (3, 1), and so on. The relative position of each communication port in the local area corresponding to the first local image is recorded separately, and a first local port information matrix is generated based on the port identifier of each communication port and its relative position in the corresponding local area. Then, the local area from columns 4 to 9 is captured to obtain a second local image. The port label of each communication port in the second local image is identified to obtain the port identifier of each communication port. The upper left corner of the corresponding local area in the second local image is used as the origin. The relative position of each communication port is determined according to the above method. Based on the port identifier of each communication port and its relative position in the corresponding local area, a second local port information matrix is generated. Similarly, a third local port information matrix is generated.
[0146] It should be noted that if the communication ports are not evenly distributed within the communication device connection panel, for example, if a certain location within the communication device connection panel has no communication port, the port identifier and relative position corresponding to that location in the local port information matrix can be configured as 0. For example, if the leftmost and rightmost portions of rows 2 through 12 in the fiber optic subrack each have one more communication port than row 1, meaning that there are no communication ports in row 1, column 1 and row 1, column 12, respectively, the port identifiers and relative positions corresponding to row 1, column 1 and row 1, column 12 in the local port information matrix can be configured as 0.
[0147] Optionally, based on a single partial image, it may not be possible to fully identify the port labels of each communication port in the corresponding local area. If the port identifiers of some communication ports and their relative positions in the corresponding local area are missing from the local port information matrix, a second partial image may be reselected from multiple partial images (taken for the same local area); then, based on the second partial image, the corresponding local port information matrix is regenerated; and based on the regenerated local port information matrix, the port identifiers of the communication ports that failed to be identified in the corresponding local port information matrix generated based on the first partial image and their relative positions in the corresponding local area are filled in.
[0148] Optionally, if the local port information matrix lacks the port identifications of some communication ports and their relative positions in the corresponding local area, a prompt message can be displayed, wherein the prompt message is used to prompt the user to retake a second local image; retake the second local image for the local area corresponding to the first local image; regenerate the corresponding local port information matrix based on the second local image; and fill in the port identifications of the communication ports that failed to be identified in the corresponding local port information matrix generated based on the first local image and their relative positions in the corresponding local area according to the regenerated local port information matrix.
[0149] like Figure 6 As shown, Figure 6 This is a schematic diagram of a local port information matrix provided by an embodiment of the present application. If all communication ports in the corresponding local area can be fully identified based on a local image, a local port information matrix (1) is generated, and each communication port corresponds to a relative position (the port identifier is not drawn). If the communication ports in the corresponding local area are partially identified based on a local image, a local port information matrix (2) is generated, and the positions of the 5th row and 2nd column and the 6th row and 2nd column in the local port information matrix are empty. Therefore, for this local area, a second local image can be re-photographed to regenerate the corresponding local port information matrix so as to fill in the missing information in the local port information matrix (2) and obtain the local port information matrix (3). If full identification can be performed based on the re-photographed second local image, the local port information matrix generated by the second local image can also be directly used.
[0150] Then, based on the at least two local port information matrices, the overall port information matrix is obtained. Furthermore, the relative position of each local area can be determined, and based on the relative position of each local area and the relative position of each communication port in the local area corresponding to each port information matrix, the relative position of each communication port in the overall area of the communication device connection panel is determined. The relative position of each local area is the relative position of the local area corresponding to each port information matrix in the communication device connection panel, and the relative position of each communication port in the overall area of the communication device connection panel includes row position information and column position information in the overall area of the communication device connection panel.
[0151] Determining the relative position of each local area may include at least the following optional methods:
[0152] The first optional method is to determine the relative position of each local area according to the relative position of each local image input by the user. The relative position of each local image can be a sequence mark. For example, scanning and shooting from left to right in sequence. Figure 4 After inserting the optical fiber frame shown, for the communication ports in columns 1 to 4, the corresponding partial images are recorded as 1, and the local area corresponding to the partial images is determined to be located at the leftmost side of the overall area. For the communication ports in columns 5 to 8, the corresponding partial images are recorded as 2, and the local area corresponding to the partial images is determined to be located in the middle of the overall area. For the communication ports in columns 9 to 12, the corresponding partial images can be recorded as 3, and the local area corresponding to the partial images is determined to be located at the rightmost side of the overall area.
[0153] A second optional manner is to determine the relative position of each local area based on identification information of the at least one characteristic mark, wherein the identification information can be different patterns, different color blocks, different letters, etc.
[0154] For example, for Figure 4In the fiber optic subrack shown, the two characteristic markings on the subrack are pattern 1 and pattern 2, respectively. After capturing three partial images sequentially from left to right, the first partial image contains pattern 1, the second partial image contains pattern 1 and pattern 2, and the third partial image contains pattern 2. Pattern 1 and pattern 2 are the characteristic markings of the overlapping areas between the three partial images. Based on the characteristic markings in the three partial images, it can be determined that the local area corresponding to the partial image containing pattern 1 is located at the leftmost side of the fiber optic subrack, the local area corresponding to the partial image containing pattern 1 and pattern 2 is located in the center, and the local area corresponding to the partial image containing pattern 2 is located at the rightmost side of the fiber optic subrack. If there is no overlapping area between the three partial images, the relative position of each local area can also be determined using the above method.
[0155] A third optional manner is to determine the relative position of each local area according to the relative position of the at least one feature mark input by the user in the overall area.
[0156] For example, when the user photographs the optical fiber frame, the relative position of each feature mark in the overall area can be input. Figure 4 The optical fiber plug-in frame shown can record the relative position of the first characteristic mark as column 4 and the relative position of the second characteristic mark as column 9. After taking three partial images, the relative position of each partial area is determined based on the relative position of the characteristic mark corresponding to each partial image.
[0157] A fourth optional manner is to determine the relative position of each local area according to an arrangement feature of port identifiers in each local port information matrix.
[0158] For example, for Figure 4In the fiber optic subrack shown, after the user takes three partial images, three local port information matrices are generated. The port identifiers in the fourth column of the first local port information matrix include port identifier 1, port identifier 2, and port identifier 3. The port identifiers in the first column of the second local port information matrix include identifier 1, port identifier 2, and port identifier 3. The port identifiers in the sixth column of the second local port information matrix include identifier 4, port identifier 5, and port identifier 6. The port identifiers in the first column of the third local port information matrix include identifier 4, port identifier 5, and port identifier 6. Therefore, the port identifiers in the fourth column of the first local port information matrix overlap with the port identifiers in the first column of the second local port information matrix, and the port identifiers in the first column of the third local port information matrix overlap with the port identifiers in the sixth column of the second local port information matrix. The local area corresponding to the first local port information matrix is located at the leftmost side of the fiber optic subrack, the local area corresponding to the second local port information matrix is located in the middle of the fiber optic subrack, and the local area corresponding to the third local port information matrix is located at the rightmost side of the fiber optic subrack.
[0159] After determining the relative position of each local area, information fusion can be performed on at least two local port information matrices, and then the relative position of each communication port in the overall area can be determined based on the relative position of each local area and the relative position of each communication port in the local area corresponding to each port information matrix.
[0160] For example, for Figure 4The fiber optic subrack shown in the figure captures three partial images. The first partial image corresponds to the local area from columns 1 to 4, the second partial image corresponds to the local area from columns 5 to 9, and the third partial image corresponds to the local area from columns 10 to 12. The local port information matrix corresponding to the first partial image is located at the far left of the overall port information matrix. The relative position of each communication port in the local port information matrix corresponding to the first partial image remains unchanged. The local port information matrix corresponding to the second partial image is located in the center of the overall port information matrix. The first column of this local port information matrix corresponds to the fifth column of the overall port information matrix, the second column of this local port information matrix corresponds to the sixth column of the overall port information matrix, and so on. The fifth column of this local port information matrix corresponds to the ninth column of the overall port information matrix. In the local port information matrix corresponding to the second partial image, the column position information of each communication port in the overall area is the column position information of each communication port in the local area plus 4, while the row position information remains unchanged. The local port information matrix corresponding to the third local image is located at the far right of the overall port information matrix. The first column in the local port information matrix corresponds to the tenth column in the overall port information matrix, the second column in the local port information matrix corresponds to the eleventh column in the overall port information matrix, and the third column in the local port information matrix corresponds to the twelfth column in the overall port information matrix. The column position information of each communication port in the overall area in the local port information matrix corresponding to the third local image is the column position information of each communication port in the local area plus 9, and the row position information remains unchanged.
[0161] It should be noted that if there is an overlapping area between two local areas, the port identifiers of the repeated communication ports in at least two local port information matrices and their relative positions in the overall area of the communication device connection panel are removed.
[0162] like Figure 7As shown, the optical fiber frame is divided into three local areas, and three local images are taken. Based on the first local image, a local port information matrix (1) is generated (port identification is not drawn), based on the second local image, a local port information matrix (2) is generated, and based on the third local image, a local port information matrix (3) is generated. The local port information matrices (1), (2) and (3) are merged to redetermine the relative position of each communication in the overall area of the optical fiber frame (the column position information changes, and the row position information remains unchanged). Since the fourth column in the local port information matrix (1) and the first column in the local port information matrix (2) contain duplicate information, the port identifiers of the communication ports duplicated in the local port information matrix (1) and the local port information matrix (2) and their relative positions in the overall area of the optical fiber plug-in frame are removed. Since the sixth column in the local port information matrix (2) and the first column in the local port information matrix (3) contain duplicate information, the port identifiers of the communication ports duplicated in the local port information matrix (2) and the local port information matrix (3) and their relative positions in the overall area of the optical fiber plug-in frame are removed, and the overall port information matrix (4) is finally obtained.
[0163] S203: The electronic device manages the communication ports based on the overall port information matrix. Based on the overall port information matrix, the communication ports can be managed in the following manner:
[0164] In a possible implementation, an optical fiber connection may be established between the communication ports on the two communication device connection panels according to the overall port information matrix corresponding to the two communication device connection panels, so as to implement communication through the established optical fiber connection.
[0165] In another possible implementation, the relative position of the communication port to be found in the connection panel of the communication device is presented based on the port identifier of the communication port to be found and the overall port information matrix. The communication port to be found is an idle communication port. Furthermore, the relative positions of the communication ports in the overall port information matrix whose port identifiers are the same as the port identifier of the communication port to be found in the global region can be presented, and the communication port to be found is identified as an idle communication port in the overall port information matrix.
[0166] For example, if a communication port on the communication device connection panel on the user side is unplugged, the user needs to find an idle communication port in the communication device connection panel on the optical splitter side. Based on the overall port information matrix corresponding to the communication device connection panel on the optical splitter side, the idle communication ports can be managed. This includes obtaining the port identifier of the unplugged communication port in the communication device connection panel on the user side, determining whether the port identifier in the overall port information matrix is the same as the port identifier of the communication port to be found, and if they are the same, obtaining the relative position of the communication ports with the same port identifier in the overall area of the communication device connection panel on the optical splitter side from the overall port information matrix, and then displaying the relative position of the communication ports with the same port identifier in the overall area. The user can process the communication port based on its relative position in the overall area. For example, unplugging an optical fiber from a communication port on the communication device connection panel on the optical splitter side.
[0167] In an embodiment of the present application, by capturing a local area of a communication device connection panel, the clarity of the local image is improved, thereby improving the accuracy of communication port positioning when generating the overall port information matrix of the communication device connection panel based on the local image. This enables management of communication ports in the communication device connection panel through the overall port information matrix, thereby improving the efficiency of communication port management.
[0168] like Figure 8 As shown, Figure 8 : is a flow chart of another communication port management method provided by an embodiment of the present application. The steps in the embodiment of the present application at least include:
[0169] S801: An electronic device obtains a partial image of a connection panel of a communication device, wherein the partial image corresponds to a partial area of the connection panel of the communication device.
[0170] The communication device connection panel may be a communication device connection panel on one side of the optical splitter. The structure of the communication device connection panel may refer to the above embodiment.
[0171] Optionally, the user can add a characteristic mark on the communication device connection panel, and the characteristic mark can be fixed to the edge area of the communication device connection panel by pasting, nesting, etc., such as the position above the first row of communication ports on the communication device connection panel, or the position below the last row of communication ports, etc. The characteristic mark can be different types of identification information, such as different patterns, different color blocks, or different letters, etc. By setting the characteristic mark, different local areas on the communication device connection panel can be distinguished. The user can use an electronic device to scan and shoot the communication device connection panel from left to right, and obtain multiple frames of preview images for one of the local areas; when the characteristic mark on the communication device connection panel is displayed, a local image is selected from the multiple frames of preview images.
[0172] Optionally, if there is no characteristic mark on the communication device connection panel, the user can first divide the communication device connection panel into at least two local areas, and then aim the camera at one of the local areas in the communication device connection panel to capture a local image.
[0173] Optionally, during the process of photographing the connection panel of the communication device, multiple frames of preview images can be analyzed in real time to determine the imaging quality of the multiple frames of preview images; based on the imaging quality, prompt information is displayed, and the prompt information is used to prompt the user to control the shooting speed and shooting distance. The imaging quality can be clarity, imaging area, and the like. Furthermore, if the clarity of one or more frames of preview images is less than a first preset threshold, the user is prompted to adjust the shooting angle or reduce the speed of the electronic device. Alternatively, if the imaging area of one or more frames of preview images is less than a second preset threshold or greater than a third preset threshold, the user is prompted to adjust the distance between the electronic device and the connection panel of the communication device so that the imaging area of the captured local image matches the local area.
[0174] Optionally, for a local area, multiple local images are taken; a local image with a clarity greater than a preset threshold is selected from the multiple local images, or a local image with the highest clarity is selected from the multiple local images.
[0175] It should be noted that a local area can be arbitrarily selected and a local image can be taken for analysis. If the communication port to be processed is not found in the selected local area, another local area can be selected and another local image can be taken for analysis.
[0176] Optionally, before acquiring a partial image of the communication device connection panel, the port identifier of the communication port to be found is obtained by scanning a port label on another communication device connection panel. For example, if a communication port on the communication device connection panel on the user side is unplugged, the user needs to find an idle communication port in the communication device connection panel on the optical splitter side in order to manage the idle communication ports in the communication device connection panel on the optical splitter side. Each communication port in the communication device connection panel on the user side is attached with a port label for identifying each communication port. The port label can be a QR code, barcode, string of characters, or machine-readable code information. The electronic device can scan the port label of the idle communication port in the communication device connection panel on the user side, then identify the port label to determine the port identifier of the communication port to be found, thereby finding the idle communication port in the communication device connection panel on the optical splitter side based on the port identifier of the communication port to be found.
[0177] S802: The electronic device generates a corresponding local port information matrix based on the local image, where the local port information matrix is used to represent a port identifier of each communication port in the local area and its relative position in the local area.
[0178] Among them, the relative position in the local area can be the position of the communication port relative to the origin in the local area, and the origin can be the upper left corner, upper right corner, lower left corner, lower right corner or center in the local area, or a feature mark in the local area.
[0179] For example, for Figure 4 The fiber optic plug-in frame shown captures the local area from columns 1 to 4 to obtain a local image. Since each communication port is attached with a port label, the port identifier of each communication port can be obtained by identifying the port label of each communication port in the local image. Then, using the origin in the local area corresponding to the local image as the reference point, the relative position of each communication port in the local area is determined. For example, using the upper left corner of the local area as the origin, the communication port in row 1, column 1 can be recorded as (1, 1), the communication port in row 2, column 1 can be recorded as (2, 1), the communication port in row 3, column 1 can be recorded as (3, 1), and so on. The relative position of each communication port in the local area corresponding to the local image is recorded separately, and a local port information matrix is generated based on the port identifier of each communication port and its relative position in the corresponding local area.
[0180] Optionally, before photographing the communication device connection panel, the user may input into the electronic device the location information of the characteristic marker on the communication device connection panel. After capturing the partial image, the location information of the characteristic marker on the communication device connection panel may be obtained; based on the location information, a local port information matrix is generated, wherein the relative position of each communication port in the local area in the local port information matrix is determined based on the location information, and the location information of the characteristic marker may be the row and column information of the characteristic marker in the local area.
[0181] Furthermore, the relative position of each communication port in the local area includes column position information and row position information, and the column position information is determined based on the position information of the characteristic mark in the local area. For example, the column position information of the communication port is the number of columns of the communication port from the characteristic mark. The row position information is determined based on the distance from the first row of communication ports in the local area, for example, the row position information of the communication port is the number of rows of the communication port from the first row of communication ports. Alternatively, the row position information is determined based on the position information of the characteristic mark in the local area, and the column position information is determined based on the distance from the first column of communication ports in the local area. Alternatively, both the column position information and the row position information can be determined based on the position information of the characteristic mark in the local area, wherein the column position information is the number of columns of the communication port from the characteristic mark, and the row position information is the number of rows of the communication port from the characteristic mark.
[0182] Optionally, based on a single partial image, it may not be possible to fully identify the port labels of each communication port in the corresponding partial area. If the port identifiers of some communication ports and their relative positions in the corresponding partial area are missing from the partial port information matrix, another partial image can be reselected from multiple partial images (taken for the same partial area); then, based on the other partial image, the corresponding partial port information matrix is regenerated; and based on the regenerated partial port information matrix, the port identifiers of the communication ports that failed to be identified in the original partial port information matrix and their relative positions in the corresponding partial area are filled in.
[0183] Optionally, if the local port information matrix lacks the port identifications of some communication ports and their relative positions in the corresponding local area, a prompt message can be displayed, wherein the prompt message is used to prompt the user to retake another local image; retake another local image for the same local area; regenerate the corresponding local port information matrix based on the other local image; and fill in the port identifications of the communication ports that failed to be identified in the original local port information matrix and their relative positions in the corresponding local area according to the regenerated local port information matrix.
[0184] S803: The electronic device presents the relative position of the communication port to be found in the local area according to the port identifier of the communication port to be found and the local port information matrix.
[0185] Optionally, the relative positions of the communication ports in the local port information matrix whose port identifiers are the same as the port identifier of the communication port to be found in the local area can be presented. Furthermore, the port identifier of each communication port in the local port information matrix can be compared with the port identifier of the communication port to be found; if the port identifier of a communication port in the local port information matrix is the same as the port identifier of the communication port to be found, the relative position of the communication port to be found in the local area is determined to be the relative position of the communication port in the local port information matrix in the local area; finally, the relative position of the communication port to be found in the local area is presented.
[0186] Wherein, the relative position of the communication port to be found in the local area includes column position information and row position information in the local area. The column position information is determined according to the position information of the characteristic mark in the local area, and the row position information is determined according to the distance from the first row of communication ports in the local area. For example, "C9" means that the communication port to be found is in the local area relative to the Cth row of the first row of communication ports (row A), and relative to the 9th column of the characteristic mark. Optionally, the relative position of the communication port to be found in the local area may also be the position of the communication port relative to the origin in the local area, and the origin may be the upper left corner, upper right corner, lower left corner, lower right corner or center in the local area. For example, with the upper left corner in the local area as the origin, "B5" means that the communication port to be found is in the local area relative to the Bth row of the first row of communication ports (row A), and relative to the 5th column of the first column of communication ports.
[0187] Optionally, the communication port to be found can be marked in the corresponding partial image based on its relative position in the local area. When a user views the communication device connection panel, the partial image marked with the communication port to be found is compared with the local area in the communication device connection panel, and the communication port is found in the local area of the communication device connection panel, so that the user can process the found communication port. For example, the user can unplug an optical fiber from a communication port on the communication device connection panel. The communication port to be found can be a virtual resource port, or a "dummy resource" port, that is, a port that has no service but still occupies resources on the optical splitter.
[0188] Optionally, the relative position of the communication port to be found in the local area is presented by highlighting or other means. For example, as shown in FIG10(A), for example Figure 4The fiber optic subrack shown is divided into three local areas, and three local images are captured for each. A local port information matrix is generated based on the first local image, and the relative position of the communication port in the local area is determined to be in the 5th row, 3rd column. Therefore, the communication port can be highlighted in the first local image (marked in black). As shown in Figure 10(B), after further generating the local port information matrix based on the first local image and determining that the relative position of the communication port in the local area is in the 5th row, 3rd column, a corresponding port matrix diagram can be generated for the first local image. Each element in the port matrix diagram corresponds to each port in the first local image. The element in the 5th row, 3rd column is highlighted in the port matrix diagram, corresponding to the communication port in the 5th row, 3rd column of the first local image. Furthermore, "Relative Position: 5th Row, 3rd Column" can be displayed next to the port matrix diagram.
[0189] Optionally, if the relative position of the communication port to be found in the local area is found in the local port information matrix, the image capture is immediately stopped and the relative position of the communication port to be found in the local area is output. If the relative position of the communication port to be found in the local area is not found in the local port information matrix, it is determined that the communication port to be found is not in the local area. The electronic device continues to scan and capture the next local area, obtains another local image, and regenerates the corresponding local port information matrix based on the other local image. Using the regenerated local port information matrix, it is determined whether the communication port to be found is in the next local area. This continues until the relative position of the communication port to be found in the local area is found.
[0190] In the embodiments of the present application, by capturing a local area of a communication device's wiring panel, the clarity of the local image is improved. This improves the accuracy of communication port location when generating a local port information matrix based on the local image, thereby improving the accuracy of communication port search and the efficiency of communication port management. Furthermore, locating communication ports using local images can reduce the amount of information processing.
[0191] It is understood that in the above-mentioned various method embodiments, the methods and operations implemented by the electronic device can also be implemented by components (such as chips or circuits) that can be used in the electronic device. The electronic device can simulate the electronic device.
[0192] The above mainly introduces the solutions provided by the embodiments of the present application from the perspective of various interactions. It is understandable that, in order to realize the above functions, it includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should be aware that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in a hardware or computer software driven hardware manner depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0193] The embodiment of the present application can divide the functional modules of the electronic device according to the above method example. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical functional division. There may be other division methods in actual implementation. The following is an example of dividing each functional module corresponding to each function.
[0194] Above, combined Figure 3 The method provided in the embodiment of the present application is described in detail. Figure 5 The communication port management device provided in the embodiment of the present application is described in detail. It should be understood that the description of the device embodiment corresponds to the description of the method embodiment, so that the contents not described in detail can be referred to the method embodiment above, and for the sake of brevity, they will not be repeated here.
[0195] See Figure 9 , Figure 9 9 is a schematic diagram of the structure of a communication port management device provided in an embodiment of the present application. The device may include an acquisition module 901, a processing module 902 and a display module 903, which are used to execute the actions executed by the electronic device in the above method embodiment.
[0196] The communication port management device may implement the steps or processes executed by the electronic device in the above method embodiment, for example, it may be an electronic device, or a chip or circuit configured in the electronic device.
[0197] In one possible implementation, the communication port management apparatus is used to manage multiple communication ports on a connection panel of a communication device, each of the multiple communication ports being attached with a port label for identifying the communication port, including:
[0198] An acquisition module 901 is configured to acquire at least two partial images of the connection panel of the communication device, wherein each partial image corresponds to a partial area of the connection panel of the communication device;
[0199] Processing module 902 is used to generate an overall port information matrix of the communication device connection panel based on the at least two partial images, wherein the overall port information matrix is used to represent the port identification of each communication port among the multiple communication ports and the relative position of each communication port in the overall area of the communication device connection panel; and perform communication port management based on the overall port information matrix.
[0200] Optionally, the processing module 902 is further used to generate a corresponding local port information matrix for each local image to obtain at least two local port information matrices, wherein each local port information matrix is used to represent the port identification of each communication port in the corresponding local area and its relative position in the corresponding local area; based on the at least two local port information matrices, the overall port information matrix is obtained.
[0201] Optionally, the processing module 902 is further used to determine the relative position of each local area, where the relative position of each local area is the relative position of the local area corresponding to each port information matrix in the communication device connection panel; based on the relative position of each local area and the relative position of each communication port in the local area corresponding to each port information matrix, the relative position of each communication port in the overall area of the communication device connection panel is determined.
[0202] Optionally, the processing module 902 is further configured to determine the relative position of each local area according to the relative position of each local image input by the user.
[0203] Optionally, the processing module 902 is further configured to determine the relative position of each local area according to identification information of the at least one feature marker.
[0204] Optionally, the processing module 902 is further configured to determine the relative position of each local area according to the relative position of the at least one feature mark input by the user in the overall area.
[0205] Optionally, the processing module 902 is further configured to determine the relative position of each local area according to an arrangement feature of the port identifiers in each local port information matrix.
[0206] There is an overlapping area between the local area corresponding to the first local image and the local area corresponding to the second local image in the at least two local images.
[0207] Optionally, the processing module 902 is further configured to remove duplicate port identifiers of communication ports in the at least two local port information matrices and their relative positions in the overall area of the communication device connection panel.
[0208] Optionally, the acquisition module 901 is further configured to acquire multiple preview images of the connection panel of the communication device;
[0209] The processing module 902 is further configured to, when the characteristic mark is detected, select a partial image in which the characteristic mark can be identified from the multiple preview images.
[0210] Optionally, the processing module 902 is further used to determine the imaging quality of the multiple frames of preview images during the process of photographing the connection panel of the communication device; and display prompt information based on the imaging quality, wherein the prompt information is used to prompt the user to control the shooting speed and shooting distance.
[0211] Optionally, the display module 903 is further configured to present the relative position of the communication port to be found in the connection panel of the communication device according to the port identifier of the communication port to be found and the overall port information matrix.
[0212] Optionally, the communication port to be found is an idle communication port, and the processing module 902 is further configured to identify the communication port to be found as an idle communication port in the overall port information matrix.
[0213] Optionally, the relative position of each communication port in the overall area of the communication device connection panel includes row position information and column position information of each communication port in the overall area of the communication device connection panel.
[0214] Optionally, the processing module 902 is further configured to capture multiple local images for each local area; and select a first local image having a clarity greater than a preset threshold from the multiple local images.
[0215] Optionally, the processing module 902 is further used to reselect a second local image from the multiple local images; regenerate a corresponding local port information matrix based on the second local image; and fill in the port identifiers of the communication ports that failed to be identified in the corresponding local port information matrix generated based on the first local image and their relative positions in the corresponding local areas according to the regenerated local port information matrix.
[0216] Optionally, the display module 903 is used to display a prompt message, wherein the prompt message is used to prompt the user to retake a second local image; the processing module 902 is also used to retake the second local image for the local area corresponding to the first local image; based on the second local image, the corresponding local port information matrix is regenerated; according to the regenerated local port information matrix, the port identifier of the communication port that failed to be identified in the corresponding local port information matrix generated based on the first local image and its relative position in the corresponding local area are filled.
[0217] In another possible implementation, the communication port management apparatus is used to search for a communication port on a communication device connection panel, wherein each communication port on the communication device connection panel is attached with a port label for identifying each communication port, including:
[0218] An acquisition module 901 is configured to acquire a partial image of the connection panel of the communication device, wherein the partial image corresponds to a partial area of the connection panel of the communication device;
[0219] A processing module 902 is configured to generate a corresponding local port information matrix based on the local image, wherein the local port information matrix is configured to represent a port identifier of each communication port in the local area and its relative position in the local area;
[0220] The display module 903 is configured to present the relative position of the communication port to be found in the local area according to the port identifier of the communication port to be found and the local port information matrix.
[0221] Optionally, the display module 903 is further configured to present relative positions of the communication ports in the local port information matrix whose port identifiers are the same as the port identifier of the communication port to be found in the local area.
[0222] Optionally, the processing module 902 is further used to compare the port identifier of each communication port in the local port information matrix with the port identifier of the communication port to be found; if the port identifier of a communication port in the local port information matrix is the same as the port identifier of the communication port to be found, then the relative position of the communication port to be found in the local area is determined to be the relative position of the communication port in the local port information matrix in the local area; the display module 903 is also used to present the relative position of the communication port to be found in the local area.
[0223] Optionally, the acquisition module 901 is further configured to acquire the port identifier of the communication port to be found by scanning a port label of the communication port to be found on a connection panel of other communication devices.
[0224] Optionally, at least one characteristic mark is attached to the connection panel of the communication device; the acquisition module 901 is further used to capture a local image of the local area according to the characteristic mark on the connection panel of the communication device.
[0225] Optionally, the relative position of the communication port to be found in the local area includes column position information and row position information in the local area.
[0226] Optionally, the column position information is determined based on the position information of the characteristic mark in the local area, and the row position information is determined based on the distance from the first row of communication ports in the local area.
[0227] Optionally, the display module 903 is further configured to present the relative position of the communication port to be found in the local area in a highlighting manner.
[0228] It should be noted that the implementation of each module can also refer to Figure 2 and Figure 8 The corresponding description of the method embodiment shown executes the methods and functions performed by the electronic device in the above embodiments.
[0229] An embodiment of the present application also provides a chip system, which includes a processor for supporting an electronic device to implement the functions involved in any of the above embodiments, such as generating or processing the parasitic resistance and capacitance parameters involved in the above method. In one possible design, the chip system may also include a memory, which is used for program instructions and data necessary for the electronic device. The chip system can be composed of a chip, or it can include a chip and other discrete devices. Among them, the input and output of the chip system correspond to the receiving and sending operations of the electronic device in the method embodiment, respectively.
[0230] The present application also provides a processing device, including a processor and a communication interface. The processor can be used to execute the method in the above method embodiment.
[0231] It should be understood that the processing device may be a chip. For example, the processing device may be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD), or other integrated chips.
[0232] During implementation, each step of the above method can be completed by an integrated logic circuit of the hardware in the processor or by instructions in the form of software. The steps of the method disclosed in conjunction with the embodiments of the present application can be directly embodied as being executed by a hardware processor, or can be executed by a combination of hardware and software modules in the processor. 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 the 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 will not be described in detail here.
[0233] It should be noted that the processor in the embodiments of the present application can be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method embodiment can be completed by an integrated logic circuit of the hardware in the processor or by instructions in the form of software. The above processor can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component. The various methods, steps, and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware decoding processor, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium mature in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, registers, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
[0234] According to the method provided in the embodiment of the present application, the present application also provides a computer program product, which includes: a computer program, when the computer program is run on a computer, causes the computer to execute Figure 2 and Figure 8 A method according to any one of the embodiments shown.
[0235] According to the method provided in the embodiment of the present application, the present application also provides a computer readable medium, which stores a computer program, which, when executed on a computer, causes the computer to execute Figure 2 and Figure 8 A method according to any one of the embodiments shown.
[0236] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware, or any combination thereof. When implemented using software, all or part of the embodiments may be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated therein. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a high-density digital video disc (DVD)), or a semiconductor medium (eg, a solid state disc (SSD)).
Claims
1. A communication port management method for managing a plurality of communication ports on a connection panel of a communication device, wherein each of the plurality of communication ports is attached with a port label for identifying the communication port, and the connection panel of the communication device is attached with at least one characteristic mark, characterized in that: include: Acquiring at least two partial images of the connection panel of the communication device, comprising: acquiring multiple frames of preview images of the connection panel of the communication device; when the characteristic mark is detected, selecting a partial image in which the characteristic mark can be identified from the multiple frames of preview images, wherein each partial image corresponds to a partial area of the connection panel of the communication device; generating an overall port information matrix of the communication device connection panel based on the at least two partial images, wherein the overall port information matrix is used to represent a port identifier of each communication port among the plurality of communication ports and a relative position of each communication port in an overall area of the communication device connection panel; Communication port management is performed based on the overall port information matrix.
2. The method according to claim 1, wherein Generating the overall port information matrix of the communication device connection panel based on the at least two partial images includes: For each of the partial images, generating a corresponding local port information matrix to obtain at least two local port information matrices, wherein each local port information matrix is used to represent a port identifier of each communication port in a corresponding local area and its relative position in the corresponding local area; The overall port information matrix is obtained based on the at least two local port information matrices.
3. The method according to claim 2, wherein The obtaining of the overall port information matrix based on the at least two local port information matrices includes: Determining a relative position of each local area, wherein the relative position of each local area is a relative position of the local area corresponding to each local port information matrix in the connection panel of the communication device; Based on the relative position of each local area and the relative position of each communication port in the local area corresponding to each local port information matrix, the relative position of each communication port in the overall area of the communication device connection panel is determined.
4. The method according to claim 3, wherein Determining the relative position of each local area includes: The relative position of each local area is determined according to the relative position of each local image input by the user.
5. The method according to claim 3, wherein At least one characteristic mark is attached to the connection panel of the communication device, and determining the relative position of each local area includes: The relative position of each local area is determined according to the identification information of the at least one characteristic marker.
6. The method according to claim 3, wherein Determining the relative position of each local area includes: The relative position of each local area is determined according to the relative position of the at least one feature mark in the overall area input by the user.
7. The method according to claim 3, wherein Determining the relative position of each local area includes: The relative position of each local area is determined according to the arrangement characteristics of the port identifiers in each local port information matrix.
8. The method according to any one of claims 1 to 7, wherein: In the at least two partial images, there is an overlapping area between the partial area corresponding to the first partial image and the partial area corresponding to the second partial image.
9. The method according to claim 2, wherein The obtaining of the overall port information matrix based on the at least two local port information matrices includes: The port identifiers of the communication ports that are repeated in the at least two local port information matrices and their relative positions in the overall area of the communication device connection panel are removed.
10. The method according to any one of claims 1 to 7, wherein: The acquiring of multiple preview images of the connection panel of the communication device includes: During the process of photographing the connection panel of the communication device, determining the imaging quality of the multiple frames of preview images; According to the imaging quality, prompt information is displayed, and the prompt information is used to prompt the user to control the shooting speed and shooting distance.
11. The method according to any one of claims 1 to 7, wherein: The acquiring of at least two partial images of the connection panel of the communication device comprises: For each local area, multiple local images are taken; A local image having a clarity greater than a preset threshold is selected from the multiple local images.
12. The method according to any one of claims 1 to 7, wherein: The communication port management based on the overall port information matrix includes: According to the port identifier of the communication port to be found and the overall port information matrix, the relative position of the communication port to be found in the connection panel of the communication device is presented.
13. The method according to claim 12, wherein: The communication port to be found is an idle communication port, and the method further includes: In the overall port information matrix, the communication port to be found is identified as an idle communication port.
14. The method according to any one of claims 1 to 7, wherein: The relative position of each communication port in the overall area of the communication device connection panel includes row position information and column position information in the overall area of the communication device connection panel.
15. A communication port management method for finding a communication port on a communication device connection panel, wherein each communication port on the communication device connection panel is attached with a port label for identifying each communication port, and the communication device connection panel is attached with at least one characteristic mark, characterized in that: include: Taking a partial image of a local area according to the characteristic mark on the connection panel of the communication device, wherein the partial image corresponds to a local area of the connection panel of the communication device; Based on the local image, generating a corresponding local port information matrix, wherein the local port information matrix is used to represent the port identification of each communication port in the local area and its relative position in the local area; According to the port identifier of the communication port to be found and the local port information matrix, the relative position of the communication port to be found in the local area is presented.
16. The method according to claim 15, wherein The presenting the relative position of the communication port to be found in the local area according to the port identifier of the communication port to be found and the local port information matrix includes: The relative positions of the communication ports in the local area whose port identifiers in the local port information matrix are the same as the port identifier of the communication port to be found are presented.
17. The method according to claim 15 or 16, wherein: The method further comprises: The port identifier of the communication port to be found is obtained by scanning the port label of the communication port to be found on the connection panel of other communication equipment.
18. The method according to claim 15 or 16, wherein: The relative position of the communication port to be found in the local area includes column position information and row position information in the local area.
19. The method according to claim 15 or 16, wherein: The method further comprises: The relative position of the communication port to be found in the local area is presented in a highlighted manner.
20. A communication port management device for managing a plurality of communication ports on a connection panel of a communication device, wherein each of the plurality of communication ports is attached with a port label for identifying the communication port, and the connection panel of the communication device is attached with at least one characteristic mark, characterized in that: include: an acquisition module, configured to acquire at least two partial images of the connection panel of the communication device, comprising: acquiring multiple preview images of the connection panel of the communication device; and when the characteristic mark is detected, selecting a partial image from the multiple preview images in which the characteristic mark can be identified, wherein each partial image corresponds to a partial area of the connection panel of the communication device; A processing module is configured to generate, based on the at least two partial images, an overall port information matrix of the communication device connection panel, wherein the overall port information matrix is configured to represent a port identifier of each of the plurality of communication ports and a relative position of each communication port within the overall area of the communication device connection panel; and perform communication port management based on the overall port information matrix.
21. The device according to claim 20, characterized in that The processing module is further configured to generate a corresponding local port information matrix for each local image, thereby obtaining at least two local port information matrices, wherein each local port information matrix is configured to represent the port identifier of each communication port in the corresponding local area and its relative position in the corresponding local area; and to obtain the overall port information matrix based on the at least two local port information matrices.
22. The device according to claim 21, wherein The processing module is also used to determine the relative position of each local area, where the relative position of each local area is the relative position of the local area corresponding to each local port information matrix in the communication device connection panel; based on the relative position of each local area and the relative position of each communication port in the local area corresponding to each local port information matrix, the relative position of each communication port in the overall area of the communication device connection panel is determined.
23. The device according to any one of claims 20 to 22, characterized in that In the at least two partial images, there is an overlapping area between the partial area corresponding to the first partial image and the partial area corresponding to the second partial image.
24. The device according to claim 23, wherein The processing module is further used to determine the imaging quality of the multiple frames of preview images during the process of photographing the connection panel of the communication device; and display prompt information based on the imaging quality, wherein the prompt information is used to prompt the user to control the shooting speed and shooting distance.
25. The device according to any one of claims 20 to 22, characterized in that The processing module is further configured to capture multiple local images for each local area; and A local image with a clarity greater than a preset threshold is selected from the image.
26. The device according to any one of claims 20 to 22, characterized in that The device further comprises: The display module is used to present the relative position of the communication port to be found in the connection panel of the communication device according to the port identifier of the communication port to be found and the overall port information matrix.
27. The device according to claim 26, wherein The communication port to be found is an idle communication port; The processing module is further configured to identify the communication port to be searched as an idle communication port in the overall port information matrix.
28. The device according to any one of claims 20 to 22, characterized in that The relative position of each communication port in the overall area of the communication device connection panel includes row position information and column position information of each communication port in the overall area of the communication device connection panel.
29. A communication port management device for searching for communication ports on a communication device connection panel, wherein each communication port on the communication device connection panel is attached with a port label for identifying each communication port, and the communication device connection panel is attached with at least one characteristic mark, characterized in that: include: an acquisition module, configured to capture a local image of a local area according to the characteristic mark on the connection panel of the communication device, wherein the local image corresponds to a local area of the connection panel of the communication device; a processing module, configured to generate a corresponding local port information matrix based on the local image, wherein the local port information matrix is used to represent a port identifier of each communication port in the local area and a relative position thereof in the local area; The display module is configured to present the relative position of the communication port to be found in the local area according to the port identifier of the communication port to be found and the local port information matrix.
30. The device according to claim 29, wherein The display module is further configured to present relative positions of the communication ports in the local port information matrix whose port identifiers are the same as the port identifier of the communication port to be found in the local area.
31. The device according to claim 29 or 30, characterized in that The relative position of the communication port to be found in the local area includes column position information and row position information in the local area.
32. The device according to claim 29 or 30, characterized in that The display module is further configured to present the relative position of the communication port to be found in the local area in a highlighting manner.
33. A device, characterized in that The apparatus comprises a processor and a memory, wherein the memory is used to store a computer program, and the processor runs the computer program to cause the apparatus to perform the method according to any one of claims 1 to 19.
34. A chip, characterized in that: The chip includes a processor and an input interface and an output interface connected to the processor. The chip also includes a memory. When the computer program in the memory is executed, the method according to any one of claims 1 to 19 is executed.
35. A computer-readable storage medium, characterized in that Used to store a computer program, which, when running on a computer, causes the computer to execute the method according to any one of claims 1 to 19.
36. A computer program product, characterized in that The computer program product comprises a computer program, which, when run on a computer, causes the computer to perform the method according to any one of claims 1 to 19 .
Citation Information
Patent Citations
Optical cable cross-connecting box intelligent identification method and system
CN111222489A