Optical module identification method and device

By obtaining and judging optical module interface information, the pseudo-optical modules in network equipment are automatically identified, which solves the problems of low efficiency and easy to crack in the existing optical module anti-counterfeiting methods, and realizes efficient and low-cost optical module identification and verification.

CN115499068BActive Publication Date: 2024-12-03NEW H3C TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210959195.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-10
Publication Date
2024-12-03
Estimated Expiration
2042-08-10

AI Technical Summary

Technical Problem

The existing optical module anti-counterfeiting methods are inefficient and easy to be cracked, resulting in the pseudo-optical modules seriously damaging the interests of regular manufacturers and customers.

Method used

By obtaining the optical module interface information on the network device, it is determined whether the same optical module exists. If it exists, it is determined whether the pseudo-optical module exists based on the serial number and manufacturer type, and it is determined through link relationship verification.

Benefits of technology

It realizes automated identification of illegal optical modules, improves identification efficiency, is simple and easy to use and low cost, and ensures the stable operation of the equipment system and customer interests.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115499068B_ABST
    Figure CN115499068B_ABST
Patent Text Reader

Abstract

The present application relates to the field of optical module technology, and in particular to an optical module identification method and device. The method is applied to management equipment, and the method comprises: obtaining interface information of each interface connected to an optical module on each network device under its management, and obtaining optical module information of the optical module connected to each interface; judging whether there are multiple target optical modules with the same optical module information; if so, judging whether there are fake optical modules among the multiple target optical modules based on the optical module information of the multiple target optical modules and the interface information of the interfaces connected to the multiple target optical modules.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of optical modules, and in particular to an optical module identification method and device. Background Art

[0002] An optical module is a small, hot-swappable optical transceiver used for the transmission of optical signals, with the transmission medium being optical fiber. Optical fiber transmission has low loss and long transmission distance, and has great advantages in long-distance transmission. Due to the characteristics of optical modules and their ease of use, they are widely used in telecommunications and data communications, and the market benefits and value they bring are also very large. Therefore, a huge number of fake optical modules have appeared on the market, which has seriously damaged the interests of regular manufacturers. In addition, the quality and after-sales maintenance of the products cannot be effectively guaranteed, which has brought huge risks to the stable operation of the equipment system and the protection of the interests of customers.

[0003] At present, one anti-counterfeiting method for optical modules is to use an anti-counterfeiting strategy based on the electronic label of the optical module, which mainly distinguishes the authenticity through visual inspection or manufacturer query. However, manual query is inefficient, and the anti-counterfeiting label is easy to be cracked, or the anti-counterfeiting label can be purchased to make it look real.

[0004] Therefore, a simple, easy-to-use, and low-cost optical module anti-counterfeiting method is needed to protect the interests of manufacturers and customers. Summary of the invention

[0005] The present application provides an optical module identification method and device.

[0006] In a first aspect, the present application provides an optical module identification method, which is applied to a management device, and the method includes:

[0007] Obtain the interface information of each interface connected to the optical module on each managed network device, and obtain the optical module information of the optical module connected to each interface;

[0008] Determine whether there are multiple target optical modules with the same optical module information;

[0009] If so, whether there is a fake optical module in the multiple target optical modules is determined based on the optical module information of the multiple target optical modules and the interface information of the interfaces to which the multiple target optical modules are connected.

[0010] Optionally, the interface information of an interface includes the name, index, and MAC address information of the interface; the optical module information of an optical module includes the manufacturer, type, and serial number information of the optical module.

[0011] Optionally, the step of obtaining interface information of each interface connected to an optical module on each managed network device, and obtaining optical module information of the optical module connected to each interface includes:

[0012] Based on the preset data collection rules, the interface information of each interface connected to the optical module and the optical module information of the optical module connected to each interface are collected from each network device under its management; or,

[0013] The receiver reports the interface information of each interface connected to the optical module and the optical module information of the optical module connected to each interface, as reported by each network device managed by the receiver.

[0014] Optionally, the step of determining whether there are multiple target optical modules having the same optical module information includes:

[0015] It is determined whether there are multiple target optical modules having the same optical module serial number.

[0016] Optionally, based on the optical module information of the multiple target optical modules and the interface information of the interfaces to which the multiple target optical modules are connected, the step of determining whether there is a fake optical module in the multiple target optical modules includes:

[0017] If the target optical modules in the plurality of target optical modules have the same serial number but are manufactured by different manufacturers and / or types, it is determined that a fake optical module exists in the plurality of target optical modules;

[0018] If the serial numbers of the multiple target optical modules are the same and the manufacturers and types are the same, then based on the interface information of the multiple target interfaces into which the multiple target optical modules are inserted, for each target interface among the multiple target interfaces, determine whether there is a link relationship between the target interface and other target interfaces; if it is determined that there is no link relationship between at least one target interface and other target interfaces, it is determined that there is a pseudo optical module among the multiple target optical modules; if it is determined that each target interface has a link relationship with other target interfaces, it is determined that there is no pseudo optical module among the multiple target optical modules.

[0019] In a second aspect, the present application provides an optical module identification device, which is applied to a management device, and the device includes:

[0020] An acquisition unit, used to acquire interface information of each interface connected to an optical module on each network device managed by the unit, and acquire optical module information of the optical module connected to each interface;

[0021] The first judging unit is used to judge whether there are multiple target optical modules with the same optical module information;

[0022] The second judgment unit, if present, is used to judge whether there is a fake optical module among the multiple target optical modules based on the optical module information of the multiple target optical modules and the interface information of the interfaces to which the multiple target optical modules are connected.

[0023] Optionally, the interface information of an interface includes the name, index, and MAC address information of the interface; the optical module information of an optical module includes the manufacturer, type, and serial number information of the optical module.

[0024] Optionally, when acquiring interface information of each interface connected to an optical module on each managed network device, and acquiring optical module information of an optical module connected to each interface, the acquiring unit is specifically used to:

[0025] Based on the preset data collection rules, the interface information of each interface connected to the optical module and the optical module information of the optical module connected to each interface are collected from each network device under its management; or,

[0026] The receiver reports the interface information of each interface connected to the optical module and the optical module information of the optical module connected to each interface, as reported by each network device managed by the receiver.

[0027] Optionally, when determining whether there are multiple target optical modules with the same optical module information, the first determining unit is specifically configured to:

[0028] It is determined whether there are multiple target optical modules having the same optical module serial number.

[0029] Optionally, when judging whether there is a fake optical module in the multiple target optical modules based on the optical module information of the multiple target optical modules and the interface information of the interfaces to which the multiple target optical modules are connected, the second judging unit is specifically used to:

[0030] If the target optical modules in the plurality of target optical modules have the same serial number but are manufactured by different manufacturers and / or types, it is determined that a fake optical module exists in the plurality of target optical modules;

[0031] If the serial numbers of the multiple target optical modules are the same and the manufacturers and types are the same, then based on the interface information of the multiple target interfaces into which the multiple target optical modules are inserted, for each target interface among the multiple target interfaces, determine whether there is a link relationship between the target interface and other target interfaces; if it is determined that there is no link relationship between at least one target interface and other target interfaces, it is determined that there is a pseudo optical module among the multiple target optical modules; if it is determined that each target interface has a link relationship with other target interfaces, it is determined that there is no pseudo optical module among the multiple target optical modules.

[0032] In a third aspect, an embodiment of the present application provides an optical module identification device, the optical module identification device comprising:

[0033] A memory for storing program instructions;

[0034] The processor is used to call the program instructions stored in the memory, and execute the steps of the method as described in any one of the first aspects above according to the obtained program instructions.

[0035] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable the computer to execute the steps of the method described in any one of the first aspects above.

[0036] In summary, the optical module identification method provided in the embodiment of the present application is applied to management equipment, and the method includes: obtaining interface information of each interface connected to an optical module on each network device under its management, and obtaining optical module information of the optical modules connected to each interface; judging whether there are multiple target optical modules with the same optical module information; if so, judging whether there are fake optical modules among the multiple target optical modules based on the optical module information of the multiple target optical modules and the interface information of the interfaces to which the multiple target optical modules are connected.

[0037] The optical module identification method provided in the embodiment of the present application is adopted to automatically identify whether there are illegal optical modules in the network by managing each network device managed by the management device / controller integrated manager, the optical module information of each interface, and the interface information of each optical module access interface. The network is uniformly operated and maintained, with a wide identification range, strong versatility, ease of use, low cost, and high identification efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments of the present application or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For ordinary technicians in this field, other drawings can also be obtained based on these drawings of the embodiments of the present application.

[0039] Figure 1 A detailed flow chart of an optical module identification method provided in an embodiment of the present application;

[0040] Figure 2 A schematic diagram of the structure of an optical module identification device provided in an embodiment of the present application;

[0041] Figure 3 A schematic diagram of the hardware structure of an optical module identification device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0042] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, rather than limiting the present application. The singular forms of "a", "said" and "the" used in the present application and claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to any or all possible combinations of one or more associated listed items.

[0043] It should be understood that, although the terms first, second, third, etc. may be used to describe various information in the embodiments of the present application, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, in addition, the word "if" used may be interpreted as "at..." or "when..." or "in response to determination".

[0044] For example, see Figure 1 As shown, it is a detailed flow chart of an optical module identification method provided in an embodiment of the present application. The method is applied to a management device, and the method includes the following steps:

[0045] Step 100: Obtain interface information of each interface connected to an optical module on each managed network device, and obtain optical module information of the optical module connected to each interface.

[0046] In an embodiment of the present application, the network devices in the network to be managed are managed in advance in the management device through a management protocol, such as through SNMP, SSH, Telnet, Netconf and other protocols.

[0047] That is, the management device can be used to manage each network device in the network, can obtain the link relationship between the interfaces of each network device in the network, and maintain the link relationship locally.

[0048] In an embodiment of the present application, when obtaining the interface information of each interface connected to an optical module on each network device under its management, and obtaining the optical module information of the optical modules connected to each interface, a preferred implementation method is: based on preset data collection rules, the interface information of each interface connected to an optical module and the optical module information of the optical modules connected to each interface are collected from each network device under its management.

[0049] For example, based on preset rules, the management device sends a request to each network device to obtain the interface information of each interface connected to the optical module and the optical module information of the optical modules connected to each interface, so as to obtain the interface information of each interface connected to the optical module and the optical module information of the optical modules connected to each interface from each network device.

[0050] In an embodiment of the present application, when obtaining the interface information of each interface connected to an optical module on each network device under its management, and obtaining the optical module information of the optical modules connected to each interface, a preferred implementation method is: the receiver reports the interface information of each interface connected to an optical module and the optical module information of the optical modules connected to each interface on each network device under its management.

[0051] For example, each network device actively sends the management device the interface information of each interface connected to the optical module and the optical module information of the optical module connected to each interface based on the preset rules.

[0052] In actual applications, the management device sends a request to obtain the interface information of each interface connected to the optical module and the optical module information of the optical modules connected to each interface to each network device based on a preset period, or the network device actively sends the interface information of each interface connected to the optical module and the optical module information of the optical modules connected to each interface to the management device based on a preset period.

[0053] Of course, after the network device detects that a new optical module is inserted into a certain access of itself / replaces a new optical module, it can actively send the interface information and the optical module information inserted into the interface to the management device.

[0054] In an embodiment of the present application, the interface information of an interface includes the name, index, and MAC address information of the interface; the optical module information of an optical module includes the manufacturer, type, and serial number information of the optical module.

[0055] That is, the management device locally maintains the acquired interface information of the interfaces connected to the optical modules on each network device, and the optical module information of the optical modules connected to each interface.

[0056] Step 110: Determine whether there are multiple target optical modules with the same optical module information.

[0057] In the embodiment of the present application, when determining whether there are multiple target optical modules with the same optical module information, a preferred implementation method is: determining whether there are multiple target optical modules with the same optical module information.

[0058] That is, it is determined whether there is an optical module with the same serial number in the information of each optical module. If so, step 120 is then executed.

[0059] Step 120: If yes, judging whether there is a fake optical module in the multiple target optical modules based on the optical module information of the multiple target optical modules and the interface information of the interfaces to which the multiple target optical modules are connected.

[0060] In an embodiment of the present application, when judging whether there is a fake optical module among the multiple target optical modules based on the optical module information of the multiple target optical modules and the interface information of the interfaces to which the multiple target optical modules are connected, a preferred implementation method is: if there are target optical modules with the same serial number but different manufacturers and / or types among the multiple target optical modules, it is determined that there is a fake optical module among the multiple target optical modules.

[0061] That is, the serial number is used to uniquely identify an optical module. If the serial numbers of optical modules are the same but their manufacturers / models are different, it means that there are counterfeit optical modules among the multiple optical modules with the same serial number.

[0062] Furthermore, at this time, corresponding alarm information can be generated based on preset alarm generation rules and notified to the administrator.

[0063] For example,

[0064] In an embodiment of the present application, if the serial numbers of the multiple target optical modules are the same and the manufacturers and types are the same, then based on the interface information of the multiple target interfaces into which the multiple target optical modules are inserted, for each target interface among the multiple target interfaces, it is determined whether there is a link relationship between the target interface and other target interfaces; if it is determined that there is no link relationship between at least one target interface and other target interfaces, it is determined that there is a pseudo optical module among the multiple target optical modules; if it is determined that each target interface has a link relationship with other target interfaces, it is determined that there is no pseudo optical module among the multiple target optical modules.

[0065] In actual applications, there is a 1-to-N (e.g., 1-to-4) optical module cable, that is, one end of the optical module cable includes one optical module, and the other end includes N optical modules, and the serial numbers of the multiple optical modules included in the optical module cable are consistent. Take the 1-to-4 optical module cable as an example, then, there is an optical module (optical module 1) at one end of the cable, the serial number is 210231A2KL0000000002, inserted into a 40G interface of network device A. The other end of the cable will be 1-to-4, with four optical modules (optical modules 2-5), the serial numbers of these four optical modules are all 210231A2KL0000000002, respectively inserted into the four 10G interfaces of network device B. In the 1-to-4 case, the management device will collect five optical module data records with the same serial number from the network devices at both ends of the cable.

[0066] For example, the optical module and interface indicator data collected from network device A is recorded as interface FortyGigE1 / 0 / 49 (interface A), and the corresponding optical module serial number is 210231A2KL0000000002. After splitting 1 into 4, the optical module information and interface information collected from network device B are as follows:

[0067] Ten-GigabitEthernet1 / 0 / 49:1 (interface B1);

[0068] Corresponding optical module serial number: 210231A2KL0000000002)

[0069] Ten-GigabitEthernet1 / 0 / 49:2 (interface B2);

[0070] Corresponding optical module serial number: 210231A2KL0000000002)

[0071] Ten-GigabitEthernet1 / 0 / 49:3 (interface B3);

[0072] Corresponding optical module serial number: 210231A2KL0000000002)

[0073] Ten-GigabitEthernet1 / 0 / 49:4 (interface B4);

[0074] Corresponding optical module serial number: 210231A2KL0000000002).

[0075] At this point, it is necessary to further determine whether there is a link relationship between the interfaces. In the above example, since there is a link relationship between interface A and interface B1, interface B2, interface B3 and interface B4, it is determined that the 5 optical module information belongs to the same optical module (1-to-4 optical module cable).

[0076] If multiple pieces of optical module information with the same serial number correspond to interface 1, interface 2, interface 3, interface 4 and interface 5 respectively, then if at least one of the five interfaces does not have a link relationship with the other interfaces, it is determined that a counterfeit and illegal optical module exists among the multiple optical modules corresponding to the same serial number.

[0077] For example, if there is no link relationship between interface 2 and interface 1, interface 3, and interface 4, but there is a link relationship between interface 1 and interface 3 and interface 4, it means that the optical modules inserted into interface 1, interface 3, and interface 4 are 1-to-2 optical module cables, and the optical module inserted into interface 2 is not the same as the optical module cable inserted into interface 1, interface 3, and interface 4.

[0078] For example, see Figure 2 FIG. 1 is a schematic diagram of a structure of an optical module identification device provided in an embodiment of the present application. The device is applied to a management device, and the device includes:

[0079] The acquisition unit 20 is used to acquire the interface information of each interface connected to the optical module on each network device managed by it, and acquire the optical module information of the optical module connected to each interface;

[0080] The first judging unit 21 is used to judge whether there are multiple target optical modules with the same optical module information;

[0081] If the second judgment unit 22 exists, the second judgment unit is used to judge whether there is a fake optical module among the multiple target optical modules based on the optical module information of the multiple target optical modules and the interface information of the interfaces to which the multiple target optical modules are connected.

[0082] Optionally, the interface information of an interface includes the name, index, and MAC address information of the interface; the optical module information of an optical module includes the manufacturer, type, and serial number information of the optical module.

[0083] Optionally, when acquiring interface information of each interface connected to an optical module on each managed network device, and acquiring optical module information of an optical module connected to each interface, the acquiring unit 20 is specifically used to:

[0084] Based on the preset data collection rules, the interface information of each interface connected to the optical module and the optical module information of the optical module connected to each interface are collected from each network device under its management; or,

[0085] The receiver reports the interface information of each interface connected to the optical module and the optical module information of the optical module connected to each interface, as reported by each network device managed by the receiver.

[0086] Optionally, when determining whether there are multiple target optical modules with the same optical module information, the first determining unit 21 is specifically configured to:

[0087] It is determined whether there are multiple target optical modules having the same optical module serial number.

[0088] Optionally, when judging whether there is a fake optical module in the multiple target optical modules based on the optical module information of the multiple target optical modules and the interface information of the interfaces to which the multiple target optical modules are connected, the second judging unit 22 is specifically used to:

[0089] If the target optical modules in the plurality of target optical modules have the same serial number but are manufactured by different manufacturers and / or types, it is determined that a fake optical module exists in the plurality of target optical modules;

[0090] If the serial numbers of the multiple target optical modules are the same and the manufacturers and types are the same, then based on the interface information of the multiple target interfaces into which the multiple target optical modules are inserted, for each target interface among the multiple target interfaces, determine whether there is a link relationship between the target interface and other target interfaces; if it is determined that there is no link relationship between at least one target interface and other target interfaces, it is determined that there is a pseudo optical module among the multiple target optical modules; if it is determined that each target interface has a link relationship with other target interfaces, it is determined that there is no pseudo optical module among the multiple target optical modules.

[0091] The above units may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASIC), or one or more digital singnal processors (DSP), or one or more field programmable gate arrays (FPGA). For another example, when a certain unit above is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processors that can call program codes. For another example, these units may be integrated together and implemented in the form of a system-on-a-chip (SOC).

[0092] Furthermore, the optical module identification device provided in the embodiment of the present application, from the hardware level, the hardware architecture diagram of the optical module identification device can be seen in Figure 3 As shown, the optical module identification device may include: a memory 30 and a processor 31,

[0093] The memory 30 is used to store program instructions; the processor 31 calls the program instructions stored in the memory 30 and executes the above method embodiment according to the obtained program instructions. The specific implementation method and technical effect are similar and will not be repeated here.

[0094] Optionally, the present application also provides a management device, comprising at least one processing element (or chip) for executing the above method embodiment.

[0095] Optionally, the present application also provides a program product, such as a computer-readable storage medium, which stores computer-executable instructions, and the computer-executable instructions are used to enable the computer to execute the above method embodiments.

[0096] Here, the machine-readable storage medium may be any electronic, magnetic, optical or other physical storage device that may contain or store information, such as executable instructions, data, etc. For example, the machine-readable storage medium may be: RAM (RadomAccess Memory), volatile memory, non-volatile memory, flash memory, storage drive (such as hard disk drive), solid state drive, any type of storage disk (such as CD, DVD, etc.), or similar storage medium, or a combination thereof.

[0097] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer, which may be in the form of a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email transceiver, a game console, a tablet computer, a wearable device or a combination of any of these devices.

[0098] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0099] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the embodiments of the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0100] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0101] Moreover, these computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0102] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0103] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

Claims

1. A method for identifying an optical module, characterized in that: Applied to managing equipment, the method comprises: Obtain the interface information of each interface connected to the optical module on each managed network device, and obtain the optical module information of the optical module connected to each interface, wherein the interface information of an interface includes the name, index, and MAC address information of the interface; the optical module information of an optical module includes the manufacturer, type, and serial number information of the optical module; Determine whether there are multiple target optical modules with the same optical module serial number; If so, judging whether there is a fake optical module in the multiple target optical modules based on the optical module information of the multiple target optical modules and the interface information of the interfaces to which the multiple target optical modules are connected; Based on the optical module information of the multiple target optical modules and the interface information of the interfaces to which the multiple target optical modules are connected, the step of judging whether there is a fake optical module in the multiple target optical modules comprises: If the target optical modules in the plurality of target optical modules have the same serial number but are manufactured by different manufacturers and / or types, it is determined that a fake optical module exists in the plurality of target optical modules; If the serial numbers of the multiple target optical modules are the same and the manufacturers and types are the same, then based on the interface information of the multiple target interfaces into which the multiple target optical modules are inserted, for each target interface among the multiple target interfaces, determine whether there is a link relationship between the target interface and other target interfaces; if it is determined that there is no link relationship between at least one target interface and other target interfaces, it is determined that there is a pseudo optical module among the multiple target optical modules; if it is determined that each target interface has a link relationship with other target interfaces, it is determined that there is no pseudo optical module among the multiple target optical modules.

2. The method according to claim 1, characterized in that The steps of obtaining interface information of each interface connected to an optical module on each managed network device and obtaining optical module information of the optical module connected to each interface include: Based on the preset data collection rules, the interface information of each interface connected to the optical module and the optical module information of the optical module connected to each interface are collected from each network device under its management; or, The receiver reports the interface information of each interface connected to the optical module and the optical module information of the optical module connected to each interface, as reported by each network device managed by the receiver.

3. An optical module identification device, characterized in that: Applied to management equipment, the device comprises: An acquisition unit is used to acquire interface information of each interface connected to an optical module on each network device managed by the unit, and acquire optical module information of the optical module connected to each interface, wherein the interface information of an interface includes the name, index, and MAC address information of the interface; the optical module information of an optical module includes the manufacturer, type, and serial number information of the optical module; A first judging unit, used for judging whether there are multiple target optical modules having the same optical module serial number; A second judgment unit, if present, is used to judge whether there is a fake optical module in the multiple target optical modules based on the optical module information of the multiple target optical modules and the interface information of the interfaces to which the multiple target optical modules are connected; When judging whether there is a fake optical module in the multiple target optical modules based on the optical module information of the multiple target optical modules and the interface information of the interfaces to which the multiple target optical modules are connected, the second judging unit is specifically used to: If the target optical modules in the plurality of target optical modules have the same serial number but are manufactured by different manufacturers and / or types, it is determined that a fake optical module exists in the plurality of target optical modules; If the serial numbers of the multiple target optical modules are the same and the manufacturers and types are the same, then based on the interface information of the multiple target interfaces into which the multiple target optical modules are inserted, for each target interface among the multiple target interfaces, determine whether there is a link relationship between the target interface and other target interfaces; if it is determined that there is no link relationship between at least one target interface and other target interfaces, it is determined that there is a pseudo optical module among the multiple target optical modules; if it is determined that each target interface has a link relationship with other target interfaces, it is determined that there is no pseudo optical module among the multiple target optical modules.

4. The device according to claim 3, characterized in that When acquiring the interface information of each interface connected to the optical module on each managed network device, and acquiring the optical module information of the optical module connected to each interface, the acquisition unit is specifically used to: Based on the preset data collection rules, the interface information of each interface connected to the optical module and the optical module information of the optical module connected to each interface are collected from each managed network device; or, The receiver reports the interface information of each interface connected to the optical module and the optical module information of the optical module connected to each interface, as reported by each network device managed by the receiver.