Optical fiber detection method and device, electronic equipment, storage medium and program product

By collecting optical fiber images and establishing the relationship between pixel characteristic value and water inlet steam, the problem of hollow-core optical fiber being unable to detect breakage or breakage points in humid environments is solved, and fast and accurate water vapor detection is achieved.

CN120577321APending Publication Date: 2025-09-02CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511006344.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-21
Publication Date
2025-09-02

AI Technical Summary

Technical Problem

Existing optical time domain reflectors cannot effectively detect the breaking or breaking points of hollow-core optical fibers in wet or water wading environments, resulting in the inability to discover the cause of communication interruption in time.

Method used

By collecting optical fiber images and determining whether the optical fiber is inlet steam and the position and time of the inlet steam based on the pixel characteristic value and the preset correspondence relationship, the fiber image set is constructed to establish the correspondence relationship between the pixel characteristic value and the length or time of the inlet steam.

Benefits of technology

It realizes the rapid and accurate identification of whether there is water vapor and its location and time in the optical fiber, and solves the problem that the breakage or damage points of the hollow core optical fiber cannot be discovered in a timely manner in the prior art.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120577321A_ABST
    Figure CN120577321A_ABST
Patent Text Reader

Abstract

The invention provides an optical fiber detection method and device, electronic equipment, a storage medium and a program product, relates to the technical field of image recognition, and is used for determining whether water vapor enters a to-be-detected optical fiber and determining the water vapor entering time and / or length. The method comprises the following steps: acquiring an optical fiber image of a to-be-detected optical fiber; determining a detection result based on the pixel characteristic value of the optical fiber image and a preset corresponding relation; the detection result represents the water vapor inlet length and / or water vapor inlet time of the to-be-detected optical fiber, and the corresponding relation represents the corresponding relation between the pixel characteristic value of the optical fiber image and the water vapor inlet length and / or water vapor inlet time of the optical fiber.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of image recognition technology, and in particular to an optical fiber detection method, device, electronic device, storage medium, and program product. Background Art

[0002] Hollow-core optical fiber is one of the important candidate media for the development of the next generation of ultra-large capacity, low latency, and high-speed optical communication systems due to its excellent properties such as ultra-low loss, ultra-low dispersion, ultra-low nonlinearity, and low latency.

[0003] However, due to the hollow structure of hollow-core fiber, when it is laid in a humid or water-filled environment and breaks or damages, moisture inevitably enters its interior, causing additional transmission loss or even communication interruption. Due to the extremely weak backscattering of hollow-core fiber, existing optical time-domain reflectometers (OTDRs) are unable to detect hollow-core fiber breaks or damage, resulting in the inability to promptly identify hollow-core fiber breaks or damage during maintenance. Summary of the Invention

[0004] The present application provides an optical fiber detection method, device, electronic device, storage medium and program product for determining whether water vapor has entered the optical fiber to be detected and the location of the damage point that caused the water vapor to enter.

[0005] In a first aspect, the present application provides a method for detecting an optical fiber, comprising:

[0006] Obtain an optical fiber image of the optical fiber to be inspected; determine a detection result based on pixel characteristic values ​​of the optical fiber image and a preset correspondence relationship; the detection result represents the water vapor inlet length and / or water vapor inlet time of the optical fiber to be inspected, and the correspondence relationship represents the correspondence between the pixel characteristic values ​​of the optical fiber image and the water vapor inlet length and / or water vapor inlet time of the optical fiber.

[0007] The technical solution provided by the present application brings at least the following beneficial effects: by obtaining the pixel values ​​of the optical fiber image of the optical fiber to be inspected, combined with a given preset correspondence, it is possible to quickly determine whether there is water vapor in the optical fiber, as well as the location and time when water vapor enters the optical fiber.

[0008] In a possible implementation, the correspondence is constructed based on a first image set, where the first image set includes multiple first optical fiber images, and the distances between acquisition positions on the optical fiber and positions of the water vapor inlet end are different.

[0009] Another possible implementation method is to construct the corresponding relationship based on a second image set, where the second image set includes multiple second optical fiber images, which are respectively collected at target positions of multiple optical fibers. The water vapor inlet times of the multiple optical fibers are different, and the distance between the target position and the water vapor inlet end of the optical fiber is greater than or equal to a preset distance.

[0010] In another possible implementation, the optical fiber image includes a side view and / or an end view of the optical fiber.

[0011] In a second aspect, the present application provides an optical fiber detection device, comprising:

[0012] A light source is used to emit light, which passes through the optical fiber to be detected; an objective lens is used to receive the light passing through the optical fiber to be detected and project it onto an image collector; the image collector is used to generate an optical fiber image of the optical fiber to be detected based on the light passing through the optical fiber to be detected; a processing unit is used to determine a detection result based on the pixel characteristic values ​​of the acquired optical fiber image and a preset corresponding relationship; the detection result represents the water vapor inlet length and / or water vapor inlet time of the optical fiber to be detected, and the corresponding relationship represents the corresponding relationship between the pixel characteristic values ​​of the optical fiber image and the water vapor inlet length and / or water vapor inlet time of the optical fiber.

[0013] In one possible implementation, the corresponding relationship is constructed based on the first image set and / or the second image set; the first image set includes multiple first optical fiber images, and the distances between the collection positions of the multiple first optical fiber images on the optical fiber and the positions of the water vapor inlet end are different; the second image set includes multiple second optical fiber images, and the multiple second optical fiber images are respectively collected at the target positions of multiple optical fibers, the water vapor inlet times of the multiple optical fibers are different, and the distances between the target positions and the positions of the water vapor inlet ends of the optical fibers are greater than or equal to the preset distance.

[0014] In another possible implementation, the device further includes: a collimator, disposed on the light source, for converting the light emitted by the light source into parallel light.

[0015] In another possible implementation, the device further includes: a reflector configured to reflect the light emitted by the light source so that the light passes through the optical fiber to be detected.

[0016] In a third aspect, the present application provides an electronic device comprising: a processor and a memory; the memory stores instructions executable by the processor; when the processor is configured to execute the instructions, the electronic device implements the method of the first aspect above.

[0017] In a fourth aspect, the present application provides a computer-readable storage medium, which includes: computer software instructions; when the computer software instructions are executed in an electronic device, the electronic device implements the method of the first aspect above.

[0018] In a fifth aspect, the present application provides a computer program product, which includes a computer program; when the computer program runs in an electronic device, the electronic device implements the method of the first aspect above.

[0019] The beneficial effects of the second to fifth aspects mentioned above refer to the corresponding description of the first aspect and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 A schematic structural diagram of an optical fiber detection device provided in this application;

[0021] Figure 2 A schematic structural diagram of another optical fiber detection device provided in this application;

[0022] Figure 3 A schematic structural diagram of another optical fiber detection device provided in this application;

[0023] Figure 4 A schematic structural diagram of another optical fiber detection device provided in this application;

[0024] Figure 5 A schematic diagram of a process for optical fiber detection provided in this application;

[0025] Figure 6 A schematic diagram of the composition of an electronic device provided in this application. DETAILED DESCRIPTION

[0026] The following is a detailed description of a call bill data recording method provided by this application with reference to the accompanying drawings.

[0027] The term "and / or" in this article is merely a description of the association relationship between associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0028] The terms "first" and "second" and the like in the specification and drawings of this application are used to distinguish different objects, or to distinguish different processing of the same object, rather than to describe a specific order of objects.

[0029] Furthermore, the terms "including," "having," and any variations thereof, as used in the description of this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or units is not limited to the listed steps or units but may optionally include other steps or units not listed, or may optionally include other steps or units inherent to the process, method, product, or apparatus.

[0030] It should be noted that in the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be interpreted as being more preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.

[0031] In order to facilitate a clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish between identical or similar items with basically the same functions and effects. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order.

[0032] In the description of the present application, unless otherwise specified, “plurality” means two or more.

[0033] Hollow-core optical fiber, with its exceptional properties of ultra-low loss, ultra-low dispersion, ultra-low nonlinearity, and low latency, is a key candidate for the development of next-generation ultra-high-capacity, low-latency, and high-speed optical communication systems. However, due to its hollow structure, when hollow-core optical fiber is laid in humid or submerged environments and breaks or ruptures, moisture inevitably enters the hollow space. This moisture can cause additional transmission loss or even communication interruption.

[0034] Unlike liquid water, water vapor mostly exists in gaseous form inside hollow-core optical fibers. Furthermore, due to the extremely weak backscattering inside hollow-core optical fibers, existing OTDRs are unable to detect water vapor inside hollow-core optical fibers to determine whether the hollow-core optical fibers are broken. Consequently, during maintenance of existing networks, the breakage / damage points of hollow-core optical fibers cannot be discovered in a timely manner.

[0035] In response to the above technical problems, the present application provides a fiber optic detection method, the idea of ​​which is to collect fiber optic images of fibers that may be broken and have water vapor ingress, and based on the collected fiber optic images and the preset correspondence, determine whether the tested fiber optic has water vapor ingress, as well as the time and length of water vapor ingress.

[0036] The embodiments provided in this application are described in detail below with reference to the accompanying drawings.

[0037] The optical fiber detection method provided in this application can be applied to electronic equipment.

[0038] Exemplarily, the electronic device may be a server, such as a server cluster consisting of multiple servers, or a single server, or a computer, or a processor or processing chip in a server or computer, etc. Exemplarily, the electronic device may also be a terminal, such as a mobile phone, a tablet computer, a wearable device, an in-vehicle device, an augmented reality (AR) / virtual reality (VR) device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), etc. It should be noted that the embodiments of the present application do not limit the specific device form of the electronic device.

[0039] Figure 1 A schematic structural diagram of an optical fiber detection device provided in an embodiment of the present application includes:

[0040] The light source 101 is used to emit light, which passes through the optical fiber to be tested; the objective lens 102 is used to receive the light passing through the optical fiber to be tested and project it onto the image collector; the image collector 103 is used to generate an optical fiber image of the optical fiber to be tested based on the light passing through the optical fiber to be tested; the processing unit 104 is used to determine the detection result based on the pixel characteristic values ​​of the acquired optical fiber image and a preset corresponding relationship; the detection result represents the water vapor inlet length and / or water vapor inlet time of the optical fiber to be tested, and the corresponding relationship represents the corresponding relationship between the pixel characteristic values ​​of the optical fiber image and the water vapor inlet length and / or water vapor inlet time of the optical fiber.

[0041] In some embodiments, the light source 101 can be a light-emitting device such as a laser diode or a light-emitting diode, or the type of light source can be customized according to different usage scenarios. The objective lens 102 can be a lens group composed of multiple lenses. Specifically, the spacing between the lenses of the lens group can be adjusted to focus and form a clear optical fiber image. The image collector 103 can obtain the light after imaging by the objective lens, and convert the optical signal into an electrical signal and send it to the processing unit 104. The processing unit 104 can be a processor that can be a central processing unit (CPU), a digital signal processor (DSP), a microcontroller unit (MCU) or a field-programmable gate array (FPGA), etc., for analyzing the signal sent by the image collector 103, obtaining the pixel characteristic value distribution of the optical fiber image, and feedback the water vapor inflow condition of the optical fiber in combination with the preset corresponding relationship.

[0042] The technical solutions provided by the above embodiments bring at least the following beneficial effects: the optical fiber detection device provided in the present application has a simple structure, can identify the water vapor ingress into the optical fiber, and can also be used in combination with an existing fusion splicer.

[0043] Figure 2 Another optical fiber detection device provided in the embodiment of the present application is Figure 1 The fiber optic detection device also includes:

[0044] The collimator 201 is disposed on the light source 101 and is used to convert the light emitted by the light source 101 into parallel light. The collimator 201 may include a convex lens, and the light source 101 may be disposed at the focus of the convex lens in the collimator 201 to convert the light emitted by the light source 101 into parallel light.

[0045] The technical solutions provided by the above embodiments bring at least the following beneficial effects: the optical fiber detection device provided by the present application, in which the collimator converts the scattered light emitted by the point light source into parallel light, can achieve better imaging effects.

[0046] Figure 3 Another optical fiber detection device provided in the embodiment of the present application is Figure 2 The fiber optic detection device also includes:

[0047] The reflector 301 is used to reflect the light emitted by the light source so that the light passes through the optical fiber to be detected.

[0048] In some embodiments, it is not supported to arrange the light source 101 and the image collector 103 on the same side, and the light can be reflected by means of a reflector 301 to reflect the light to the optical fiber.

[0049] The technical solutions provided by the above embodiments bring at least the following beneficial effects: the optical fiber detection device provided in the present application can flexibly adjust the structural layout of the device by adding a reflector, making the arrangement of the device more flexible.

[0050] It should be noted that the device described in the embodiments of the present application is intended to more clearly illustrate the technical solutions of the embodiments of the present application, and does not constitute a limitation on the technical solutions provided in the embodiments of the present application. Ordinary technicians in this field can know that with the evolution of the device, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0051] The optical fiber detection method of the embodiment of the present application is introduced below with reference to a specific embodiment.

[0052] Implementation method 1: Applicable to Figure 1In the fiber optic detection device shown, collimator 201 directs light emitted by light source 101 horizontally through a water vapor-infused fiber. Objective lens 102 receives the light and transmits it to image collector 203. Image collector 103 obtains a side view of the water vapor-infused fiber and transmits this view to processing unit 104, connected to image collector 103, to calculate pixel feature values ​​of the fiber image. A water vapor-infused fiber is prepared, and side images of the water vapor-infused fiber are obtained at various locations at different distances from the water inlet end of the water vapor-infused fiber. Processing unit 104 obtains the image pixel feature values ​​and establishes a correspondence between the image pixel feature values ​​and the water vapor-infused length of the hollow-core fiber, thereby achieving a correspondence between the side image of the water vapor-infused fiber and the water vapor-infused length of the hollow-core fiber.

[0053] Implementation method 2: Applicable to Figure 2 In the optical fiber detection device shown, light emitted by light source 101 is collimated by collimator 201 and then directed toward reflector 301. Mirror 301 reflects the light and transmits it through the water vapor-infused optical fiber. Objective lens 102 receives the light and enters image acquisition device 103. Image acquisition device 103 obtains a side view of the water vapor-infused optical fiber 3 and transmits the side view to processing unit 104 connected to image acquisition device 103 to calculate image pixel feature values. A batch of hollow-core optical fibers with different water vapor infusion durations are prepared, positioned at the same distance from the water inlet end of each water vapor-infused optical fiber. Side images of the water vapor-infused hollow-core optical fibers are sequentially acquired. Processing unit 104 sequentially acquires image pixel feature values ​​and establishes a correspondence between the image pixel feature values ​​and the water vapor infusion duration of the optical fiber, thereby achieving a correspondence between the side images of the water vapor-infused hollow-core optical fiber and the water vapor infusion duration of the hollow-core optical fiber.

[0054] Implementation method three, which can be applied to the embodiments of this application, such as Figure 4 In another fiber optic detection device shown, collimator 201 directs light emitted by light source 101 toward the end face of a water vapor-infused fiber. Light reflected from this end face is received by objective lens 102 and enters image acquisition device 103. Image acquisition device 103 obtains an end face image of the water vapor-infused fiber and transmits this end face image to processing unit 104 connected to image acquisition device 103 to calculate image pixel feature values. A batch of hollow-core optical fibers with varying water vapor infiltration durations are prepared, and end face images of the water vapor-infused fibers are sequentially acquired. Processing unit 104 sequentially acquires image pixel feature values ​​and establishes a correspondence between the image pixel feature values ​​and the water vapor infiltration duration of the hollow-core fibers, thereby achieving a correspondence between the end face images of the water vapor-infused fibers and the water vapor infiltration duration of the hollow-core fibers.

[0055] Figure 5 This is a flow chart of a fiber optic detection method provided in an embodiment of the present application. Figure 5 As shown, the sandbox reconstruction method provided by this application specifically includes S501-S502.

[0056] S501: Acquire an optical fiber image of an optical fiber to be inspected.

[0057] For example, in this application, the optical fiber to be inspected may be a hollow-core optical fiber, and the optical fiber image may be an image formed by light emitted by a light source passing through or reflected from the optical fiber. Specifically, the optical fiber image may be acquired from multiple locations along the optical fiber to be inspected. For selecting the inspection location, locations near where the optical fiber to be inspected wades through water or locations prone to breakage during installation may be selected.

[0058] S502: Determine a detection result based on the pixel feature values ​​of the optical fiber image and a preset corresponding relationship.

[0059] The detection result indicates the water vapor ingress length and / or water vapor ingress time of the optical fiber to be detected, and the corresponding relationship indicates the corresponding relationship between the pixel characteristic value of the optical fiber image and the water vapor ingress length and / or water vapor ingress time of the optical fiber.

[0060] Under normal circumstances, the interior of an optical fiber is a gas. When water vapor enters, this vaporized liquid water may adhere to the fiber's interior, forming droplets. It may also form floating droplets. These droplets will cause diffuse reflection, resulting in pixel feature values ​​in the optical fiber image differing from those in normal conditions. Specifically, the pixel feature value can be the color or chromaticity value of the optical fiber image pixel. For grayscale images, this can be the brightness value of the pixel, while for RGB images, it can be the color value of the RGB channels.

[0061] In some embodiments, when the optical fiber's water vapor inlet time reaches a threshold, its water vapor inlet length stabilizes and no longer changes. The optical fiber's water vapor inlet length can be the length of the optical fiber from the location where the fiber breaks to the farthest point where water vapor can be detected. In practical applications, when a break occurs at a certain location in the optical fiber, water vapor will diffuse from that location to both ends. In other words, the optical fiber's water vapor inlet length, as defined in this application, can refer to the optical fiber's water vapor inlet length on one side of the break. Generally, the optical fiber's water vapor inlet length is positively correlated with the water vapor inlet time, but as the water vapor inlet time increases, the rate of increase in the optical fiber's water vapor inlet length gradually decreases.

[0062] In some embodiments, the presence of water vapor at the detection location is determined by analyzing the pixel characteristic values ​​of the acquired optical fiber image in conjunction with a preset correspondence. For example, the concentration of water vapor entering the optical fiber can be negatively correlated with the distance from the break location; that is, the closer to the break location, the greater the water vapor concentration within the optical fiber. It is understood that the water vapor concentration also affects the pixel characteristic values ​​of the optical fiber image. Based on this principle, the presence of water vapor at the current detection location, as well as the duration or duration of water vapor intrusion, can be determined by using the correspondence between the pixel characteristic values ​​of the optical fiber image and the time and / or length of water vapor intrusion, as defined in the preset relationship.

[0063] The technical solutions provided by the above embodiments bring at least the following beneficial effects. The optical fiber detection method provided in the present application obtains an optical fiber image of the optical fiber to be detected, analyzes its pixel characteristic values, and combines it with a preset correspondence to determine whether water vapor has entered the optical fiber to be detected, as well as the time and length of water vapor entry, thereby solving the current problem of being unable to detect water vapor entering the optical fiber.

[0064] In some embodiments, the correspondence is constructed based on a first image set, which includes a plurality of first optical fiber images, where collection positions of the plurality of first optical fiber images on the optical fiber are at different distances from positions of the water vapor inlet end.

[0065] When constructing the first image set, a given first optical fiber sample can be used. The fracture position of the first optical fiber sample is known. By sampling at different distances from the fracture position of the first optical fiber sample, the corresponding first optical fiber image is obtained. The corresponding relationship between the pixel characteristic value of the optical fiber image and the distance from the water vapor inlet end position is determined by the obtained first optical fiber image and the corresponding sampling position. For example, when the first optical fiber image is a grayscale image, the first image collected at 0.2 meters from the water vapor inlet end has a grayscale value of less than 120. The proportion of pixels with a grayscale value of less than 120 in the first image collected at 0.4 meters from the water vapor inlet end exceeds 40% to 50%. Similarly, the corresponding relationship between the pixel characteristic value of the optical fiber image and the water vapor inlet length of the optical fiber is established.

[0066] In some embodiments, the acquired first optical fiber image can be annotated, for example: 0.2 meters away from the water vapor inlet end, grayscale values ​​less than 120 pixels account for 60%, grayscale values ​​120-180 pixels account for 35%, and grayscale values ​​greater than 200 account for 15%. The annotation content is not limited to the listed content, and can also include sampling date, sampling optical fiber model, weather information of the day, etc.

[0067] The technical solutions provided by the above embodiments bring at least the following beneficial effects. The optical fiber detection method provided in this application establishes the relationship between the pixel characteristic values ​​of the optical fiber image and the water vapor inlet length through a pre-acquired image set, which facilitates the subsequent application to quickly and directly determine the water vapor inlet condition of the optical fiber based on the actually acquired optical fiber image.

[0068] In some embodiments, the corresponding relationship is constructed based on a second image set, which includes multiple second optical fiber images. The multiple second optical fiber images are respectively collected at target positions of multiple optical fibers. The water vapor inlet times of the multiple optical fibers are different, and the distance between the target position and the water vapor inlet end of the optical fiber is greater than or equal to a preset distance.

[0069] In some embodiments, a second image set can be constructed using multiple second fiber samples. Specifically, the water vapor inlet timing of each of the multiple second fiber samples differs. For any given second fiber sample, multiple target sampling locations can be set. For example, locations on the second fiber sample 0.2 meters, 0.4 meters, and 0.6 meters from the water vapor inlet can be set as target locations, and corresponding second fiber images can be captured. The target locations for capturing fiber images of the multiple second fiber samples can be the same or different.

[0070] In some embodiments, the second optical fiber image in the second image set can also be annotated, for example, the water vapor inlet time is 1 day, the distance from the water vapor inlet end is 0.2 meters, etc. The annotation method of the first optical fiber image in the aforementioned embodiment can be referred to and will not be repeated here.

[0071] The technical solutions provided by the above embodiments bring at least the following beneficial effects. The optical fiber detection method provided in this application establishes the relationship between the pixel characteristic values ​​of the optical fiber image and the water vapor ingress time through a pre-acquired image set, which facilitates the subsequent application to quickly and directly determine the water vapor ingress condition of the optical fiber based on the actually acquired optical fiber image.

[0072] In some embodiments, the optical fiber image includes a side view and / or an end view of the optical fiber.

[0073] For example, when inspecting an optical fiber with unknown moisture ingress, the image obtained may be a side view of the fiber. This image is formed by the light from the light source passing through the fiber. Technicians can then cut off a portion of the fiber based on the moisture ingress and re-inspect the fiber to confirm that the moisture-ingressed portion has been completely removed. The resulting image of the fiber can be an end-face view of the fiber, formed by the light from the light source reflecting off the cut end face of the fiber.

[0074] In some embodiments, when constructing the first image set and the second image set, the side view and the end view of the optical fiber may also be used simultaneously for construction.

[0075] The technical solutions provided by the above embodiments bring at least the following beneficial effects. The optical fiber detection method provided in this application can more accurately determine the water vapor ingress situation of the optical fiber by obtaining the side view and end view of the optical fiber, and assist technicians in handling broken optical fibers.

[0076] It can be seen that the above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. In order to achieve the above functions, the embodiment of the present application provides hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily appreciate that, in combination with the modules and algorithm steps of each example described in the embodiment disclosed herein, the embodiment of 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 exceed the scope of the present invention.

[0077] In the embodiments of the present application, the functions of the optical fiber detection device can be divided according to the above-mentioned method examples. For example, each component can be divided according to each function, or two or more functions can be integrated into a single component. The above-mentioned integrated components can be implemented in the form of hardware or software functional modules. Optionally, the division of components in the embodiments of the present application is illustrative and is only a logical functional division. In actual implementation, other division methods may be used.

[0078] In the case of implementing the functions of the above-mentioned integrated modules in the form of hardware, the embodiment of the present invention provides a possible structural diagram of the electronic device involved in the above-mentioned embodiment. Figure 6 As shown, the electronic device 600 includes: a processor 602 , a communication interface 603 , and a bus 604 . Optionally, the electronic device 600 may further include a memory 601 .

[0079] Processor 602 may implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 602 may be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field-programmable gate array, or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. It may implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 602 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, or a combination of a DSP and a microprocessor.

[0080] The communication interface 603 is used to connect to other devices via a communication network, such as Ethernet, wireless access network, wireless local area network (WLAN), etc.

[0081] The memory 601 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.

[0082] As a possible implementation, memory 601 can exist independently of processor 602. Memory 601 can be connected to processor 602 via bus 604 to store instructions or program codes. When processor 602 calls and executes the instructions or program codes stored in memory 601, the optical fiber detection method provided in the embodiment of the present invention can be implemented.

[0083] In another possible implementation, the memory 601 may also be integrated with the processor 602 .

[0084] The bus 604 may be an extended industry standard architecture (EISA) bus, etc. The bus 604 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 Only one solid line is used in the diagram, but this does not mean that there is only one bus or one type of bus.

[0085] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the service calling device can be divided into different functional modules to complete all or part of the functions described above.

[0086] The embodiment of the present application also provides a computer-readable storage medium. All or part of the processes in the above-mentioned method embodiment can be completed by computer instructions to instruct the relevant hardware, and the program can be stored in the above-mentioned computer-readable storage medium. When the program is executed, it may include the processes of the above-mentioned method embodiments. The computer-readable storage medium can be the memory of any of the above-mentioned embodiments. The above-mentioned computer-readable storage medium can also be an external storage device of the above-mentioned service calling device, such as a plug-in hard disk, a smart memory card (smart media card, SMC), a secure digital (secure digital, SD) card, a flash card (flash card), etc. equipped on the above-mentioned service calling device. Furthermore, the above-mentioned computer-readable storage medium can also include both the internal storage unit of the above-mentioned service calling device and an external storage device. The above-mentioned computer-readable storage medium is used to store the above-mentioned computer program and other programs and data required by the above-mentioned optical fiber detection device. The above-mentioned computer-readable storage medium can also be used to temporarily store data that has been output or is to be output.

[0087] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program product is run on a computer, the computer is enabled to execute any one of the optical fiber detection methods provided in the above embodiments.

[0088] The above are only specific embodiments of the present application, but the scope of protection of the present application is not limited thereto. Any changes or replacements within the technical scope disclosed in this application should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.

Claims

1. A method for detecting an optical fiber, characterized in that: include: Acquire an optical fiber image of the optical fiber to be inspected; Determining a detection result based on the pixel feature values ​​of the optical fiber image and a preset corresponding relationship; The detection result represents the water vapor ingress length and / or water vapor ingress time of the optical fiber to be detected, and the corresponding relationship represents the corresponding relationship between the pixel characteristic value of the optical fiber image and the water vapor ingress length and / or water vapor ingress time of the optical fiber.

2. The method according to claim 1, characterized in that The corresponding relationship is constructed based on a first image set, which includes a plurality of first optical fiber images, where collection positions of the plurality of first optical fiber images on the optical fiber are at different distances from positions of the water vapor inlet end.

3. The method according to claim 1, characterized in that The corresponding relationship is constructed based on a second image set, which includes multiple second optical fiber images. The multiple second optical fiber images are respectively collected at target positions of multiple optical fibers. The water vapor inlet times of the multiple optical fibers are different, and the distance between the target position and the water vapor inlet end of the optical fiber is greater than or equal to a preset distance.

4. The method according to claim 1, wherein The optical fiber image includes a side view and / or an end view of the optical fiber.

5. An optical fiber detection device, characterized in that: include: a light source, configured to emit light, the light passing through the optical fiber to be detected; an objective lens, used to receive the light passing through the optical fiber to be detected and project it onto an image collector; An image collector, configured to generate an optical fiber image of the optical fiber to be detected based on light passing through the optical fiber to be detected; A processing unit is used to determine a detection result based on the acquired pixel characteristic values ​​of the optical fiber image and a preset correspondence relationship; the detection result represents the water vapor inlet length and / or water vapor inlet time of the optical fiber to be detected, and the correspondence relationship represents the correspondence between the pixel characteristic values ​​of the optical fiber image and the water vapor inlet length and / or water vapor inlet time of the optical fiber.

6. The optical fiber detection device according to claim 5, characterized in that: The corresponding relationship is constructed based on the first image set and / or the second image set; the first image set includes multiple first optical fiber images, and the distances between the collection positions of the multiple first optical fiber images on the optical fiber and the positions of the water vapor inlet end are different; the second image set includes multiple second optical fiber images, and the multiple second optical fiber images are respectively collected at the target positions of multiple optical fibers, the water vapor inlet times of the multiple optical fibers are different, and the distances between the target positions and the positions of the water vapor inlet ends of the optical fibers are greater than or equal to the preset distance.

7. The optical fiber detection device according to claim 5, characterized in that: The device further comprises a collimator, which is arranged on the light source and is used to convert the light emitted by the light source into parallel light.

8. The optical fiber detection device according to claim 5, characterized in that: The device further comprises: The reflector is used to reflect the light emitted by the light source so that the light passes through the optical fiber to be detected.

9. An electronic device, characterized in that: The device comprises a processor and a memory, wherein the processor is coupled to the memory; the memory is used to store computer instructions, and the computer instructions are loaded and executed by the processor to enable the computer device to implement the optical fiber detection method according to any one of claims 1 to 4.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium includes computer-executable instructions. When the computer-executable instructions are executed on a computer, the computer is enabled to execute the optical fiber detection method according to any one of claims 1 to 4.

11. A computer program product, characterized in that The computer program product includes a computer program, and when the computer program is run on an electronic device, the electronic device is enabled to perform the optical fiber detection method according to any one of claims 1 to 4.