Communication method, first network element, second network element and storage medium

By assigning network temporary identifiers and Internet protocol addresses to passive IoT tags, the problem of insufficient EPC management and security in the network in the existing technology is solved, and safe and efficient communication of tags within the network is achieved.

CN118828487APending Publication Date: 2024-10-22CHINA MOBILE COMM LTD RES INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310988318.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-07
Publication Date
2024-10-22

AI Technical Summary

Technical Problem

In existing passive IoT technology, communication using only Electronic Product Code (EPC) is difficult to manage within the network, and can easily lead to EPC being eavesdropped and forged, resulting in low communication security.

Method used

Allocate a network temporary identifier to the label and communicate through the network temporary identifier to avoid excessive exposure of the EPC in the network. After successful authentication, assign an Internet protocol address to the label and update the network temporary identifier to adapt to changes in the access network.

Benefits of technology

It realizes convenient management and secure communication of tags within the network, reduces the risk of EPC being eavesdropped and forged, and improves communication security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118828487A_ABST
    Figure CN118828487A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a communication method, a first network element, a second network element and a storage medium, and the communication method applied to the first network element comprises the steps: distributing a network temporary identifier for a tag, so that each network element and one or more of the tags carry out network communication based on the network temporary identifier.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of communication technology, and in particular, to a communication method, a first network element, a second network element, and a storage medium. Background Art

[0002] Passive IoT is a low-cost, low-power IoT technology based on tags, and there is currently a certain demand in industry and applications.

[0003] The tag mainly contains the Electronic Product Code (EPC) and the Tag Identifier (TID). The EPC is the electronic product code that is manually written and modified by the user to identify the tag object. The TID is "read-only, not writable" and is already written at the factory. It is the unique identifier of the tag and the product category identification number of the electronic tag.

[0004] At present, usually only EPC is used to implement tag inventory, which is not only difficult to manage within the network, but also if EPC is used for communication every time, it will greatly increase the probability of EPC being eavesdropped, and it is easy for EPC to be copied and misused, and the communication security is low. Summary of the invention

[0005] The embodiment of the present application provides a communication method, a first network element, a second network element and a storage medium. By allocating a network temporary identifier to a label, it is convenient to manage the label within the network, and can avoid excessive exposure of the EPC of the label in the network, avoid EPC forgery, and improve communication security.

[0006] The technical solution of the embodiment of the present application is implemented as follows:

[0007] An embodiment of the present application provides a communication method, which is applied to a first network element, and the method includes:

[0008] A network temporary identifier is allocated to the label, so that each network element and one or more of the labels can perform network communication based on the network temporary identifier.

[0009] In the above method, after allocating a network temporary identifier to the label, the method further includes:

[0010] In case the authentication of the label is successful, the network temporary identifier is sent to the second network element so that an Internet Protocol address is allocated to the label through the second network element.

[0011] In the above method, it also includes:

[0012] In the case where the wireless access network / card reader device accessed by the tag is changed, the network temporary identifier is updated, and a notification instructing the second network element to update the Internet Protocol address is sent.

[0013] In the above method, after allocating a network temporary identifier to the label, the method further includes:

[0014] In the case that the tag is allowed to access the network and supports the network temporary identifier, the network temporary identifier is sent to the tag so that the network temporary identifier can be used to perform tag inventory and data delivery operations on the network.

[0015] In the above method, when the tag allows access to the network and supports the network temporary identifier, before sending the network temporary identifier to the tag, the method further includes:

[0016] Receiving tag information sent by the tag, and sending the tag information to a third network element, so that the third network element can complete authentication access to the tag; wherein the tag information at least includes an electronic product code of the tag;

[0017] Receiving the subscription information of the label sent by the third network element;

[0018] Based on the tag information and the subscription information, it is determined whether the tag is allowed to access the network, and whether the tag supports the network temporary identifier.

[0019] In the above method, the tag information also includes one or more of the following:

[0020] The tag identification number of the tag, a new tag function support bit indicating support for the network temporary tag, and an identifier of the wireless access network / card reader device to which the tag is currently connected.

[0021] In the above method, the network temporary identifier includes:

[0022] One or more of a mobile country code, a mobile network code, an identifier of the first network element, an identifier of the wireless access network / card reader device to which the tag currently accesses, an identifier of the group to which the tag belongs, and a temporary identifier of the tag.

[0023] An embodiment of the present application provides a communication method, which is applied to a second network element, and the method includes:

[0024] Based on the network temporary identifier allocated to the label by the first network element, network communication is performed with the label or other network elements are assisted to perform network communication with the label.

[0025] In the above method, it also includes:

[0026] When the network temporary identifier sent by the first network element is received, an Internet Protocol address is allocated to the label based on the network temporary identifier.

[0027] In the above method, the network temporary identifier includes:

[0028] One or more of a mobile country code, a mobile network code, an identifier of the first network element, an identifier of the wireless access network / card reader device to which the tag currently accesses, an identifier of the group to which the tag belongs, and a temporary identifier of the tag.

[0029] In the above method, allocating an Internet Protocol address to the label based on the network temporary identifier includes:

[0030] Mapping information in the network temporary identifier that is different from the label temporary identifier into a network prefix;

[0031] Mapping the label temporary identifier of the label to an interface identifier;

[0032] Using the network prefix and the interface identifier, construct the Internet Protocol address;

[0033] The network prefix is ​​used for message routing, and the interface identifier is used to support the wireless access network / card reader device to which the tag currently accesses to determine the tag to send information.

[0034] In the above method, after allocating an Internet Protocol address to the label based on the network temporary identifier, the method further includes:

[0035] Upon receiving a notification sent by the first network element instructing to update the Internet Protocol address, updating the Internet Protocol address.

[0036] An embodiment of the present application provides a first network element, characterized by comprising: a first processor, a first memory and a first communication bus;

[0037] The first communication bus is used to implement a communication connection between the first processor and the first memory;

[0038] The first processor is used to execute one or more computer programs stored in the first memory to implement the above-mentioned communication method applied to the first network element.

[0039] An embodiment of the present application provides a second network element, including: a second processor, a second memory, and a second communication bus;

[0040] The second communication bus is used to realize the communication connection between the second processor and the second memory;

[0041] The second processor is used to execute one or more computer programs stored in the second memory to implement the above-mentioned communication method applied to the second network element.

[0042] An embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned communication method is implemented.

[0043] The embodiment of the present application provides a communication method, a first network element, a second network element and a storage medium. The communication method applied to the first network element includes: allocating a network temporary identifier to a label so that each network element and one or more of the labels can perform network communication based on the network temporary identifier. The technical solution provided by the embodiment of the present application allocates a network temporary identifier to a label, and for each network element and one or more of the labels, the network temporary label can be used within the network for network communication, which not only facilitates the management of the label within the network, but also avoids excessive exposure of the EPC of the label in the network, avoids EPC forgery, and improves communication security. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 A communication method according to an embodiment of the present invention is provided. Figure 1 ;

[0045] Figure 2 A schematic diagram of the composition of an exemplary network temporary identifier provided in an embodiment of the present application;

[0046] Figure 3 A communication method according to an embodiment of the present invention is provided. Figure 2 ;

[0047] Figure 4 A schematic diagram of the composition of an exemplary IP address provided in an embodiment of the present application;

[0048] Figure 5 An exemplary communication interaction diagram provided for an embodiment of the present application;

[0049] Figure 6 A schematic diagram of the structure of a first network element provided in an embodiment of the present application Figure 1 ;

[0050] Figure 7 A schematic diagram of the structure of a first network element provided in an embodiment of the present application Figure 2 ;

[0051] Figure 8 A schematic diagram of the structure of a second network element provided in an embodiment of the present application Figure 1 ;

[0052] Fig. 9 A schematic diagram of the structure of a second network element provided in an embodiment of the present application Figure 2 . DETAILED DESCRIPTION

[0053] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0054] The following will specifically describe the technical solution of the present application and how the technical solution of the present application solves the above technical problems through embodiments and in conjunction with the accompanying drawings. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.

[0055] In addition, the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.

[0056] The following is an explanation of the labels involved in the embodiments of the present application.

[0057] Tags: Specifically, they can be Class A tags, Class B tags or Class C tags; Class A tags are passive tags without battery energy storage and without active reporting capabilities, Class B tags are semi-passive tags with battery energy storage, and Class C tags are electronic tags with battery energy storage and active reporting capabilities.

[0058] It should be noted that tags are usually divided into four storage areas, namely:

[0059] (1) Reserved storage area. Used to store passwords required for the Kill and Access functions. Tags that have not executed the Kill and / or Access passwords are like having a zero-value password and are permanently read / write locked. There is no need to store a zero-value password in the password storage area in the reserved storage area.

[0060] (2) EPC storage area: This area stores CRC-16 and protocol control bits (PC) to identify the EPC to which the tag is attached.

[0061] (3) TID storage area: used to store TID, with sufficient identification information in the high-order area to enable the reader to uniquely identify the custom commands and / or optional commands supported by the tag.

[0062] (4) User storage area: An expandable area that allows storage of user-specific data. The storage organization structure of this storage area is defined by the user.

[0063] An embodiment of the present application provides a communication method, which is applied to a first network element, wherein the first network element may specifically be an access and mobility management function (AMF) network element, or a trunking media function (TMF) network element.

[0064] Figure 1 A communication method according to an embodiment of the present invention is provided. Figure 1 .like Figure 1 As shown, in an embodiment of the present application, the communication method applied to the first network element mainly includes the following steps:

[0065] S101. Allocate a network temporary identifier for a label, so that each network element and one or more of the labels can perform network communication based on the network temporary identifier.

[0066] In an embodiment of the present application, the first network element may allocate a network temporary identifier for the label, and one or more of the network elements and the label may perform network communication based on the network temporary identifier.

[0067] In an embodiment of the present application, the network temporary identifier includes: a mobile country code (MCC), a mobile network code (MNC), an identifier of the first network element, an identifier of the wireless access network / card reader device to which the tag currently accesses, an identifier of the group to which the tag belongs, and one or more of the tag temporary identifier.

[0068] Figure 2 The following is a schematic diagram of an exemplary network temporary identifier provided in an embodiment of the present application. Figure 2 As shown, in an embodiment of the present application, the network temporary identifier includes: a mobile country code (MCC), a mobile network code (MNC), an identifier of the first network element (ID1), an identifier of the wireless access network / card reader device to which the tag currently accesses (ID2), an identifier of the group to which the tag belongs (ID3), and a temporary identifier of the tag (ID4).

[0069] It can be understood that in the embodiments of the present application, many network elements may be involved in the network. For each network element, network temporary tags and tags can be used within the network for network communication. On the one hand, it is convenient for the management of tags within the network. On the other hand, it can avoid excessive exposure of the EPC of the tag in the network, avoid EPC forgery, and improve communication security.

[0070] In an embodiment of the present application, after the first network element allocates a network temporary identifier for the label, the following steps may also be performed: if the label is authenticated successfully, the network temporary identifier is sent to the second network element so as to allocate an Internet Protocol address for the label through the second network element.

[0071] It should be noted that, in the embodiments of the present application, the second network element may specifically be a network exposure function (NEF) network element, a session management function (SMF) network element, or a user plane function (UPF) network element.

[0072] It is understandable that in the embodiment of the present application, when the first network element successfully authenticates the label, it can request the second network element to allocate an Internet Protocol (IP) address to the label for message routing. The second network element implements IP address allocation based on the network temporary identifier of the label, which will be described in detail later on the second network element side.

[0073] In an embodiment of the present application, when the tag changes the wireless access network / card reader device to which it is connected, the network temporary identifier is updated, and a notification indicating the update of the IP address is sent to the second network element.

[0074] It can be understood that in the embodiments of the present application, the tag can flexibly change the wireless access network / card reader device to which it is connected. In this case, it is also necessary to update the network temporary identifier accordingly, and notify the second network element to update the IP address assigned to the tag to adapt to the new access scenario.

[0075] In an embodiment of the present application, after the first network element assigns a network temporary identifier to the label, the following steps may also be performed: when the label is allowed to access the network and supports the network temporary identifier, a network temporary label is sent to the label so that the network temporary identifier can be used in the network to perform label inventory and data delivery operations.

[0076] It should be noted that in the embodiments of the present application, the tag is allowed to access the network, indicating that the tag is legitimate, and the tag supports network temporary tags, indicating that the tag has the function of storing and using network temporary tags. Based on this, the first network element can issue a network temporary tag to the tag, so that the tag can also choose to use the network temporary tag to perform tag inventory in the network later. Correspondingly, if the tag is not allowed to access the network, or the tag does not support network temporary tags, the first network element is prohibited from issuing a network temporary identifier to the tag, and the network temporary identifier is only used by network elements within the network.

[0077] In an embodiment of the present application, when the tag is allowed to access the network and supports network temporary identification, before sending the network temporary tag to the tag, the first network element may also perform the following steps to determine whether the tag is allowed to access the network and whether it supports network temporary identification: receive tag information sent by the tag, and send the tag information to a third network element so that the third network element can complete authentication access to the tag; wherein the tag information includes at least the EPC of the tag; receive the contract information of the tag sent by the third network element; based on the tag information and the contract information, determine whether the tag is allowed to access the network, and determine whether the tag supports network temporary identification.

[0078] It should be noted that, in the embodiment of the present application, the third network element may specifically be a unified data management function (Unified Data Management, UDM) network element.

[0079] It should be noted that in an embodiment of the present application, the first network element can also determine whether the tag is allowed to access the network and whether the tag supports network temporary identification based on the tag information and contract information and other relevant information such as its local configuration.

[0080] It should be noted that, in an embodiment of the present application, the tag information may include not only the EPC of the tag, but also one or more of the following: the TID of the tag, a new tag function support bit indicating support for the network temporary tag, and an identifier of the wireless access network / card reader device to which the tag is currently connected.

[0081] It should be noted that, in the embodiments of the present application, the tag can send its tag information to the wireless access network / card reader device to which it is connected, and forward the tag information to the first network element through the wireless access network / card reader device. The first network element can forward the tag information to the third network element, so that the third network element can use the tag information to complete the authentication access to the tag, thereby issuing the contract information of the tag to the first network element. The first network element obtains the tag information provided by the tag and the contract information provided by the third network element, which can be used to determine whether the tag is allowed to access the network and whether it supports network temporary identification.

[0082] In the embodiment of the present application, the third network element can use EPC as mandatory information, TID and the identification of the wireless access network / card reader device as optional information, perform multi-dimensional authentication on the tag, and improve the security of tag access and management. Among them, TID can be provided to the wireless access network / card reader device when the tag sends tag information to the wireless access network / card reader device to be connected. In this way, the TID and the identification of the wireless access network / card reader device can be forwarded to the first network element through the wireless access network / card reader device, and then forwarded to the third network element through the first network element for use by the third network element.

[0083] An embodiment of the present application provides a communication method, which is applied to a second network element, wherein the second network element may specifically be the above-mentioned NEF network element, SMF network element or UPF network element.

[0084] Figure 3 A communication method according to an embodiment of the present invention is provided. Figure 2 .like Figure 3 As shown, in an embodiment of the present application, the communication method applied to the second network element mainly includes the following steps:

[0085] S201. Based on a network temporary identifier allocated by a first network element to a label, perform network communication with the label or assist other network elements to perform network communication with the label.

[0086] In an embodiment of the present application, the second network element can perform network communication with the label based on the network temporary identifier assigned to the label by the first network element. In addition, it can also assist other network elements, such as the UPF network element, to perform network communication with the label.

[0087] In an embodiment of the present application, the network temporary identifier includes: a mobile country code (MCC), a mobile network code (MNC), an identifier of the first network element, an identifier of the wireless access network / card reader device to which the tag currently accesses, an identifier of the group to which the tag belongs, and one or more of the tag temporary identifier.

[0088] For example, in the examples of this application, see Figure 2 The network temporary identifier includes: Mobile Country Code (MCC), Mobile Network Code (MNC), the identifier of the first network element (ID1), the identifier of the wireless access network / card reader device to which the tag currently accesses (ID2), the identifier of the group to which the tag belongs (ID3), and the tag temporary identifier (ID4) of the tag.

[0089] It can be understood that in an embodiment of the present application, the second network element uses a network temporary label for network communication, which on the one hand facilitates the management of the label within the network, and on the other hand can avoid excessive exposure of the label's EPC in the network, avoid EPC forgery, and improve communication security.

[0090] In an embodiment of the present application, the second network element may further perform the following steps: upon receiving the network temporary identifier sent by the first network element, assigning an IP address to the label based on the network temporary identifier.

[0091] In an embodiment of the present application, the second network element allocates an IP address to the tag based on the network temporary identifier, including: mapping the information in the network temporary identifier that is different from the tag temporary identifier to a network prefix; mapping the tag temporary identifier of the tag to an interface identifier; using the network prefix and the interface identifier to construct an IP address; wherein the network prefix is ​​used for message routing, and the interface identifier is used to support the wireless access network / card reader device to which the tag is currently connected to determine the tag to send information.

[0092] Figure 4 The following is a schematic diagram of an exemplary IP address composition provided in the embodiment of the present application. Figure 4 As shown, in the embodiment of the present application, the second network element may be based on Figure 2 The network temporary identifier shown is used to assign an IP address to the user, and MCC+MNC+ID1+ID2+ID3 are mapped as the network prefix of the label for message routing; ID4 is mapped as the interface identifier, based on which the wireless access network / card reader device can determine to send information to the corresponding label.

[0093] In an embodiment of the present application, after the second network element allocates an IP address to the label based on the network temporary identifier, the following steps may also be performed: upon receiving a notification sent by the first network element indicating an update of the IP address, the IP address is updated.

[0094] It can be understood that in the embodiments of the present application, the tag can flexibly change the wireless access network / card reader device to which it is connected. In this case, the first network element needs to update the network temporary identifier accordingly and notify the second network element to update the IP address assigned to the tag. The second network element can respond to the notification and update the IP address assigned to the tag to adapt to the new access scenario.

[0095] The following is an explanation of the technical solution provided in the embodiment of the present application based on the combined network scenario.

[0096] Figure 5 This is an exemplary communication interaction diagram provided in the embodiment of the present application. Figure 5 As shown in the figure, it mainly involves tags, wireless access network / card reader (RAN / Reader), AMF / TMF network elements, SMF&UPF network elements, NEF network elements, UDM network elements, and private network IoT application function (P-IoT Application Function, P-IoT AF) network elements, and mainly includes the following steps:

[0097] S1, P-IoT AF network element triggers tag registration / inventory;

[0098] S2, execute the tag registration / inventory process;

[0099] S3: The tag successfully accesses the wireless network and carries the EPC, optionally the TID, and the new tag function support bit is reported to the RAN / Reader;

[0100] S4, RAN / Reader carries EPC and reports it to AMF / TMF network element, with optional TID, new tag function support bit, and RAN / Reader ID;

[0101] S5, AMF / TMF network element carries EPC to report to UDM network element, and can optionally carry TID, new tag function support bit, and RAN / Reader ID;

[0102] S6, UDM network element determines the legitimacy of the label based on the reported information and issues the contract information;

[0103] Among them, the UDM network element can complete the authentication access to the tag based on the EPC code, optional TID, RAN / Reader ID and other information;

[0104] S7, UDM network element sends the contract information of the label to AMF / TMF network element;

[0105] S8, the AMF / TMF network element allocates a network temporary identifier for the label, and determines whether the label issues a network temporary identifier based on the contract information and the label information reported by the label (i.e., the information reported by the RAN / Reader);

[0106] Among them, the AMF / TMF network element allocates a network temporary identifier for the label for internal network communication, and the AMF / TMF network element can determine whether to issue a network temporary identifier to the label based on the contract information, the label information reported by the label, the AMF / TMF network element local configuration and other information;

[0107] S9. If the AMF / TMF network element determines that the tag allows access to the network, it passes the network temporary identifier to the NEF network element or the SMF&UPF network element to continue to execute step S10a or S10b;

[0108] S10a, SMF / UPF network element allocates an IP address to the label based on the network temporary identifier;

[0109] S10b, the NEF network element allocates an IP address to the label based on the network temporary identifier;

[0110] S11a, if the AMF / TMF network element determines that the tag is not allowed to access the network, it denies the tag access;

[0111] S11b. If the AMF / TMF network element determines that the tag allows access to the network and the tag supports the network temporary identification, it issues the network temporary identification;

[0112] S11c. If the AMF / TMF network element determines that the tag allows access to the network and the tag does not hold a network temporary identifier, the network temporary identifier is not issued;

[0113] S12. The next time the tag is counted, if the tag has obtained a network temporary identifier, the network temporary identifier can be used; otherwise, the EPC is used.

[0114] It should be noted that the network temporary identification has a validity period and no re-authentication is required during the validity period, but re-authentication is required outside the validity period.

[0115] It is understandable that, among the current tags, only EPC can be used to mark identity, group and other information, but EPC is too lengthy and cannot reflect some attributes of the network, such as which core network element the current user is managed by and which service group the current user belongs to. Therefore, this brings difficulties to the internal network management of tags based on EPC. In the technical solution provided in the embodiment of the present application, it is proposed to allocate a network temporary identifier for the tag within the network, which can improve the efficiency of information transmission on the one hand, and facilitate the management of tags within the network on the other hand. In addition, the network can allocate an IP address to the tag based on the network temporary identifier, which facilitates communication with the tag based on the IP address, greatly simplifying the data sending process. Furthermore, for future new tags that can support network temporary identifiers, the core network can be compatible and can send network temporary identifiers for easy management.

[0116] An embodiment of the present application provides a first network element. Figure 6 A schematic diagram of the structure of a first network element provided in an embodiment of the present application Figure 1 .like Figure 6 As shown, in an embodiment of the present application, the first network element includes:

[0117] The first allocation module 301 is used to allocate a network temporary identifier to a label, so that each network element and one or more of the labels can perform network communication based on the network temporary identifier.

[0118] In an embodiment of the present application, the first network element further includes: a first communication module 302, configured to send the network temporary identifier to the second network element when the tag is authenticated successfully, so as to allocate an Internet Protocol address to the tag through the second network element.

[0119] In an embodiment of the present application, the first allocation module 301 is further used to update the network temporary identifier when the wireless access network / card reader device accessed by the tag is changed;

[0120] The first communication module 302 is further configured to send a notification instructing the second network element to update the Internet Protocol address.

[0121] In one embodiment of the present application, the first communication module 302 is also used to send the network temporary tag to the tag when the tag is allowed to access the network and supports the network temporary identifier, so that the network temporary identifier can be used in the network to perform tag inventory and data distribution operations.

[0122] In one embodiment of the present application, the first communication module 302 is also used to receive tag information sent by the tag, and send the tag information to a third network element so that the third network element can complete authentication access to the tag; wherein the tag information at least includes the electronic product code of the tag; receive the signing information of the tag sent by the third network element; based on the tag information and the signing information, determine whether the tag is allowed to access the network, and determine whether the tag supports the network temporary identification.

[0123] In an embodiment of the present application, the tag information further includes one or more of the following:

[0124] The tag identification number of the tag, a new tag function support bit indicating support for the network temporary tag, and an identifier of the wireless access network / card reader device to which the tag is currently connected.

[0125] In an embodiment of the present application, the network temporary identifier includes:

[0126] One or more of a mobile country code, a mobile network code, an identifier of the first network element, an identifier of the wireless access network / card reader device to which the tag currently accesses, an identifier of the group to which the tag belongs, and a temporary identifier of the tag.

[0127] Figure 7 A schematic diagram of the structure of a first network element provided in an embodiment of the present application Figure 2 .like Figure 7 As shown, in an embodiment of the present application, the first network element includes: a first processor 401, a first memory 402 and a first communication bus 403;

[0128] The first communication bus 403 is used to implement a communication connection between the first processor 401 and the first memory 402;

[0129] The first processor 401 is used to execute one or more computer programs stored in the first memory 402 to implement the above-mentioned communication method applied to the first network element.

[0130] An embodiment of the present application provides a second network element. Figure 8 A schematic diagram of the structure of a second network element provided in an embodiment of the present application Figure 1 .like Figure 8As shown, in an embodiment of the present application, the second network element includes:

[0131] The second communication module 501 is used to perform network communication with the label or assist other network elements to perform network communication with the label based on the network temporary identifier allocated to the label by the first network element.

[0132] In an embodiment of the present application, the second network element further includes: a second allocation module 502, configured to allocate an Internet Protocol address to the label based on the network temporary identifier upon receiving the network temporary identifier sent by the first network element.

[0133] In an embodiment of the present application, the network temporary identifier includes:

[0134] One or more of a mobile country code, a mobile network code, an identifier of the first network element, an identifier of the wireless access network / card reader device to which the tag currently accesses, an identifier of the group to which the tag belongs, and a temporary identifier of the tag.

[0135] In one embodiment of the present application, the second allocation module 502 is used to map the information in the network temporary identifier that is different from the tag temporary identifier into a network prefix; map the tag temporary identifier of the tag into an interface identifier; and use the network prefix and the interface identifier to construct the Internet Protocol address; wherein the network prefix is ​​used for message routing, and the interface identifier is used to support the wireless access network / card reader device to which the tag is currently connected to determine the tag to send information.

[0136] In an embodiment of the present application, the second allocation module 502 is further configured to update the Internet Protocol address when a notification instructing to update the Internet Protocol address is received from the first network element through the second communication module 501.

[0137] Fig. 9 A schematic diagram of the structure of a second network element provided in an embodiment of the present application Figure 2 .like Fig. 9 As shown, in an embodiment of the present application, the second network element includes: a second processor 601, a second memory 602, and a second communication bus 603;

[0138] The second communication bus 603 is used to implement a communication connection between the second processor 601 and the second memory 602;

[0139] The second processor 601 is used to execute one or more computer programs stored in the second memory 602 to implement the above-mentioned communication method applied to the second network element.

[0140] The embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and the computer program implements the above-mentioned communication method when executed by a processor. The computer-readable storage medium may be a volatile memory (volatile memory), such as a random access memory (Random-Access Memory, RAM); or a non-volatile memory (non-volatile memory), such as a read-only memory (Read-Only Memory, ROM), a flash memory (flash memory), a hard disk (Hard Disk Drive, HDD) or a solid-state drive (Solid-State Drive, SSD); or may be a respective device including one or any combination of the above-mentioned memories, such as a mobile phone, a computer, a tablet device, a personal digital assistant, etc.

[0141] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of hardware embodiments, software embodiments, or embodiments in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.

[0142] The present application is described with reference to implementation flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the process in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0143] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which is implemented in the implementation flow diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0144] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing the steps in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0145] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by any technician familiar with the technical field within the technical scope disclosed in the utility application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A communication method, It is characterized in that Applied to a first network element, the method includes: A network temporary identifier is allocated to the label, so that each network element and one or more of the labels can perform network communication based on the network temporary identifier.

2. The method according to claim 1, It is characterized in that After allocating a network temporary identifier to the label, the method further includes: In case the authentication of the label is successful, the network temporary identifier is sent to the second network element so that an Internet Protocol address is allocated to the label through the second network element.

3. The method according to claim 2, It is characterized in that The method further comprises: In the case where the wireless access network / card reader device accessed by the tag is changed, the network temporary identifier is updated, and a notification instructing the second network element to update the Internet Protocol address is sent.

4. The method according to claim 1, It is characterized in that After allocating a network temporary identifier to the label, the method further includes: In the case that the tag is allowed to access the network and supports the network temporary identifier, the network temporary identifier is sent to the tag so that the network temporary identifier can be used to perform tag inventory and data delivery operations on the network.

5. The method according to claim 4, It is characterized in that When the tag allows access to the network and supports the network temporary identifier, before sending the network temporary identifier to the tag, the method further includes: Receiving tag information sent by the tag, and sending the tag information to a third network element, so that the third network element can complete authentication access to the tag; wherein the tag information at least includes an electronic product code of the tag; Receiving the subscription information of the label sent by the third network element; Based on the tag information and the subscription information, it is determined whether the tag is allowed to access the network, and whether the tag supports the network temporary identifier.

6. The method according to claim 5, It is characterized in that The tag information also includes one or more of the following: The tag identification number of the tag, a new tag function support bit indicating support for the network temporary tag, and an identifier of the wireless access network / card reader device to which the tag is currently connected.

7. The method according to claim 1, It is characterized in that The network temporary identifier includes: One or more of a mobile country code, a mobile network code, an identifier of the first network element, an identifier of the wireless access network / card reader device to which the tag currently accesses, an identifier of the group to which the tag belongs, and a temporary identifier of the tag.

8. A communication method, It is characterized in that Applied to a second network element, the method includes: Based on the network temporary identifier allocated to the label by the first network element, network communication is performed with the label or other network elements are assisted to perform network communication with the label.

9. The method according to claim 8, It is characterized in that The method further comprises: When the network temporary identifier sent by the first network element is received, an Internet Protocol address is allocated to the label based on the network temporary identifier.

10. The method according to claim 9, It is characterized in that The network temporary identifier includes: One or more of a mobile country code, a mobile network code, an identifier of the first network element, an identifier of the wireless access network / card reader device to which the tag currently accesses, an identifier of the group to which the tag belongs, and a temporary identifier of the tag.

11. The method according to claim 10, It is characterized in that The allocating an Internet Protocol address to the label based on the network temporary identifier includes: Mapping information in the network temporary identifier that is different from the label temporary identifier into a network prefix; Mapping the label temporary identifier of the label to an interface identifier; Using the network prefix and the interface identifier, construct the Internet Protocol address; The network prefix is ​​used for message routing, and the interface identifier is used to support the wireless access network / card reader device to which the tag currently accesses to determine the tag to send information.

12. The method according to claim 9, It is characterized in that After allocating an Internet Protocol address to the label based on the network temporary identifier, the method further includes: Upon receiving a notification sent by the first network element instructing to update the Internet Protocol address, updating the Internet Protocol address.

13. A first network element, It is characterized in that include: a first processor, a first memory, and a first communication bus; The first communication bus is used to implement a communication connection between the first processor and the first memory; The first processor is used to execute one or more computer programs stored in the first memory to implement the communication method according to any one of claims 1 to 7.

14. A second network element, It is characterized in that include: a second processor, a second memory, and a second communication bus; The second communication bus is used to realize the communication connection between the second processor and the second memory; The second processor is used to execute one or more computer programs stored in the second memory to implement the communication method described in any one of claims 8-12.

15. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the communication method according to any one of claims 1 to 12 is implemented.