WO2017067249A1 - Fault locating method and apparatus for optical fiber electronic tag - Google Patents

Fault locating method and apparatus for optical fiber electronic tag Download PDF

Info

Publication number
WO2017067249A1
WO2017067249A1 PCT/CN2016/090173 CN2016090173W WO2017067249A1 WO 2017067249 A1 WO2017067249 A1 WO 2017067249A1 CN 2016090173 W CN2016090173 W CN 2016090173W WO 2017067249 A1 WO2017067249 A1 WO 2017067249A1
Authority
WO
WIPO (PCT)
Prior art keywords
optical fiber
electronic tag
read
write
fault
Prior art date
Application number
PCT/CN2016/090173
Other languages
French (fr)
Chinese (zh)
Inventor
鲍忠超
谢云鹏
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017067249A1 publication Critical patent/WO2017067249A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0003Automatic card files incorporating selecting, conveying and possibly reading and/or writing operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • G06K19/07Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
    • G06K19/077Constructional details, e.g. mounting of circuits in the carrier
    • G06K19/07701Constructional details, e.g. mounting of circuits in the carrier the record carrier comprising an interface suitable for human interaction
    • G06K19/07713Constructional details, e.g. mounting of circuits in the carrier the record carrier comprising an interface suitable for human interaction the interface, upon reception of an interrogation signal, being capable of signaling to indicate its position to a user or a detection device

Definitions

  • This document relates to, but is not limited to, the field of communications, and in particular, to a fault location method and apparatus for an optical fiber electronic tag.
  • FIG. 1 is a structural diagram of an optical fiber electronic tag and a connector according to the related art.
  • the structure of the current optical fiber electronic tag 10 includes two key metal contact pins, which are a ground metal pin 12 and a data metal.
  • Pin 14 where the ground metal pin 12 is used for grounding, the data metal pin 14 is used for reading and writing data, and the two contact metal pins form a data read/write interface for the electronic tag.
  • a metal contact pin 16 is correspondingly disposed on the electronic tag insertion connector 18. Due to the diversification of engineering use scenarios, the large number of fiber-optic electronic tags, the existence of electronic chips, etc., the absolute number of problems in the fiber-optic electronic tag itself will be non-zero in a period of time.
  • Fiber optic electronic tags are functionally designed to ground metal pins and data read and write metal pins are sufficient.
  • the current intelligent fiber distribution network system will not be able to identify whether the fiber is detached or the fiber-optic electronic tag itself has a problem, and the fiber-optic electronic tag insertion interface connector cannot read the data; the data stored on the fiber-optic electronic tag cannot be read.
  • the related art judged that the optical fiber electronic tag is not connected to the connector, resulting in a low accuracy of the judgment result.
  • With the continuous construction of intelligent fiber distribution network systems tens of thousands of fiber-optic electronic tags are used, and environmental changes such as time changes make the problem of reading and writing data of fiber-optic electronic tag chips particularly significant.
  • Embodiments of the present invention provide a fault location method and device for an optical fiber electronic tag, which can be The reason for the problem of reading and writing data of the optical fiber electronic chip is determined, and the accuracy of judging the problem of reading and writing is improved.
  • a fault locating method for an optical fiber electronic tag wherein a fiber detecting pin is added to the optical fiber electronic tag, including:
  • the fault of the optical fiber electronic tag is located according to the read/write state and the connection state.
  • the obtaining the connection state of the optical fiber detecting pin and the connector includes:
  • Obtaining the current read/write status of the optical fiber electronic tag indicates that when the data read/write fails, the added connection state of the optical fiber detection pin and the connector is obtained.
  • the fault that the optical fiber electronic tag is located according to the read/write state and the connection state includes:
  • the current read/write status of the optical fiber electronic tag indicates that the data read and write fails, if the current connection status of the optical fiber detection pin and the connector is not connected, the fault of the optical fiber electronic tag is located. For connection failure;
  • the current read/write status of the optical fiber electronic tag indicates that the data read and write fails, if the current connection status of the optical fiber detection pin and the connector is indicated as being connected, the fault of locating the optical fiber electronic tag is The fiber optic electronic tag itself is faulty.
  • obtaining the read/write status of the optical fiber electronic tag and the newly added connection status between the optical fiber detection pin and the connector include:
  • the current connection status of the optical fiber detecting pin and the connector is indicated as being connected, the current read and write status of the optical fiber electronic tag is obtained.
  • the fault that the optical fiber electronic tag is located according to the read/write state and the connection state includes:
  • the optical fiber detecting pin and the current connection state of the connector are connected.
  • the failure of the fiber-optic tag is a failure of the fiber-optic electronic tag itself.
  • the fault locating method further includes:
  • the failure to locate the fiber optic electronic tag is a connection failure.
  • the connector is provided with a connection pin that matches the fiber detection pin, wherein the fiber detection pin and the connection pin are metal pins.
  • the newly added fiber detecting pin is disposed between the data pin and the ground pin on the optical fiber electronic tag.
  • a fault locating device for a fiber optic electronic tag including: a new module, configured to add a fiber detecting pin to the optical fiber electronic tag;
  • An acquiring module is configured to obtain a read/write status of the optical fiber electronic tag and a connection state of the newly added optical fiber detecting pin and the connector after adding the optical fiber detecting pin to the optical fiber electronic tag;
  • the positioning module is configured to locate the fault of the optical fiber electronic label according to the read/write state and the connection state.
  • the obtaining module includes:
  • a first acquiring unit configured to acquire a current read/write state of the optical fiber electronic tag
  • the second obtaining unit is configured to acquire the newly connected state of the fiber detection pin and the connector when the current read/write status of the fiber optic electronic tag indicates that the data has failed to read or write.
  • the positioning module includes:
  • a first positioning unit configured to: if the current read/write status of the optical fiber electronic label indicates that data read/write fails, if the newly added optical fiber detection pin and the current connection status of the connector are not connected , the fault of locating the optical fiber electronic tag is a connection failure;
  • a second positioning unit configured to: if the current read/write status of the optical fiber electronic tag indicates that the data read and write fails, if the newly added optical fiber detection pin and the current connection state of the connector are indicated as being connected, The fault of locating the fiber optic electronic tag is that the fiber optic electronic tag itself is faulty.
  • the obtaining module includes:
  • a third obtaining unit configured to acquire the current connection state of the newly added fiber detecting pin and the connector
  • a fourth acquiring unit configured to acquire a current read/write state of the optical fiber electronic tag when the optical fiber detecting pin and the current connection state of the connector are indicated as being connected.
  • the positioning module is configured to:
  • the fiber optic electronic tag In the case that the newly added fiber detection pin and the current connection state of the connector are indicated as being connected, if the current read/write status of the fiber optic electronic tag indicates that the data read and write fails, the fiber optic electronic tag is located. The failure is the failure of the fiber optic electronic tag itself.
  • the positioning module is configured to:
  • the fault of locating the optical fiber electronic tag is a connection failure.
  • the connector is provided with a connection pin that matches the fiber detection pin, wherein the fiber detection pin and the connection pin are metal pins.
  • the new module is set to:
  • the fiber detection pin is added between the data pin and the ground pin on the optical fiber electronic tag.
  • the optical fiber detection pin is added to the optical fiber electronic tag, and the read/write state of the optical fiber electronic tag and the connection state between the newly added optical fiber detection pin and the connector are obtained;
  • the status and the connection status locate the failure of the fiber optic electronic tag.
  • the embodiment of the invention locates the fault type of the optical fiber electronic label, realizes the determination of the reading and writing of the data of the optical fiber electronic label chip, and improves the accuracy of the judgment of the reading and writing problem.
  • the invention solves the problem that the fault type of the optical fiber electronic label cannot be accurately identified in the related art, thereby achieving the effect of improving the accuracy of determining the fault type of the optical fiber electronic label.
  • FIG. 1 is a structural diagram of a fiber optic electronic tag and a connector in the related art
  • FIG. 2 is a flow chart of a fault location method for an optical fiber electronic tag according to an embodiment of the present invention
  • FIG. 3 is a structural diagram of an optical fiber electronic tag and a connector according to an embodiment of the present invention.
  • FIG. 4 is a structural block diagram of a fault locating device for an optical fiber electronic tag according to an embodiment of the present invention.
  • FIG. 5 is a structural block diagram (1) of a fault locating device for an optical fiber electronic tag according to an embodiment of the present invention
  • FIG. 6 is a structural block diagram (2) of a fault locating device for an optical fiber electronic tag according to an embodiment of the present invention.
  • FIG. 7 is a structural block diagram (3) of a fault locating device for an optical fiber electronic tag according to an embodiment of the present invention.
  • FIG. 2 is a flow chart of a fault location method for an optical fiber electronic tag according to an embodiment of the present invention. As shown in FIG. 2, a fiber optic detection is added to the optical fiber electronic tag. Pins, including:
  • Step 202 Obtain a read/write status of the optical fiber electronic tag and a connection state of the newly added optical fiber detecting pin and the connector;
  • Step 204 Locate the fault of the optical fiber electronic label according to the read/write state and the connection state.
  • the fault of the optical fiber electronic label in the embodiment of the present invention may include: connection failure, self-fault of the optical fiber electronic label, and the type of the fault may include a connection failure, a self-fault accident of the optical fiber electronic label according to network composition and technical division.
  • the fault can also be the type of fault that is subdivided.
  • the fault location method of the foregoing optical fiber electronic label may include, but is not limited to, being applied to an intelligent optical fiber distribution network system, and may perform fault location on the optical fiber electronic label after a fault occurs, or may be real-time. Perform fault location detection on fiber-optic electronic tags, so as to timely discover and accurately locate faults in optical fiber electronic tags, thereby ensuring optical fiber electronic tags. Normal access.
  • the type of the fault is determined according to the read/write state of the optical fiber electronic tag and the connection state of the optical fiber detecting pin and the connector, and the related art cannot read the optical fiber.
  • the fault is determined by the fact that the optical fiber electronic tag is not connected to the connector, and the accuracy of the judgment result is low.
  • the fault type of the optical fiber electronic label is determined, and the accuracy of the fault diagnosis of the optical fiber electronic label is improved.
  • the fault of the optical fiber electronic tag itself may include, but is not limited to, at least one of the following: a chip damage of the optical fiber electronic tag, a damage caused by a collision of the electrical resistance of the optical fiber electronic tag, and an optical fiber electronic device.
  • the tag is abnormally read or written due to external environmental interference, and the data of the optical fiber electronic tag read/write data area is invalid.
  • the method for locating the optical fiber electronic tag includes, but is not limited to, determining the read/write state of the optical fiber electronic tag and then determining the connection state of the added optical fiber detecting pin and the connector; first determining the added optical fiber. Check the connection status between the pin and the connector and judge the read/write status of the fiber optic electronic tag.
  • obtaining the read/write status of the optical fiber electronic tag and the added connection status of the optical fiber detecting pin and the connector include:
  • Step 11 Obtain a current read/write status of the optical fiber electronic label.
  • Step 12 The current read/write status of the obtained fiber optic electronic tag indicates that the data connection check and the current connection state of the connector are obtained when the data read/write failure occurs.
  • the current read and write status of the optical fiber electronic label may include two states: read and write failure, and read and write success.
  • the current read/write status of the optical fiber electronic label indicates that the data read and write fails
  • the current connection state of the added optical fiber detection pin and the connector is continuously determined, and is not directly related to the related art. It is judged that the optical fiber electronic tag is not connected to the connector, resulting in a low accuracy of the judgment result.
  • the fault of locating the optical fiber electronic label according to the read/write state and the connection state includes:
  • Step 21 in the case that the current read/write status of the optical fiber label indicates that the data has failed to read and write, If the current connection status of the added fiber detection pin is not connected, the fault of locating the fiber optic electronic tag is a connection failure;
  • Step 22 If the current read/write status of the optical fiber electronic tag indicates that the data read and write fails, if the current connection status of the added optical fiber detection pin is indicated as a connection, the fault of locating the optical fiber electronic tag is a failure of the optical fiber electronic tag itself.
  • obtaining the read/write status of the optical fiber electronic tag and the added connection status between the optical fiber detection pin and the connector further includes:
  • Step 31 Acquire an current connection state of the added fiber detection pin.
  • Step 32 If the current connection status of the added fiber detection pin is indicated as a connection, the current read and write status of the fiber optic electronic tag is obtained.
  • the current connection state of the fiber detection pin on the optical fiber label is obtained first, and then the current read/write state of the fiber optic electronic tag is obtained when the current connection state indication of the fiber detection pin is connected.
  • the fault of locating the fiber optic electronic tag according to the read/write state and the connection state includes:
  • step 41 if the current connection status of the added fiber detection pin is connected, if the current read/write status of the optical fiber label indicates that the data read and write fails, the fault of locating the optical fiber label is the failure of the optical fiber label itself.
  • the current connection status of the optical fiber detection pin on the optical fiber electronic label is connected, the current read/write status of the optical fiber electronic label is continuously determined, and the current read/write status of the optical electronic label is determined. If the data read/write failure is indicated, the fault of locating the optical fiber label is a fault of the optical fiber electronic label itself, which solves the problem that the type of the fault of the optical fiber electronic label cannot be accurately identified in the related art, and improves the accuracy of determining the fault type of the optical electronic label.
  • the method includes:
  • Step 51 if the added fiber detection pin and the current connection status of the connector are indicated as being unconnected, The fault of locating the fiber optic electronic tag is a connection failure.
  • the optical fiber detecting pin and the connector when it is determined that the increased connection state of the optical fiber detecting pin and the connector is not connected, it may be determined that the fault of the optical fiber electronic tag is not connected to the connector, so that the optical component can be accurately identified.
  • the type of failure of the fiber optic electronic tag when it is determined that the increased connection state of the optical fiber detecting pin and the connector is not connected, it may be determined that the fault of the optical fiber electronic tag is not connected to the connector, so that the optical component can be accurately identified. The type of failure of the fiber optic electronic tag.
  • the connector is provided with a connection pin that matches the fiber detection pin, wherein the fiber detection pin and the connection pin are metal pins.
  • the newly added fiber detection pin is disposed between the data pin and the ground pin on the optical fiber electronic tag.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the fault location method of the optical fiber electronic label.
  • the fiber detection pin is an example of a fiber-optic electronic tag in-situ inspection of a metal pin.
  • the connector is an electronic tag insertion connector. For example, whether the fiber detection pin on the fiber-optic electronic tag is connected to the connector to determine whether the fiber-optic electronic tag is in place. For example.
  • the metal contact pins of the optical fiber electronic tag 31 are expanded from the ground metal pin 32 and the data metal pin 33 to three pins, that is, an optical fiber electronic tag is in place to inspect the metal pin 34, and at the same time in the optical fiber.
  • the electronic tag insertion connector 35 is structurally correspondingly added to the contact metal pin 36.
  • the intelligent fiber distribution network system uses the following inspection methods when monitoring optical fiber tags:
  • the intelligent optical fiber distribution network system directly reads and writes data through the data metal pins of the optical fiber electronic tag. If the data is successfully read and written, the system can accurately identify the optical fiber electronic tag in place; the intelligent optical fiber distribution network system The data is read and written by the data metal pin of the optical fiber electronic tag. If the data read and write fails, the system determines whether the optical fiber electronic tag is in place through the fiber-optic electronic tag on the position metal pin, and the optical fiber electronic tag is in place, and the data read and write failure fails to indicate the optical fiber.
  • the electronic tag itself has a problem, and the system can get the alarm information in time to replace the faulty fiber optic electronic tag. Fiber Failure to read or write data while the electronic tag is not in place indicates that the fiber optic tag is not in place. Therefore, the intelligent optical fiber distribution network system can accurately identify the optical fiber electronic tag in place and the optical fiber electronic tag failure.
  • the intelligent optical fiber distribution network system determines whether the optical fiber electronic tag is in place through the optical tag of the optical fiber electronic tag, and if the optical electronic tag is in place, the data metal pin of the optical fiber electronic tag is read and written. Data, read and write failure indicates that there is a problem with the fiber-optic electronic tag itself, and the system can get the alarm information in time to replace the faulty fiber-optic electronic tag. If the fiber-optic electronic tag is not in place, the smart fiber distribution network can identify that the fiber-optic electronic tag is not in place. Therefore, the intelligent optical fiber distribution network system can accurately identify the optical fiber electronic tag in place and the optical fiber electronic tag failure.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, can be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM).
  • the instructions include a number of instructions for causing a terminal device (which may be a cell phone, computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention.
  • a fault locating device for the optical fiber electronic tag is also provided.
  • the device is used to implement the above-mentioned embodiments and optional embodiments, and the description thereof has been omitted.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the devices described in the following embodiments may be implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • the fault locating device includes:
  • a new module 40 is provided to add a fiber detection pin to the fiber optic electronic tag
  • the obtaining module 42 is configured to obtain the read/write status of the optical fiber electronic tag after adding the optical fiber detecting pin to the optical fiber electronic tag, and the connection state of the optical fiber detecting pin and the connector on the newly added optical electronic label;
  • the positioning module 44 is configured to locate the fault of the fiber optic electronic tag according to the read/write state and the connection state.
  • the fault location device of the foregoing optical fiber electronic label may include, but is not limited to, being applied to an intelligent optical fiber distribution network system, wherein when the fault of the optical fiber electronic label is located, according to the reading of the optical fiber electronic label
  • the state of the connection between the write status and the fiber detection pin and the connector on the fiber-optic electronic tag is the connection failure or the failure of the fiber-optic electronic tag itself, and is different from the related art in that the fiber-optic electronic tag cannot be read.
  • the optical fiber electronic tag is not connected to the connector, resulting in a problem that the accuracy of the judgment result is low.
  • the problem that the fault type of the optical fiber electronic label cannot be accurately identified in the related art is solved, and the accuracy of determining the fault type of the optical fiber electronic label is improved.
  • the fault location device of the optical fiber electronic label may include, but is not limited to, being applied to an intelligent optical fiber distribution network system, and may perform fault location on the optical fiber electronic label after a fault occurs, or may be real-time.
  • the fault location detection of the optical fiber electronic tag enables timely detection and accurate positioning of the fault of the optical fiber electronic tag, thereby ensuring normal access of the optical fiber electronic tag.
  • the problem that the fault type of the optical fiber electronic label cannot be accurately identified in the related art is solved, and the effect of improving the accuracy of determining the fault type of the optical fiber electronic label is achieved.
  • the self-fault of the optical fiber electronic label includes, but is not limited to, at least one of the following: damage of the optical fiber electronic label chip, damage of the optical fiber electronic label resistor due to collision, and optical fiber electronic label due to external Environmental interference causes data read and write abnormalities, and optical fiber electronic tags read and write data area invalid data.
  • the positioning device of the optical fiber electronic tag includes, but is not limited to, determining the read/write state and then determining the connection between the optical fiber detection pin and the connector on the optical fiber electronic tag. State; first determine the connection state between the fiber detection pin and the connector on the optical fiber label and then determine the read/write status.
  • FIG. 5 is a structural block diagram (1) of a fault locating device for an optical fiber electronic tag according to an embodiment of the present invention.
  • the obtaining module 42 includes:
  • the first obtaining unit 52 is configured to acquire a current read/write state of the fiber optic electronic tag.
  • the second obtaining unit 54 is configured to acquire a current connection state of the newly added fiber detection pin and the connector when the current read/write status of the fiber optic electronic tag indicates that the data read and write fails.
  • the current read and write status of the optical fiber electronic label includes: read and write failure, and read and write success.
  • the current read/write status of the optical fiber electronic label indicates that the data read and write fails
  • the current connection state of the optical fiber detection pin on the optical fiber electronic label is continuously determined, and is not directly determined in the related art.
  • the problem that the optical fiber electronic tag is not connected to the connector causes a low accuracy of the judgment result.
  • the positioning module 44 includes:
  • the first positioning unit 62 is configured to locate the fiber optic electronic if the current read/write status of the optical fiber electronic label indicates that the data has failed to be read or written, if the newly added optical detection pin and the current connection status of the connector are not connected.
  • the failure of the label is a connection failure
  • the second positioning unit 64 is configured to locate the optical fiber electronic label if the current optical fiber detection pin and the current connection status of the connector are connected when the current read/write status of the optical fiber label indicates that the data has failed to read or write.
  • the failure is the failure of the fiber optic electronic tag itself.
  • the obtaining module 42 further includes:
  • the third obtaining unit 72 is configured to obtain a current connection state between the newly added fiber detection pin and the connector;
  • the fourth obtaining unit 74 is configured to indicate the current connection status of the optical fiber detecting pin and the connector For the connection, obtain the current read and write status of the fiber optic electronic tag.
  • the current connection state of the optical fiber detection pin on the optical fiber electronic tag is first acquired, and the current connection state of the optical fiber detection pin on the optical fiber electronic tag is connected, and the current read of the optical fiber electronic tag is obtained. Write status.
  • the positioning module 44 may also be configured to:
  • the fault of locating the fiber-optic electronic tag is the failure of the fiber-optic electronic tag itself.
  • the current connection status of the optical fiber detection pin on the optical fiber electronic label is connected, the current read/write status of the optical fiber electronic label is continuously determined, and the current read/write status of the optical electronic label is determined. If the data read and write fails, the fault of locating the optical fiber label is the fault of the optical fiber electronic label itself, which solves the problem that the type of the fault of the optical fiber electronic label cannot be accurately identified in the related art, and the effect of improving the accuracy of the fault type of the optical fiber electronic label is improved.
  • the positioning module 44 may be configured to: when the current connection status of the newly added fiber detection pin is not connected, the fault of locating the optical fiber label is a connection failure.
  • the intelligent optical fiber distribution network system when determining that the current connection status of the optical fiber detection pin on the optical fiber electronic label is unconnected, it may be determined that the fault of the optical fiber electronic label is not connected to the connector, so that the intelligent optical fiber distribution network system The type of fault of the fiber optic electronic tag can be accurately identified.
  • the connector is provided with a connection pin matched with the fiber detection pin, wherein the fiber detection pin and the connection pin are metal pins.
  • the new module is set to:
  • a new fiber detection pin is added between the data pin and the ground pin on the fiber optic electronic tag.
  • modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are respectively located in multiple processes. In the device.
  • Embodiments of the present invention also provide a storage medium.
  • Application scenarios and examples of the embodiment may Reference is made to the above-mentioned Embodiment 1 and Embodiment 2 and Embodiment 3, and details are not described herein.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • the failure of the optical fiber electronic label may include: connection failure, failure of the optical fiber electronic label itself.
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • a mobile hard disk e.g., a hard disk
  • magnetic memory e.g., a hard disk
  • the processor performs the above steps S1, S2 according to the stored program code in the storage medium.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • each module/unit in the foregoing embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, being executed by a processor and stored in a memory. Programs/instructions to implement their respective functions.
  • the invention is not limited to any specific form of combination of hardware and software.
  • the above technical solution realizes the determination of the reading and writing of the data of the optical fiber electronic tag chip, and improves the accuracy of the judgment of the reading and writing problem.

Abstract

A fault locating method and apparatus for an optical fiber electronic tag. An optical fiber detection pin is added to the optical fiber electronic tag. The method comprises: obtaining the read-write state of the optical fiber electronic tag and the state of connection between the added optical fiber detection pin and a connector (202); and locating, according to the read-write state and the connection state, a fault in the optical fiber electronic tag (204). The fault in the optical fiber electronic tag is located. The read-write problem of the optical fiber electronic tag chip data is determined. The judgment accuracy of the read-write problem is improved.

Description

光纤电子标签的故障定位方法及装置Method and device for locating fault of optical fiber electronic tag 技术领域Technical field
本文涉及但不限于通信领域,尤其涉及一种光纤电子标签的故障定位方法及装置。This document relates to, but is not limited to, the field of communications, and in particular, to a fault location method and apparatus for an optical fiber electronic tag.
背景技术Background technique
图1是根据相关技术中光纤电子标签及连接器结构图,如图1所示,当前的光纤电子标签10的结构包含两个关键的金属接触引脚,分别是接地金属引脚12和数据金属引脚14,其中接地金属引脚12用于接地,数据金属引脚14用于读写数据,这两个接触金属引脚构成了电子标签的数据读写接口。在电子标签插入连接器18上对应设置有金属接触引脚16。工程上的使用场景多样化、海量的光纤电子标签、电子芯片存在寿命等原因,光纤电子标签本身出现问题的绝对数在一个时间周期内将会非零。环境因素、芯片寿命等影响到的几乎都是芯片本身不能进行数据的读写,而海量的光纤电子标签使用使得极小概率的生产或者其他原因导致电子器件问题变成了有概率出现的事实。光纤电子标签在功能上设计接地金属引脚和数据读写金属引脚已经足够。在上述问题产生时,当前智能光纤分配网络系统将无法识别是光纤脱落还是光纤电子标签本身出了问题而导致光纤电子标签插入接口连接器无法读取数据;无法读取光纤电子标签上存储的数据时,相关技术均判断为光纤电子标签未连接至连接器,造成判断结果精确度较低。随着智能光纤分配网络系统的不断建设,数以万计的光纤电子标签被使用、同时随着时间的推移环境变化等因素使得光纤电子标签芯片数据读写问题体现得尤为显著。1 is a structural diagram of an optical fiber electronic tag and a connector according to the related art. As shown in FIG. 1, the structure of the current optical fiber electronic tag 10 includes two key metal contact pins, which are a ground metal pin 12 and a data metal. Pin 14, where the ground metal pin 12 is used for grounding, the data metal pin 14 is used for reading and writing data, and the two contact metal pins form a data read/write interface for the electronic tag. A metal contact pin 16 is correspondingly disposed on the electronic tag insertion connector 18. Due to the diversification of engineering use scenarios, the large number of fiber-optic electronic tags, the existence of electronic chips, etc., the absolute number of problems in the fiber-optic electronic tag itself will be non-zero in a period of time. Environmental factors, chip life and so on affect almost all of the chip itself can not read and write data, and the use of a large number of fiber-optic electronic tags makes the electronic device problem become a probable fact with minimal probability of production or other reasons. Fiber optic electronic tags are functionally designed to ground metal pins and data read and write metal pins are sufficient. When the above problem occurs, the current intelligent fiber distribution network system will not be able to identify whether the fiber is detached or the fiber-optic electronic tag itself has a problem, and the fiber-optic electronic tag insertion interface connector cannot read the data; the data stored on the fiber-optic electronic tag cannot be read. At the time, the related art judged that the optical fiber electronic tag is not connected to the connector, resulting in a low accuracy of the judgment result. With the continuous construction of intelligent fiber distribution network systems, tens of thousands of fiber-optic electronic tags are used, and environmental changes such as time changes make the problem of reading and writing data of fiber-optic electronic tag chips particularly significant.
针对相关技术中,无法确定造成光纤电子标签芯片数据的读写问题的原因和判断读写问题的准确率低的情况,目前尚未提出有效的解决方案。In the related art, it is impossible to determine the cause of the problem of reading and writing of the data of the optical fiber electronic chip and the low accuracy of the judgment of the reading and writing problem, and no effective solution has been proposed yet.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例提供了一种光纤电子标签的故障定位方法及装置,能够确 定造成光纤电子标签芯片数据的读写问题的原因,提高判断读写问题的准确率。Embodiments of the present invention provide a fault location method and device for an optical fiber electronic tag, which can be The reason for the problem of reading and writing data of the optical fiber electronic chip is determined, and the accuracy of judging the problem of reading and writing is improved.
根据本发明实施例的一个方面,提供了一种光纤电子标签的故障定位方法,其中,所述光纤电子标签上新增有光纤检测引脚,包括:According to an aspect of the embodiments of the present invention, a fault locating method for an optical fiber electronic tag is provided, wherein a fiber detecting pin is added to the optical fiber electronic tag, including:
获取所述光纤电子标签的读写状态及所述新增的所述光纤检测引脚与连接器的连接状态;Obtaining a read/write state of the optical fiber electronic tag and a connection state of the newly added optical fiber detecting pin and a connector;
根据所述读写状态及所述连接状态定位所述光纤电子标签的故障。The fault of the optical fiber electronic tag is located according to the read/write state and the connection state.
可选地,所述获取所述光纤检测引脚与连接器的连接状态包括:Optionally, the obtaining the connection state of the optical fiber detecting pin and the connector includes:
获取的所述光纤电子标签当前的读写状态指示数据读写失败时,获取增加的所述光纤检测引脚与连接器当前的所述连接状态。Obtaining the current read/write status of the optical fiber electronic tag indicates that when the data read/write fails, the added connection state of the optical fiber detection pin and the connector is obtained.
可选地,所述根据所述读写状态及所述连接状态定位所述光纤电子标签的故障包括:Optionally, the fault that the optical fiber electronic tag is located according to the read/write state and the connection state includes:
在所述光纤电子标签当前的读写状态指示数据读写失败的情况下,若所述光纤检测引脚与连接器当前的所述连接状态指示为未连接,则定位所述光纤电子标签的故障为连接故障;If the current read/write status of the optical fiber electronic tag indicates that the data read and write fails, if the current connection status of the optical fiber detection pin and the connector is not connected, the fault of the optical fiber electronic tag is located. For connection failure;
在所述光纤电子标签当前的读写状态指示数据读写失败的情况下,若所述光纤检测引脚与连接器当前的所述连接状态指示为连接,则定位所述光纤电子标签的故障为光纤电子标签自身故障。If the current read/write status of the optical fiber electronic tag indicates that the data read and write fails, if the current connection status of the optical fiber detection pin and the connector is indicated as being connected, the fault of locating the optical fiber electronic tag is The fiber optic electronic tag itself is faulty.
可选地,获取所述光纤电子标签的读写状态及新增的所述光纤检测引脚与连接器二者之间的连接状态包括:Optionally, obtaining the read/write status of the optical fiber electronic tag and the newly added connection status between the optical fiber detection pin and the connector include:
获取所述光纤检测引脚与连接器当前的所述连接状态;Obtaining the current connection state of the optical fiber detecting pin and the connector;
若所述光纤检测引脚与连接器当前的所述连接状态指示为连接,则获取所述光纤电子标签当前的读写状态。If the current connection status of the optical fiber detecting pin and the connector is indicated as being connected, the current read and write status of the optical fiber electronic tag is obtained.
可选地,所述根据所述读写状态及所述连接状态定位所述光纤电子标签的故障包括:Optionally, the fault that the optical fiber electronic tag is located according to the read/write state and the connection state includes:
在所述光纤检测引脚与连接器当前的所述连接状态指示为连接的情况下,若所述光纤电子标签当前的读写状态指示数据读写失败,则定位所述光 纤电子标签的故障为光纤电子标签自身故障。And if the current read/write status of the optical fiber electronic tag indicates that the data read/write failure fails, the optical fiber detecting pin and the current connection state of the connector are connected. The failure of the fiber-optic tag is a failure of the fiber-optic electronic tag itself.
可选地,所述获取所述光纤检测引脚与连接器当前的所述连接状态之后,所述故障定位方法还包括:Optionally, after the obtaining the connection state between the optical fiber detecting pin and the connector, the fault locating method further includes:
若所述光纤检测引脚当前的所述连接状态指示为未连接,则定位所述光纤电子标签的故障为连接故障。If the current connection status of the fiber detection pin is indicated as being unconnected, the failure to locate the fiber optic electronic tag is a connection failure.
可选地,所述连接器上设置有与所述光纤检测引脚匹配的连接引脚,其中,所述光纤检测引脚与所述连接引脚为金属引脚。Optionally, the connector is provided with a connection pin that matches the fiber detection pin, wherein the fiber detection pin and the connection pin are metal pins.
可选地,新增的所述光纤检测引脚设置在所述光纤电子标签上数据引脚与接地引脚之间。Optionally, the newly added fiber detecting pin is disposed between the data pin and the ground pin on the optical fiber electronic tag.
根据本发明实施例的另一方面,提供了一种光纤电子标签的故障定位装置,包括:新增模块,设置为在所述光纤电子标签上新增光纤检测引脚;According to another aspect of the present invention, a fault locating device for a fiber optic electronic tag is provided, including: a new module, configured to add a fiber detecting pin to the optical fiber electronic tag;
获取模块,设置为在所述光纤电子标签上新增光纤检测引脚后,获取所述光纤电子标签的读写状态及新增的所述光纤检测引脚与连接器的连接状态;An acquiring module is configured to obtain a read/write status of the optical fiber electronic tag and a connection state of the newly added optical fiber detecting pin and the connector after adding the optical fiber detecting pin to the optical fiber electronic tag;
定位模块,设置为根据所述读写状态及所述连接状态定位所述光纤电子标签的故障。The positioning module is configured to locate the fault of the optical fiber electronic label according to the read/write state and the connection state.
可选地,所述获取模块包括:Optionally, the obtaining module includes:
第一获取单元,设置为获取所述光纤电子标签当前的读写状态;a first acquiring unit, configured to acquire a current read/write state of the optical fiber electronic tag;
第二获取单元,设置为在所述光纤电子标签当前的读写状态指示数据读写失败时,获取新增的所述光纤检测引脚与连接器当前的所述连接状态。The second obtaining unit is configured to acquire the newly connected state of the fiber detection pin and the connector when the current read/write status of the fiber optic electronic tag indicates that the data has failed to read or write.
可选地,所述定位模块包括:Optionally, the positioning module includes:
第一定位单元,设置为在所述光纤电子标签当前的读写状态指示数据读写失败的情况下,若新增的所述光纤检测引脚与连接器当前的所述连接状态指示为未连接,则定位所述光纤电子标签的故障为连接故障;a first positioning unit, configured to: if the current read/write status of the optical fiber electronic label indicates that data read/write fails, if the newly added optical fiber detection pin and the current connection status of the connector are not connected , the fault of locating the optical fiber electronic tag is a connection failure;
第二定位单元,设置为在所述光纤电子标签当前的读写状态指示数据读写失败的情况下,若新增的所述光纤检测引脚与连接器当前的所述连接状态指示为连接,则定位所述光纤电子标签的故障为光纤电子标签自身故障。 a second positioning unit, configured to: if the current read/write status of the optical fiber electronic tag indicates that the data read and write fails, if the newly added optical fiber detection pin and the current connection state of the connector are indicated as being connected, The fault of locating the fiber optic electronic tag is that the fiber optic electronic tag itself is faulty.
可选地,所述获取模块包括:Optionally, the obtaining module includes:
第三获取单元,设置为获取新增的所述光纤检测引脚与连接器当前的所述连接状态;a third obtaining unit, configured to acquire the current connection state of the newly added fiber detecting pin and the connector;
第四获取单元,设置为在所述光纤检测引脚与连接器当前的所述连接状态指示为连接时,获取所述光纤电子标签当前的读写状态。And a fourth acquiring unit, configured to acquire a current read/write state of the optical fiber electronic tag when the optical fiber detecting pin and the current connection state of the connector are indicated as being connected.
可选地,所述定位模块是设置为:Optionally, the positioning module is configured to:
在新增的所述光纤检测引脚与连接器当前的所述连接状态指示为连接的情况下,若所述光纤电子标签当前的读写状态指示数据读写失败,则定位所述光纤电子标签的故障为光纤电子标签自身故障。In the case that the newly added fiber detection pin and the current connection state of the connector are indicated as being connected, if the current read/write status of the fiber optic electronic tag indicates that the data read and write fails, the fiber optic electronic tag is located. The failure is the failure of the fiber optic electronic tag itself.
可选地,所述定位模块是设置为:Optionally, the positioning module is configured to:
在所述新增的所述光纤检测引脚与连接器当前的所述连接状态指示为未连接时,定位所述光纤电子标签的故障为连接故障。When the newly added optical fiber detecting pin and the current connection state of the connector are indicated as being unconnected, the fault of locating the optical fiber electronic tag is a connection failure.
可选地,所述连接器上设置有与所述光纤检测引脚匹配的连接引脚,其中,所述光纤检测引脚与所述连接引脚为金属引脚。Optionally, the connector is provided with a connection pin that matches the fiber detection pin, wherein the fiber detection pin and the connection pin are metal pins.
可选地,所述新增模块是设置为:Optionally, the new module is set to:
在所述光纤电子标签上数据引脚与接地引脚之间新增的所述光纤检测引脚。The fiber detection pin is added between the data pin and the ground pin on the optical fiber electronic tag.
通过本发明实施例,采用光纤电子标签上新增光纤检测引脚,通过获取光纤电子标签的读写状态及新增的光纤检测引脚与连接器二者之间的连接状态;根据该读写状态及该连接状态定位该光纤电子标签的故障。本发明实施例定位了光纤电子标签故障类型,实现了光纤电子标签芯片数据的读写问题的确定,提高了判断读写问题的准确率。解决了相关技术中无法准确识别光纤电子标签故障类型的问题,进而达到了提高判断光纤电子标签故障类型准确度的效果。According to the embodiment of the present invention, the optical fiber detection pin is added to the optical fiber electronic tag, and the read/write state of the optical fiber electronic tag and the connection state between the newly added optical fiber detection pin and the connector are obtained; The status and the connection status locate the failure of the fiber optic electronic tag. The embodiment of the invention locates the fault type of the optical fiber electronic label, realizes the determination of the reading and writing of the data of the optical fiber electronic label chip, and improves the accuracy of the judgment of the reading and writing problem. The invention solves the problem that the fault type of the optical fiber electronic label cannot be accurately identified in the related art, thereby achieving the effect of improving the accuracy of determining the fault type of the optical fiber electronic label.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1是相关技术中光纤电子标签及连接器结构图; 1 is a structural diagram of a fiber optic electronic tag and a connector in the related art;
图2是本发明实施例的光纤电子标签的故障定位方法流程图;2 is a flow chart of a fault location method for an optical fiber electronic tag according to an embodiment of the present invention;
图3是本发明实施例的光纤电子标签及连接器结构图;3 is a structural diagram of an optical fiber electronic tag and a connector according to an embodiment of the present invention;
图4是本发明实施例的光纤电子标签的故障定位装置的结构框图;4 is a structural block diagram of a fault locating device for an optical fiber electronic tag according to an embodiment of the present invention;
图5是本发明实施例的光纤电子标签的故障定位装置的结构框图(一);5 is a structural block diagram (1) of a fault locating device for an optical fiber electronic tag according to an embodiment of the present invention;
图6是本发明实施例的光纤电子标签的故障定位装置的结构框图(二);6 is a structural block diagram (2) of a fault locating device for an optical fiber electronic tag according to an embodiment of the present invention;
图7是本发明实施例的光纤电子标签的故障定位装置的结构框图(三)。7 is a structural block diagram (3) of a fault locating device for an optical fiber electronic tag according to an embodiment of the present invention.
本发明的实施方式Embodiments of the invention
下文中将结合附图对本申请的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。Embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order.
实施例1Example 1
在本实施例中提供了一种光纤电子标签的故障定位方法,图2是本发明实施例的光纤电子标签的故障定位方法流程图,如图2所示,光纤电子标签上新增有光纤检测引脚,包括:In this embodiment, a fault location method for a fiber optic electronic tag is provided. FIG. 2 is a flow chart of a fault location method for an optical fiber electronic tag according to an embodiment of the present invention. As shown in FIG. 2, a fiber optic detection is added to the optical fiber electronic tag. Pins, including:
步骤202,获取光纤电子标签的读写状态及新增的光纤检测引脚与连接器的连接状态;Step 202: Obtain a read/write status of the optical fiber electronic tag and a connection state of the newly added optical fiber detecting pin and the connector;
步骤204,根据读写状态及连接状态定位光纤电子标签的故障。Step 204: Locate the fault of the optical fiber electronic label according to the read/write state and the connection state.
需要说明的是,本发明实施例光纤电子标签的故障可以包括:连接故障、光纤电子标签的自身故障,根据网络组成及技术划分等,故障的类型可以包含连接故障、光纤电子标签的自身故障意外的故障,也可以是细分的故障类型。It should be noted that the fault of the optical fiber electronic label in the embodiment of the present invention may include: connection failure, self-fault of the optical fiber electronic label, and the type of the fault may include a connection failure, a self-fault accident of the optical fiber electronic label according to network composition and technical division. The fault can also be the type of fault that is subdivided.
可选地,在本实施例中,上述光纤电子标签的故障定位方法可以包括但并不限于应用于智能光纤分配网络系统中,既可以在发生故障后对光纤电子标签进行故障定位,也可以实时对光纤电子标签进行故障定位检测,从而实现及时发现并准确定位光纤电子标签存在的故障,进而保证光纤电子标签的 正常存取。可选的,在定位光纤电子标签的故障时,根据光纤电子标签的读写状态及增加的光纤检测引脚与连接器的连接状态进行定位故障类型,克服了相关技术中在无法读取光纤电子标签上存储的数据时,均将故障误判为光纤电子标签未连接至连接器,所造成的判断结果精确度较低的问题。通过本实施例,实现了光纤电子标签故障类型的确定,提高了光纤电子标签故障类型判断的准确度。Optionally, in this embodiment, the fault location method of the foregoing optical fiber electronic label may include, but is not limited to, being applied to an intelligent optical fiber distribution network system, and may perform fault location on the optical fiber electronic label after a fault occurs, or may be real-time. Perform fault location detection on fiber-optic electronic tags, so as to timely discover and accurately locate faults in optical fiber electronic tags, thereby ensuring optical fiber electronic tags. Normal access. Optionally, when the fault of the optical fiber electronic tag is located, the type of the fault is determined according to the read/write state of the optical fiber electronic tag and the connection state of the optical fiber detecting pin and the connector, and the related art cannot read the optical fiber. When the data stored on the label is misjudged, the fault is determined by the fact that the optical fiber electronic tag is not connected to the connector, and the accuracy of the judgment result is low. Through the embodiment, the fault type of the optical fiber electronic label is determined, and the accuracy of the fault diagnosis of the optical fiber electronic label is improved.
可选地,在本实施例中,上述光纤电子标签的自身故障可以包括但并不限于以下至少之一:光纤电子标签的芯片损坏、光纤电子标签的电阻因碰撞引起脱落造成的损坏、光纤电子标签因外界环境干扰引起数据读写异常、光纤电子标签读写数据区域无效数据。Optionally, in this embodiment, the fault of the optical fiber electronic tag itself may include, but is not limited to, at least one of the following: a chip damage of the optical fiber electronic tag, a damage caused by a collision of the electrical resistance of the optical fiber electronic tag, and an optical fiber electronic device. The tag is abnormally read or written due to external environmental interference, and the data of the optical fiber electronic tag read/write data area is invalid.
可选地,在本实施例中,光纤电子标签的定位方法包括但并不限于:先判断光纤电子标签读写状态再判断增加的光纤检测引脚与连接器的连接状态;先判断增加的光纤检测引脚与连接器的连接状态再判断光纤电子标签读写状态。Optionally, in this embodiment, the method for locating the optical fiber electronic tag includes, but is not limited to, determining the read/write state of the optical fiber electronic tag and then determining the connection state of the added optical fiber detecting pin and the connector; first determining the added optical fiber. Check the connection status between the pin and the connector and judge the read/write status of the fiber optic electronic tag.
在一个可选的实施方式中,获取光纤电子标签的读写状态及增加的光纤检测引脚与连接器的连接状态包括:In an optional implementation manner, obtaining the read/write status of the optical fiber electronic tag and the added connection status of the optical fiber detecting pin and the connector include:
步骤11,获取光纤电子标签当前的读写状态;Step 11: Obtain a current read/write status of the optical fiber electronic label.
步骤12,获取的光纤电子标签当前的读写状态指示数据读写失败时,获取增加的光纤检测引脚与连接器当前的连接状态。Step 12: The current read/write status of the obtained fiber optic electronic tag indicates that the data connection check and the current connection state of the connector are obtained when the data read/write failure occurs.
需要说明的是,光纤电子标签当前的读写状态可以包括:读写失败、读写成功两种状态。It should be noted that the current read and write status of the optical fiber electronic label may include two states: read and write failure, and read and write success.
可选地,在本实施例中,在光纤电子标签当前的读写状态指示数据读写失败时,继续判断增加的光纤检测引脚与连接器当前的连接状态,而并不是相关技术中,直接判断为光纤电子标签未连接至连接器,造成判断结果精确度较低。Optionally, in this embodiment, when the current read/write status of the optical fiber electronic label indicates that the data read and write fails, the current connection state of the added optical fiber detection pin and the connector is continuously determined, and is not directly related to the related art. It is judged that the optical fiber electronic tag is not connected to the connector, resulting in a low accuracy of the judgment result.
可选地,在本实施例中,根据读写状态及连接状态定位光纤电子标签的故障包括:Optionally, in this embodiment, the fault of locating the optical fiber electronic label according to the read/write state and the connection state includes:
步骤21,在光纤电子标签当前的读写状态指示数据读写失败的情况下, 若增加的光纤检测引脚当前的连接状态指示为未连接,则定位光纤电子标签的故障为连接故障;Step 21, in the case that the current read/write status of the optical fiber label indicates that the data has failed to read and write, If the current connection status of the added fiber detection pin is not connected, the fault of locating the fiber optic electronic tag is a connection failure;
步骤22,在光纤电子标签当前的读写状态指示数据读写失败的情况下,若增加的光纤检测引脚当前的连接状态指示为连接,则定位光纤电子标签的故障为光纤电子标签自身故障。Step 22: If the current read/write status of the optical fiber electronic tag indicates that the data read and write fails, if the current connection status of the added optical fiber detection pin is indicated as a connection, the fault of locating the optical fiber electronic tag is a failure of the optical fiber electronic tag itself.
通过上述步骤,解决了相关技术中无法准确识别光纤电子标签故障类型的问题,提高了判断光纤电子标签故障类型准确度的效果。Through the above steps, the problem that the type of the fault of the optical fiber electronic label cannot be accurately identified in the related art is solved, and the effect of determining the accuracy of the fault type of the optical fiber electronic label is improved.
在一个可选地实施方式中,获取光纤电子标签的读写状态及增加的光纤检测引脚与连接器的连接状态还包括:In an optional implementation manner, obtaining the read/write status of the optical fiber electronic tag and the added connection status between the optical fiber detection pin and the connector further includes:
步骤31,获取增加的光纤检测引脚当前的连接状态;Step 31: Acquire an current connection state of the added fiber detection pin.
步骤32,若增加的光纤检测引脚当前的连接状态指示为连接,则获取光纤电子标签当前的读写状态。Step 32: If the current connection status of the added fiber detection pin is indicated as a connection, the current read and write status of the fiber optic electronic tag is obtained.
可选地,在本实施例中,先获取光纤电子标签上光纤检测引脚当前的连接状态,然后在光纤检测引脚当前的连接状态指示为连接时,获取光纤电子标签当前的读写状态。Optionally, in this embodiment, the current connection state of the fiber detection pin on the optical fiber label is obtained first, and then the current read/write state of the fiber optic electronic tag is obtained when the current connection state indication of the fiber detection pin is connected.
在一个可选地实施方式中,根据读写状态及连接状态定位光纤电子标签的故障包括:In an optional implementation manner, the fault of locating the fiber optic electronic tag according to the read/write state and the connection state includes:
步骤41,在增加的光纤检测引脚当前的连接状态指示为连接的情况下,若光纤电子标签当前的读写状态指示数据读写失败,则定位光纤电子标签的故障为光纤电子标签自身故障。In step 41, if the current connection status of the added fiber detection pin is connected, if the current read/write status of the optical fiber label indicates that the data read and write fails, the fault of locating the optical fiber label is the failure of the optical fiber label itself.
可选地,在本实施例中,在光纤电子标签上光纤检测引脚当前的连接状态指示为连接的情况下,继续判断光纤电子标签当前的读写状态,若光纤电子标签当前的读写状态指示数据读写失败,则定位光纤电子标签的故障为光纤电子标签自身故障,解决了相关技术中无法准确识别光纤电子标签故障类型的问题,提高了判断光纤电子标签故障类型的准确度。Optionally, in this embodiment, if the current connection status of the optical fiber detection pin on the optical fiber electronic label is connected, the current read/write status of the optical fiber electronic label is continuously determined, and the current read/write status of the optical electronic label is determined. If the data read/write failure is indicated, the fault of locating the optical fiber label is a fault of the optical fiber electronic label itself, which solves the problem that the type of the fault of the optical fiber electronic label cannot be accurately identified in the related art, and improves the accuracy of determining the fault type of the optical electronic label.
在一个可选地实施方式中,在获取增加的光纤检测引脚与连接器当前的连接状态之后,包括:In an alternative embodiment, after obtaining the increased connection status of the added fiber detection pin and the connector, the method includes:
步骤51,若增加的光纤检测引脚与连接器当前的连接状态指示为未连接, 则定位光纤电子标签的故障为连接故障。Step 51, if the added fiber detection pin and the current connection status of the connector are indicated as being unconnected, The fault of locating the fiber optic electronic tag is a connection failure.
可选地,在本实施例中,在判断增加的光纤检测引脚与连接器当前的连接状态指示为未连接,则可以确定光纤电子标签的故障为未连接至连接器,从而可以准确的识别光纤电子标签的故障类型。Optionally, in this embodiment, when it is determined that the increased connection state of the optical fiber detecting pin and the connector is not connected, it may be determined that the fault of the optical fiber electronic tag is not connected to the connector, so that the optical component can be accurately identified. The type of failure of the fiber optic electronic tag.
可选地,在本实施例中,连接器上设置有与光纤检测引脚匹配的连接引脚,其中,光纤检测引脚与连接引脚为金属引脚。Optionally, in this embodiment, the connector is provided with a connection pin that matches the fiber detection pin, wherein the fiber detection pin and the connection pin are metal pins.
可选地,在本实施例中,新增的光纤检测引脚设置在光纤电子标签上数据引脚与接地引脚之间。Optionally, in this embodiment, the newly added fiber detection pin is disposed between the data pin and the ground pin on the optical fiber electronic tag.
本发明实施例还提供一种计算机存储介质,计算机存储介质中存储有计算机可执行指令,计算机可执行指令用于执行上述光纤电子标签的故障定位方法。The embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the fault location method of the optical fiber electronic label.
下面结合示例以及附图,对本实施例进行举例说明。The present embodiment will be exemplified below with reference to the examples and the accompanying drawings.
图3是本发明实施例的光纤电子标签及连接器结构图。下面结合图3对本实施例进行说明。其中,光纤检测引脚以光纤电子标签在位检查金属引脚为例,连接器以电子标签插入连接器为例,光纤电子标签上光纤检测引脚是否连接至连接器以光纤电子标签是否在位为例。3 is a structural diagram of an optical fiber electronic tag and a connector according to an embodiment of the present invention. The present embodiment will be described below with reference to FIG. 3. The fiber detection pin is an example of a fiber-optic electronic tag in-situ inspection of a metal pin. The connector is an electronic tag insertion connector. For example, whether the fiber detection pin on the fiber-optic electronic tag is connected to the connector to determine whether the fiber-optic electronic tag is in place. For example.
本发明实施例将光纤电子标签31的金属接触引脚从接地金属引脚32和数据金属引脚33扩展为三个引脚,即增加一个光纤电子标签在位检查金属引脚34,同时在光纤电子标签插入连接器35结构上对应增加接触金属引脚36。智能光纤分配网络系统在监控光纤电子标签时采用如下检查方法:In the embodiment of the present invention, the metal contact pins of the optical fiber electronic tag 31 are expanded from the ground metal pin 32 and the data metal pin 33 to three pins, that is, an optical fiber electronic tag is in place to inspect the metal pin 34, and at the same time in the optical fiber. The electronic tag insertion connector 35 is structurally correspondingly added to the contact metal pin 36. The intelligent fiber distribution network system uses the following inspection methods when monitoring optical fiber tags:
作为一种可选的实施方式:智能光纤分配网络系统直接通过光纤电子标签的数据金属引脚读写数据,如果数据读写成功则系统可以准确的识别光纤电子标签在位;智能光纤分配网络系统通过光纤电子标签的数据金属引脚读写数据,如果数据读写失败则系统通过光纤电子标签在位金属引脚判断光纤电子标签是否在位,光纤电子标签在位而读写数据失败则说明光纤电子标签本身出现问题,系统可以及时得到告警信息以替换故障光纤电子标签。光纤 电子标签不在位而读写数据失败表明光纤电子标签确实不在位。从而智能光纤分配网络系统可以准确的识别光纤电子标签在位情况和光纤电子标签故障。As an optional implementation manner, the intelligent optical fiber distribution network system directly reads and writes data through the data metal pins of the optical fiber electronic tag. If the data is successfully read and written, the system can accurately identify the optical fiber electronic tag in place; the intelligent optical fiber distribution network system The data is read and written by the data metal pin of the optical fiber electronic tag. If the data read and write fails, the system determines whether the optical fiber electronic tag is in place through the fiber-optic electronic tag on the position metal pin, and the optical fiber electronic tag is in place, and the data read and write failure fails to indicate the optical fiber. The electronic tag itself has a problem, and the system can get the alarm information in time to replace the faulty fiber optic electronic tag. Fiber Failure to read or write data while the electronic tag is not in place indicates that the fiber optic tag is not in place. Therefore, the intelligent optical fiber distribution network system can accurately identify the optical fiber electronic tag in place and the optical fiber electronic tag failure.
作为另一种可选的实施方式:智能光纤分配网络系统通过光纤电子标签在位金属引脚判断光纤电子标签是否在位,如果光纤电子标签在位则通过光纤电子标签的数据金属引脚读写数据,读写失败则表明光纤电子标签本身出现问题,系统可以及时得到告警信息以替换故障光纤电子标签。光纤电子标签不在位则智能光纤分配网络可以识别光纤电子标签不在位。从而智能光纤分配网络系统可以准确的识别光纤电子标签在位情况和光纤电子标签故障。As another optional implementation manner, the intelligent optical fiber distribution network system determines whether the optical fiber electronic tag is in place through the optical tag of the optical fiber electronic tag, and if the optical electronic tag is in place, the data metal pin of the optical fiber electronic tag is read and written. Data, read and write failure indicates that there is a problem with the fiber-optic electronic tag itself, and the system can get the alarm information in time to replace the faulty fiber-optic electronic tag. If the fiber-optic electronic tag is not in place, the smart fiber distribution network can identify that the fiber-optic electronic tag is not in place. Therefore, the intelligent optical fiber distribution network system can accurately identify the optical fiber electronic tag in place and the optical fiber electronic tag failure.
在本实施例,需要在光纤电子标签上增加光纤在位检查金属引脚,对于连接器同样是增加一金属接触引脚,工业级别的生成上接触引脚就是在线路板上多1根金属线,在成本上略有增加,近于忽略。In this embodiment, it is necessary to add a fiber in-situ inspection metal pin on the optical fiber electronic tag, and a metal contact pin is also added to the connector, and an industrial level generating upper contact pin is one more metal wire on the circuit board. , a slight increase in cost, almost ignored.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, can be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM). The instructions include a number of instructions for causing a terminal device (which may be a cell phone, computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention.
实施例2Example 2
在本实施例中还提供了一种光纤电子标签的故障定位装置,该装置用于实现上述实施例及可选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置可以以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In this embodiment, a fault locating device for the optical fiber electronic tag is also provided. The device is used to implement the above-mentioned embodiments and optional embodiments, and the description thereof has been omitted. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the devices described in the following embodiments may be implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图4是本发明实施例的光纤电子标签的故障定位装置的结构框图,如图4所示,该故障定位装置包括:4 is a structural block diagram of a fault locating device for an optical fiber electronic tag according to an embodiment of the present invention. As shown in FIG. 4, the fault locating device includes:
新增模块40,设置为在光纤电子标签上新增光纤检测引脚; A new module 40 is provided to add a fiber detection pin to the fiber optic electronic tag;
获取模块42,设置为在光纤电子标签上新增光纤检测引脚后,获取光纤电子标签的读写状态及新增的光纤电子标签上光纤检测引脚与连接器的连接状态;The obtaining module 42 is configured to obtain the read/write status of the optical fiber electronic tag after adding the optical fiber detecting pin to the optical fiber electronic tag, and the connection state of the optical fiber detecting pin and the connector on the newly added optical electronic label;
定位模块44,设置为根据读写状态及连接状态定位光纤电子标签的故障。The positioning module 44 is configured to locate the fault of the fiber optic electronic tag according to the read/write state and the connection state.
可选地,在本实施例中,上述光纤电子标签的故障定位装置可以包括但并不限于应用于智能光纤分配网络系统中,其中,在定位光纤电子标签的故障时,根据光纤电子标签的读写状态及光纤电子标签上光纤检测引脚与连接器二者之间的连接状态进行定位是连接故障还是光纤电子标签自身故障,而不同于相关技术中,在无法读取光纤电子标签上存储的数据时,均判断为光纤电子标签未连接至连接器,造成判断结果精确度较低的问题。通过本实施例,解决了相关技术中无法准确识别光纤电子标签故障类型的问题,提高了判断光纤电子标签故障类型的准确度。Optionally, in this embodiment, the fault location device of the foregoing optical fiber electronic label may include, but is not limited to, being applied to an intelligent optical fiber distribution network system, wherein when the fault of the optical fiber electronic label is located, according to the reading of the optical fiber electronic label The state of the connection between the write status and the fiber detection pin and the connector on the fiber-optic electronic tag is the connection failure or the failure of the fiber-optic electronic tag itself, and is different from the related art in that the fiber-optic electronic tag cannot be read. In the case of data, it is judged that the optical fiber electronic tag is not connected to the connector, resulting in a problem that the accuracy of the judgment result is low. Through the embodiment, the problem that the fault type of the optical fiber electronic label cannot be accurately identified in the related art is solved, and the accuracy of determining the fault type of the optical fiber electronic label is improved.
可选地,在本实施例中,上述光纤电子标签的故障定位装置可以包括但并不限于应用于智能光纤分配网络系统中,既可以在发生故障后对光纤电子标签进行故障定位,也可以实时对光纤电子标签进行故障定位检测,从而实现及时发现并准确定位光纤电子标签存在的故障,进而保证光纤电子标签的正常存取。可选的,在定位光纤电子标签的故障时,根据光纤电子标签的读写状态及光纤电子标签上光纤检测引脚与连接器二者之间的连接状态进行定位是连接故障还是光纤电子标签的自身故障,从而克服了相关技术中在无法读取光纤电子标签上存储的数据时,均将故障误判为光纤电子标签未连接至连接器,所造成的判断结果精确度较低的问题。通过本实施例,解决了相关技术中无法准确识别光纤电子标签故障类型的问题,达到了提高判断光纤电子标签故障类型准确度的效果。Optionally, in this embodiment, the fault location device of the optical fiber electronic label may include, but is not limited to, being applied to an intelligent optical fiber distribution network system, and may perform fault location on the optical fiber electronic label after a fault occurs, or may be real-time. The fault location detection of the optical fiber electronic tag enables timely detection and accurate positioning of the fault of the optical fiber electronic tag, thereby ensuring normal access of the optical fiber electronic tag. Optionally, when locating the fault of the optical fiber electronic tag, according to the read/write state of the optical fiber electronic tag and the connection state between the optical fiber detecting pin and the connector on the optical fiber electronic tag, whether the connection is faulty or the optical fiber electronic tag The self-fault, thereby overcoming the related art, when the data stored on the optical fiber electronic tag cannot be read, the fault is misjudged as the problem that the optical fiber electronic tag is not connected to the connector, and the accuracy of the judgment result is low. Through the embodiment, the problem that the fault type of the optical fiber electronic label cannot be accurately identified in the related art is solved, and the effect of improving the accuracy of determining the fault type of the optical fiber electronic label is achieved.
可选地,在本实施例中,上述光纤电子标签的自身故障包括但并不限于以下至少之一:光纤电子标签芯片损坏、光纤电子标签电阻因碰撞引起脱落造成的损坏、光纤电子标签因外界环境干扰引起数据读写异常、光纤电子标签读写数据区域无效数据。Optionally, in this embodiment, the self-fault of the optical fiber electronic label includes, but is not limited to, at least one of the following: damage of the optical fiber electronic label chip, damage of the optical fiber electronic label resistor due to collision, and optical fiber electronic label due to external Environmental interference causes data read and write abnormalities, and optical fiber electronic tags read and write data area invalid data.
可选地,在本实施例中,光纤电子标签的定位装置包括但并不限于:先判断读写状态再判断光纤电子标签上光纤检测引脚与连接器二者之间的连接 状态;先判断光纤电子标签上光纤检测引脚与连接器二者之间的连接状态再判断读写状态。Optionally, in this embodiment, the positioning device of the optical fiber electronic tag includes, but is not limited to, determining the read/write state and then determining the connection between the optical fiber detection pin and the connector on the optical fiber electronic tag. State; first determine the connection state between the fiber detection pin and the connector on the optical fiber label and then determine the read/write status.
图5是本发明实施例的光纤电子标签的故障定位装置的结构框图(一),如图5所示,获取模块42包括:FIG. 5 is a structural block diagram (1) of a fault locating device for an optical fiber electronic tag according to an embodiment of the present invention. As shown in FIG. 5, the obtaining module 42 includes:
第一获取单元52,设置为获取光纤电子标签当前的读写状态;The first obtaining unit 52 is configured to acquire a current read/write state of the fiber optic electronic tag.
第二获取单元54,设置为在光纤电子标签当前的读写状态指示数据读写失败时,获取新增的光纤检测引脚与连接器当前的连接状态。The second obtaining unit 54 is configured to acquire a current connection state of the newly added fiber detection pin and the connector when the current read/write status of the fiber optic electronic tag indicates that the data read and write fails.
需要说明的是,光纤电子标签当前的读写状态包括:读写失败、读写成功两种状态。It should be noted that the current read and write status of the optical fiber electronic label includes: read and write failure, and read and write success.
可选地,在本实施例中,在光纤电子标签当前的读写状态指示数据读写失败时,继续判断光纤电子标签上光纤检测引脚当前的连接状态,而并不是相关技术中,直接判断为光纤电子标签未连接至连接器,造成判断结果精确度较低的问题。Optionally, in this embodiment, when the current read/write status of the optical fiber electronic label indicates that the data read and write fails, the current connection state of the optical fiber detection pin on the optical fiber electronic label is continuously determined, and is not directly determined in the related art. The problem that the optical fiber electronic tag is not connected to the connector causes a low accuracy of the judgment result.
图6是本发明实施例的光纤电子标签的故障定位装置的结构框图(二),如图6所示,定位模块44包括:6 is a structural block diagram (2) of a fault locating device for an optical fiber electronic tag according to an embodiment of the present invention. As shown in FIG. 6, the positioning module 44 includes:
第一定位单元62,设置为在光纤电子标签当前的读写状态指示数据读写失败的情况下,若新增的光纤检测引脚与连接器当前的连接状态指示为未连接,则定位光纤电子标签的故障为连接故障;The first positioning unit 62 is configured to locate the fiber optic electronic if the current read/write status of the optical fiber electronic label indicates that the data has failed to be read or written, if the newly added optical detection pin and the current connection status of the connector are not connected. The failure of the label is a connection failure;
第二定位单元64,设置为在光纤电子标签当前的读写状态指示数据读写失败的情况下,若新增的光纤检测引脚与连接器当前的连接状态指示为连接,则定位光纤电子标签的故障为光纤电子标签自身故障。The second positioning unit 64 is configured to locate the optical fiber electronic label if the current optical fiber detection pin and the current connection status of the connector are connected when the current read/write status of the optical fiber label indicates that the data has failed to read or write. The failure is the failure of the fiber optic electronic tag itself.
通过上述步骤,解决了相关技术中无法准确识别光纤电子标签故障类型的问题,进而达到了提高判断光纤电子标签故障类型准确度的效果。Through the above steps, the problem that the type of the fault of the optical fiber electronic label cannot be accurately identified in the related art is solved, and the effect of improving the accuracy of the fault type of the optical fiber electronic label is achieved.
图7是本发明实施例的光纤电子标签的故障定位装置的结构框图(三),如图7所示,获取模块42还包括:7 is a structural block diagram (3) of a fault locating device for an optical fiber electronic tag according to an embodiment of the present invention. As shown in FIG. 7, the obtaining module 42 further includes:
第三获取单元72,设置为获取新增的光纤检测引脚与连接器当前的连接状态;The third obtaining unit 72 is configured to obtain a current connection state between the newly added fiber detection pin and the connector;
第四获取单元74,设置为在光纤检测引脚与连接器当前的连接状态指示 为连接时,获取光纤电子标签当前的读写状态。The fourth obtaining unit 74 is configured to indicate the current connection status of the optical fiber detecting pin and the connector For the connection, obtain the current read and write status of the fiber optic electronic tag.
可选地,在本实施例中,先获取光纤电子标签上光纤检测引脚当前的连接状态,在光纤电子标签上光纤检测引脚当前的连接状态指示为连接时,获取光纤电子标签当前的读写状态。Optionally, in this embodiment, the current connection state of the optical fiber detection pin on the optical fiber electronic tag is first acquired, and the current connection state of the optical fiber detection pin on the optical fiber electronic tag is connected, and the current read of the optical fiber electronic tag is obtained. Write status.
可选地,在本实施例中,定位模块44还可以是设置为:Optionally, in this embodiment, the positioning module 44 may also be configured to:
在新增的光纤检测引脚与连接器当前的连接状态指示为连接的情况下,若光纤电子标签当前的读写状态指示数据读写失败,则定位光纤电子标签的故障为光纤电子标签自身故障。If the current fiber-optic detection pin and the current connection status of the connector are connected, if the current read/write status of the fiber-optic electronic tag indicates that the data has failed to read or write, the fault of locating the fiber-optic electronic tag is the failure of the fiber-optic electronic tag itself. .
可选地,在本实施例中,在光纤电子标签上光纤检测引脚当前的连接状态指示为连接的情况下,继续判断光纤电子标签当前的读写状态,若光纤电子标签当前的读写状态指示数据读写失败,则定位光纤电子标签的故障为光纤电子标签自身故障,解决了相关技术中无法准确识别光纤电子标签故障类型的问题,达到了提高判断光纤电子标签故障类型准确度的效果。Optionally, in this embodiment, if the current connection status of the optical fiber detection pin on the optical fiber electronic label is connected, the current read/write status of the optical fiber electronic label is continuously determined, and the current read/write status of the optical electronic label is determined. If the data read and write fails, the fault of locating the optical fiber label is the fault of the optical fiber electronic label itself, which solves the problem that the type of the fault of the optical fiber electronic label cannot be accurately identified in the related art, and the effect of improving the accuracy of the fault type of the optical fiber electronic label is improved.
可选地,在本实施例中,定位模块44还可以是设置为:在新增的光纤检测引脚当前的连接状态指示为未连接时,定位光纤电子标签的故障为连接故障。Optionally, in this embodiment, the positioning module 44 may be configured to: when the current connection status of the newly added fiber detection pin is not connected, the fault of locating the optical fiber label is a connection failure.
可选地,在本实施例中,在判断光纤电子标签上光纤检测引脚当前的连接状态指示为未连接,则可以确定光纤电子标签的故障为未连接至连接器,从而智能光纤分配网络系统可以准确的识别光纤电子标签的故障类型。Optionally, in this embodiment, when determining that the current connection status of the optical fiber detection pin on the optical fiber electronic label is unconnected, it may be determined that the fault of the optical fiber electronic label is not connected to the connector, so that the intelligent optical fiber distribution network system The type of fault of the fiber optic electronic tag can be accurately identified.
可选地,连接器上设置有与光纤检测引脚匹配的连接引脚,其中,光纤检测引脚与连接引脚为金属引脚。Optionally, the connector is provided with a connection pin matched with the fiber detection pin, wherein the fiber detection pin and the connection pin are metal pins.
可选地,新增模块是设置为:Optionally, the new module is set to:
在光纤电子标签上数据引脚与接地引脚之间新增的光纤检测引脚。A new fiber detection pin is added between the data pin and the ground pin on the fiber optic electronic tag.
需要说明的是,上述模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别位于多个处理器中。It should be noted that the above modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are respectively located in multiple processes. In the device.
实施例3Example 3
本发明的实施例还提供了一种存储介质。实施例的应用场景及实例可以 参考上述实施例1和实施例2以及实施例3,在此不赘述。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Embodiments of the present invention also provide a storage medium. Application scenarios and examples of the embodiment may Reference is made to the above-mentioned Embodiment 1 and Embodiment 2 and Embodiment 3, and details are not described herein. Optionally, in the embodiment, the foregoing storage medium may be configured to store program code for performing the following steps:
S1,获取光纤电子标签的读写状态及光纤电子标签上光纤检测引脚与连接器二者之间的连接状态;S1, obtaining a read/write state of the optical fiber electronic tag and a connection state between the optical fiber detecting pin and the connector on the optical fiber electronic tag;
S2,根据读写状态及连接状态定位光纤电子标签的故障。其中,光纤电子标签的故障可以包括:连接故障、光纤电子标签自身的故障。S2, locate the fault of the optical fiber electronic label according to the read/write state and the connection state. Among them, the failure of the optical fiber electronic label may include: connection failure, failure of the optical fiber electronic label itself.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory. A variety of media that can store program code, such as a disc or a disc.
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行上述步骤S1、S2。Optionally, in this embodiment, the processor performs the above steps S1, S2 according to the stored program code in the storage medium.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。For example, the specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的可选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only an alternative embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分 步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的每个模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序/指令来实现其相应功能。本发明不限制于任何特定形式的硬件和软件的结合。One of ordinary skill in the art will appreciate that all or a portion of the above steps may be performed by a program to instruct related hardware, such as a processor, which may be stored in a computer readable storage medium, such as a read only memory, disk or optical disk. Wait. Optionally, all or part of the above embodiment The steps can also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the foregoing embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, being executed by a processor and stored in a memory. Programs/instructions to implement their respective functions. The invention is not limited to any specific form of combination of hardware and software.
工业实用性Industrial applicability
上述技术方案实现了光纤电子标签芯片数据的读写问题的确定,提高了判断读写问题的准确率。 The above technical solution realizes the determination of the reading and writing of the data of the optical fiber electronic tag chip, and improves the accuracy of the judgment of the reading and writing problem.

Claims (16)

  1. 一种光纤电子标签的故障定位方法,其特征在于,所述光纤电子标签上新增有光纤检测引脚,包括:A fault locating method for an optical fiber electronic tag, characterized in that a fiber detecting pin is added to the optical fiber electronic label, comprising:
    获取所述光纤电子标签的读写状态及所述新增的所述光纤检测引脚与连接器的连接状态;Obtaining a read/write state of the optical fiber electronic tag and a connection state of the newly added optical fiber detecting pin and a connector;
    根据所述读写状态及所述连接状态定位所述光纤电子标签的故障。The fault of the optical fiber electronic tag is located according to the read/write state and the connection state.
  2. 根据权利要求1所述的故障定位方法,其中,所述获取所述光纤检测引脚与连接器的连接状态包括:The fault locating method according to claim 1, wherein the obtaining the connection state of the optical fiber detecting pin and the connector comprises:
    获取的所述光纤电子标签当前的读写状态指示数据读写失败时,获取增加的所述光纤检测引脚与连接器当前的所述连接状态。Obtaining the current read/write status of the optical fiber electronic tag indicates that when the data read/write fails, the added connection state of the optical fiber detection pin and the connector is obtained.
  3. 根据权利要求2所述的故障定位方法,其中,所述根据所述读写状态及所述连接状态定位所述光纤电子标签的故障包括:The fault locating method according to claim 2, wherein the fault of positioning the optical fiber electronic tag according to the read/write state and the connection state comprises:
    在所述光纤电子标签当前的读写状态指示数据读写失败的情况下,若所述光纤检测引脚与连接器当前的所述连接状态指示为未连接,则定位所述光纤电子标签的故障为连接故障;If the current read/write status of the optical fiber electronic tag indicates that the data read and write fails, if the current connection status of the optical fiber detection pin and the connector is not connected, the fault of the optical fiber electronic tag is located. For connection failure;
    在所述光纤电子标签当前的读写状态指示数据读写失败的情况下,若所述光纤检测引脚与连接器当前的所述连接状态指示为连接,则定位所述光纤电子标签的故障为光纤电子标签自身故障。If the current read/write status of the optical fiber electronic tag indicates that the data read and write fails, if the current connection status of the optical fiber detection pin and the connector is indicated as being connected, the fault of locating the optical fiber electronic tag is The fiber optic electronic tag itself is faulty.
  4. 根据权利要求1所述的故障定位方法,其中,获取所述光纤电子标签的读写状态及新增的所述光纤检测引脚与连接器二者之间的连接状态包括:The fault locating method according to claim 1, wherein the obtaining the read/write state of the optical fiber electronic tag and the newly added connection state between the optical fiber detecting pin and the connector comprises:
    获取所述光纤检测引脚与连接器当前的所述连接状态;Obtaining the current connection state of the optical fiber detecting pin and the connector;
    若所述光纤检测引脚与连接器当前的所述连接状态指示为连接,则获取所述光纤电子标签当前的读写状态。If the current connection status of the optical fiber detecting pin and the connector is indicated as being connected, the current read and write status of the optical fiber electronic tag is obtained.
  5. 根据权利要求4所述的故障定位方法,其中,所述根据所述读写状态及所述连接状态定位所述光纤电子标签的故障包括:The fault locating method according to claim 4, wherein the locating the optical fiber electronic tag according to the read/write state and the connection state comprises:
    在所述光纤检测引脚与连接器当前的所述连接状态指示为连接的情况下,若所述光纤电子标签当前的读写状态指示数据读写失败,则定位所述光 纤电子标签的故障为光纤电子标签自身故障。And if the current read/write status of the optical fiber electronic tag indicates that the data read/write failure fails, the optical fiber detecting pin and the current connection state of the connector are connected. The failure of the fiber-optic tag is a failure of the fiber-optic electronic tag itself.
  6. 根据权利要求4所述的故障定位方法,所述获取所述光纤检测引脚与连接器当前的所述连接状态之后,所述故障定位方法还包括:The fault locating method according to claim 4, after the acquiring the connection state of the optical fiber detecting pin and the connector, the fault locating method further includes:
    若所述光纤检测引脚当前的所述连接状态指示为未连接,则定位所述光纤电子标签的故障为连接故障。If the current connection status of the fiber detection pin is indicated as being unconnected, the failure to locate the fiber optic electronic tag is a connection failure.
  7. 根据权利要求1至6中任一项所述的故障定位方法,其中,所述连接器上设置有与所述光纤检测引脚匹配的连接引脚,其中,所述光纤检测引脚与所述连接引脚为金属引脚。The fault location method according to any one of claims 1 to 6, wherein the connector is provided with a connection pin that matches the fiber detection pin, wherein the fiber detection pin is The connection pins are metal pins.
  8. 根据权利要求1至6中任一项所述的方法,其中,所述新增的光纤检测引脚设置在所述光纤电子标签上数据引脚与接地引脚之间。The method according to any one of claims 1 to 6, wherein the newly added fiber detecting pin is disposed between the data pin and the ground pin on the optical fiber electronic tag.
  9. 一种光纤电子标签的故障定位装置,包括:A fault locating device for an optical fiber electronic label, comprising:
    新增模块,设置为在所述光纤电子标签上新增光纤检测引脚;a new module is provided to add a fiber detection pin to the optical fiber electronic tag;
    获取模块,设置为在所述光纤电子标签上新增光纤检测引脚后,获取所述光纤电子标签的读写状态及新增的所述光纤检测引脚与连接器的连接状态;An acquiring module is configured to obtain a read/write status of the optical fiber electronic tag and a connection state of the newly added optical fiber detecting pin and the connector after adding the optical fiber detecting pin to the optical fiber electronic tag;
    定位模块,设置为根据所述读写状态及所述连接状态定位所述光纤电子标签的故障。The positioning module is configured to locate the fault of the optical fiber electronic label according to the read/write state and the connection state.
  10. 根据权利要求9所述的故障定位装置,其中,所述获取模块包括:The fault location device of claim 9, wherein the acquisition module comprises:
    第一获取单元,设置为获取所述光纤电子标签当前的读写状态;a first acquiring unit, configured to acquire a current read/write state of the optical fiber electronic tag;
    第二获取单元,设置为在所述光纤电子标签当前的读写状态指示数据读写失败时,获取新增的所述光纤检测引脚与连接器当前的所述连接状态。The second obtaining unit is configured to acquire the newly connected state of the fiber detection pin and the connector when the current read/write status of the fiber optic electronic tag indicates that the data has failed to read or write.
  11. 根据权利要求10所述的故障定位装置,其中,所述定位模块包括:The fault locating device of claim 10, wherein the positioning module comprises:
    第一定位单元,设置为在所述光纤电子标签当前的读写状态指示数据读写失败的情况下,若新增的所述光纤检测引脚与连接器当前的所述连接状态指示为未连接,则定位所述光纤电子标签的故障为连接故障;a first positioning unit, configured to: if the current read/write status of the optical fiber electronic label indicates that data read/write fails, if the newly added optical fiber detection pin and the current connection status of the connector are not connected , the fault of locating the optical fiber electronic tag is a connection failure;
    第二定位单元,设置为在所述光纤电子标签当前的读写状态指示数据读写失败的情况下,若新增的所述光纤检测引脚与连接器当前的所述连接状态 指示为连接,则定位所述光纤电子标签的故障为光纤电子标签自身故障。a second positioning unit, configured to: if the current read/write status of the optical fiber electronic label indicates that data read/write fails, if the newly added optical fiber detection pin and the current connection state of the connector Indicated as a connection, the failure to locate the fiber optic electronic tag is a failure of the fiber optic electronic tag itself.
  12. 根据权利要求9所述的故障定位装置,其中,所述获取模块包括:The fault location device of claim 9, wherein the acquisition module comprises:
    第三获取单元,设置为获取新增的所述光纤检测引脚与连接器当前的所述连接状态;a third obtaining unit, configured to acquire the current connection state of the newly added fiber detecting pin and the connector;
    第四获取单元,设置为在所述光纤检测引脚与连接器当前的所述连接状态指示为连接时,获取所述光纤电子标签当前的读写状态。And a fourth acquiring unit, configured to acquire a current read/write state of the optical fiber electronic tag when the optical fiber detecting pin and the current connection state of the connector are indicated as being connected.
  13. 根据权利要求12所述的故障定位装置,其中,所述定位模块是设置为:The fault location device of claim 12, wherein the positioning module is configured to:
    在新增的所述光纤检测引脚与连接器当前的所述连接状态指示为连接的情况下,若所述光纤电子标签当前的读写状态指示数据读写失败,则定位所述光纤电子标签的故障为光纤电子标签自身故障。In the case that the newly added fiber detection pin and the current connection state of the connector are indicated as being connected, if the current read/write status of the fiber optic electronic tag indicates that the data read and write fails, the fiber optic electronic tag is located. The failure is the failure of the fiber optic electronic tag itself.
  14. 根据权利要求12所述的故障定位装置,其中,所述定位模块是设置为:The fault location device of claim 12, wherein the positioning module is configured to:
    在所述新增的所述光纤检测引脚与连接器当前的所述连接状态指示为未连接时,定位所述光纤电子标签的故障为连接故障。When the newly added optical fiber detecting pin and the current connection state of the connector are indicated as being unconnected, the fault of locating the optical fiber electronic tag is a connection failure.
  15. 根据权利要求9至14中任一项所述的故障定位装置,其中,所述连接器上设置有与所述光纤检测引脚匹配的连接引脚,其中,所述光纤检测引脚与所述连接引脚为金属引脚。The fault locating device according to any one of claims 9 to 14, wherein the connector is provided with a connection pin that matches the fiber detection pin, wherein the fiber detection pin is The connection pins are metal pins.
  16. 根据权利要求9至14中任一项所述的故障定位装置,其中,所述新增模块是设置为:The fault locating device according to any one of claims 9 to 14, wherein the new module is set to:
    在所述光纤电子标签上数据引脚与接地引脚之间新增的所述光纤检测引脚。 The fiber detection pin is added between the data pin and the ground pin on the optical fiber electronic tag.
PCT/CN2016/090173 2015-10-21 2016-07-15 Fault locating method and apparatus for optical fiber electronic tag WO2017067249A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510689840.8 2015-10-21
CN201510689840.8A CN106611200A (en) 2015-10-21 2015-10-21 Fault location method and device of optical fiber electronic tag

Publications (1)

Publication Number Publication Date
WO2017067249A1 true WO2017067249A1 (en) 2017-04-27

Family

ID=58556634

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/090173 WO2017067249A1 (en) 2015-10-21 2016-07-15 Fault locating method and apparatus for optical fiber electronic tag

Country Status (2)

Country Link
CN (1) CN106611200A (en)
WO (1) WO2017067249A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113917911A (en) * 2021-11-05 2022-01-11 重庆赛迪奇智人工智能科技有限公司 Electronic tag fault detection method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001256005A (en) * 2000-03-13 2001-09-21 Hitachi Telecom Technol Ltd Hard disk device
TW457475B (en) * 1999-12-08 2001-10-01 Inventec Corp Status detecting method for hard disk drivers
CN1896963A (en) * 2005-07-11 2007-01-17 英业达股份有限公司 Method and system for monitoring hard-disk damage
CN101197194A (en) * 2007-02-27 2008-06-11 深圳市同洲电子股份有限公司 Memory device detecting method
CN104794043A (en) * 2015-03-18 2015-07-22 深圳市杰和科技发展有限公司 Control method for achieving light-up indication of server hard disk state

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7616094B2 (en) * 1994-09-09 2009-11-10 Intermec Ip Corp. Radio frequency identification system with write broadcast capability
CN100524349C (en) * 2007-04-19 2009-08-05 西安电子科技大学 Embedded RFID card identification portable device and identification method
CN101556656B (en) * 2009-05-15 2011-05-04 深圳市远望谷信息技术股份有限公司 Passive magnetic induction electronic tag
JP5022418B2 (en) * 2009-09-14 2012-09-12 エヌイーシーコンピュータテクノ株式会社 Wireless tag control device
CN102684783B (en) * 2012-05-09 2014-10-08 烽火通信科技股份有限公司 Method for repairing intelligent wiring electronic tag
CN103048116B (en) * 2012-12-19 2015-04-29 华为技术有限公司 Method and device for performing in-place detection on optical fiber as well as microcontroller

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW457475B (en) * 1999-12-08 2001-10-01 Inventec Corp Status detecting method for hard disk drivers
JP2001256005A (en) * 2000-03-13 2001-09-21 Hitachi Telecom Technol Ltd Hard disk device
CN1896963A (en) * 2005-07-11 2007-01-17 英业达股份有限公司 Method and system for monitoring hard-disk damage
CN101197194A (en) * 2007-02-27 2008-06-11 深圳市同洲电子股份有限公司 Memory device detecting method
CN104794043A (en) * 2015-03-18 2015-07-22 深圳市杰和科技发展有限公司 Control method for achieving light-up indication of server hard disk state

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113917911A (en) * 2021-11-05 2022-01-11 重庆赛迪奇智人工智能科技有限公司 Electronic tag fault detection method and device

Also Published As

Publication number Publication date
CN106611200A (en) 2017-05-03

Similar Documents

Publication Publication Date Title
CN110992992B (en) Hard disk test method, device and storage medium
KR101331935B1 (en) Method and system of fault diagnosis and repair using based-on tracepoint
CN112542199B (en) Method, circuit, storage medium and terminal for detecting flash memory error
CN103247345A (en) Quick-flash memory and detection method for failure memory cell of quick-flash memory
CN113672306B (en) Server component self-checking abnormity recovery method, device, system and medium
CN100470495C (en) Automated test method and apparatus for quick positioning question
US9009548B2 (en) Memory testing of three dimensional (3D) stacked memory
CN104123212A (en) System test method of USB chip
WO2017067249A1 (en) Fault locating method and apparatus for optical fiber electronic tag
CN112233718B (en) Fault location analysis method and device for storage unit, storage medium and terminal
CN109299012A (en) A kind of test method, device and electronic equipment
CN114281611A (en) Method, system, equipment and storage medium for comprehensively detecting system disk
CN112231159B (en) Memory installation position testing method, system, terminal and storage medium
CN113868137A (en) Method, device and system for processing buried point data and server
CN113448786A (en) PCIe equipment testing method, device, equipment and readable storage medium
CN113176971A (en) Single board self-checking method and device
CN108231134B (en) RAM yield remediation method and device
CN111309598A (en) Test case execution environment recovery method, system, terminal and storage medium
TW201316340A (en) Flash memory testing method
CN109388564A (en) A kind of test method, device and electronic equipment
CN115658373B (en) Server-based memory processing method and device, processor and electronic equipment
CN112732494B (en) Bad disk replacement method, device, equipment and medium of storage system
CN116844989B (en) Method and system for identifying chip failure reason
US20170308469A1 (en) Resource Processing Method and Device for Multi-controller System
CN105930722B (en) A kind of security of mobile terminal detection method and device based on formalized description

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16856684

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16856684

Country of ref document: EP

Kind code of ref document: A1