Embodiment
In order to make technical matters to be solved by this invention, technical scheme and beneficial effect clearer, clear,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
The embodiment of the invention provides Fault Locating Method, system and device in a kind of RFID reader in order to improve the localization of fault efficient in the RFID reader.
Localization of fault process in the RFID reader that Fig. 1 provides for the embodiment of the invention, this process may further comprise the steps:
S101: checkout equipment obtains the reporting information request, and said reporting information request is sent to radio-frequency identification reader.
Wherein, checkout equipment obtains the reporting information request and specifically comprises:
Generate the reporting information request according to the generation cycle that is provided with, with the reporting information request that generates as the reporting information request of obtaining; Or,
When definite fault takes place, generate the reporting information request, with the said reporting information request that generates as the reporting information request of obtaining.
S102: said radio-frequency identification reader is according to the said reporting information request that receives, and at least a in current type information and the failure message of self preserving reported said checkout equipment.
Concrete this failure message in embodiments of the present invention comprises at least a in the following information:
Failure message in abnormal information that writes down in the log information and the unusual detecting probe information; The abnormal information that wherein writes down in the log information comprises; The restarting information of radio-frequency identification reader and configuration modification information; Failure message in the unusual probe comprises, the time that the program mal of radio-frequency identification reader takes place, the file at this program place, the line number and the reason code information of this program run when breaking down.
S103: said checkout equipment receives at least a in said failure message and the type information, and positions according to the fault of the information that receives to said radio-frequency identification reader.
The failure message that gets access to the current type information of this RFID reader and self preserve for the ease of checkout equipment in embodiments of the present invention need carry out record to failure message in this RFID reader.This concrete failure message comprises the failure message in the abnormal information that writes down in the log information and the unusual detecting probe information; The abnormal information that wherein writes down in the log information comprises; The restarting information of radio-frequency identification reader and configuration modification information; Failure message in the unusual probe comprises, the time that the program mal of radio-frequency identification reader takes place, the file at this program place, the line number and the reason code information of this program run when breaking down.Log information recording the main function situation of RFID reader; It is unusual that unusual detecting probe information has occurred when having comprised the program run of RFID reader.
Concrete RFID reader writes down the generation log information to important operation, and wherein this important operation restarting information, user of comprising the RFID reader is to the configuration modification information of this RFID reader etc., and the data volume that the log information that wherein generates comprises is less.In addition, the information such as line number, reason code of recording exceptional takes place when unusual temporal information, unusual program place file, unusual program run take place in self program in the RFID reader.After checkout equipment has obtained unusual detecting probe information, through unusual detecting probe information can be detailed the process of the whole unusual generation of understanding.
In embodiments of the present invention after this checkout equipment receives this reporting information request; This reporting information request of being about to sends to the RFID reader; Wherein this reporting information request can be that checkout equipment periodically generates; Also can be when definite RFID reader breaks down, the reporting information request of generation.
The RFID reader can be arranged with checkout equipment in advance; RFID reader acquiescence is given checkout equipment with current type information and the fault information reporting of self preserving; Perhaps acquiescence is incited somebody to action a kind of checkout equipment that reports wherein; For example report current type information, or report the failure message of self preserving.
Specifically for example, after the RFID reader receives this reporting information request, directly give checkout equipment with the fault information reporting of current type information and self preservation; Perhaps; When this RFID reader received this reporting information request, the fault information reporting that self is saved in was given checkout equipment, perhaps; When this RFID reader receives this reporting information request, current type information is reported checkout equipment.Concrete agreement can carry out carrying out before mutual at RFID reader and checkout equipment; As long as confirmed corresponding agreement content, at least a checkout equipment that reports in the failure message that this RFID reader is preserved current type information and self according to corresponding agreement.
Also can arrange in advance between checkout equipment and the RFID reader in embodiments of the present invention; Carry the required information that reports in the solicited message and report at this; For example type information or failure message corresponding identification information being carried at this reports in the solicited message; When the RFID reader receives after this reports solicited message, report according to this and carry the required information that reports in solicited message, give checkout equipment with corresponding information reporting.Specifically for example; When carrying the identification information of failure message in this reporting information request; After then this RFID reader receives this reporting information request,, give said checkout equipment with the fault information reporting of self preserving according to the identification information of the failure message that carries in this reporting information request.
The detailed process of the localization of fault in the RFID reader that Fig. 2 provides for the embodiment of the invention, this process may further comprise the steps:
S201: checkout equipment generates the reporting information request according to the generation cycle that is provided with, and wherein carries the identification information of failure message to be reported in this reporting information request.
S202: this reporting information request that checkout equipment will generate sends to the RFID reader.
The S203:RFID reader receives the reporting information request that checkout equipment sends.
The S204:RFID reader is according to the identification information of the failure message that carries in this reporting information request, and in the failure message of self preserving, the fault of searching this identification information sends to checkout equipment with the failure message that finds.
Wherein this failure message can be log information, or unusual detecting probe information, or log information and unusual detecting probe information etc.
S205: checkout equipment receives the failure message that the RFID reader returns, and according to this failure message the fault in the RFID reader is positioned.
In addition; Because this checkout equipment can detect a plurality of RFID readers simultaneously in embodiments of the present invention; When checkout equipment detected each RFID reader, the cycle that generates the reporting information request can be the same or different, and concrete can be configured according to corresponding requirement.And for the ease of the fault in each RFID reader is positioned, the information that checkout equipment can return the RFID reader timely shows, so that the staff can get access to this information timely.Perhaps, in this checkout equipment, can corresponding storage space be set to each RFID reader, the information stores that the RFID reader that obtains is returned is in corresponding storage space, so that the follow-up fault in the RFID reader that can be detailed positions.
In addition; In order further to improve the accuracy of localization of fault in the RFID reader; Checkout equipment can also send to upper layer device with the information that the RFID reader that obtains returns in embodiments of the present invention; The information that upper layer device sends according to checkout equipment again positions the fault in the RFID reader.
In embodiments of the present invention in order further to improve efficient to localization of fault in the RFID reader; And accuracy; When this checkout equipment gets access to when comprising the current type information of failure message and this RFID reader in the information that the RFID reader returns; This checkout equipment can be preserved this failure message and current type information respectively, is about to this failure message and current type information and preserves in this self different storage space.
Thereby carry out carrying out alternately the detailed process of localization of fault between RFID reader that Fig. 3 provides for the embodiment of the invention and the checkout equipment, this process may further comprise the steps:
S301: checkout equipment generates the reporting information request according to the generation cycle that is provided with, and wherein carries the log information to be reported and the identification information of unusual detecting probe information in this reporting information request.
S302: this reporting information request that checkout equipment will generate sends to the RFID reader.
The S303:RFID reader receives the reporting information request that checkout equipment sends.
The S304:RFID reader sends to checkout equipment according to the identification information of the failure message that carries in this reporting information request with log information of self preserving and unusual detecting probe information.
S305: checkout equipment detects whether the log information that receives is last frame with unusual detecting probe information, when being last frame, carries out step S307, otherwise, carry out step S306.
S306: checkout equipment sends confirmation to the RFID reader, and notice RFID reader continues to send log information and unusual detecting probe information, carries out step S305 afterwards.
S307: checkout equipment sends confirmation to the RFID reader, and notice RFID reader stops to send log information and unusual detecting probe information.
S308: checkout equipment is log information that obtains and unusual detecting probe information buffer memory, and the information back page of buffer memory is shown, and according to the information of obtaining the fault in the RFID reader positioned.And, determine whether to preserve this information according to whether this information instruction of preservation that receives.
Promptly send when preserving this information instruction to this checkout equipment as the user, then this checkout equipment is preserved this log information and unusual detecting probe information according to this instruction, otherwise, do not preserve this information.
In addition; In embodiments of the present invention in order to improve efficient to localization of fault in the RFID reader; When having confirmed scope of failure; At least a in failure message and the type information of each module in this scope be can only obtain, and the failure message and the type information of each module in this RFID reader need not to obtain.
Concrete when carrying in the radio-frequency identification reader module id information in the said reporting information request; Said radio-frequency identification reader is in the failure message of preserving; Search the failure message of the module of said identification information; With the said checkout equipment of said fault information reporting, and the type information of the module of this identification information in the said type information reported said checkout equipment.
Perhaps, when carrying in the said reporting information request when reporting class information, said radio-frequency identification reader satisfies this and reports other type information of level and the said detection module of fault information reporting in said type information and the failure message.The concrete rank that for example reports comprises when general, medium and senior; When carry in this reporting information request to report class information be medium the time; Then the RFID reader is that medium and senior log information reports checkout equipment with reporting rank in self log information, is that medium and senior type information reports checkout equipment with reporting rank in the type information.
Thereby carry out carrying out alternately another detailed process of localization of fault between RFID reader that Fig. 4 provides for the embodiment of the invention and the checkout equipment, this process may further comprise the steps:
S401: checkout equipment generates the reporting information request according to the generation cycle that is provided with, and wherein carries in the radio-frequency identification reader module id information in this reporting information request and reports class information.
S402: this reporting information request that checkout equipment will generate sends to the RFID reader.
The S403:RFID reader receives the reporting information request that checkout equipment sends.
The S404:RFID reader is according to module id information in the radio-frequency identification reader that carries in this reporting information request and report class information; With the satisfying this and report other log information of level to send to checkout equipment of the module of this identification information that writes down in self log information and the unusual detecting probe information, and satisfying this and report other log information of level to send to checkout equipment the module of this identification information in self current type information.
S405: checkout equipment positions the fault in the RFID reader according to the log information that obtains, unusual detecting probe information and type information.
Because after this pick-up unit has obtained the reporting information request in embodiments of the present invention; Promptly obtain at least a corresponding failure message and the current type information from the RFID reader; Thereby can obtain the failure message of RFID reader timely; Be convenient to the RFID reader is carried out localization of fault, thereby improved the efficient of localization of fault, be convenient in time find the fault of RFID reader.
The structural representation of the device of a kind of radio frequency discrimination RFID reader localization of fault that Fig. 5 provides for the embodiment of the invention, said device comprises:
Sending module 51 is used to obtain the reporting information request, and said reporting information request is sent to radio-frequency identification reader;
Receive locating module 52, be used for receiving at least a of failure message that said radio-frequency identification reader returns and type information, and position according to the fault of the information that receives to said radio-frequency identification reader.
Said sending module 51 specifically is used for generating the reporting information request according to the generation cycle that is provided with, with the reporting information request that generates as the reporting information request of obtaining; Or,
When definite fault takes place, generate the reporting information request, with the said reporting information request that generates as the reporting information request of obtaining.
This concrete device can be arranged in checkout equipment.
The structural representation of the device of a kind of radio frequency discrimination RFID reader localization of fault that Fig. 6 provides for the embodiment of the invention, said device comprises:
Receiver module 61 is used to receive the reporting information request that checkout equipment sends;
Reporting module 62; Be used for according to the reporting information request that receives; With at least a said checkout equipment, at least a fault that is used to locate said radio-frequency identification reader in wherein said failure message and the type information of reporting in the failure message of current type information and self preservation.
Said device also comprises:
Memory module 63; Be used for preserving the failure message in abnormal information that log information writes down and the unusual probe; The abnormal information that wherein writes down in the log information comprises; The restarting information of radio-frequency identification reader and configuration modification information, the failure message in the unusual probe comprise, the time that the program mal of radio-frequency identification reader takes place, the file at this program place, the line number and the reason code information of this program run when breaking down.
Said reporting module 62; Specifically be used for when module id information is carried in the radio-frequency identification reader in said reporting information request; In the failure message of preserving; Search the failure message of the module of said identification information,, and the type information of the module of this identification information in the said type information reported said checkout equipment the said checkout equipment of said fault information reporting.
Said reporting module 62 specifically is used for carrying when reporting class information when said reporting information request, in said type information and failure message, satisfies this and reports other type information of level and the said detection module of fault information reporting.
This concrete device can be arranged in the RFID reader.
The embodiment of the invention provides a kind of system of radio frequency discrimination RFID reader localization of fault, and said system comprises: device as shown in Figure 5, and device as shown in Figure 6.
Fault location system in this concrete radio frequency discrimination RFID reader comprises: checkout equipment and RFID reader,
Said checkout equipment comprises sending module and reception locating module,
Said sending module is used to obtain the reporting information request, and said reporting information request is sent to radio-frequency identification reader;
Said reception locating module is used for receiving at least a of failure message that said radio-frequency identification reader returns and type information, and positions according to the fault of the information that receives to said radio-frequency identification reader;
Said RFID reader is used to receive the reporting information request that checkout equipment sends, and according to the reporting information request that receives, at least a in current type information and the failure message of self preserving is reported said checkout equipment.
Said RFID reader comprises receiver module and reporting module,
Said receiver module is used to receive the reporting information request that checkout equipment sends;
Said reporting module is used for according to the reporting information request that receives, and at least a in current type information and the failure message of self preserving reported said checkout equipment.
Said RFID reader also comprises:
Memory module; Be used for preserving the failure message in abnormal information that log information writes down and the unusual detecting probe information; The abnormal information that wherein writes down in the log information comprises; The restarting information of radio-frequency identification reader and configuration modification information, the failure message in the unusual probe comprise, the time that the program mal of radio-frequency identification reader takes place, the file at this program place, the line number and the reason code information of this program run when breaking down.
Said reporting module; Specifically be used for when module id information is carried in the radio-frequency identification reader in said reporting information request; In the failure message of preserving; Search the failure message of the module of said identification information,, and the type information of the module of this identification information in the said type information reported said checkout equipment the said checkout equipment of said fault information reporting.
The embodiment of the invention provides Fault Locating Method, system and the device in a kind of RFID reader; Send the reporting information request through pick-up unit to the RFID reader in this method; Obtain at least a the failure message that the current type information of RFID reader preserves with self from the RFID reader, through the information of obtaining being analyzed the fault in the RFID reader of location; Because after this pick-up unit has obtained the reporting information request in embodiments of the present invention; Promptly obtain at least a corresponding failure message and the current type information, thereby can obtain the failure message of RFID reader timely, be convenient to the RFID reader is carried out localization of fault from the RFID reader; Thereby improved the efficient of localization of fault, be convenient in time find the fault of RFID reader.
Above-mentioned explanation illustrates and has described the preferred embodiments of the present invention; But as previously mentioned; Be to be understood that the present invention is not limited to the form that this paper discloses, should do not regard eliminating as, and can be used for various other combinations, modification and environment other embodiment; And can in invention contemplated scope described herein, change through the technology or the knowledge of above-mentioned instruction or association area.And change that those skilled in the art carried out and variation do not break away from the spirit and scope of the present invention, then all should be in the protection domain of accompanying claims of the present invention.