Summary of the invention
In correlation technique, label is conducted interviews and has the technical matterss such as the not high and efficiency of security is lower in process, the invention provides a kind of access, access processing method and device of label, at least to address the above problem.
According to an aspect of the present invention, the access method that a kind of label is provided, comprising: read write line receives the indication information that comes from client, wherein, indication information is used to indicate the label mode of label to be visited, and it is one of following that this label mode comprises: publicly-owned pattern, privately owned pattern; Read write line carries out tag match according to the indication information receiving to the label recognizing; After the match is successful, read write line conducts interviews to the label recognizing.
Read write line receives the indication information that comes from client, comprising: read write line receives the access message that comes from client, and wherein, access message carries indication information.
In access message, carry in the following manner indication information: in access message, increase special parameters, wherein, special parameters is used to indicate the label mode of label to be visited.
The special parameters of special parameters for increasing in the visit order parameter of access message.
Read write line carries out tag match according to the indication information receiving to the label recognizing, and comprising: if indication information is designated as privately owned pattern, read write line transfers the label recognizing to privately owned pattern, and reads after the content of respective storage areas, then carries out matching operation; If indication information is designated as publicly-owned pattern, read write line transfers the label recognizing to publicly-owned pattern, if matching area is product electronic code EPC, directly carries out matching operation; If matching operation is carried out after needing to read TID memory block content again in TID region; If USER district determines that it fails to match.
In above-mentioned access message, also comprise following information: the ageing information of label mode transitional information, access profile information, label mode conversion.
According to a further aspect in the invention, the access processing method that a kind of label is provided, comprising: client is obtained indication information, wherein, indication information is used to indicate the label mode of label to be visited, and it is one of following that this label mode comprises: publicly-owned pattern, privately owned pattern; Client sends the Indication message obtaining to read write line.
Client sends the Indication message obtaining to read write line, comprising: client sends access message to read write line, and wherein, access message carries indication information.
In access message, carry in the following manner indication information: in access message, increase special parameters, wherein, special parameters is used to indicate the label mode of label to be visited.
In above-mentioned access message, also comprise following information: the ageing information of label mode transitional information, access profile information, label mode conversion.
According to a further aspect of the invention, a kind of access means of label is provided, be arranged in read write line, comprise: receiver module, for receiving the indication information that comes from client, wherein, indication information is used to indicate the label mode of label to be visited, and it is one of following that this label mode comprises: publicly-owned pattern, privately owned pattern; Matching module, carries out tag match for label read write line being recognized according to the indication information receiving; Access modules, for after the match is successful, conducts interviews to the label recognizing.
According to a further aspect of the invention, provide a kind of access process device of label, having comprised: acquisition module, be used for obtaining indication information, wherein, indication information is used to indicate the label mode of label to be visited, and it is one of following that this label mode comprises: publicly-owned pattern, privately owned pattern; Sending module, for sending the Indication message obtaining to read write line.
By the present invention, adopt read write line, according to the indication information receiving, the label recognizing is carried out to matching operation, and the technological means after the match is successful, label being conducted interviews, solved in correlation technique label is conducted interviews and has the technical matterss such as the not high and efficiency of security is lower, thereby privately owned pattern and the publicly-owned mode tag that can support label have been realized simultaneously, there is higher efficiency, improved the security of system simultaneously.
Embodiment
Hereinafter with reference to accompanying drawing, also describe the present invention in detail in conjunction with the embodiments.It should be noted that, in the situation that not conflicting, embodiment and the feature in embodiment in the application can combine mutually.
Consider in correlation technique, there is no at present label is conducted interviews and has the effective solution of the technical matterss such as the not high and efficiency of security is lower, below in conjunction with embodiment, provide relevant solution, existing detailed description in detail.
Fig. 1 is according to the process flow diagram of the access method of the label of the embodiment of the present invention 1.As shown in Figure 1, the method comprises:
Step S102, read write line receives the indication information come from client, and wherein, indication information is used to indicate the label mode of label to be visited, and it is one of following that this label mode comprises: publicly-owned pattern, privately owned pattern;
Step S104, read write line carries out tag match according to the indication information receiving to the label recognizing;
Step S106, after the match is successful, read write line conducts interviews to the label recognizing.
Adopt above-mentioned processing procedure, owing to can the label recognizing being mated according to the indication information of client, and after the match is successful, label is conducted interviews, therefore, privately owned pattern and the publicly-owned mode tag that can support label have higher efficiency simultaneously, have improved the security of system simultaneously.
Read write line can receive the above-mentioned indication information that comes from client according to various ways, for example can receive by setting up a dedicated communication link, in a preferred implementation of the present embodiment, the technological means that can be come from the access message of client and carried above-mentioned indication information in access message by reception realizes.
The mode of carrying indication information in access message also has multiple, for example, in access message, increase special parameters, and wherein, special parameters is used to indicate the label mode of label to be visited.In a preferred implementation process, the special parameters of above-mentioned special parameters for increasing in the visit order parameter in above-mentioned access message.
Step S104 specifically can comprise following processing procedure: if indication information is designated as privately owned pattern, read write line transfers the label recognizing to privately owned pattern, and reads after the content of respective storage areas, then carries out matching operation; If indication information is designated as publicly-owned pattern, read write line transfers the label recognizing to publicly-owned pattern, if matching area is product electronic code EPC, directly carries out matching operation; If matching operation is carried out after needing to read TID memory block content again in TID region; If USER district determines that it fails to match.
In the present embodiment, in above-mentioned access message, can also comprise following information: the ageing information of label mode transitional information, access profile information, label mode conversion.Above-mentioned information can realize by the respective field in access message.For example label mode transitional information can be changed field by label mode and realizes, and access profile information exchange is crossed access range field and realized, and the ageing information exchange of label mode conversion crosses interim conversion or permanent conversion field realizes.
A kind of access means of label is also provided in the present embodiment, and this device is arranged in read write line, for realizing above-described embodiment and preferred implementation, has carried out repeating no more of explanation, below the module relating in this device is described.As used below, the combination of software and/or the hardware of predetermined function can be realized in term " module ".Although the described device of following examples is preferably realized with software, hardware, or the realization of the combination of software and hardware also may and be conceived.Fig. 2 is according to the structured flowchart of the access means of the label of the embodiment of the present invention 1.As shown in Figure 2, this device comprises:
Receiver module 20, is connected to matching module 22, and for receiving the indication information that comes from client, wherein, indication information is used to indicate the label mode of label to be visited, and it is one of following that this label mode comprises: publicly-owned pattern, privately owned pattern;
Matching module 22, is connected to access modules 24, and label read write line being recognized for the indication information receiving according to receiver module 20 carries out tag match;
Access modules, after at matching module 22, the match is successful, conducts interviews to the label recognizing.
By the function of above-mentioned each processing modules implement, can to the label recognizing, mate according to the indication information of client equally, and after the match is successful, label is conducted interviews, therefore, privately owned pattern and the publicly-owned pattern that can support label have higher efficiency simultaneously, have improved the security of system simultaneously
Embodiment 2
The present embodiment is corresponding with embodiment 1, is with the difference of embodiment 1, at client-side, the access scheme of label is described.
Fig. 3 is according to the process flow diagram of the access processing method of the label of the embodiment of the present invention 2.As shown in Figure 3, the method comprises:
Step S302, client is obtained indication information, and wherein, indication information is used to indicate the label mode of label to be visited, and it is one of following that this label mode comprises: publicly-owned pattern, privately owned pattern;
Step S304, client sends the Indication message obtaining to read write line.
Client can send above-mentioned indication information in several ways, for example can send by setting up a dedicated communication link, in a preferred implementation process of the present embodiment, realize in the following manner: client sends access message to read write line, wherein, access message carries indication information.
In the present embodiment, in access message, carry in the following manner indication information: in access message, increase special parameters, wherein, special parameters is used to indicate the label mode of label to be visited.
Similar with embodiment 1, in access message, can also include but not limited to following information: the ageing information of label mode transitional information, access profile information, label mode conversion.
In the present embodiment, also provide a kind of access process device of label, this device is used for realizing said method, and Fig. 4 is according to the structured flowchart of the access process device of the label of the embodiment of the present invention 2.As shown in Figure 4, this device comprises:
Acquisition module 40, is connected to sending module 42, and for obtaining indication information, wherein, indication information is used to indicate the label mode of label to be visited, and it is one of following that this label mode comprises: publicly-owned pattern, privately owned pattern;
Sending module 42, for sending the Indication message obtaining to read write line
Embodiment 3
The technical matters that the present embodiment solves is to propose a kind of radio frequency identification security system and method.The method can be supported the privately owned pattern of Monza4 and publicly-owned mode tag simultaneously, carry out pattern conversion and accessing operation when tag match, have higher efficiency, improve the security of system simultaneously.
For achieving the above object, the technical scheme that the present embodiment adopts is as follows:
A kind of radio frequency identification security system, as shown in Figure 5, this system comprises: client 50, read write line 52 and label 54 form, wherein client 50 and read write line 52 interfaces adopt LLRP agreement, wherein in ADD_ACCESSSPEC message AccessCommand parameter, increase parameters C 1G2CustomerSetting, in order to specify the publicly-owned pattern of coupling or the Monza4 label of privately owned pattern; In AccessCommandOpSpec, having increased configuration and obtained label mode operation, in the operation of label allocation pattern, contained three fields, is respectively that label mode is changed field, conversion temporarily or forever changes field, access profile field.Client, by issuing ADD_ACCESSSPEC message, is carried out the configuration of publicly-owned pattern and the conversion of privately owned pattern and tag attributes to label.
RF identifying safety disposal route in the present embodiment, specifically comprises following treatment step:
Client issues checks (RO) and accesses (AO) message to read write line; Wherein in access message ADD_ACCESSSPEC message parameter AccessCommand, increase parameters C 1G2CustomerSetting, in order to specify the publicly-owned pattern of coupling or the Monza4 label of privately owned pattern;
After recognizing a label, carry out tag match, if C1G2CustomerSetting is configured to privately owned pattern, need to first label be transferred to privately owned pattern, read respective storage areas content, then carry out matching operation;
If C1G2CustomerSetting is configured to publicly-owned pattern, first label is transferred to publicly-owned pattern, if the directly matching operation of matching area WeiEPC district, if TID district need to read to mate after the content of memory block; If USER district returns, it fails to match.
Mated laggard rower label accessing operation, wherein, accessing operation comprises reading and writing, locks, kills, label allocation pattern, obtain label mode.
Scheme in the present embodiment can be supported the privately owned pattern of Monza4 and publicly-owned mode tag simultaneously, carries out pattern conversion and accessing operation when tag match, has higher efficiency, has improved the security of system simultaneously.
Embodiment 4
As shown in Figure 5, the radio-frequency recognition system in the present embodiment comprises client 50, read write line 52 and label 54.Between client 50 and read write line 54, adopt LLRP agreement, by issuing Reader Operation(RO) and Access Operation(AO) message is to read write line, check, reading and writing, the accessing operation such as lock, kill.Between read write line and label, adopt EPCC1G2 agreement, realize Physical layer and link layer and check and accessing operation.For Monza4 label, the present invention has provided label allocation state and has obtained the accessing operation of tag state.And using label allocation state or obtain tag state accessing operation in AO visit order, tag state and attribute are arranged, can utilize preferably the attribute of label, improve the security of system.
Such as, can first by card sender, label be converted to privately owned state temporarily, after hair fastener, lock-related memory block, then transfer label to publicly-owned state.
Label, in publicly-owned state, can be converted to privately owned state by interim state in actual applications, and to operations that conducts interviews such as label USER districts, after waiting and having operated, label transfers publicly-owned state automatically to, and protection USER district data message is not operated by other users.
Visible, increased label allocation state of operation, guaranteed to a certain extent the security of system.
Shown in accompanying drawing 6, Fig. 6 shows ADD_ACCESSSPEC message parameter AccessCommand structure.By three parts, formed: the protocol label mask information (AirProtocolTagSpec) of eating dishes without rice or wine in visit order, visit order operation information (AccessCommandOpSpec) and match pattern information C1G2CustomerSetting.Be to have increased match pattern field on standard LLRP protocol basis, this field can determine to mate publicly-owned pattern district or the privately owned pattern district of label.Like this, if while there is privately owned mode tag and publicly-owned mode tag in electromagnetic field simultaneously, read write line can be identified two kinds of mode tag simultaneously, reads respective regions content, carries out tag match operation; And pattern conversion meeting completes before read operation, do not need newly-increased accessing operation to carry out switch labels state, improved like this access efficiency.
Shown in accompanying drawing 7, Fig. 7 shows the Type-Length-Value(TLV of the AccessCommand that LLRP agreement provides) coded format.Comprise mask information and accessing operation information.Mask information has determined which label participates in accessing operation, and accessing operation information has determined which operation the label that participates in access carries out.
Shown in accompanying drawing 8, Fig. 8 shows the Type-Length-Value(TLV of AccessCommand) coded format.Except comprising mask information and accessing operation information, also comprise match pattern information C1G2CustomerSetting.Match pattern information has determined the privately owned memory block of coupling label or publicly-owned memory block.
Shown in accompanying drawing 9, Fig. 9 shows the Type-Length-Value(TLV of C1G2CustomerSetting) coded format.The CircumstanceSetting field that this parameter comprises one eight, the definition of this field has determined privately owned memory block or the publicly-owned memory block of coupling label.
Figure 10 (a) shows the parameter format of label allocation pattern, except access ID, outside access key, has provided three fields, is respectively that label mode is changed field, access profile field and conversion temporarily or forever changes field.Label mode conversion must be carried out under SECURE state, need to input correct key, and access key is guaranteed the security of tag access system; Pattern conversion field is converted to privately owned pattern by label by publicly-owned pattern, or is publicly-owned pattern by privately owned Mode change; Access profile field has determined it is that short distance access (in 1 meter) or normalized distance are from access; Interim conversion still permanent conversion field has determined that label mode is interim or permanent, if interim conversion meeting automatically transfers publicly-owned state to after label power down, if perpetual model, label can keep this pattern always, until the conversion of next pattern.Figure 10 (b) is the operating result response message that read write line returns to client, to know the correctness of operating result.
It is to obtain label mode information that Figure 11 (a) shows, and only need to access ID, access key parameter.Figure 11 (b) shows read write line and obtains label mode response coding form to client, has obtained present mode and the access profile of label.By this accessing operation, can make client understand the current attribute information of label.
Shown in accompanying drawing 12, Figure 12 shows client configuration or obtains the mutual schematic diagram of label mode.Configuration and to obtain label mode be that client issues by ADD_ACCESSSPEC message, obtains read write line operation response results by RO_ACCESS_REPORT label report message.There is just pattern configurations message, just guaranteed the security of this system.
Shown in accompanying drawing 13, support the publicly-owned pattern of operation and privately owned mode tag flow process simultaneously, comprising:
Step S1300, determines whether to check a label, if go to step S1302, otherwise, continue to check;
S1302, after checking a label, carries out tag match;
S1304, judges whether CircumstanceSetting is privately owned pattern, is privately owned pattern or publicly-owned pattern, if so, goes to step S1306, otherwise, go to step S1308;
S1306, if the label of the privately owned pattern of judgement current matching transfers label to privately owned mode tag, goes to step S1316;
Step S1308, the label of the publicly-owned pattern of current matching, transfers label to publicly-owned mode tag, goes to step S1310;
Step S1310, judges that whether matching area is EPC memory block, if so, goes to step S1318, otherwise goes to step S1312;
Step S1312, judges whether matching area is TID memory block, if so, goes to step S1316, otherwise, go to step S1314;
Step S1314, if USER memory block is returned, it fails to match, because label does not exist USER memory block under publicly-owned pattern, after it fails to match, continues next region of coupling;
Step S1316 ,Du Gai pattern storage district, reads the content of matching area, goes to step S1318;
Step S1318, carries out tag match, goes to step S1320;
S1320, judges whether that the match is successful, if the match is successful, goes to step S1322, otherwise goes to step S1300;
S1322, after the match is successful, carries out the accessing operation of label, and this accessing operation comprises reading and writing, locks, kills, label allocation pattern and obtain label mode.
In another embodiment, also provide a kind of software, the technical scheme that this software is described for carrying out above-described embodiment and preferred implementation.
In another embodiment, also provide a kind of storage medium, stored above-mentioned software in this storage medium, this storage medium includes but not limited to: CD, floppy disk, hard disk, scratch pad memory etc.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on the network that a plurality of calculation elements form, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in memory storage and be carried out by calculation element, and in some cases, can carry out shown or described step with the order being different from herein, or they are made into respectively to each integrated circuit modules, or a plurality of modules in them or step are made into single integrated circuit module to be realized.Like this, the present invention is not restricted to any specific hardware and software combination.
These are only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.