Electronic tag matching method and the device of Optical fiber plug
Technical field
The present invention relates to electronic tag matching method and device, relate in particular to a kind of electronic tag matching method and device of Optical fiber plug.
Background technology
In the last few years, along with the large scale application of optical fiber communication network, constantly riseing of terminal use's quantity proposed more demand to optical fiber communication equipment capacity, function.Take Optical Distribution Frame as example, at present in the main product of domestic and international famous optical communication equipment manufacturer the fiber adapter of each equipment can reach at most thousands of, in the installation process of fibre distribution frame, conventional method is to be connected into the papery identity mark of subordinate equipment of the higher level equipment of end and output or two ends that bar code label is arranged on optical fiber with indicating optical fiber, at the connector of completing optical fiber with after adapter is connected, the workmen makes the annexation of paper using Jie hand-kept label, afterwards again by manual operation typing management system.This shows, workload hard work mode efficient is low, and this not only seriously restricts the duration, and the probability of misoperation is high, also has paper labels or bar code to be subject to surrounding environment, the impact of the factors such as manual operation, cause the aging of label or damage, bringing very large hidden danger to maintenance work.
Electronic tag begins the application in the optical fiber link management system recently, it has overcome the impact that paper labels etc. in the past is subject to environment and human factor, save simultaneously the work of manual entry label information, this has improved fibre distribution frame installation and maintenance work to a certain extent.but this mode has been introduced a new problem too---how confirm efficiently in the optical fiber installation process that the electronic tag at optical fiber two ends is on an optical fiber? before being operated in optical fiber production manufacturer and dispatching from the factory of the electronic tag of present electronic tag Optical fiber plug pairing, perhaps the independent label pairing instrument of networking librarian use is completed, before a kind of mode pairing work is completed by optical fiber production manufacturer, so not only can cause the lifting of optical fiber cost, and the data after the electronic tag pairing can't directly be stored in the Virtual network operator management system, and the latter is equivalent to increase a procedure before optical fiber is installed, reduce operating efficiency.
Summary of the invention
The technical problem to be solved in the present invention is for the defective that in prior art, the electronic tag matching operation is loaded down with trivial details, efficient is low and cost is high, and a kind of electronic tag matching method and device of Optical fiber plug is provided.
The technical solution adopted for the present invention to solve the technical problems is: a kind of electronic tag matching method of Optical fiber plug is provided, and the electronic tag that is used for arranging on the Optical fiber plug to the optical fiber two ends matches, and comprising:
Query steps is used for inquiring about the identity information of storing in the electronic tag that arranges on the Optical fiber plug that on Optical Distribution Frame, a plurality of fiber adapter insert;
Pairing step is for the described identity information that inquires being matched to obtain to belong to one by one two Optical fiber plugs of same optical fiber.
According to the electronic tag matching method of the Optical fiber plug of the embodiment of the present invention, described electronic tag matching method also comprises between described query steps and described pairing step:
Switch process, but for the identity information that inquires being converted to the communication data packet of communications;
Forwarding step: be used for the described communication data packet of communications to match.
According to the electronic tag matching method of the Optical fiber plug of the embodiment of the present invention, further comprise before described query steps:
Given step: specify at random two fiber adapter on Optical Distribution Frame to match to be used for carrying out electronic tag.
According to the electronic tag matching method of the Optical fiber plug of the embodiment of the present invention, described electronic tag matching method also comprises after pairing step:
Step display is used for two fiber adapter that visualization display is inserted with two Optical fiber plugs that belong to same optical fiber.
According to the electronic tag matching method of the Optical fiber plug of the embodiment of the present invention, described pairing step further comprises:
Extract an identity information and remaining other identity information and travel through pairing;
Judge whether another identity information of successful matching with it;
If have, record and show two fiber adapter corresponding to identity information of successful matching; Otherwise, record and show a failed fiber adapter corresponding to identity information of pairing;
Judge that whether the quantity of the identity information that remaining not pairing is completed is more than or equal to 2;
If so, the identity information of remaining not pairing being completed is proceeded pairing; Otherwise pairing finishes.
The present invention also provides a kind of electronic tag contrast means of Optical fiber plug, the electronic tag that is used for arranging on the Optical fiber plug to the optical fiber two ends matches, wherein, described electronic tag contrast means comprises Optical Distribution Frame, each module for reading and writing that is electrically connected to described a plurality of fiber adapter, the modular converter that is electrically connected to described module for reading and writing that is provided with a plurality of fiber adapter and the host computer that communicates to connect with described modular converter; Wherein,
A plurality of fiber adapter of described Optical Distribution Frame are used for inserting a plurality of Optical fiber plugs to be paired;
Described module for reading and writing is used for inquiring about the identity information of the electronic tag that arranges on described Optical fiber plug;
But the described identity information that described modular converter is used for inquiring converts the communication data packet of communications to and is sent to described host computer;
Described host computer is for described communication data packet being matched to obtain to belong to two Optical fiber plugs of same optical fiber.
In the electronic tag contrast means of the Optical fiber plug of the foundation embodiment of the present invention, described host computer also comprises display screen, is used for two fiber adapter that visualization display is inserted with two Optical fiber plugs that belong to same optical fiber.
The beneficial effect that the present invention produces is: in the electronic tag matching method and device of the Optical fiber plug of the foundation embodiment of the present invention, by the module for reading and writing that is electrically connected to fiber adapter on Optical Distribution Frame is set, can inquire about the identity information of the electronic tag of the Optical fiber plug that is inserted into this fiber adapter, by host computer, the identity information that inquires is matched, can be accurately and find rapidly two Optical fiber plugs that belong to same optical fiber.Because in the pairing process of electronic tag, be based on the inquiry of the improvement of existing Optical Distribution Frame being carried out electronic tag, therefore easy to operate, there is no to increase very large extra cost.In addition, the pairing process all adopts host computer to operate and completes, and do not need manpower intervention, so matching efficiency is fast.
Description of drawings
The invention will be further described below in conjunction with drawings and Examples, in accompanying drawing:
Fig. 1 is the logic diagram when adopting wire communication mechanism to transmit according to the electronic tag contrast means of the embodiment of the present invention;
Fig. 2 is the logic diagram when adopting wireless communication mechanism to transmit according to the electronic tag contrast means of the embodiment of the present invention;
Fig. 3 is the flow chart according to the electronic tag matching method of the embodiment of the present invention;
Fig. 4 is the flow chart of implementing pairing step in Fig. 2.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
As shown in Figure 1, Fig. 1 shows the logic diagram according to the electronic tag contrast means of the Optical fiber plug of the embodiment of the present invention.The electronic tag that this electronic tag contrast means is used for arranging on the Optical fiber plug to the optical fiber two ends matches, and whether belongs to same optical fiber to judge these two Optical fiber plugs.This electronic tag comprises RFID chip or the semiconductor type storage medium of active/passive, and storage inside has the identity information of unique this Optical fiber plug of identification.The electronic tag contrast means comprise the Optical Distribution Frame 10 that is provided with a plurality of fiber adapter 11, with adaptive each module for reading and writing that is electrically connected to 12 of a plurality of optical fiber, the modular converter 13 that is electrically connected to module for reading and writing 12 and with the host computer 14 of modular converter 13 communication connections.
Be provided with a plurality of fiber adapter 11 on Optical Distribution Frame 10 and be used for inserting Optical fiber plug, minimum is two fiber adapter 11, therefore adopt according to the electronic tag contrast means of the embodiment of the present invention and both can match verification to two Optical fiber plugs, judge whether these two Optical fiber plugs belong to same optical fiber; Also can screen pairing to plural Optical fiber plug, obtain many assembly to the Optical fiber plug of success, wherein the right Optical fiber plug of every assembly comprises two Optical fiber plugs that belong to same optical fiber.For convenience of operation and demonstration, can be numbered each fiber adapter 11.
Each above-mentioned fiber adapter 11 all is electrically connected to module for reading and writing 12, so module for reading and writing 12 can inquire about the identity information of storage in electronic tag, for example can gather and store this identity information.Module for reading and writing 12 comprises a plurality of memory block, and each memory block is corresponding with a fiber adapter 11, is used for the identity information that storage is inserted into the electronic tag that arranges on the Optical fiber plug of this fiber adapter 11.Module for reading and writing 12 can by modular converter 13 and host computer 14 communication connections, be used for the transmission identity information and receive control command to host computer 14 or from host computer 14.Wherein, but modular converter 13 is used for the identity information that module for reading and writing 12 inquires is converted to the communication data packet of communications, then this communication data packet is sent to host computer 14 with wireless or wired transmission means.For example, in Fig. 1 modular converter 13 by cable and host computer 14 wired connections to set up wire communication mechanism; Electronic tag contrast means in Fig. 2 also is provided with the transceiver module 19 that is electrically connected to modular converter 13, is used for setting up wireless communication mechanism with host computer 14.Wherein, above-mentioned wire communication mechanism comprises Asynchronous Serial Interface (UART), parallel communication interface, high-speed synchronous serial port (SPI), integrated control bus interface (IIC), field-bus interface (CAN), USB (universal serial bus), multichannel buffer memory serial port (McBSP), internet interface etc.Above-mentioned wireless communication mechanism comprises infrared communication, Bluetooth communication, radio network technique (Zigbee communication), WLAN (wireless local area network) and global mobile communication (GSM), TD SDMA (TD-SCDMA), Wideband Code Division Multiple Access (WCDMA) (WCDMA), the cellular communication of CDMA 2000 (CDMA2000) class etc.
Host computer 14 is generally selected PC (PC) or palmtop PC (PDA) for directly to send the computer of controlling order.This host computer 14 can send control command to module for reading and writing 12 on the one hand, thereby indicates it to inquire about and definite inquiry mode; Can the identity information of inquiry be matched on the other hand, thereby find out two Optical fiber plugs that belong to same optical fiber, or judge whether two Optical fiber plugs belong to same optical fiber.General host computer 14 also has display screen, can show the pairing result, for example, can be numbered fiber adapter 11, after pairing, show the numbering of the fiber adapter 11 of screen display successful matching, thereby the handled easily personnel find two Optical fiber plugs of pairing fast.
Fig. 3 shows the electronic tag matching method according to the Optical fiber plug of the embodiment of the present invention, as shown in Figure 3, in beginning step S100, at first Optical fiber plug to be paired is inserted in the fiber adapter 11 that arranges on Optical Distribution Frame 10 all corresponding numbering of each fiber adapter 11.Host computer 14 sending controling instructions are to module for reading and writing 12 subsequently, and the electronic tag that indication module for reading and writing 12 begins to arrange on Optical fiber plug to the adaptive middle insertion of optical fiber begins to inquire about.
In step S200, receive instruction after module for reading and writing 12 begin to inquire about, can gather the identity information in electronic tag in inquiry, and identity information is stored in memory block corresponding with this fiber adapter 11 in module for reading and writing 12.This moment both can random challenge, also can carry out sequential query according to the numbering of fiber adapter 11.
In step S300, in this step, modular converter 13 extracts the identity information of storing in a plurality of memory block of module for reading and writing 12, and convert this identity information to can communicate transmission communication data packet in step S400, thereby make this identity information can transfer to host computer 14 to match.
In step S500, after identity information transferred to host computer 14 by wired or wireless communication mechanism, 14 pairs of these identity informations of host computer matched.For example, if host computer 14 is received the identity information of two electronic tags, host computer 14 carries out verification to these two identity informations, if successful matching, namely two Optical fiber plugs belong to same optical fiber, the numbering of two fiber adapter 11 of the demonstration screen display successful matching of host computer 14; If match unsuccessfully, can show unsuccessful sign on the display screen of host computer 14.In addition, if host computer 14 receives that host computer 14 matches one by one more than two identity informations (supposing n, n>2).Particularly, as shown in Figure 4, at first host computer 14 extracts an identity information (i identity information) and matches, this identity information and other (n-1) individual identity information are traveled through pairing, if find another identity information of successful matching with it, host computer 14 is recorded the numbering of two fiber adapter 11 corresponding to these two identity informations, and in follow-up step S600 by the numbering of these two fiber adapter 11 of demonstration screen display of host computer 14.After this time pairing was completed, host computer 14 will match to (n-2) individual identity information of not completing pairing next time.If i identity information do not have successful matching in the pairing process, namely do not find another identity information of successful matching with it, host computer 14 is recorded the numbering of fiber adapter corresponding to this identity information 11 and is shown in follow-up step S600 on the display screen of host computer 14, indicate this Optical fiber plug failure, after this time pairing was completed, (n-1) individual identity information that 14 pairs of host computers are not completed pairing matched next time.In the pairing process, also having a step is after once pairing is completed, and the quantity of uncompleted identity information is analyzed, because only have the quantity of identity information more than or equal to 2 o'clock, pairing is just meaningful, therefore when 2 of the lazy weights of uncompleted identity information, and the pairing end.
Can also adopt another kind of method that two Optical fiber plugs are matched in another embodiment of the present invention, judge whether they belong to same optical fiber.Particularly, at first host computer 14 formulates that in Optical Distribution Frame 10, any two fiber adapter 11 are used for carrying out the Optical fiber plug pairing; Then sending controling instruction is inquired about with indication to module for reading and writing 12, Query Result passes through modular converter 13 communications according to the method described above to host computer 14, host computer 14 carries out verification to these two, if successful matching, namely two Optical fiber plugs belong to same optical fiber, the numbering of two fiber adapter 11 of the demonstration screen display successful matching of host computer 14; If match unsuccessfully, show unsuccessful sign by the display screen of host computer 14 in follow-up step S600.
As can be seen from the above, in the electronic tag matching method and device of the Optical fiber plug of the foundation embodiment of the present invention, by the module for reading and writing that is electrically connected to fiber adapter on Optical Distribution Frame is set, can inquire about the identity information of the electronic tag of the Optical fiber plug that is inserted into this fiber adapter, by host computer, the identity information that inquires is matched, can be accurately and find rapidly two Optical fiber plugs that belong to same optical fiber.Because in the pairing process of electronic tag, be based on the inquiry of the improvement of existing Optical Distribution Frame being carried out electronic tag, therefore easy to operate, there is no to increase very large extra cost.In addition, the pairing process all adopts host computer to operate and completes, and do not need manpower intervention, so matching efficiency is fast.In addition, because Optical Distribution Frame is provided with a plurality of fiber adapter, therefore once not only can realize the verification of two Optical fiber plugs is matched in pairing, judge whether these two Optical fiber plugs belong to same optical fiber; Can also screen pairing to a plurality of Optical fiber plugs, find many assembly to the Optical fiber plug group of success from a plurality of Optical fiber plugs, every assembly comprises to the Optical fiber plug group of success two Optical fiber plugs that belong to same optical fiber, has further improved matching efficiency.In addition, the pairing result can be presented on the display screen of host computer intuitively, and therefore convenient operating personnel carry out work.
Should be understood that, for those of ordinary skills, can be improved according to the above description or conversion, and all these improve and conversion all should belong to the protection range of claims of the present invention.