A communication method and apparatus
By setting a policy to judge paging messages in AIoT tag devices, the probability of matching false identification information is reduced, the problem of tag device information leakage is solved, and information security is improved.
Patent Information
- Application Number
- CN202510601133.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-10
- Publication Date
- 2026-11-10
AI Technical Summary
Existing AIoT tag devices are vulnerable to attacks during network access, where attackers can fabricate identification information to obtain the correct identification information, leading to potential information leaks.
The tag device judges the identification information in the paging message according to the pre-configured first strategy and decides whether to respond. The strategy includes fields that allow or disallow responses, character length ranges, etc., to reduce the probability of matching false identification information.
By setting policies, the risk of tag device information leakage can be reduced, information security can be improved, and attackers can be prevented from matching fictitious identification information.
Smart Images

Figure CN123075424A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a communication method and apparatus. Background Technology
[0002] Passive Internet of Things (AIoT) technology has been widely applied in various fields, such as logistics management, inventory management, item movement recording, security authentication, asset management, intelligent transportation, and industrial automation. AIoT technology is a contactless automatic identification technology that uses wireless radio frequency (RF) communication for contactless two-way data communication to identify targets (such as tags or RFID cards). Specifically, AIoT technology uses a reader's RF communication to read and write to tag devices to identify them and exchange information and data with them.
[0003] Currently, during the network access process for tag devices, the tag device needs to compare its own identification information with the identification information carried in the paging message. The tag device responds to the paging message and connects to the reader when the information matches. This design makes it vulnerable to attackers who can fabricate identification information to obtain the correct identification information from the tag device, posing a risk of information leakage. Summary of the Invention
[0004] This application provides a communication method and apparatus that can improve the information security of tag devices.
[0005] In a first aspect, this application provides a communication method applied to a tag device, comprising: receiving a paging message from a reader, the paging message including first identification information; responding to the paging message if the first identification information conforms to a first policy; the first policy indicating information that allows and / or disallows the tag device to respond.
[0006] In the above design, the tag device determines whether to respond to the first identification information carried in the paging message according to the first strategy, which can reduce the probability of responding to false identification information sent by the attacker, thereby reducing the risk of information leakage of the tag device and improving information security.
[0007] In one possible design, the first identification information conforms to a first strategy including one or more of the following: the first strategy indicates one or more of the following: the first strategy indicates that the tag device is allowed to respond to a first field, and the first identification information includes the first field; the first strategy indicates that the tag device is not allowed to respond to a second field, and the first identification information does not include the second field; the first strategy indicates a character (bit) length range that the tag device is allowed to respond to, and the number of consecutive characters (bits) in the first identification information conforms to the character (bit) length range; the first strategy indicates a character (bit) number range that the tag device is allowed to respond to, and the number of characters (bits) in the first identification information conforms to the character (bit) number range.
[0008] Optionally, the character (bit) length range indicates the maximum and / or minimum character (bit) length. By setting the maximum character (bit) length, attackers can be prevented from fabricating long identification information to test and match the identification information of the tag device; by setting the minimum character (bit) length, attackers can be prevented from sending single-bit identification information multiple times to match the identification information of the tag device bit by bit.
[0009] In one possible design, the first strategy is pre-configured.
[0010] In one possible design, the above method further includes: responding to the paging message when the first identification information conforms to the first strategy and the identification information of the tag device matches the first identification information.
[0011] In one possible design, the above method also includes:
[0012] The system receives a command request message, which includes update information for the first policy or a second policy. The command request message is used to update the first policy to the second policy. This application supports policy updates and can flexibly match different application scenarios.
[0013] Secondly, this application provides a communication method applied to a core network element (e.g., an AIoT functional network element), comprising: receiving a first request message, the first request message being used to request information of at least one tag device; and sending a second request message to a reader according to the first request message and a first policy, the second request message being used to request information of a first tag device; wherein the at least one tag device includes the first tag device, the second request message includes first identification information, the first identification information conforming to the first policy, and the first policy indicating information that allows and / or disallows the tag device to respond to.
[0014] The first identification information conforms to the first policy, which includes one or more of the following: the first policy indicates one or more of the following: the first policy indicates that the tag device is allowed to respond to a first field, and the first identification information includes the first field; the first policy indicates that the tag device is not allowed to respond to a second field, and the first identification information does not include the second field; the first policy indicates a character (bit) length range that the tag device is allowed to respond to, and the number of consecutive characters (bits) in the first identification information conforms to the character (bit) length range; the first policy indicates a character (bit) number range that the tag device is allowed to respond to, and the number of characters (bits) in the first identification information conforms to the character (bit) number range.
[0015] Optionally, the character (bit) length range indicates the maximum and / or minimum character (bit) length.
[0016] In one possible design, the first strategy is pre-configured.
[0017] In one possible design, the method further includes receiving the first strategy.
[0018] In one possible design, the first strategy corresponds to the first tag device; or, the first strategy corresponds to the tag device group to which the first tag device belongs.
[0019] In one possible design, the method further includes: sending a command request message, the command request message including update information of the first policy or a second policy, the command request message being used to update the first policy to the second policy.
[0020] Thirdly, this application provides a communication device, which can be a tag device, a device, module, or chip within the tag device, or a device compatible with the tag device. In one design, the communication device may include modules corresponding to the methods / operations / steps / actions described in the first aspect. These modules can be hardware circuits, software, or a combination of hardware circuits and software. In another design, the communication device may include a processing module and a communication module, the communication module including a transmitting unit and a receiving unit. Optionally, the communication module can also be described as a transceiver module or transceiver unit, and the processing module can also be described as a processing unit. Optionally, when the communication device is a chip within the tag device, the communication module can also be described as an input / output circuit or a communication interface for performing input operations (corresponding to receiving operations) and output operations (corresponding to transmitting operations); the processing module can also be described as a processor, such as an integrated processor, microprocessor, or integrated circuit.
[0021] The following description uses the example of a communication device that includes a processing module and a communication module.
[0022] A communication module is used to receive paging messages from a reader, wherein the paging messages include first identification information.
[0023] The processing module is configured to respond to the paging message when it is determined that the first identification information conforms to a first policy; wherein the first policy indicates information that allows and / or disallows the tag device to respond.
[0024] In one possible design, the first identification information conforms to a first strategy including one or more of the following: the first strategy indicates one or more of the following: the first strategy indicates that the tag device is allowed to respond to a first field, and the first identification information includes the first field; the first strategy indicates that the tag device is not allowed to respond to a second field, and the first identification information does not include the second field; the first strategy indicates a character (bit) length range that the tag device is allowed to respond to, and the number of consecutive characters (bits) in the first identification information conforms to the character (bit) length range; the first strategy indicates a character (bit) number range that the tag device is allowed to respond to, and the number of characters (bits) in the first identification information conforms to the character (bit) number range.
[0025] Optionally, the character (bit) length range indicates the maximum and / or minimum character (bit) length.
[0026] In one possible design, the first strategy is pre-configured.
[0027] In one possible design, the processing module is further configured to respond to the paging message if it is determined that the first identification information conforms to the first policy and the identification information of the tag device matches the first identification information.
[0028] In one possible design, the communication module is further configured to receive a command request message, the command request message including update information of the first policy or a second policy, the command request message being used to update the first policy to the second policy. The processing module is further configured to update the first policy to the second policy according to the command request message.
[0029] Fourthly, this application provides a communication device, which can be a core network element (such as an AIoT functional network element), a device, module, or chip within the core network element, or a device compatible with the core network element. In one design, the communication device may include modules corresponding to the methods / operations / steps / actions described in the second aspect. These modules can be hardware circuits, software, or a combination of hardware circuits and software. In another design, the communication device may include a processing module and a communication module, the communication module including a transmitting unit and a receiving unit. Optionally, the communication module can also be described as a transceiver module or transceiver unit, and the processing module can also be described as a processing unit. Optionally, when the communication device is a chip within the core network element, the communication module can also be described as an input / output circuit or communication interface for performing input operations (corresponding to receiving operations) and output operations (corresponding to transmitting operations); the processing module can also be described as a processor, such as an integrated processor, microprocessor, or integrated circuit.
[0030] The following description uses the example of a communication device that includes a processing module and a communication module.
[0031] A communication module is configured to receive a first request message, wherein the first request message is used to request information of at least one tag device;
[0032] The processing module is configured to send a second request message to the reader via the communication module according to the first request message and the first policy. The second request message is used to request information of the first tag device. The at least one tag device includes the first tag device. The second request message includes first identification information that conforms to the first policy. The first policy indicates information that allows and / or disallows the tag device to respond.
[0033] In one possible design, the first identification information conforms to a first strategy including one or more of the following: the first strategy indicates one or more of the following: the first strategy indicates that the tag device is allowed to respond to a first field, and the first identification information includes the first field; the first strategy indicates that the tag device is not allowed to respond to a second field, and the first identification information does not include the second field; the first strategy indicates a character (bit) length range that the tag device is allowed to respond to, and the number of consecutive characters (bits) in the first identification information conforms to the character (bit) length range; the first strategy indicates a character (bit) number range that the tag device is allowed to respond to, and the number of characters (bits) in the first identification information conforms to the character (bit) number range.
[0034] Optionally, the character (bit) length range indicates the maximum and / or minimum character (bit) length.
[0035] In one possible design, the first strategy is pre-configured.
[0036] In one possible design, the communication module is also used to receive the first strategy.
[0037] In one possible design, the first strategy corresponds to the first tag device; or, the first strategy corresponds to the tag device group to which the first tag device belongs.
[0038] In one possible design, the processing module is further configured to send a command request message via the communication module, the command request message including update information of the first policy or a second policy, the command request message being used to update the first policy to the second policy.
[0039] Fifthly, this application provides a communication device including at least one processor and a memory; the memory is used to store computer programs or instructions, and when the device is running, the at least one processor executes the computer programs or instructions to cause the communication device to perform the method as described in the first aspect or any possible design of the first aspect, or to perform the method as described in the second aspect or any possible design of the second aspect.
[0040] Sixthly, this application provides another communication device, comprising: a logic circuit and an input / output interface; wherein the input / output interface can be understood as an interface circuit, and the logic circuit can be used to run code instructions to perform the methods in the first aspect or any possible design of the first aspect, or to perform the methods in the second aspect or any possible design of the second aspect.
[0041] In a seventh aspect, this application also provides a computer-readable storage medium storing computer-readable instructions that, when executed on a computer, cause the computer to perform the method as described in the first aspect or any possible design of the first aspect, or to perform the method as described in the second aspect or any possible design of the second aspect.
[0042] Eighthly, this application provides a computer program product containing instructions that, when run on a computer, cause the computer to perform the method described in the first aspect or any possible design of the first aspect, or to perform the method described in the second aspect or any possible design of the second aspect.
[0043] Ninthly, this application provides a chip system including a processor and potentially a memory, for implementing the methods described in the first aspect or any possible design of the first aspect, or performing the methods described in the second aspect or any possible design of the second aspect. The chip system may be composed of chips or may include chips and other discrete devices.
[0044] In a tenth aspect, this application provides a communication system comprising a terminal device and a satellite, the communication system being used to perform the method described in the first aspect or any possible design of the first aspect, or to perform the method described in the second aspect or any possible design of the second aspect.
[0045] For the technical effects that can be achieved by the second to tenth aspects mentioned above, please refer to the description of the technical effects that can be achieved by the first aspect or the corresponding possible design scheme in the first aspect. This application will not repeat them here. Attached Figure Description
[0046] Figure 1 This is a schematic diagram of the architecture of a communication system;
[0047] Figure 2 A schematic diagram of the architecture of another communication system;
[0048] Figure 3 One of the flowcharts of the communication method provided in the embodiments of this application;
[0049] Figure 4 One of the flowcharts of the communication method provided in the embodiments of this application;
[0050] Figure 5 One of the flowcharts of the communication method provided in the embodiments of this application;
[0051] Figure 6 This is a schematic diagram of the structure of a communication device according to an embodiment of this application;
[0052] Figure 7 This is a schematic diagram of the structure of a communication device according to an embodiment of this application. Detailed Implementation
[0053] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the embodiments of this application will be further described in detail below with reference to the accompanying drawings.
[0054] The at least one item mentioned in the embodiments of this application refers to one or more items. Multiple items refers to two or more items. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. The symbol " / " generally indicates that the preceding and following related objects have an "or" relationship. Furthermore, it should be understood that although the terms "first," "second," etc., may be used to describe objects in the embodiments of this application, these objects should not be limited to these terms. These terms are only used to distinguish the objects from each other.
[0055] The terms "comprising" and "having," and any variations thereof, used in the following description of embodiments of this application are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or devices. It should be noted that in embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any method or design described as "exemplary" or "for example" in embodiments of this application should not be construed as preferred or advantageous over other methods or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0056] Figure 1 This diagram illustrates a network architecture to which a communication method provided in an embodiment of this application applies. Figure 1 As shown, this network architecture can include an access network and a core network. Terminal devices access the data network (DN) through the access network and the core network.
[0057] Terminal devices can be tags, user equipment (UE), mobile stations, mobile terminals, application clients, etc. They can be widely used in various scenarios, such as device-to-device (D2D), vehicle-to-everything (V2X) communication, machine-type communication (MTC), Internet of Things (IoT), virtual reality, augmented reality, industrial control, autonomous driving, telemedicine, smart grids, smart furniture, smart offices, smart wearables, smart transportation, and smart cities. Terminal devices can include mobile phones, tablets, computers with wireless transceiver capabilities, wearable devices, vehicles, urban air mobility vehicles (such as drones and helicopters), ships, robots, robotic arms, and smart home devices.
[0058] In this application, the apparatus for implementing the functions of a terminal device can be the terminal device itself, or it can be an apparatus capable of supporting the terminal device in implementing those functions, such as a chip system, which can be installed in the terminal device. In this application, the chip system can be composed of chips, or it can include chips and other discrete components. The technical solutions provided in this application use a terminal device as an example to illustrate the technical solutions provided in the embodiments of this application.
[0059] The access network is used to implement access-related functions. It can provide network access to authorized users in a specific area and determine transmission links of different qualities to transmit user data based on user level, service requirements, etc. The access network forwards control signals and user data between the UE and the core network. The access network can include access network equipment, which can be devices that provide access for the UE, and can include radio access network (RAN) equipment and wired access network equipment. RAN equipment is mainly responsible for functions such as radio resource management, quality of service (QoS) management, data compression, and encryption on the air interface side. RAN equipment can include various forms of base stations, such as macro base stations, micro base stations (also known as small stations), relay stations, access points, balloon stations, etc. In systems using different radio access technologies, the names of equipment with base station functions may differ. For example, in 5G systems, it is called RAN or next-generation Node base station (gNB), and in Long Term Evolution (LTE) systems, it is called evolved Node B (eNB or eNodeB).
[0060] In some deployments, a gNB can include a centralized unit (CU) and a distributed unit (DU). The gNB can also include an active antenna unit (AAU). The CU implements some of the gNB's functions, while the DU implements others. For example, the CU handles non-real-time protocols and services, implementing the functions of the radio resource control (RRC) layer and the packet data convergence protocol (PDCP) layer. The DU handles physical layer protocols and real-time services, implementing the functions of the radio link control (RLC) layer, the media access control (MAC) layer, and the physical (PHY) layer. The AAU implements some physical layer processing functions, radio frequency processing, and related functions of the active antenna. RRC layer information is generated by the CU and is ultimately encapsulated by the DU's PHY layer to become PHY layer information, or it may be derived from PHY layer information. Therefore, in this architecture, higher-layer signaling, such as RRC layer signaling, can be considered to be sent by the DU, or by the DU+AAU. It is understood that access network equipment can be one or more of the following: CU node, DU node, and AAU node. Furthermore, a CU can be classified as an access network device within the access network, or it can be classified as an access network device within the CN; this application does not impose any limitations on this.
[0061] Access network equipment and terminal equipment can be fixed or mobile. They can be deployed on land, including indoors or outdoors, handheld or vehicle-mounted; they can also be deployed on water; and they can be deployed in the air on aircraft, balloons, and satellites. The embodiments of this application do not limit the application scenarios of the access network equipment and terminal equipment.
[0062] The core network is responsible for maintaining the subscription data of the mobile network and providing UEs with functions such as session management, mobility management, policy management, and security authentication. The core network includes, but is not limited to, one or more of the following network elements: application function (AF) network element, unified data management (UDM) network element, unified data repository (UDR) network element, policy control function (PCF) network element, session management function (SMF) network element, access and mobility management function (AMF) network element, network repository function (NRF) network element, authentication server function (AUSF) network element, network exposure function (NEF) network element, user plane function (UPF) network element, and network data analytics function (NWDAF) network element.
[0063] Access and Mobility Management (AMM) network elements are primarily responsible for mobility management in mobile networks, such as user location updates, user registration with the network, user handover, allocation of temporary user identities, and user authentication and authorization. In 5G, AMM network elements can be AMF network elements. In future communications, mobility management network elements can still be AMF network elements, or have other names; this application does not impose any limitations.
[0064] The session management network element is responsible for managing the protocol data unit (PDU) sessions of terminal devices. A PDU session is a channel used to transmit PDUs; terminal devices need to exchange PDUs with the DN through PDU sessions. The SMF network element is responsible for establishing, maintaining, and deleting PDU sessions. The session management network element includes session management (such as session establishment, modification, and release, including tunnel maintenance between user plane network elements and access network equipment), user plane network element selection and control, service and session continuity (SSC) mode selection, roaming, and other session-related functions. In 5G, the session management network element can be an SMF network element; in future communications, the session management network element can still be an SMF network element, or have other names; this application does not limit this.
[0065] User plane function (UDP) network elements act as gateways for communication between mobile networks and data networks (DNs). They are primarily responsible for forwarding and receiving user data. For example, they can receive user data from the data network and transmit it to the UE via access network equipment; they can also receive user data from the UE via access network equipment and forward it to the data network. In addition, UDP network elements also include user plane-related functions such as packet inspection, service usage reporting, Quality of Service (QoS) processing, uplink packet inspection, and downlink packet storage. In 5G, UDP network elements can be UPF network elements. In future communications, UDP network elements may still be UPF network elements or have other names; this application does not impose any limitations.
[0066] The unified data management network element is responsible for storing information such as the subscriber permanent identifier (SUPI), credential, security context, and subscription data of subscribed users. This information stored by the unified data management network element can be used for authentication and authorization of terminal devices accessing the mobile network. Specifically, the subscribed user can be a user of services provided by the mobile network, such as a user using a China Telecom SIM card or a China Mobile SIM card. The subscriber permanent identifier (SUPI) can be the SIM card number, etc. The credential and security context can be small files stored as the SIM card's encryption key or information related to SIM card encryption, used for authentication and / or authorization. The security context can be data (cookies) or tokens stored on the user's local terminal (e.g., mobile phone). The subscription data of the subscribed user can be the SIM card's associated services, such as the SIM card's data plan or network usage. It should be noted that, for ease of description, this application does not distinguish or limit information related to authentication and authorization, such as permanent identifiers, letters of trust, security contexts, authentication data (cookies), and tokens. Unless otherwise specified, the embodiments in this application will be described using security contexts as an example, but the embodiments in this application are also applicable to authentication and / or authorization information expressed in other ways. In 5G, the unified data management network element can be a UDM network element. In future communications, the unified data management network element can still be a UDM network element, or it may have other names; this application does not limit this.
[0067] The unified database network element is responsible for storing and retrieving data of various types, such as subscription data, policy data, and application data. In 5G, the unified database network element can be a UDR network element. In future communications, the unified database network element can still be a UDR network element, or it may have other names; this application does not limit this.
[0068] Open network elements (ONIs) securely expose the external interface of the mobile network to third parties. When a session management network element needs to communicate with a third-party network element, the open network element can act as a relay for this communication. As a relay, the open network element can translate the identification information of subscribed users and the identification information of third-party network elements. For example, when the open network element sends a subscribed user's SUPI from the mobile network to a third party, it can translate the SUPI into its corresponding external identity (ID). Conversely, when the open network element sends an external ID (the third party's network element ID) to the mobile network, it can translate it into a SUPI. In 5G, the open network element can be a NEF (Network Element for Front-End) network element. In future communications, the open network element can still be a NEF network element, or it may have other names; this application does not limit this.
[0069] Application function network elements are used to convey application-side requirements to the network side, such as QoS requirements or user state event subscriptions. Application function network elements can be third-party functional entities or application servers deployed by operators, such as IP Multimedia Subsystem (IMS) voice call services. In 5G, application function network elements can be AF (Action Function) network elements. In future communications, application function network elements may still be AF network elements, or may have other names; this application does not limit this.
[0070] The policy control network element is used to provide PDU session policies to the session management network element. Policies may include charging-related policies, QoS-related policies, and authorization-related policies. In 5G, the policy control network element can be a PCF network element. In future communications, the policy control network element may still be a PCF network element, or may have other names; this application does not limit its scope.
[0071] Network storage function network elements can provide network element discovery capabilities, offering network element information corresponding to the network element type based on requests from other network elements. Network storage function network elements also provide network element management services, such as network element registration, updating, deregistration, and network element status subscription and push. In 5G, network storage function network elements can be NRF network elements. In future communications, network storage function network elements can still be NRF network elements, or have other names; this application does not impose any limitations.
[0072] The authentication server function network element is responsible for authenticating terminal devices and verifying their legitimacy. In 5G, the authentication server function network element can be an AUSF network element. In future communications, the authentication server function network element can still be an AUSF network element, or it may have other names; this application does not limit this.
[0073] The network data analysis function network element has the function of collecting and analyzing network data based on technologies such as big data and artificial intelligence. In 5G, the network data analysis function network element can be an NWDAF network element. In future communications, the network data analysis function network element can still be an NWDAF network element, or have other names. This application does not limit it.
[0074] A Data Network (DN) can be used to deploy various services, providing data and / or voice services to terminal devices. For example, a DN might be the private network of a smart factory. Sensors installed in the workshop can act as terminal devices, and a control server for these sensors is deployed within the DN. This control server provides services to the sensors. Sensors can communicate with the control server, receive instructions, and transmit collected sensor data back to the control server accordingly. Another example is a DN serving as an internal office network for a company. Employees' mobile phones or computers can act as terminal devices, accessing information and data resources within the company's internal office network.
[0075] The aforementioned AF network element, UDM network element, UDR network element, PCF network element, SMF network element, AMF network element, NRF network element, AUSF network element, NEF network element, UPF network element, and NWDAF network element can also be abbreviated as AF, UDM, UDR, PCF, SMF, AMF, NRF, AUSF, NEF, UPF, and NWDAF, respectively. Figure 1 As shown in the image.
[0076] Figure 1 Nausf, Nnef, Nnrf, Namf, Npcf, Nsmf, Nudm, Nudr, Naf, and Nnwdaf are the service interfaces provided by AUSF, NEF, NRF, AMF, PCF, SMF, UDM, UDR, AF, and NWDAF, respectively, used to invoke the corresponding service operations. N1, N2, N3, N4, and N6 are interface sequence numbers, with the following meanings:
[0077] 1) N1: The interface between the AMF and the terminal device, which can be used to transmit non-access stratum (NAS) signaling (such as QoS rules from the AMF) to the terminal device.
[0078] 2) N2: The interface between the AMF and the access network equipment, which can be used to transmit radio bearer control information from the core network side to the access network equipment.
[0079] 3) N3: The interface between the access network device and the UPF, mainly used to transmit uplink and downlink user plane data between the access network device and the UPF.
[0080] 4) N4: The interface between SMF and UPF, which can be used to transmit information between the control plane and the user plane, including the distribution of forwarding rules, QoS rules, traffic statistics rules, etc. from the control plane to the user plane, as well as the reporting of information from the user plane.
[0081] 5) N6: The interface between UPF and DN, used to transmit uplink and downlink user data streams between UPF and DN.
[0082] It is understood that the aforementioned network element or function can be a network component in a hardware device, a software function running on dedicated hardware, or a virtualization function instantiated on a platform (e.g., a cloud platform). As one possible implementation method, the aforementioned network element or function can be implemented by a single device, multiple devices working together, or a functional module within a single device; this application does not specifically limit this.
[0083] This application relates to environmental Internet of Things (IoT), such as ambient Internet of Things (AIoT) or passive IoT (P-IoT). In environmental IoT, some network nodes can obtain energy through solar, radio frequency, wind, hydro, or tidal power. The environmental IoT architecture can include devices, readers, and servers. Devices can also be called AIoT devices or P-IoT devices. Devices can be in the form of tags, i.e., tag devices; or, devices can be any other terminal form. This application describes tag devices as an example, but the form of the device is not limited. Readers can be access network devices, such as base stations, pole stations, micro base stations, macro stations, etc.; or, readers can be terminal devices, such as mobile phones, IoT devices, handheld readers, etc. Optionally, readers can also be described as reader-writers.
[0084] The reader uses radio frequency (RF) for contactless two-way data communication, establishing a connection with the tag device to achieve target identification and data exchange. There are two operating modes for the RF method: In one mode, when the tag device enters the reader's effective identification range, it receives the RF signal emitted by the reader and uses the energy obtained from the induced current to transmit information stored in its chip. In the other mode, the tag device can store some electrical energy through solar energy or other means, enabling it to actively transmit signals at a specific frequency. The reader receives and decodes the information, then sends it to the central information system for data processing. Two application scenarios are listed below:
[0085] Application Scenario 1, namely logistics management: AIoT tags are embedded or affixed to goods to form tag devices. During the logistics process, the relevant information of goods stored in warehouses, shopping malls and other places is automatically collected by the reader. Then, the managers can quickly query the information of goods in the system, reduce the risk of loss or theft, improve the speed of goods handover, improve the accuracy, and prevent cross-selling and counterfeiting.
[0086] Application Scenario 2, Asset Management: In places with large assets or storing valuable items, such as libraries, art galleries, or museums, there is a need for complete management procedures or rigorous protection measures. By embedding AIoT tags into books or valuable items to form tag devices, and using the wireless radio frequency method of the reader, when abnormal changes are detected in the storage information of books or valuable items, the system can promptly notify the administrator, which helps the administrator to deal with the situation quickly.
[0087] Figure 2 A schematic diagram of another communication system architecture applicable to embodiments of this application is shown. For example... Figure 2 As shown, the communication system may include tag devices, readers, AIoT functional network elements, environmental IoT data management network elements, NEF, and AF. For details regarding the tag devices, readers, NEF, and AF, please refer to [link / reference needed]. Figure 1 The points that are repeated from the previous explanation will not be repeated here.
[0088] The AIoT function network element can be an AIoT function (AIoTF) network element, abbreviated as AIoTF. The AIoTF can support tag management functions, such as reading information from tag devices or writing information to tag devices via a reader. The ambient IoT data management network element can be an ambient IoT data management (ADM) network element, abbreviated as ADM. The ADM indicates the storage function of tag-related information. The AIoTF can communicate directly with the AF or with the AF through the NEF. After receiving an operation request from the AF, the AIoTF can operate the tag device through a reader. The AIoTF can also communicate with the ADM; for example, the AIoTF can retrieve information stored in the ADM.
[0089] Furthermore, AIoTF can be a standalone network element or co-located with other network elements. For example, AIoTF can be co-located with NEF or AMF, thus allowing NEF or AMF to implement the functions of AIoTF. Also, AIoTF is merely an exemplary designation. Devices that can implement the functions corresponding to AIoTF in the embodiments of this application can be understood as the AIoTF described in this application. ADM can be a standalone network element or co-located with other network elements. For example, ADM can be co-located with UDM or UDR, thus allowing UDM or UDR to implement the functions of ADM. Also, ADM is merely an exemplary designation. Devices that can implement the functions corresponding to ADM in the embodiments of this application can be understood as the ADM described in this application.
[0090] It is understood that the aforementioned network element or function can be a network component in a hardware device, a software function running on dedicated hardware, or a virtualization function instantiated on a platform (e.g., a cloud platform). As one possible implementation method, the aforementioned network element or function can be implemented by a single device, multiple devices working together, or a functional module within a single device; this application does not specifically limit this.
[0091] It should be noted that, Figure 1 or Figure 2 The communication system shown does not constitute a limitation on the communication systems to which the embodiments of this application can be applied. Therefore, the communication method provided in the embodiments of this application can also be applied to various communication systems, such as: Long Term Evolution (LTE) communication systems, 5G communication systems, Future Communication Systems, Vehicle to Everything (V2X), LTE-Vehicle (LTE-V), Vehicle to Vehicle (V2V), Vehicle-to-Vehicle (V2V), Internet of Vehicles (IoV), Machine Type Communications (MTC), IoT, LTE-M (LTE-Machine to Machine), Machine to Machine (M2M), and the Internet of Things (IoT). Furthermore, it should be noted that the embodiments of this application do not limit the names of the network elements in the communication system. For example, in different communication systems, each network element may have other names; and for example, when multiple network elements are integrated into the same physical device, that physical device may also have other names.
[0092] Currently, when triggered by an AF request for information from a tag device, the AIoTF sends a request carrying identification information (or AIoT device identifier, MASK) to the reader. This identification information is used to page the tag device and can trigger the reader to broadcast a paging message including the identification information. The identification information may include one or more characters (or bits), and optionally, wildcards may be included, such as asterisks (*) and question marks (?). It is understood that in this embodiment, characters and wildcards are different types of symbols.
[0093] After receiving the paging message, the tag device determines whether its own identification information matches the identification information carried in the paging message. If a match is found, it performs random access to complete the response to the paging message. For example, if the identification information carried in the paging message is ****1234 and the tag device's identification information is 12341234, the tag device can determine a match, respond to the paging message, and perform random access. However, if the identification information carried in the paging message is ****1234 and the tag device's identification information is 12341235, the tag device can determine a mismatch and will not perform any further operations.
[0094] Generally, the identification information of a tag device can consist of different fields, and these fields may have special meanings. For example, the identification information of a tag device includes an ID type, a network identifier, third-party information, and an electronic product code (EPC). Optionally, the electronic product code may further include company information, goods category information, or other attribute information. For example, goods category information might be a 3-bit field, where "000" represents a refrigerator and "001" represents a washing machine. Matching identification information can be understood as matching some or all of the fields within the identification information.
[0095] In scenarios where attackers exist, this design allows them to impersonate a reader and broadcast fictitious identification information. If a response is received from the tag device, the attacker can determine that the fictitious identification information matches the tag device's identification information. Based on the fields of the identification information, the attacker may obtain the tag device's electronic product code. For example, the first 3 bits of the tag device's identification information represent the product category information; "000" represents a refrigerator, and "001" represents a washing machine. The attacker can send "000***" through the reader and determine that the tag device is a refrigerator based on the tag device's response, leading to the leakage of the tag device's information. Furthermore, if all fields match, the attacker can directly obtain the complete tag device's identification information, allowing them to read or write to the tag device, interfering with its normal operation.
[0096] Based on this, the embodiments of this application provide a communication method that can improve the information security of the tag device and ensure the normal operation of the tag device.
[0097] like Figure 3 The illustrated communication method mainly includes the following steps.
[0098] S301, the reader sends a paging message, and the tag device receives the paging message.
[0099] In one possible implementation, the reader can send paging messages within a pre-configured area, and tag devices located within that area can receive the paging messages. For example, in a scenario where the reader is a base station, the base station can send paging messages to the coverage area of a designated cell, and tag devices located within the coverage area of the designated cell can receive the paging messages.
[0100] The paging message includes first identification information, which can be understood as information used to page the tag device, or as verification information used by the tag device to determine whether to respond to the paging message. Optionally, the first identification information can also be described as filter information.
[0101] In one possible implementation, a first policy can be pre-configured, indicating information that allows and / or disallows the tag device to respond. The reader sends first identification information that conforms to the first policy, causing the first identification information to pass verification, thereby triggering a response from the tag device to the paging message. Wherein, the first identification information conforming to the first policy means that the first identification information includes information that the first policy indicates allows the tag device to respond, and / or, the first identification information does not include information that the first policy indicates disallows the tag device to respond.
[0102] As an example, the first strategy may indicate one or more of the following (1) to (4).
[0103] (1) The first policy indicates that the tag device is allowed to respond with identification information including the first field.
[0104] The identification information including the first field can be understood as: the identification information is the first field, or the identification information includes the first field and other fields. The first field may include at least one character (bit) or at least one wildcard.
[0105] For example, if the first field is the first wildcard, the definition of the first policy can also be understood as one of the following: the first policy indicates that the tag device is allowed to respond with identification information including the first wildcard, or the first policy indicates that the tag device is allowed to respond with the first wildcard. Here, the first wildcard is a specific wildcard, for example, the first wildcard is an asterisk (*).
[0106] For example, if the first field is a specific first character (or first bit), the definition of the first policy can also be understood as one of the following: the first policy indicates that the tag device is allowed to respond with identification information including the first character (or first bit); the first policy indicates that the tag device is allowed to respond with the first character (or first bit). For example, the first character could be 3, a, or another character; the first bit could be 0 or 1.
[0107] For example, the first field can be a specific first character set (or first bit set), where the first character set includes multiple consecutive characters, and the first bit set includes multiple consecutive bits. The definition of the first policy can also be understood as one of the following: the first policy indicates that the tag device is allowed to respond with identification information including the first character set (or first bit set); the first policy indicates that the tag device is allowed to respond with the first character set (or first bit set). For example, the first character set could be 123, abc, or another character set; the first bit set could include multiple bits with values of 0 or 1.
[0108] In one possible implementation, the first field could be network information indicating the tag device. For example, the first three characters of the tag device's identification information are network information (e.g., 123), and the fourth to sixth characters are goods category information, where "000" represents a refrigerator and "001" represents a washing machine. When the identification information is 123*****, the identification information conforms to the first strategy; or, when the identification information is 123000**, the identification information conforms to the first strategy.
[0109] Accordingly, if the first policy instruction allows the tag device to respond with identification information including the first field, the first identification information sent by the reader may include the first field.
[0110] (2) The second policy indicates that the tag device is not allowed to respond with identification information including the second field.
[0111] The identification information including a second field can be understood as: the identification information is a second field, or the identification information includes a second field and other fields. The second field may include at least one character (bit) or at least one wildcard.
[0112] For example, if the second field is a second wildcard, the definition of the second policy can also be understood as one of the following: the second policy indicates that the tag device is not allowed to respond with identification information including the second wildcard; the second policy indicates that the tag device is not allowed to respond with the second wildcard. Here, the second wildcard is a specific wildcard, for example, the second wildcard is a question mark (?).
[0113] For example, if the second field is a specific second character (or second bit), the definition of the second policy can also be understood as one of the following: the second policy indicates that the tag device is not allowed to respond to identification information including the second character (or second bit); the second policy indicates that the tag device is not allowed to respond to the second character (or second bit). For example, the second character could be 7, f, or another character, and the second bit could be 1 or 0.
[0114] For example, the second field could be a specific second character set (or second bit set), where the second character set includes multiple consecutive characters, and the second bit set includes multiple consecutive bits. The definition of the second policy can also be understood as one of the following: the second policy indicates that the tag device is not allowed to respond to identification information including the second character set (or second bit set); the second policy indicates that the tag device is not allowed to respond to the second character set (or second bit set). For example, the second character set could be 789, fgh, or another character set; the second bit set could include multiple bits with values of 1 or 0.
[0115] In one possible implementation, the second field can indicate the attribute information of the tag device. For example, the attribute information of the tag device includes company information and / or a product electronic code, where the product electronic code includes goods type information. Assume that the first three characters of the tag device's identification information are network information, and the fourth to sixth characters are goods category information; "000" represents a refrigerator, and "001" represents a washing machine. When the identification information is 123000**, the identification information does not conform to the first strategy; while when the identification information is 123*****, the identification information conforms to the first strategy.
[0116] Accordingly, if the second policy indicates that the tag device is not allowed to respond with identification information including the second field, the second identification information sent by the reader does not include the second field.
[0117] Furthermore, taking the content indicated by the first policy as including (1) and (2), with the first field indicating network information and the second field indicating attribute information as an example, it can be understood that the first policy indicates that the tag device is allowed to respond to the tag device's network information but is not allowed to respond to the tag device's attribute information. Assume that the first three characters of the tag device's identification information are network information (e.g., 123), and the fourth to sixth characters are goods category information, with "000" representing a refrigerator and "001" representing a washing machine. When the identification information is 123*****, the identification information conforms to the first policy; or, when the identification information is 123000**, the identification information does not conform to the first policy. Accordingly, the first identification information sent by the reader may include the tag device's network information but may not include the tag device's attribute information.
[0118] (3) The first policy indicates the range of character lengths or bit lengths that the tag device is allowed to respond to.
[0119] The character length range can indicate the maximum character length, with the first policy indicating that the character length allowed for the tag device response is less than or equal to the maximum; or, the character length range can indicate the minimum character length, with the first policy indicating that the character length allowed for the tag device response is greater than or equal to the minimum; or, the character length range can indicate both the minimum and maximum character lengths, with the first policy indicating that the character length allowed for the tag device response is a value between the minimum and maximum. It is understood that the character length corresponds to the number of consecutive characters.
[0120] For example, the maximum value is 5 and the minimum value is 2. The first policy indicates that the character length allowed for the tag device response is an integer value between 2 and 5. When the identification information is 1****, the identification information does not conform to the first policy; or, when the identification information is 1234*, the identification information conforms to the first policy; or, when the identification information is 12345*, the identification information conforms to the first policy; and when the identification information is 123456*, the identification information does not conform to the first policy. This design, by setting the maximum character length, can prevent attackers from fabricating long identification information to test and match the tag device's identification information; by setting the minimum character length, it can prevent attackers from sending single-character identification information multiple times to match the tag device's identification information character by character.
[0121] Accordingly, the number of consecutive characters in the first identification information sent by the reader is less than or equal to the maximum value of the character length, and / or the number of consecutive characters in the first identification information sent by the reader is greater than or equal to the minimum value of the character length.
[0122] The bit length range can indicate the maximum bit length, with the first policy indicating that the bit length allowed for the tag device response is less than or equal to the maximum; or, the bit length range can indicate the minimum bit length, with the first policy indicating that the bit length allowed for the tag device response is greater than or equal to the minimum; or, the bit length range can indicate both the minimum and maximum bit lengths, with the first policy indicating that the bit length allowed for the tag device response is a value between the minimum and maximum. It is understood that the bit length corresponds to the number of consecutive bits.
[0123] For example, the maximum value is 5 and the minimum value is 2. The first policy indicates that the allowed bit length of the tag device response is an integer value between 2 and 5. When the identification information is 1****, the identification information does not conform to the first policy; or, when the identification information is 1001*, the identification information conforms to the first policy; or, when the identification information is 10011*, the identification information conforms to the first policy; and when the identification information is 100011*, the identification information does not conform to the first policy. This design, by setting the maximum bit length, can prevent attackers from fabricating long identification information to test and match the tag device's identification information; by setting the minimum bit length, it can prevent attackers from sending single bits of identification information multiple times to match the tag device's identification information bit by bit.
[0124] Accordingly, the number of consecutive bits in the first identification information sent by the reader is less than or equal to the maximum bit length, and / or the number of consecutive bits in the first identification information sent by the reader is greater than or equal to the minimum bit length. (4) The first policy indicates the range of characters or bits that the tag device is allowed to respond to.
[0125] The character count range can indicate the maximum number of characters, and the first policy indicates that the number of characters allowed in the tag device response is less than or equal to the maximum number of characters; or, the character count range can indicate the minimum number of characters, and the first policy indicates that the number of characters allowed in the tag device response is greater than or equal to the minimum number of characters; or, the character count range can indicate both the minimum and maximum number of characters, and the first policy indicates that the number of characters allowed in the tag device response is a value between the minimum and the maximum number of characters.
[0126] For example, the maximum value is 5 and the minimum value is 2. The first policy indicates that the number of characters allowed for the tag device to respond is an integer value between 2 and 5. When the identification information is 1****, the identification information does not conform to the first policy; or, when the identification information is 123*4, the identification information conforms to the first policy; or, when the identification information is 1234*5, the identification information conforms to the first policy; and when the identification information is 12345*6, the identification information does not conform to the first policy.
[0127] Accordingly, the number of characters in the first identification information sent by the reader is less than or equal to the maximum number of characters, and / or the number of characters in the first identification information sent by the reader is greater than or equal to the minimum number of characters. It is understood that the characters in the first identification information can be consecutive or non-consecutive.
[0128] The bit count range can indicate the maximum bit count, and the first policy indicates that the number of bits allowed for the tag device to respond is less than or equal to the maximum bit count; or, the bit count range can indicate the minimum bit count, and the first policy indicates that the number of bits allowed for the tag device to respond is greater than or equal to the minimum bit count; or, the bit count range can indicate both the minimum and maximum bit count, and the first policy indicates that the number of bits allowed for the tag device to respond is a value between the minimum and the maximum bit count.
[0129] For example, the maximum value is 5 and the minimum value is 2. The first policy indicates that the number of bits allowed for the tag device to respond is an integer value between 2 and 5. When the identification information is 1****, the identification information does not conform to the first policy; or, when the identification information is 100*1, the identification information conforms to the first policy; or, when the identification information is 1001*1, the identification information conforms to the first policy; and when the identification information is 10001*1, the identification information does not conform to the first policy.
[0130] Accordingly, the number of consecutive bits in the first identification information sent by the reader is less than or equal to the maximum number of bits, and / or the number of consecutive bits in the first identification information sent by the reader is greater than or equal to the minimum number of bits. It is understood that the bits in the first identification information can be consecutive or non-consecutive.
[0131] S302, the tag device responds to the paging message when it determines that the first identification information conforms to the first policy.
[0132] Corresponding to the description in S301, it can be understood that: the first identification information conforming to the first strategy includes one or more of the following:
[0133] The first policy indicates a first field that allows the tag device to respond, and the first identification information includes the first field;
[0134] The first policy indicates that the tag device is not allowed to respond to the second field, and the second field is not included in the first identification information;
[0135] The first strategy indicates a character length range (or bit length range) that the tag device is allowed to respond to, and the number of consecutive characters in the first identification information conforms to the character length range (or bit length range);
[0136] The first strategy indicates a range of character counts (or bit counts) that the tag device is allowed to respond to, and the number of characters in the first identification information conforms to the range of character counts (or bit counts).
[0137] Accordingly, the first identification information not conforming to the first strategy includes one or more of the following:
[0138] The first policy indicates a first field that the tag device is allowed to respond to, and the first identification information does not include the first field;
[0139] The first policy indicates that the tag device is not allowed to respond to the second field, and the second field is included in the first identification information;
[0140] The first strategy indicates a character length range (or bit length range) that the tag device is allowed to respond to, and the number of consecutive characters in the first identification information does not conform to the character length range (or bit length range);
[0141] The first strategy indicates a range of character counts (or bit counts) that the tag device is allowed to respond to, and the number of characters in the first identification information does not conform to the range of character counts (or bit counts).
[0142] Optionally, if it is determined that the first identification information conforms to the first policy, the tag device responds to the paging message, including: the tag device randomly accesses the reader.
[0143] Alternatively, S302 can be replaced with the implementation of S303, whereby the tag device decides whether to respond to the paging message according to the scheme described in S303. S303 is an optional step. Figure 3 The middle part is indicated by a dashed line.
[0144] S303, when the tag device determines that the first identification information conforms to the first strategy and the tag device's identification information matches the first identification information, it responds to the paging message.
[0145] It is understandable that matching the tag device's identification information with the first identification information means that the tag device's identification information and the first identification information include at least one of the same fields. For example, each three consecutive characters constitute a field. When the first identification information is 123***, if the tag device's identification information is 123123, then the tag device's identification information matches the first identification information, and the tag device will perform random access. When the first identification information is 123***, if the tag device's identification information is 124123, then the tag device's identification information does not match the first identification information, and the tag device will not perform random access.
[0146] In the above scheme, the tag device determines whether to respond to the identification information carried in the paging message through a pre-configured strategy, which can reduce the probability of responding to false identification information sent by the attacker, thereby reducing the risk of information leakage of the tag device and improving information security.
[0147] In one possible implementation, Figure 3 The described solution can be applied to Figure 2 The illustrated system architecture involves the AF requesting information about the tag device from the AIoTF, which triggers the AIoTF to send identification information through the reader, enabling the tag device to determine whether to connect to the reader and the AIoTF.
[0148] like Figure 4 The illustrated communication method mainly includes the following steps.
[0149] S401, AF sends the first request message to AIoTF.
[0150] It is understood that the first request message is used to request information about at least one tag device. For example, the first request message includes an AF ID for identifying the AF, target device information for indicating at least one tag device, and service type.
[0151] For example, the target device information may include regional location information, with at least one tag device located within the region corresponding to the regional location information; the target device information may include group identification information of one or more device groups, with at least one tag device included in the aforementioned one or more device groups; or the target device information may include identification information of at least one tag device.
[0152] The service types include two main categories of operations: inventory operations and command operations. Inventory operations (also known as inventory checks) involve checking the existing tags, such as retrieving tag identification information. Command operations include read operations, write operations, and deactivation operations. A read operation involves reading data from the tag device. A write operation involves writing data to the tag device. A deactivation operation involves enabling or deactivating the tag device.
[0153] S402, AIoTF obtains policy information.
[0154] The policy information includes one or more policies. In this embodiment, the policy is used by the tag device to determine whether to respond to the paging message. The policy can also be described as a response policy. The policy information corresponds to at least one tag device.
[0155] In one possible implementation, the granularity of the policies included in the policy information is at the tag device level, meaning that one policy corresponds to at least one tag device. For example, when the AF requests information about N1 tag devices from the AIoTF via a first request message, the policy information includes M1 policies; N1 and M1 are both positive integers. Optionally, N1 = M1, meaning there is a one-to-one correspondence between the N1 tag devices and the M1 policies, with different tag devices corresponding to different policies; or, N1 is greater than M1, meaning that at least two of the N1 tag devices correspond to the same policy among the M1 policies.
[0156] In one possible implementation, the granularity of the policies included in the policy information is at the tag device group level, meaning that one policy corresponds to at least one tag device group. This tag device group can be indicated by a group ID or by regional location information. For example, when the AF requests information about N2 tag device groups from the AIoTF via a first request message, the policy information includes M2 policies; N2 and M2 are both positive integers. Optionally, N2 = M2, meaning there is a one-to-one correspondence between the N2 tag device groups and the M2 policies, with different tag device groups corresponding to different policies; or, N2 is greater than M2, meaning that at least two of the N2 tag devices correspond to the same policy among the M2 policies.
[0157] In one possible implementation, the granularity of the policies included in the policy information is at the AF granularity, meaning the policy information includes a policy corresponding to the AF. For example, when the AF requests information about at least one tag device from the AIoTF via a first request message, each of the at least one tag device corresponds to a policy in the policy information.
[0158] In one possible implementation, the AIoTF can obtain policy information from the AF (Agency Controller), for example, the AF can carry policy information (including at least one policy) in a first request message. In another possible implementation, the AIoTF can obtain policy information from the ADM (Agency Device Manager). For example, the AIoTF sends a third request message to the ADM, which carries the identification information of the tag device or the target device information from the AF; the ADM sends policy information (including at least one policy) to the AIoTF according to a pre-configured response policy.
[0159] The content of the strategy instructions can be understood by referring to the description in S301, and will not be repeated in this embodiment.
[0160] Furthermore, the AIoTF can trigger the reader to send a paging message. This paging message carries identification information for paging the tag device. This identification information needs to conform to the policy corresponding to the tag device to be paged, so that the tag device receives the paging message and determines whether to respond to the paging message based on the identification information in the paging message. For example, taking the paging tag device as the first tag device among at least one tag device as an example, the following steps S403 to S406 can be used for understanding.
[0161] S403, AIoTF determines the first identification information based on the first request message and the first policy.
[0162] The first strategy includes one or more of the strategies mentioned above.
[0163] In one possible implementation, AIoTF determines the identification information for paging tag devices as 123456*** based on the target device information. Assuming the policy corresponding to X1 tag devices indicated by the target device information allows responses to 123456***, and the policy corresponding to X2 tag devices does not allow responses to 123456***, when X1 is greater than X2, the general identification information for paging tag devices can be determined as 123456***. For paging X2 tag devices, identification information can be generated separately for each tag device. In this case, the first policy may include the policy corresponding to X1 tag devices, the first identification information may be general identification information for paging tag devices, and the first tag device belongs to X1 tag devices. For example, X1 accounts for more than 70% of the total number of tag devices indicated by the target device information, X2 accounts for less than or equal to 30% of the total number of tag devices indicated by the target device information, and X1 and X2 are positive integers.
[0164] In another possible implementation, if the granularity of the policy is at the tag device level, the first policy represents the policy corresponding to the first tag device; or, if the granularity of the policy is at the tag device group level, the first policy represents the policy corresponding to the tag device group to which the first tag device belongs; or, if the granularity of the policy is at the AF level, the first policy represents the policy corresponding to the AF. The content indicated by the first policy can be understood with reference to the description in S301, and will not be repeated in this embodiment.
[0165] S404, AIoTF sends a second request message to the reader.
[0166] The second request message carries first identification information, which conforms to the first strategy.
[0167] S405, the reader sends a paging message, and the first tag device receives the paging message.
[0168] This step can be understood by referring to the description in S301, and will not be repeated in this embodiment.
[0169] S406, the first tag device responds to the paging message when it determines that the first identification information conforms to the first strategy and the identification information of the first tag device matches the first identification information.
[0170] This step can be understood by referring to the description in S303, and will not be repeated in this embodiment.
[0171] Furthermore, it can be understood that the first tag device side pre-configures the policy corresponding to the first tag device, and the policy corresponding to the first tag device is the same as the first policy stored in AF or ADM, which can be understood as the first tag device side pre-configuring the first policy.
[0172] Further optionally, after the first tag device responds to the paging message, i.e., after the reader is randomly accessed, the following step S406 can also be performed.
[0173] S407, the first tag device reports its identification information to AIoTF via the reader.
[0174] Corresponding to the description in S401, if the service type included in the first request message from AF is an inventory operation, then AIoTF will not perform any other operations; or, if the service type included in the first request message from AF is a command operation, then AIoTF can also execute S408 to S409.
[0175] S408, AIoTF sends a fourth request message to the first tag device through the reader.
[0176] The fourth request message includes a command operation instruction, which can also be understood as a command request message. Optionally, the command operation instruction corresponds to a read operation or a write operation. If the command operation instruction corresponds to a write operation, the fourth request message also includes data to be written to the first tag device, such as denoted as data #1. It is understood that if the command operation instruction corresponds to a read operation, the fourth request message does not include data #1.
[0177] S409, the first tag device sends a first response message to the AIoTF via the reader. This first response message is used to respond to the fourth request message.
[0178] Corresponding to the description in S408, if the command operation indicates a read operation, the first tag device may carry data #2 in the first response message. If the command operation indicates a write operation, the first tag device does not carry data #2 in the first response message.
[0179] S410, AIoTF sends a second response message to AF, which is used to respond to the first request message.
[0180] The second response message may indicate that the AIoTF has performed an inventory operation or a command operation according to the service type indicated by the AF. The second response message carries the identification information of the first tag device. Optionally, if the service type indicated by the AF is a read operation in a command operation, the second response message may also include data #2 reported by the first tag device.
[0181] In the above scheme, AIoTF determines the identification information for paging tag devices based on the policy information obtained from ADM or AF, which can prevent inventory omissions while protecting the privacy of tag devices.
[0182] like Figure 5 The illustrated communication method mainly includes the following steps.
[0183] S501, AF sends the first request message to AIoTF.
[0184] This step can be understood with reference to S401, and will not be described in detail in this embodiment.
[0185] S502, AIoTF obtains policy information.
[0186] This step can be understood with reference to S402, and will not be described in detail in this embodiment.
[0187] Furthermore, the AIoTF can trigger the reader to send a paging message, which carries identification information for paging the tag device. This identification information needs to conform to the policy corresponding to the tag device to be paged, so that the tag device receives the paging message and determines whether to respond to the paging message based on the identification information in the paging message. For example, taking the paging tag device as the first tag device among at least one tag device as an example, the following steps S503 to S506 can be used for understanding.
[0188] S503, AIoTF determines the first identification information based on the first request message and the first policy.
[0189] The first strategy includes one or more strategies from the aforementioned strategy information. This step can be understood with reference to S403, and will not be described in detail in this embodiment.
[0190] S504, AIoTF sends a second request message to the reader.
[0191] The second request message carries first identification information, which conforms to the first strategy.
[0192] S505, the reader sends a paging message, and the first tag device receives the paging message.
[0193] This step can be understood by referring to the description in S301, and will not be repeated in this embodiment.
[0194] S506, the first tag device responds to the paging message when it determines that the first identification information conforms to the first strategy and the identification information of the first tag device matches the first identification information.
[0195] This step can be understood by referring to the description in S303, and will not be repeated in this embodiment.
[0196] Furthermore, it can be understood that the first tag device side pre-configures the policy corresponding to the first tag device, and the policy corresponding to the first tag device is the same as the first policy stored in AF or ADM, which can be understood as the first tag device side pre-configuring the first policy.
[0197] After the first tag device responds to the paging message, i.e., after the reader is randomly accessed, the following step S507 can also be performed.
[0198] S507, the first tag device reports its identification information to AIoTF through the reader.
[0199] The AF / ADM and tag device sides can also update policy information. Taking updating the first policy to the second policy as an example... Figure 5 The illustrated method also includes the following optional steps S508 to S511.
[0200] S508, AIoTF determines the first policy update based on the identification information of the first tag device.
[0201] S509, AIoTF sends a command request message to the first tag device through the reader.
[0202] The command request message can use a specific type value to indicate updating the first strategy, or it can use independent indication information to indicate updating the first strategy. This command request message is used to update the first strategy to the second strategy.
[0203] In one possible implementation, the command request message carries update information for the first policy, which is used to update the first policy to the second policy. For example, the update information for the first policy indicates that the maximum allowed character length (or bit length) for the tag device response is updated from a first value to a second value. The difference between the second policy and the first policy is the maximum allowed character length (or bit length) for the tag device response. For example, if the first value is 5 and the second value is 6, and the identification information is 1234*, the identification information conforms to both the first and second policies; or, if the identification information is 12345*, the identification information conforms to both the first and second policies; while if the identification information is 123456*, the identification information does not conform to the first policy, but conforms to the second policy.
[0204] In another possible implementation, the command request message carries a second strategy.
[0205] S510, the first tag device updates and stores the second policy.
[0206] For example, if the command request message carries update information of the first policy, the first tag device can update the first policy to the second policy according to the update information of the first policy after the command request message passes the integrity check, and store the second policy; or, if the command request message carries the second policy, it can directly replace the first policy with the second policy and store the second policy.
[0207] S511, AIoTF sends a notification message to AF / ADM.
[0208] Specifically, if the notification message indicates that the first tag device has completed the command, that is, the first tag device has completed the policy update, then the AF / ADM updates the policy information stored locally; or, if the notification message indicates that the first tag device has not completed the command, that is, the first tag device has not completed the policy update, then the AF / ADM does not update the policy information stored locally.
[0209] In the above scheme, AIoTF determines the identification information for paging tag devices based on policy information obtained from ADM or AF, thus protecting tag device privacy and preventing inventory omissions. Furthermore, providing a policy update scheme facilitates the management of policies corresponding to tag devices.
[0210] Based on the same concept, see [link / reference] Figure 6This application provides a communication device 600, which includes a processing module 601 and a communication module 602. The communication device 600 can be a tag device, or a communication device applied to or used in conjunction with a tag device, capable of implementing a communication method executed on the tag device side; alternatively, the communication device 600 can be a reader, or a communication device applied to or used in conjunction with a reader, capable of implementing a communication method executed on the reader side; or alternatively, the communication device 600 can be a core network element (such as AIoTF, AF, ADM, UDM / UDR), or a communication device applied to or used in conjunction with a core network element, capable of implementing a communication method executed on the core network element side.
[0211] A module can also be called a transceiver module, transceiver, transceiver unit, or transceiver device, etc. A processing module can also be called a processor, processing board, processing unit, or processing device, etc. Optionally, the communication module is used to perform the sending and receiving operations on the tag device side or reader side in the above method. The device in the communication module that implements the receiving function can be considered a receiving unit, and the device in the communication module that implements the sending function can be considered a sending unit; that is, the communication module includes a receiving unit and a sending unit.
[0212] When the communication device 600 is applied to a tag device, the processing module 601 can be used to implement... Figures 3 to 5 The communication module 602 can be used to implement the processing functions of the tag device in any of the examples described. Figures 3 to 5 The transmit and receive functions of the tag device in any of the examples described.
[0213] When the communication device 600 is applied to a reader, the processing module 601 can be used to implement... Figures 3 to 5 The communication module 602 can be used to implement the processing functions of the reader in any of the examples described. Figures 3 to 5 The send and receive functions of the reader in any of the examples described.
[0214] When the communication device 600 is applied to the core network element side, the processing module 601 can be used to implement... Figures 3 to 5 The core network element processing function in any of the examples described herein, the communication module 602 can be used to implement. Figures 3 to 5 The transmit and receive functions of the core network element in any of the examples described.
[0215] Furthermore, it should be noted that in one possible design, the aforementioned communication module and / or processing module can be implemented through virtual modules. For example, the processing module can be implemented through software functional units or virtual devices, and the communication module can be implemented through software functions or virtual devices. In another possible design, the processing module or communication module can also be implemented through physical devices. For example, if the device is implemented using a chip / chip circuit, the communication module can be an input / output circuit and / or a communication interface, performing input operations (corresponding to the aforementioned receiving operation) and output operations (corresponding to the aforementioned sending operation); the processing module is an integrated processor, microprocessor, or integrated circuit.
[0216] The module division in this embodiment is illustrative and represents only one logical functional division; in actual implementation, other division methods may be used. Furthermore, the functional modules in the various examples of this embodiment can be integrated into a single processor, exist as separate physical entities, or be integrated into a single module. The integrated modules described above can be implemented in hardware or as software functional modules.
[0217] Based on the same technical concept, embodiments of this application also provide a communication device 700. For example, the communication device 700 may be a chip or a chip system. Optionally, in embodiments of this application, the chip system may be composed of chips, or may include chips and other discrete devices.
[0218] The communication device 700 can be used to implement the function of any network element in the communication system described in the foregoing examples. The communication device 700 may include at least one processor 710. Optionally, the processor 710 is coupled to a memory, which may be located within the device; or the memory may be integrated with the processor; or the memory may be located outside the device. For example, the communication device 700 may also include at least one memory 720. The memory 720 stores the computer programs, computer programs or instructions, and / or data necessary for implementing any of the above examples; the processor 710 may execute the computer programs stored in the memory 720 to complete the methods in any of the above examples.
[0219] The communication device 700 may also include a communication interface 730, through which the communication device 700 can interact with other devices. For example, the communication interface 730 may be a transceiver, circuit, bus, module, pin, or other type of communication interface. When the communication device 700 is a chip-based device or circuit, the communication interface 730 may also be an input / output circuit, capable of inputting information (or receiving information) and outputting information (or sending information). The processor may be an integrated processor, microprocessor, integrated circuit, or logic circuit, and the processor can determine the output information based on the input information.
[0220] The coupling in this embodiment is an indirect coupling or communication connection between devices, units, or modules, which can be electrical, mechanical, or other forms, used for information exchange between devices, units, or modules. The processor 710 may operate in conjunction with the memory 720 and the communication interface 730. This embodiment does not limit the specific connection medium between the processor 710, the memory 720, and the communication interface 730.
[0221] Optional, see Figure 7 The processor 710, the memory 720, and the communication interface 730 are interconnected via a bus 740. The bus 740 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.
[0222] In the embodiments of this application, the processor may be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components, capable of implementing or executing the methods, steps, and logic block diagrams of the embodiments of this application. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods in the embodiments of this application can be directly manifested as being executed by a hardware processor, or executed by a combination of hardware and software modules within the processor.
[0223] In the embodiments of this application, the memory can be non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SSD), or it can be volatile memory, such as random-access memory (RAM). Memory is any other medium capable of carrying or storing desired program code in the form of instructions or data structures, and accessible by a computer, but is not limited thereto. The memory in the embodiments of this application can also be a circuit or any other device capable of implementing storage functions, used to store program instructions and / or data.
[0224] In one possible implementation, the communication device 700 can be applied to a tag device. Specifically, the communication device 700 can be a tag device itself, or it can be any device capable of supporting the tag device and implementing the functions of the tag device in any of the examples described above. The memory 720 stores computer programs (or instructions) and / or data that implement the functions of the tag device in any of the examples described above. The processor 710 can execute the computer program stored in the memory 720 to perform the methods executed by the tag device in any of the examples described above. When the communication device is applied to a tag device, the communication interface in the communication device 700 can be used to interact with a reader, sending information to or receiving information from the reader.
[0225] In one possible implementation, the communication device 700 can be applied to a core network element (such as AIoTF, AF, ADM, UDM / UDR). Specifically, the communication device 700 can be a core network element or a device capable of supporting a core network element and implementing the functions of the core network element in any of the examples mentioned above. The memory 720 stores computer programs (or instructions) and / or data that implement the functions of the core network element in any of the examples mentioned above. The processor 710 can execute the computer program stored in the memory 720 to complete the method executed by the core network element in any of the examples mentioned above. When the communication device is applied to a core network element, the communication interface in the communication device 700 can be used to interact with other network elements or readers, such as sending information to other network elements or readers, or receiving information from other network elements or readers.
[0226] In another possible implementation, the communication device 700 can be applied to a reader. Specifically, the communication device 700 can be a reader itself, or it can be any device capable of supporting the reader and implementing the functions of the reader in any of the examples described above. The memory 720 stores computer programs (or instructions) and / or data that implement the functions of the reader in any of the examples described above. The processor 710 can execute the computer program stored in the memory 720 to perform the methods executed by the reader in any of the examples described above. When the communication device is applied to a reader, the communication interface in the communication device 700 can be used to interact with tag devices or core network elements, such as sending information to core network elements or tag devices, or receiving information from core network elements or tag devices.
[0227] Since the communication device 700 provided in this example can be applied to a reader to complete the method executed on the reader side, or applied to a tag device to complete the method executed on the tag device side, or applied to a core network element to complete the method executed on the core network element side, the technical effects it can achieve can be referred to the above method example, and will not be repeated here.
[0228] The technical solutions provided in this application can be implemented, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented using software, they can be implemented, in whole or in part, in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a terminal device, a reader, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available media may be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., digital video discs (DVDs)), or semiconductor media, etc.
[0229] In the embodiments of this application, examples can be referenced to each other without logical contradictions. For example, methods and / or terms between method embodiments can be referenced to each other, functions and / or terms between device embodiments can be referenced to each other, and functions and / or terms between device examples and method examples can be referenced to each other.
[0230] Obviously, those skilled in the art can make various modifications and variations to the embodiments of this application without departing from the scope of the embodiments of this application. Therefore, if these modifications and variations to the embodiments of this application fall within the scope of the claims of the embodiments of this application and their equivalents, the embodiments of this application are also intended to include these modifications and variations.
Claims
1. A communication method, characterized in that, Applied to tagging devices, including: Receive a paging message from the reader, the paging message including first identification information; If the first identification information conforms to the first policy, the paging message is responded to; the first policy indicates information that allows and / or disallows the tag device to respond.
2. The method as described in claim 1, characterized in that, The first identification information conforms to the first policy, including one or more of the following: The first policy indicates one or more of the following: The first policy indicates a first field that allows the tag device to respond, and the first identification information includes the first field; The first policy indicates that the tag device is not allowed to respond to the second field, and the second field is not included in the first identification information; The first strategy indicates a range of character lengths that the tag device is allowed to respond to, and the number of consecutive characters in the first identification information conforms to the character length range; The first strategy indicates a range of the number of characters that the tag device is allowed to respond to, and the number of characters in the first identification information conforms to the range of the number of characters.
3. The method as described in claim 2, characterized in that, The character length range indicates the maximum and / or minimum character length.
4. The method according to any one of claims 1-3, characterized in that, The first strategy is pre-configured.
5. The method according to any one of claims 1-4, characterized in that, Also includes: If the first identification information conforms to the first strategy and the identification information of the tag device matches the first identification information, the paging message is responded to.
6. The method according to any one of claims 1-5, characterized in that, Also includes: A command request message is received, the command request message including update information of the first policy or the second policy, the command request message being used to update the first policy to the second policy.
7. A communication method, characterized in that, Applied to core network elements, including: Receive a first request message, the first request message being used to request information about at least one tag device; According to the first request message and the first policy, a second request message is sent to the reader. The second request message is used to request information from the first tag device. The at least one tag device includes the first tag device. The second request message includes first identification information that conforms to the first policy. The first policy indicates whether the tag device is allowed or not allowed to respond to the information.
8. The method as described in claim 7, characterized in that, The first identification information conforms to the first policy, including one or more of the following: The first policy indicates one or more of the following: The first policy indicates a first field that allows the tag device to respond, and the first identification information includes the first field; The first policy indicates that the tag device is not allowed to respond to the second field, and the second field is not included in the first identification information; The first strategy indicates a range of character lengths that the tag device is allowed to respond to, and the number of consecutive characters in the first identification information conforms to the character length range; The first strategy indicates a range of the number of characters that the tag device is allowed to respond to, and the number of characters in the first identification information conforms to the range of the number of characters.
9. The method as described in claim 8, characterized in that, The character length range indicates the maximum and / or minimum character length.
10. The method according to any one of claims 7-9, characterized in that, The first strategy is pre-configured.
11. The method according to any one of claims 7-9, characterized in that, Also includes: Receive the first strategy.
12. The method according to any one of claims 7-11, characterized in that, The first strategy corresponds to the first tag device; or, the first strategy corresponds to the tag device group to which the first tag device belongs.
13. The method according to any one of claims 7-12, characterized in that, Also includes: Send a command request message, the command request message including update information of the first policy or the second policy, the command request message being used to update the first policy to the second policy.
14. A communication device, characterized in that, Includes a module for performing the method as described in any one of claims 1-6.
15. A communication device, characterized in that, Includes a module for performing the method as described in any one of claims 7-13.
16. A communication device, characterized in that, include: A processor coupled to a memory for storing computer programs or instructions, the processor for executing the computer programs or instructions to implement the method as described in any one of claims 1-13.
17. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program or instructions that, when executed on a computer, implement the method as described in any one of claims 1-13.
18. A computer program product, characterized in that, Includes computer execution instructions, which, when executed on a computer, cause the computer to perform the method as described in any one of claims 1-13.
