Plug and socket pairing structure, method, device, equipment, storage medium and product

By integrating RFID antennas and metal layers into fiber optic plugs and sockets, and utilizing capacitive coupling to achieve contactless pairing, the problems of high cost, poor reliability, and high complexity in existing fiber optic plug and socket pairing technologies are solved, achieving low-cost and high-reliability signal transmission.

CN121522816APending Publication Date: 2026-02-13SHANGHAI QUANRAY ELECTRONICS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511899391.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-16
Publication Date
2026-02-13

AI Technical Summary

Technical Problem

Existing fiber optic plug and socket pairing technologies suffer from high cost, poor reliability, and high complexity. In particular, the direct insertion method leads to poor contact, the optical coupling method is susceptible to ambient light, and the radio frequency coupling method increases the complexity of additional modules and circuits.

Method used

The structure integrates RFID antennas and metal layers in fiber optic plugs and sockets, and uses the principle of capacitive coupling to achieve contactless pairing. The vertical alignment of the metal layers forms a parallel plate capacitor, which transmits signals by inductive charge. This simplifies circuit design and avoids poor contact and interference from optical signals.

Benefits of technology

It reduces the cost and complexity of fiber optic plug and socket pairing, improves the reliability and stability of signal transmission, expands application scenarios, and avoids the need for additional components.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121522816A_ABST
    Figure CN121522816A_ABST
Patent Text Reader

Abstract

The invention discloses a plug and socket pairing structure, method, device and equipment, a storage medium and a product. The structure comprises an optical fiber socket and an optical fiber plug, the optical fiber socket comprises a first PCB integrated with a first RFID antenna, a first RFID chip, a first metal layer and a second metal layer; the first metal layer and the second metal layer are positioned on the same plane and are respectively connected with a first pin and a second pin of the first RFID chip; the optical fiber plug comprises a second PCB integrated with a second RFID antenna, a second RFID chip, a third metal layer and a fourth metal layer; the third metal layer and the fourth metal layer are positioned on the same plane and are respectively connected with a third pin and a fourth pin of the second RFID chip; when the optical fiber plug is inserted into the optical fiber socket, the first metal layer and the third metal layer as well as the second metal layer and the fourth metal layer are in a vertical opposite state, and gaps with preset distances exist between the first metal layer and the third metal layer and between the second metal layer and the fourth metal layer. According to the structure provided by the invention, the cost and the complexity are reduced, and the reliability is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of optical fiber technology, and in particular to plug and socket mating structures, methods, apparatuses, devices, storage media, and products. Background Technology

[0002] With the development of IoT technology, more and more scenarios are communicating through optical fibers. Quickly and efficiently completing the pairing of optical cable plugs and sockets has become a key focus of research and practice.

[0003] Currently, existing technologies integrate chips into the fiber optic plug and socket respectively, using methods such as direct insertion, optocoupler, and radio frequency coupling to detect the chip's pairing status, thereby determining the connection status of the plug and socket. However, the direct insertion method uses a pin header structure, and repeated insertion and removal can lead to spring fatigue and poor contact, resulting in poor stability. The optocoupler method is costly and susceptible to ambient light, causing false triggering. The radio frequency coupling method requires the addition of complete radio frequency transmitting and receiving modules and complex modulation and demodulation circuits, significantly increasing cost and complexity. Therefore, there is an urgent need for a low-cost, high-reliability, and low-complexity fiber optic plug and socket pairing structure. Summary of the Invention

[0004] This invention provides a plug-socket pairing structure, method, apparatus, device, storage medium, and product to reduce the pairing cost between fiber optic plugs and fiber optic sockets and improve pairing efficiency.

[0005] According to one aspect of the present invention, a plug-receptacle mating structure is provided, comprising an optical fiber receptacle and an optical fiber plug, wherein:

[0006] The fiber optic socket includes a socket body and a first PCB board fixed to the socket body; the first PCB board integrates a first radio frequency identification (RFID) antenna, a first RFID chip, a first metal layer, and a second metal layer; wherein, the first metal layer is connected to a first pin of the first RFID chip; the second metal layer is connected to a second pin of the first RFID chip; the first metal layer and the second metal layer are located on the same plane;

[0007] The fiber optic connector includes a connector body and a second PCB board fixed to the connector body; the second PCB board integrates a second RFID antenna, a second RFID chip, a third metal layer, and a fourth metal layer; wherein the third metal layer is connected to the third pin of the second RFID chip; the fourth metal layer is connected to the fourth pin of the second RFID chip; the third metal layer and the fourth metal layer are located on the same plane;

[0008] Specifically, when the fiber optic plug is inserted into the fiber optic socket, the first metal layer and the third metal layer are perpendicularly aligned, and the second metal layer and the fourth metal layer are perpendicularly aligned; the first metal layer and the third metal layer are at a preset distance; the second metal layer and the fourth metal layer are at the preset distance.

[0009] According to another aspect of the present invention, a plug-socket pairing method is provided, applied to a reader / writer, comprising:

[0010] A preset pairing command is sent to the first RFID chip to trigger a first voltage difference between the first pin and the second pin;

[0011] The detection value of the second RFID chip is obtained, and it is determined whether the detection value is equal to a first preset value. If so, it is determined that the fiber optic socket and the fiber optic plug are in a paired state. The detection value is determined based on the voltage difference between the third pin and the fourth pin.

[0012] According to another aspect of the present invention, an electronic device is provided, the electronic device being configured as a reader / writer, the electronic device comprising:

[0013] At least one processor; and

[0014] A memory communicatively connected to the at least one processor; wherein,

[0015] The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the plug and socket pairing method according to any embodiment of the present invention.

[0016] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing a processor to execute and implement the plug-socket pairing method according to any embodiment of the present invention.

[0017] According to another aspect of the present invention, a computer program product is provided, the computer program product comprising a computer program that, when executed by a processor, implements the plug and socket pairing method according to any embodiment of the present invention.

[0018] This invention provides a plug-and-socket pairing structure, comprising an optical fiber socket and an optical fiber plug. The optical fiber socket includes a socket body and a first PCB board fixed to the socket body. The first PCB board integrates a first RFID antenna, a first RFID chip, a first metal layer, and a second metal layer. The first metal layer is connected to a first pin of the first RFID chip, and the second metal layer is connected to a second pin of the first RFID chip. The first and second metal layers are located on the same plane. The optical fiber plug includes a plug body and a second PCB board fixed to the plug body. The second PCB board integrates a second RFID antenna, a second RFID chip, a third metal layer, and a fourth metal layer. The third metal layer is connected to a third pin of the second RFID chip, and the fourth metal layer is connected to a fourth pin of the second RFID chip. The third and fourth metal layers are located on the same plane. When the optical fiber plug is inserted into the optical fiber socket, the first and third metal layers are perpendicularly aligned, and the second and fourth metal layers are also perpendicularly aligned. A preset distance exists between the first and third metal layers, and between the second and fourth metal layers. This application integrates an RFID antenna, an RFID chip, and metal layers by fixing PCB boards into the fiber optic plug and socket bodies respectively. This structure allows for capacitive coupling-based pairing detection of the fiber optic plug and socket. Compared to traditional RF coupling methods, this structure is simpler, eliminating the need for additional RF transceiver circuits and modulation / demodulation modules, significantly reducing chip power consumption. When the fiber optic plug is inserted into the socket, the first and third metal layers are perpendicularly aligned, as are the second and fourth metal layers, forming two sets of parallel-plate capacitors. This provides a foundation for signal transmission via induced charge using capacitive coupling, achieving non-contact pairing between the plug and socket. This avoids the contact problems caused by repeated insertion and removal in pin header direct-insertion structures, improving signal transmission reliability. Furthermore, compared to optical couplers, this structure uses induced charge for signal transmission, unaffected by optical signals, ensuring more stable and reliable pairing of the plug and socket. This broadens application scenarios and eliminates the need for expensive photodiodes, significantly reducing costs.

[0019] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description

[0020] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0021] Figure 1 This is a schematic diagram of a plug and socket mating structure provided according to Embodiment 1 of the present invention;

[0022] Figure 2 This is a structural diagram of a plug and socket provided according to Embodiment 1 of the present invention;

[0023] Figure 3 This is a schematic diagram of signal transmission according to Embodiment 1 of the present invention.

[0024] Figure 4 This is a flowchart of a plug and socket pairing method according to Embodiment 2 of the present invention;

[0025] Figure 5 This is a flowchart of a plug and socket pairing method according to Embodiment 3 of the present invention;

[0026] Figure 6 This is a schematic diagram of the structure of a plug and socket mating device according to Embodiment 4 of the present invention;

[0027] Figure 7 This is a schematic diagram of the structure of an electronic device that implements the plug and socket pairing method of Embodiment 5 of the present invention. Detailed Implementation

[0028] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0029] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0030] Example 1

[0031] Figure 1 This is a schematic diagram of a plug-socket mating structure provided in Embodiment 1 of the present invention. This embodiment is applicable to situations where plugs and sockets are mated. Figure 1 As shown, the structure includes an optical fiber plug and an optical fiber socket, wherein: the optical fiber socket includes a socket body 100 and a first PCB board 101 fixed to the socket body; the first PCB board 101 integrates a first radio frequency identification (RFID) antenna 102, a first RFID chip 103, a first metal layer 104, and a second metal layer 105; wherein the first metal layer 104 is connected to a first pin of the first RFID chip 103; the second metal layer 105 is connected to a second pin of the first RFID chip 103; the first metal layer 104 and the second metal layer 105 are located on the same plane; the optical fiber plug includes a plug body 106 and a second PCB board 107 fixed to the plug body; the second PCB board 107 integrates a second RFID antenna. 108, a second RFID chip 109, a third metal layer 110, and a fourth metal layer 111; wherein, the third metal layer 110 is connected to the third pin of the second RFID chip 109; the fourth metal layer 111 is connected to the fourth pin of the second RFID chip 109; the third metal layer 110 and the fourth metal layer 111 are located on the same plane; wherein, when the fiber optic plug is inserted into the fiber optic socket, the first metal layer 104 and the third metal layer 110 are perpendicularly aligned, and the second metal layer 105 and the fourth metal layer 111 are perpendicularly aligned; the first metal layer 104 and the third metal layer 110 are at a preset distance; the second metal layer 105 and the fourth metal layer 111 are at the preset distance.

[0032] In this embodiment, a printed circuit board (PCB), i.e., a first PCB, can be fixed on the fiber optic connector. A first radio frequency identification (RFID) antenna, a first RFID chip, a first metal layer, and a second metal layer are integrated onto the first PCB. The first RFID antenna receives electromagnetic wave signals emitted by the reader (i.e., the RFID reader). The first RFID chip demodulates, decodes, and executes instructions on the electromagnetic wave signals. The first RFID antenna and the first RFID chip can be connected via pin soldering. The first and second metal layers can be etched from the metal layers on the first PCB (e.g., the copper layer covering the PCB surface), preserving the connection relationships between the first metal layer and the first pin, and between the second metal layer and the second pin. The first and second pins can be determined based on the chip specifications or circuit functions in the actual application scenario. Similarly, a second PCB can be obtained and fixed to the fiber optic connector.

[0033] For example, the metal layers of a PCB-based RFID tag can be engraved to create a first metal layer and a second metal layer. During engraving, the connection between the first metal layer and the first pin of the first RFID chip, and between the second metal layer and the second pin of the first RFID chip, are preserved, thus obtaining a first PCB board. The PCB-based RFID tag integrates an RFID antenna and an RFID chip. The integrated RFID antenna can be used as the first RFID antenna, and the integrated RFID chip can be used as the first RFID chip. Similarly, a second PCB board can be obtained. The first and second PCB boards are then fixed to an optical fiber socket and an optical fiber plug, respectively, ensuring that when the optical fiber plug is inserted into the optical fiber socket, the first and third metal layers, and the second and fourth metal layers, are perpendicularly aligned, forming two parallel plate capacitors. A preset distance is maintained between the first and third metal layers, and a preset distance is maintained between the second and third metal layers. This preset distance can be pre-set to a fixed value based on the gap between the optical fiber plug and the optical fiber socket.

[0034] like Figure 2As shown, when the fiber optic plug 202 is inserted into the fiber optic socket 201, the first metal layer 203 and the third metal layer 204, as well as the second metal layer and the fourth metal layer, are in a vertically aligned state, and there is a gap between the fiber optic plug and the fiber optic socket. Compared with the straight-pin header structure, the reliability of signal transmission will not be reduced due to mechanical wear during use, thereby improving the stability of the pairing detection of the fiber optic plug and the fiber optic socket.

[0035] Optionally, the dimensions of the first metal layer, the second metal layer, the third metal layer, and the fourth metal layer are preset dimensions. The area of ​​the preset dimensions is determined based on a first voltage difference, a preset distance, and the interlayer dielectric constant between the first and third metal layers. The first voltage difference is the voltage difference between the first pin and the second pin. The first voltage difference is used to induce a second voltage difference between the third and fourth pins through capacitive coupling. The advantage of this configuration is that determining the preset dimensions of the metal layers based on the first voltage difference, the preset distance, and the interlayer dielectric constant between the first and third metal layers avoids the blindness of empirical design. Furthermore, using the same dimensions for all four metal layers ensures a symmetrical and uniform electric field distribution, maintaining consistency in the amount of charge induced based on capacitive coupling, reducing signal fluctuations, and thus ensuring signal transmission stability. Additionally, using uniform preset dimensions for all four metal layers simplifies the production process and reduces production costs.

[0036] In this embodiment, when the fiber optic plug is inserted into the fiber optic socket, the first metal layer and the third metal layer form a parallel-plate capacitor, and the second metal layer and the fourth metal layer form a parallel-plate capacitor. To determine the area of ​​the four metal layers, the following expression can be used for calculation:

[0037] ;

[0038] in, The area representing the preset size. Represents the electrostatic constant. Represents the preset distance. This represents the amount of charge accumulated on the first metal layer. Represents the first voltage difference. This represents the interlayer dielectric constant between the first and third metal layers.

[0039] For example, the first voltage difference applied between the first and second pins is 1.8V. When a voltage difference of 0.3V or more is induced between the third and fourth pins, the second RFID chip can stably detect this voltage difference. The dielectric material of the first and second PCB boards is FR-4 with a dielectric constant of 4.4. The preset distance between the first and third metal layers is 0.5mm. Therefore, the preset area can be set to 50mm². 2 .

[0040] Optionally, the first voltage difference is generated upon triggering a preset pairing command issued by the reader. The advantage of this configuration is that triggering the generation of the first voltage difference via the preset pairing command sent by the reader enables precise control of the capacitive coupling process. Furthermore, the duration and amplitude of the first voltage difference can be flexibly adjusted based on the content of the preset pairing command, improving the applicability of this solution. The preset pairing command can utilize commands from the instruction set of the standard RFID protocol, eliminating the need for customized development and further reducing costs and enhancing applicability.

[0041] In this embodiment, the reader / writer can be an RFID reader / writer; the preset pairing command can adopt the SELECT command in the standard RFID protocol command set (e.g., ISO 15693 protocol). For example, the reader / writer transmits a SELECT command, which carries the identification information of the first RFID chip and the relevant flag information for setting the first voltage difference. After receiving the SELECT command, the first RFID chip generates a first voltage difference between its first and second pins, ensuring that a second voltage difference can be induced subsequently through capacitive coupling between the third and fourth pins of the second RFIC chip.

[0042] For example, such as Figure 3 As shown, a preset pairing command issued by the reader triggers a first voltage difference between the first pin 302 and the second pin 303 of the first RFID chip 301, causing charges of different polarities to accumulate in the first metal layer 304 and the second metal layer 305 respectively. Based on the principle of capacitive coupling, these charges will induce mirror charges of opposite polarities in the vertically opposite third metal layer 306 and fourth metal layer 307, thereby generating a second voltage difference between the third pin 308 and the fourth pin 309 of the second RFID chip 310, thus forming a complete signal transmission loop.

[0043] This invention provides a plug-and-socket pairing structure. A PCB board is fixed to the fiber optic plug and socket bodies respectively, and an RFID antenna, RFID chip, and metal layers are integrated into the PCB board. This structure allows for capacitive coupling-based detection of the pairing of the fiber optic plug and socket. Compared to traditional radio frequency coupling methods, the proposed structure is simpler, requiring no additional radio frequency transceiver circuits or modulation / demodulation modules, significantly reducing chip power consumption. When the fiber optic plug is inserted into the fiber optic socket, the first and third metal layers are perpendicularly aligned, and the second and fourth metal layers are also perpendicularly aligned, forming two sets of parallel-plate capacitors. This provides a foundation for signal transmission via induced charge using capacitive coupling, and achieves non-contact pairing of the fiber optic plug and socket, avoiding the contact problems caused by repeated insertion and removal in pin header direct-insertion structures, thus improving signal transmission reliability. Furthermore, compared to optical couplers, this structure uses induced charge to transmit signals, unaffected by optical signals, ensuring more stable and reliable pairing of the fiber optic plug and socket, expanding its application scenarios, and eliminating the need for expensive photodiodes and other components, significantly reducing costs.

[0044] Example 2

[0045] Figure 4 The flowchart of a plug and socket pairing method is provided in Embodiment 2 of the present invention. This embodiment is applicable to the pairing of plugs and sockets. The method is used to pair the fiber optic socket and fiber optic plug in the above-mentioned plug and socket pairing structure. The method can be executed by a plug and socket pairing device, which can be implemented in hardware and / or software. The plug and socket pairing device can be configured in an electronic device, which is configured as a reader / writer.

[0046] S401. Send a preset pairing command to the first RFID chip to trigger the generation of a first voltage difference between the first pin and the second pin.

[0047] In this embodiment, the preset pairing command may include the identification information of the first RFID chip and relevant flag information for setting the first voltage difference; taking the ISO 15693 protocol as an example, the preset pairing command may be a SELECT command. The first pin and the second pin can be determined according to the chip model. The first voltage difference is generally a low-voltage signal, and the specific value can be determined according to the chip performance.

[0048] For example, the reader sends a SELECT command, carrying the identification information of the first RFID chip and the relevant flag information for setting the first voltage difference. After receiving the SELECT command, the first RFID chip generates a first voltage difference between the first pin and the second pin. If the fiber optic plug is inserted into the fiber optic socket, the second RFID chip integrated in the fiber optic plug will induce a second voltage difference between the third pin and the fourth pin through capacitive coupling.

[0049] S402. Obtain the detection value of the second RFID chip, determine whether the detection value is equal to the first preset value, and if so, determine that the fiber optic socket and fiber optic plug are in a paired state; wherein, the detection value is determined based on the second voltage difference between the third pin and the fourth pin.

[0050] In this embodiment, the reader can obtain the detection value of the second RFID chip by sending a preset command to the second RFID chip. The detection value of the second RFID chip can be determined based on the second voltage difference between the third and fourth pins of the second RFID chip. The second voltage difference is the voltage difference induced by the capacitive coupling between the third and fourth pins. The pairing state can be understood as an optical fiber plug being inserted into an optical fiber socket. When it is determined that the optical fiber plug is inserted into the optical fiber socket, the correspondence between the identification information of the optical fiber plug and the identification information of the optical fiber socket can be recorded.

[0051] Optionally, before obtaining the detection value of the second RFID chip, the method further includes: broadcasting a preset detection voltage command to instruct the second RFID chip to detect the second voltage difference between the third pin and the fourth pin, and return a detection value; wherein, if the second voltage difference detected by the second RFID chip is greater than or equal to a preset voltage difference, the returned detection value is a first preset value; if the second voltage difference detected by the second RFID chip is less than the preset voltage difference, the returned detection value is a second preset value; the preset voltage difference is less than or equal to the first voltage difference. The advantage of this configuration is that the reader, by broadcasting the preset detection voltage command, instructs the second RFID chip to detect the second voltage difference between the third pin and the fourth pin and return a detection value. The preset detection voltage command can carry the identification information of multiple RFID chips, enabling directional control of multiple RFID chips, thereby improving the reader's detection efficiency for multiple RFID chips. The second RFID chip determines the returned detection value based on the relationship between the second voltage difference and the preset voltage difference, ensuring that the detection value reflects the current voltage difference between the third pin and the fourth pin, and guaranteeing that the reader can quickly determine whether the fiber optic plug and fiber optic socket are in a paired state based on the returned detection value.

[0052] In this embodiment, if the pairing status of a specific fiber optic plug (e.g., a fiber optic plug integrating a second RFID chip) with the current fiber optic socket is detected, the preset detection voltage command may include a preset voltage difference and the identification information of the second RFID chip. If the pairing status of multiple fiber optic plugs with the current fiber optic socket is detected, the preset detection voltage command may include a preset voltage difference and the identification information of the RFID chip corresponding to each fiber optic plug (e.g., specifying the range of identification information of the RFID chip that needs to be responded to). Since energy loss occurs during capacitive coupling, the preset voltage difference is less than or equal to the first voltage difference. The specific value can be set according to the chip performance or the actual application scenario. For example, when the fiber optic plug is inserted into the fiber optic socket, the second voltage difference induced between the third and fourth pins is measured. To avoid the influence of fluctuations in the value of the second voltage difference, the preset voltage difference can be set to a value less than or equal to the second voltage difference. The values ​​of the first preset value and the second preset value are different, and the first preset value and the second preset value can be preset. In addition, if it is determined that the fiber optic socket and the fiber optic plug are in an unpaired state (i.e., the fiber optic plug is not inserted into the fiber optic socket), a prompt message can be output to remind relevant personnel to check the current status of the fiber optic plug and the fiber optic socket, thereby improving the pairing efficiency of the plug and socket.

[0053] For example, taking the detection of pairing between a fiber optic socket and multiple fiber optic plugs as an example; the reader sends a preset pairing command carrying the identification information of the first RFID chip of the fiber optic socket and the relevant flag information for setting a first voltage difference, triggering the first RFID chip of the fiber optic socket to generate a first voltage difference between the first pin and the second pin; the reader broadcasts a preset detection voltage command carrying a preset tag range (the preset tag range is the value range of the identification information of the RFID chip integrated in the fiber optic plug) and preset voltage difference information, triggering the RFID chips of each fiber optic plug to detect a second voltage difference between the third pin and the fourth pin; if the second voltage... If the voltage difference is greater than or equal to a preset voltage difference, the first preset value is returned; if the second voltage difference is less than the preset voltage difference, the second preset value is returned. For example, for a certain fiber optic socket A, after the reader obtains the detection value returned by the RFID chip of each fiber optic plug, it determines whether each detection value is equal to the first preset value. If the detection value of fiber optic plug B is equal to the first preset value, it means that capacitive coupling has occurred between fiber optic plug B and fiber optic socket A, that is, fiber optic plug B and fiber optic socket A are in a paired state; if the detection value of fiber optic plug B is the second preset value, it means that capacitive coupling has not occurred between fiber optic plug B and fiber optic socket A, that is, fiber optic plug B and fiber optic socket A are in an unpaired state.

[0054] This invention provides a plug and socket pairing method. Based on the plug and socket pairing structure, a preset pairing command is sent to a first RFID chip to trigger a first voltage difference between the first and second pins. This allows the third and fourth pins of the second RFID chip to sense a second voltage difference through capacitive coupling, thereby enabling signal transmission. By acquiring the detection value of the second RFID chip, it is determined whether the detection value is equal to the first preset value. If so, it is determined that the fiber optic socket and the fiber optic plug are in a paired state. The detection value is determined based on the second voltage difference between the third and fourth pins. The detection value reflects the second voltage difference between the third and fourth pins, i.e., it reflects the pairing status between the fiber optic socket and the fiber optic plug, enabling this application to quickly and efficiently detect the pairing status of the fiber optic socket and the fiber optic plug.

[0055] Example 3

[0056] Figure 5 This is a flowchart of a plug-socket pairing method provided in Embodiment 3 of the present invention. Based on the above embodiments, this embodiment further determines whether the plug and socket are correctly paired according to the pairing status between them. Figure 5 As shown, the method includes:

[0057] S501. Send a preset pairing command to the first RFID chip to trigger the generation of a first voltage difference between the first pin and the second pin.

[0058] S502. Obtain the detection value of the second RFID chip, determine whether the detection value is equal to the first preset value, and if so, determine that the fiber optic socket and fiber optic plug are in a paired state; wherein, the detection value is determined based on the second voltage difference between the third pin and the fourth pin.

[0059] S503. Determine whether the pairing status matches the preset pairing status; if yes, execute S504; otherwise, execute S505.

[0060] The preset pairing status is determined based on the query results of the fiber optic socket's identification information in the preset pairing relationship database.

[0061] In this embodiment, the pairing status records the correspondence between the identification information of the current fiber optic socket and the identification information of the current fiber optic plug (i.e., the fiber optic plug inserted into the current fiber optic socket). The preset pairing status records the correspondence between the identification information of the current fiber optic socket and the identification information of the target fiber optic plug, where the target fiber optic plug can be understood as a fiber optic plug that has a pre-established binding relationship with the current fiber optic socket. A preset pairing relationship database can be pre-set, recording the correspondence between the identification information of the fiber optic socket and the identification information of the target fiber optic plug. The query result is the correspondence between the identification information of the current fiber optic socket and the identification information of the target fiber optic plug.

[0062] For example, determine whether the pairing status meets the preset pairing status. If it does, it means that the fiber optic plug inserted into the current fiber optic socket is the target fiber optic plug, and execute S504. If it does not, it means that the fiber optic plug inserted into the current fiber optic socket is not the target fiber optic plug, and execute S505.

[0063] S504. Determine that the fiber optic socket and fiber optic plug are correctly matched.

[0064] If the fiber optic plug inserted into the current fiber optic socket is the target fiber optic plug, it is determined that the current fiber optic socket and fiber optic plug are correctly paired; if the fiber optic socket and fiber optic plug are correctly paired, a pairing confirmation message can be output.

[0065] S505, The fiber optic socket and fiber optic plug are incorrectly matched.

[0066] If the fiber optic plug inserted into the current fiber optic socket is not the target fiber optic plug, it is determined that the current fiber optic socket and fiber optic plug are mismatched. If the fiber optic socket and fiber optic plug are mismatched, a warning message can be output to prompt relevant personnel to replace the fiber optic plug inserted into the current fiber optic socket.

[0067] In this embodiment, after determining that the fiber optic socket and the fiber optic plug are in a paired state, it is further determined whether the paired state conforms to the preset paired state, which further improves the detection scheme based on the plug and socket pairing structure and realizes efficient detection of the matching relationship between the fiber optic socket and the fiber optic plug.

[0068] Example 4

[0069] Figure 6 This is a schematic diagram of a plug-socket pairing device according to Embodiment 4 of the present invention. This device is applied to a reader / writer and is used to pair the fiber optic socket and fiber optic plug in the plug-socket pairing structure proposed in this application, such as... Figure 6 As shown, the device includes: a first voltage difference triggering module 601 and a socket plug pairing detection module 602.

[0070] The first voltage difference triggering module is used to send a preset pairing command to the first RFID chip to trigger the generation of a first voltage difference between the first pin and the second pin;

[0071] The socket-plug pairing detection module is used to obtain the detection value of the second RFID chip, determine whether the detection value is equal to a first preset value, and if so, determine that the fiber optic socket and the fiber optic plug are in a paired state; wherein, the detection value is determined based on the voltage difference between the third pin and the fourth pin.

[0072] This invention provides a plug and socket pairing device. Based on the plug and socket pairing structure, a preset pairing command is sent to a first RFID chip to trigger a first voltage difference between the first and second pins. This allows the third and fourth pins of the second RFID chip to sense a second voltage difference through capacitive coupling, thereby enabling signal transmission. By acquiring the detection value of the second RFID chip, it is determined whether the detection value is equal to the first preset value. If so, it is determined that the fiber optic socket and the fiber optic plug are in a paired state. The detection value is determined based on the second voltage difference between the third and fourth pins. The detection value reflects the second voltage difference between the third and fourth pins, i.e., it reflects the pairing status between the fiber optic socket and the fiber optic plug, enabling this application to quickly and efficiently detect the pairing status of the fiber optic socket and the fiber optic plug.

[0073] Optionally, the device further includes:

[0074] A voltage detection command broadcasting module is used to broadcast a preset voltage detection command before acquiring the detection value of the second RFID chip, to instruct the second RFID chip to detect the second voltage difference between the third pin and the fourth pin, and return the detection value; wherein, if the second voltage difference detected by the second RFID chip is greater than or equal to a preset voltage difference, the returned detection value is a first preset value; if the second voltage difference detected by the second RFID chip is less than a preset voltage difference, the returned detection value is a second preset value; the preset voltage difference is less than or equal to the first voltage difference.

[0075] Optionally, the device further includes:

[0076] The pairing status determination module is used to determine whether the pairing status conforms to a preset pairing status; if it does, the fiber optic socket and the fiber optic plug are correctly paired; if they do not, the fiber optic socket and the fiber optic plug are incorrectly paired; wherein, the preset pairing status is determined based on the query result of the fiber optic socket's identification information in a preset pairing relationship database.

[0077] The plug and socket pairing device provided in the embodiments of the present invention can execute the plug and socket pairing method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the method.

[0078] Example 5

[0079] Figure 7 A schematic diagram of an electronic device 700, configured as a reader / writer, is shown for use in implementing embodiments of the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as handheld computing devices and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.

[0080] like Figure 7 As shown, the electronic device 700 includes at least one processor 701 and a memory, such as a read-only memory (ROM) 702 and a random access memory (RAM) 703, communicatively connected to the at least one processor 701. The memory stores computer programs executable by the at least one processor. The processor 701 can perform various appropriate actions and processes based on the computer program stored in the ROM 702 or loaded into the RAM 703 from storage unit 708. The RAM 703 can also store various programs and data required for the operation of the electronic device 700. The processor 701, ROM 702, and RAM 703 are interconnected via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0081] Multiple components in electronic device 700 are connected to I / O interface 705, including: input unit 706, such as keyboard, mouse, etc.; output unit 707, such as various types of displays, speakers, etc.; storage unit 708, such as disk, optical disk, etc.; and communication unit 709, such as network card, modem, wireless transceiver, etc. Communication unit 709 allows electronic device 700 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0082] Processor 701 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 701 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 701 performs the various methods and processes described above, such as the plug-and-socket pairing method.

[0083] In some embodiments, the plug-and-receptacle mating method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 708. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 700 via ROM 702 and / or communication unit 709. When the computer program is loaded into RAM 703 and executed by processor 701, one or more steps of the plug-and-receptacle mating method described above may be performed. Alternatively, in other embodiments, processor 701 may be configured to perform the plug-and-receptacle mating method by any other suitable means (e.g., by means of firmware).

[0084] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0085] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0086] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0087] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0088] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or middleware components (e.g., application servers), or frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.

[0089] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.

[0090] This disclosure provides a computer program product, including a computer program that, when executed by a processor, implements the plug and socket pairing method provided in the above embodiments.

[0091] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.

[0092] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.

Claims

1. A plug and socket mating structure, characterized in that, Includes fiber optic sockets and fiber optic plugs, wherein: The fiber optic socket includes a socket body and a first PCB board fixed to the socket body; the first PCB board integrates a first radio frequency identification (RFID) antenna, a first RFID chip, a first metal layer, and a second metal layer; wherein, the first metal layer is connected to a first pin of the first RFID chip; the second metal layer is connected to a second pin of the first RFID chip; the first metal layer and the second metal layer are located on the same plane; The fiber optic connector includes a connector body and a second PCB board fixed to the connector body; the second PCB board integrates a second RFID antenna, a second RFID chip, a third metal layer, and a fourth metal layer; wherein the third metal layer is connected to the third pin of the second RFID chip; the fourth metal layer is connected to the fourth pin of the second RFID chip; the third metal layer and the fourth metal layer are located on the same plane; Specifically, when the fiber optic plug is inserted into the fiber optic socket, the first metal layer and the third metal layer are perpendicularly aligned, and the second metal layer and the fourth metal layer are perpendicularly aligned; the first metal layer and the third metal layer are at a preset distance; the second metal layer and the fourth metal layer are at the preset distance.

2. The plug and socket mating structure according to claim 1, characterized in that, The dimensions of the first metal layer, the second metal layer, the third metal layer, and the fourth metal layer are preset dimensions; wherein, the area of ​​the preset dimensions is determined based on the first voltage difference, the preset distance, and the interlayer dielectric constant of the first metal layer and the third metal layer; the first voltage difference is the voltage difference between the first pin and the second pin; the first voltage difference is used to induce a second voltage difference between the third pin and the fourth pin through capacitive coupling.

3. The plug and socket mating structure according to claim 2, characterized in that, The first voltage difference is generated when a preset pairing command is issued by the reader.

4. A plug and socket mating method, characterized in that, Applied to a reader / writer, for pairing the fiber optic socket and fiber optic plug in the plug-socket pairing structure as described in any one of claims 1-3, the method includes: A preset pairing command is sent to the first RFID chip to trigger a first voltage difference between the first pin and the second pin; The detection value of the second RFID chip is obtained, and it is determined whether the detection value is equal to a first preset value. If so, it is determined that the fiber optic socket and the fiber optic plug are in a paired state. The detection value is determined based on the second voltage difference between the third pin and the fourth pin.

5. The plug and socket mating method according to claim 4, characterized in that, Before obtaining the detection value of the second RFID chip, the method further includes: Broadcast a preset detection voltage command to instruct the second RFID chip to detect the second voltage difference between the third and fourth pins and return the detection value; Wherein, if the second voltage difference detected by the second RFID chip is greater than or equal to a preset voltage difference, the returned detection value is a first preset value; if the second voltage difference detected by the second RFID chip is less than the preset voltage difference, the returned detection value is a second preset value; wherein the preset voltage difference is less than or equal to the first voltage difference.

6. The plug and socket mating method according to claim 4, characterized in that, Also includes: Determine whether the pairing status matches a preset pairing status; If they match, the fiber optic socket and the fiber optic plug are determined to be correctly paired; if they do not match, the fiber optic socket and the fiber optic plug are determined to be incorrectly paired. The preset pairing status is determined based on the query results of the fiber optic socket's identification information in the preset pairing relationship database.

7. A plug and socket mating device, characterized in that, Applied to a reader / writer, for pairing the fiber optic socket and fiber optic plug in the plug-socket pairing structure as described in any one of claims 1-3, comprising: The first voltage difference triggering module is used to send a preset pairing command to the first RFID chip to trigger the generation of a first voltage difference between the first pin and the second pin; The socket-plug pairing detection module is used to obtain the detection value of the second RFID chip, determine whether the detection value is equal to a first preset value, and if so, determine that the fiber optic socket and the fiber optic plug are in a paired state; wherein, the detection value is determined based on the voltage difference between the third pin and the fourth pin.

8. An electronic device, characterized in that, The electronic device is configured as a reader / writer, and the electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor to enable the at least one processor to perform the plug-socket mating method according to any one of claims 4-6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that cause a processor to execute the plug-socket mating method according to any one of claims 4-6.

10. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the plug and socket mating method according to any one of claims 4-6.