Internet of Things communication method and device, equipment, storage medium and product

By using directional communication instructions and orthogonal resource management in IoT communication, the problem of low communication efficiency between RFID devices and tags is solved, and efficient data communication and resource management are achieved.

CN119324721APending Publication Date: 2025-01-17GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310850424.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-11
Publication Date
2025-01-17

AI Technical Summary

Technical Problem

In the field of Internet of Things technology, when RFID devices communicate with tags in data, the prior art needs to gradually narrow the scope of tags through a combination of multiple commands, resulting in low data communication efficiency.

Method used

By sending directional communication instructions, including tag information of the target tag, the radio frequency identification device can accurately locate and communicate with the designated tag, and when receiving the data transmission instructions, it determines orthogonal resources to avoid transmission resource conflicts of multiple tags. Implement multiple tags to transmit data simultaneously.

Benefits of technology

It improves the efficiency and performance of IoT communication, simplifies the label determination process, avoids transmission resource conflicts, and improves system capacity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119324721A_ABST
    Figure CN119324721A_ABST
Patent Text Reader

Abstract

The invention provides an Internet of Things communication method and device, equipment, a storage medium and a product, and belongs to the technical field of Internet of Things. The method is executed by a radio frequency identification device, and the method comprises the steps that a directional communication instruction is sent, the directional communication instruction comprises label information of a target label, and the directional communication instruction is used for data communication between the radio frequency identification device and the specified target label. In the embodiment of the invention, the directional communication instruction comprises the label information of the target label, so that the label can be accurately positioned through the directional communication instruction, namely, the performance and efficiency of data communication are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of Internet of Things, and in particular to an Internet of Things communication method, device, equipment, storage medium and product. Background Art

[0002] In the field of Internet of Things technology, IoT devices use Radio Frequency Identification (RFID) technology to communicate. An RFID tag (referred to as a tag) is set in an IoT device so that the RFID device can communicate data with the tag. For example, a tag is set on a package, and the RFID device can communicate with the tag to obtain relevant information about the package.

[0003] Before the RFID device communicates with the tag, it needs to determine the tag to be communicated with by addressing. In the related art, the RFID device can gradually narrow the range of tags through the combination of multiple commands, and finally determine the tag to be communicated with, which leads to low efficiency of data communication. Summary of the invention

[0004] The embodiments of the present application provide an Internet of Things communication method, device, equipment, storage medium and product, which can improve the efficiency of Internet of Things communication. The technical solution is as follows:

[0005] In one aspect, an Internet of Things communication method is provided, which is performed by a radio frequency identification device, and the method comprises:

[0006] A directional communication instruction is sent, wherein the directional communication instruction includes tag information of a target tag, and the directional communication instruction is used for the radio frequency identification device to perform data communication with the designated target tag.

[0007] On the other hand, an Internet of Things communication method is provided, the method comprising:

[0008] receiving a data transmission instruction sent by a radio frequency identification device, wherein the data transmission instruction includes tag information of a target tag to be communicated;

[0009] In a case where the tag information included in the data transmission instruction is the tag information of the data transmission instruction, determining orthogonal resources, where the orthogonal resources are used for multiple tags to transmit communication data simultaneously and avoid conflicts in the transmission resources of the multiple tags;

[0010] Based on the orthogonal resource, first communication data is sent to the radio frequency identification device. On the other hand, an Internet of Things communication device is provided, which is applied to a radio frequency identification device, and the device includes:

[0011] The first sending module is used to send a directional communication instruction, wherein the directional communication instruction includes tag information of a target tag, and the directional communication instruction is used for the radio frequency identification device to perform data communication with the specified target tag.

[0012] On the other hand, an Internet of Things communication device is provided, the device comprising:

[0013] A second receiving module, used to receive a data transmission instruction sent by the radio frequency identification device, wherein the data transmission instruction includes tag information of a target tag to be communicated;

[0014] A determination module, configured to determine, when the tag information included in the data transmission instruction is the tag information of the data transmission instruction, an orthogonal resource, wherein the orthogonal resource is used for multiple tags to transmit communication data simultaneously and avoid conflicts in the transmission resources of the multiple tags;

[0015] The third sending module is configured to send first communication data to the radio frequency identification device based on the orthogonal resources.

[0016] On the other hand, a radio frequency identification device is provided, which includes a processor and a memory, wherein at least one program code is stored in the memory, and the at least one program code is loaded and executed by the processor to implement the above-mentioned Internet of Things communication method.

[0017] On the other hand, a tag is provided, comprising a processor and a memory, wherein at least one program code is stored in the memory, and the at least one program code is loaded and executed by the processor to implement the above-mentioned Internet of Things communication method.

[0018] On the other hand, a computer-readable storage medium is provided, in which at least one program code is stored. The at least one program code is loaded and executed by a processor to implement the above-mentioned Internet of Things communication method.

[0019] On the other hand, a computer program product is provided, wherein the computer program product stores at least one program code, and the at least one program code is used to be executed by a processor to implement the above-mentioned Internet of Things communication method.

[0020] In the embodiment of the present application, the directional communication instruction includes the tag information of the target tag, so that the tag can be accurately located through the directional communication instruction, which improves the performance and efficiency of data communication. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 A schematic diagram showing an implementation environment of an Internet of Things communication method shown in an exemplary embodiment of the present application is shown;

[0022] Figure 2 A flowchart of an Internet of Things communication method shown in an exemplary embodiment of the present application is shown;

[0023] Figure 3 A flowchart of an Internet of Things communication method shown in an exemplary embodiment of the present application is shown;

[0024] Figure 4 A flowchart of an Internet of Things communication method shown in an exemplary embodiment of the present application is shown;

[0025] Figure 5 A flowchart of an Internet of Things communication method shown in an exemplary embodiment of the present application is shown;

[0026] Figure 6 A flowchart of an Internet of Things communication method shown in an exemplary embodiment of the present application is shown;

[0027] Figure 7 A flowchart of an Internet of Things communication method shown in an exemplary embodiment of the present application is shown;

[0028] Figure 8 A flowchart of an Internet of Things communication method shown in an exemplary embodiment of the present application is shown;

[0029] Fig. 9 A flowchart of an Internet of Things communication method shown in an exemplary embodiment of the present application is shown;

[0030] Fig.10 A flowchart of an Internet of Things communication method shown in an exemplary embodiment of the present application is shown;

[0031] Fig.11 A flowchart of an Internet of Things communication method shown in an exemplary embodiment of the present application is shown;

[0032] Fig.12 A flowchart of an Internet of Things communication method shown in an exemplary embodiment of the present application is shown;

[0033] Fig.13 A flowchart of an Internet of Things communication method shown in an exemplary embodiment of the present application is shown;

[0034] Fig.14 A flowchart of an Internet of Things communication method shown in an exemplary embodiment of the present application is shown;

[0035] Fig.15 A flowchart of an Internet of Things communication method shown in an exemplary embodiment of the present application is shown;

[0036] Fig.16 A flowchart of an Internet of Things communication method shown in an exemplary embodiment of the present application is shown;

[0037] Fig.17 A flowchart of an Internet of Things communication method shown in an exemplary embodiment of the present application is shown;

[0038] Fig.18 A flowchart of an Internet of Things communication method shown in an exemplary embodiment of the present application is shown;

[0039] Fig.19 A flowchart of an Internet of Things communication method shown in an exemplary embodiment of the present application is shown;

[0040] Fig. 20 A flowchart of an Internet of Things communication method shown in an exemplary embodiment of the present application is shown;

[0041] Fig.21 A block diagram of an Internet of Things communication device shown in an exemplary embodiment of the present application is shown;

[0042] Fig. 22 A block diagram of an Internet of Things communication device shown in an exemplary embodiment of the present application is shown;

[0043] Fig.23 A block diagram of a radio frequency identification device shown in an exemplary embodiment of the present application is shown;

[0044] Fig.24 A block diagram of a computer device according to an exemplary embodiment of the present application is shown. DETAILED DESCRIPTION

[0045] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0046] The term "multiple" as used herein refers to two or more than two. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects are in an "or" relationship.

[0047] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions. For example, the tag information and communication data involved in this application are all obtained with full authorization.

[0048] Please refer to Figure 1, which shows a schematic diagram of an implementation environment of an Internet of Things communication method shown in an exemplary embodiment of the present application. Figure 1 The implementation environment includes: a radio frequency identification device 101 and a plurality of tags 102. The tags may be RFID tags, and data communication is performed between the tags and the radio frequency identification device 101. The tags 102 may be set on a package, a commodity, a vehicle, a terminal device or an environmental element. The environmental element may be a tree, grass or flower, etc. The radio frequency identification device 101 may be an interrogator or a reader.

[0049] In some embodiments, the present application can be applied in the field of logistics, and the tag 102 can be set on the package, and the RFID device 101 communicates with the tag on the package to track the logistics information of the package. In some embodiments, the present application is applied in the field of inventory management, and the tag 102 can be set on the commodity, and the RFID device 101 communicates with the tag on the commodity to manage the inventory of the commodity. In some embodiments, the present application is applied in the field of transportation, and the tag 102 can be set on the vehicle, and the RFID device 101 communicates with the tag on the vehicle to manage the vehicle; for example, to obtain the status information of the vehicle; for example, to obtain the location information of the vehicle. In some embodiments, the present application is applied in the field of equipment management, and the tag 102 can be set on the terminal device; for example, the tag is set on a mobile phone or a tablet computer, and the RFID device 101 communicates with the tag on the terminal device to manage the terminal device. In some embodiments, the present application is applied in the field of environmental monitoring, and the tag 102 can be set on an environmental element, and the RFID device 101 communicates with the tag on the environmental element to obtain the environmental information of the environment where the tag is located, so as to detect the environment.

[0050] Please refer to Figure 2 , which shows a flow chart of an Internet of Things communication method shown in an exemplary embodiment of the present application. The method is executed by a radio frequency identification device, and the method includes:

[0051] Step 201: Send a directional communication instruction, the directional communication instruction includes tag information of a target tag, and the directional communication instruction is used for the radio frequency identification device to communicate with the designated target tag.

[0052] The tag information of the target tag includes at least one of the following information: a group identifier, a tag identifier, and attribute information of the target tag. The group identifier of the target tag may be one or more; for example, if the directional communication instruction includes the group identifier of a target tag, the directional communication instruction is used for the radio frequency identification device to communicate with a specified target tag; for another example, if the directional communication instruction includes the group identifiers of multiple target tags, the directional communication instruction is used for the radio frequency identification device to communicate with multiple specified target tags.

[0053] The tag identifier can be an intra-group identifier or a non-intra-group identifier. In the case where the tag information of the target tag includes a group identifier and a tag identifier, the tag identifier is the intra-group identifier. Tags with the same group identifier belong to the same device group, that is, the group identifiers of tags in the same device group are the same, but the intra-group identifiers are different. In addition, tags in the same device group can have different attribute information. The group identifier can be a binary or hexadecimal string; for example, the group identifier of a tag can be "0x789abc"; the intra-group identifier can also be a binary or hexadecimal string; for example, the intra-group identifier of a tag can be "0x569edf". The attribute information can be used to indicate the power supply type of the tag; for example, the attribute information can be [mains power supply, battery power supply, no power supply]; the attribute information can also be used to indicate the data transmission rate of the tag; for example, the attribute information can be [low data rate, medium data rate, high data rate]; the attribute information can also be used to indicate the type of the tag; for example, the attribute information can be [fixed terminal, low-speed mobile terminal, high-speed mobile terminal].

[0054] In some embodiments, when the tag information of the target tag includes a group identifier, the group identifier is a first target identifier, a group identifier mask, or a group identifier range, and the first target identifier is used to indicate tags of multiple groups in the Internet of Things system; for example, the first target identifier is used to indicate tags of all groups in the Internet of Things system.

[0055] The mask is a string of binary codes that performs a bitwise AND operation on the target field to mask the current input bit; correspondingly, the group identifier mask is a string of binary codes that performs a bitwise AND operation on the group identifier to mask the current group identifier; the group identifier mask can limit a group identifier range, which is the group identifier range that satisfies the group identifier mask, that is, the group identifier mask will correspond to a group identifier range; for example, the Internet of Things system includes multiple groups, and the group identifiers of the groups range from "0xab0000" to "0xabffff". When the group identifier mask is "0xab0000", the group identifier mask is used to indicate the selection of the group with group identifiers from "0xab0000" to "0xabffff"; for another example, the Internet of Things system includes multiple groups, and the group identifiers of the groups range from "0xab0000" to "0xab00ff". When the group identifier mask is "0xab0000", the group identifier mask is used to indicate the selection of the group with group identifiers from "0xab0000" to "0xab00ff". In addition, the first field in the directional communication instruction is set to a first value, and the first value is used to indicate that the group identification mask is enabled. The first value can be 1, and the first field can be a field marking whether the group identification mask is enabled. In an embodiment of the present application, inputting a group identification mask can realize selecting a label of the group identification range corresponding to the group identification mask, that is, selecting a label by the group identification mask can improve convenience.

[0056] The group identification range is a user-defined group identification range, for example, the user-defined group identification range is [0xab0020, 0xab0040], that is, the group identification lower limit of the group identification range is 0xab0020, and the group identification upper limit is 0xab0040, then the group identification range [0xab0020, 0xab0040] is used to indicate the group whose group identification is within the group identification range. In an embodiment of the present application, the user can customize the group identification range to improve flexibility.

[0057] In some embodiments, when the tag information of the target tag includes a tag identifier, the tag identifier is a second target identifier, a tag identifier mask, or a tag identifier range, and the second target identifier is used to indicate multiple tags in the Internet of Things system; for example, the second target identifier is used to indicate all tags in the Internet of Things system.

[0058] The mask is a string of binary codes that performs a bitwise AND operation on the target field to mask the current input bit; correspondingly, the tag identification mask is a string of binary codes that performs a bitwise AND operation on the group identification to mask the current group identification; the tag identification mask can limit a tag identification range, and the group identification range is the tag identification range that satisfies the tag identification mask, that is, the tag identification mask will correspond to a tag identification range. In addition, when the tag information of the target tag includes the group identification and the tag identification, the tag identification mask can be an intra-group identification mask. For example, for a certain group, the group includes tags with group identifications ranging from "0xab0000" to "0xabffff", and when the group identification mask is "0xab0000", the group identification mask is used to indicate the selection of tags with group identifications ranging from "0xab0000" to "0xabffff"; for another example, for a certain group, the group includes tags with group identifications ranging from "0xab0000" to "0xab00ff", and when the group identification mask is "0xab0000", the group identification mask is used to indicate the selection of tags with group identifications ranging from "0xab0000" to "0xab00ff". In addition, the second field in the directional communication instruction is set to a first value, and the second value is used to indicate that the group identification mask is enabled. The first value may be 1, and the second field may be a field marking whether the tag identification mask is enabled. In the embodiment of the present application, inputting an intra-group identification mask can realize selecting a label of the identification range corresponding to the intra-group identification mask, that is, selecting a label by using the intra-group identification mask can improve convenience.

[0059] The tag identification range is a user-defined identification range. For example, the user-defined tag identification range is [0xab0020, 0xab0040], that is, the tag identification lower limit of the tag identification range is 0xab0020, and the tag identification upper limit is 0xab0040. Then the tag identification range [0xab0020, 0xab0040] is used to indicate the selection of tags with tag identifications within the tag identification range. In an embodiment of the present application, the user can customize the tag identification range to improve flexibility.

[0060] In some embodiments, the directional communication instruction is a tag addressing instruction, and the tag addressing instruction is used for the designated target tag to return a confirmation message to the radio frequency identification device, and the confirmation message is used to indicate that the target tag has received the tag addressing instruction and can perform subsequent data communication processes. For example, for any tag in the Internet of Things system, when the tag receives a directional communication instruction, the tag determines whether it is the designated target tag based on the tag information of the target tag included in the directional communication instruction. When the tag determines that it is the designated target tag, the tag is the target tag, and the target tag sends a confirmation message to the radio frequency identification device; when the tag determines that it is not the designated target tag, the tag does not respond to the directional communication instruction.

[0061] In some embodiments, the RFID device sends a directional communication instruction by broadcasting; or, the RFID device sends a directional communication instruction in a direction. Specifically, sending a directional communication instruction in a direction refers to sending a directional communication instruction in a target direction of the RFID device, and the target direction can be any direction; for example, the target direction can be directly in front of, directly behind, diagonally in front of, or diagonally behind the RFID device. The RFID device can determine the method for sending the directional communication instruction based on the current demand information; for example, a tag is set on a package, and the demand indicated by the demand information is used to obtain the package information of all packages in the warehouse, then the RFID device sends the directional communication instruction by broadcasting. For another example, a tag is set on a package, and packages in different regions are placed in different locations in the warehouse, and the demand indicated by the demand information is used to obtain the package information of the target area in the warehouse, then the RFID device determines the target direction where the packages in the target area are located, and sends a directional communication instruction in the target direction.

[0062] In the embodiment of the present application, the directional communication instruction includes the tag information of the target tag, so that the tag can be accurately located through the directional communication instruction, which improves the performance and efficiency of data communication.

[0063] Please refer to Figure 3 , which shows a flow chart of an Internet of Things communication method shown in an exemplary embodiment of the present application. The method includes:

[0064] Step 301: The RFID device determines a group identifier of a group set.

[0065] The group set includes at least one group; accordingly, the group identifier of the group set may be the group identifier of the at least one group.

[0066] Step 302: The RFID device sends a directional communication instruction, which includes a group identifier of a group set.

[0067] The RFID device sends a directional communication instruction by broadcasting; or the RFID device sends a directional communication instruction in a directional manner, that is, the RFID device sends a directional communication instruction in the target direction of the RFID device. The directional communication instruction can be a select group signal, and the third field in the directional communication instruction is set to a first value (for example, the first value is 1), and the first value is used to indicate that the directional communication instruction is a select group signal, that is, the identifier included in the directional communication instruction is a group identifier, so that the tag can distinguish and verify whether it is the tag to be addressed.

[0068] Step 303: The target tag receives the directional communication instruction.

[0069] All tags in the IoT system monitor directional communication instructions and may receive directional communication instructions. In the embodiment of the present application, the process of data communication between the RFID device and the target tag is described; therefore, for the convenience of description, the tag that receives the directional communication instruction is called the target tag.

[0070] Step 304: When the group identifier of the group set included in the directional communication instruction is its own group identifier, the target tag sends a confirmation message to the radio frequency identification device, and the confirmation message includes the group identifier of the target tag.

[0071] The confirmation message may also include the intra-group identifier of the target tag. For any tag in the IoT system, after receiving the directional communication instruction, the tag determines whether the group identifier of the group set included in the directional communication instruction is its own group identifier; if the group identifier of the group set included in the directional communication instruction is its own group identifier, the tag is the target tag, and the target tag sends a confirmation message to the RFID device. If the group identifier of the group set included in the directional communication instruction is not its own group tag, the directional communication instruction is discarded.

[0072] Step 305: The RFID device receives the confirmation message sent by the target tag and determines the group identifier of the target tag.

[0073] In some embodiments, the RFID device obtains the group identifier of the target tag from the confirmation message, and then executes step 306; in other embodiments, the RFID device obtains the group identifier of the target tag from the confirmation message, and determines whether the target tag belongs to a group in the group set based on the group identifier of the target tag and the group identifier of the group set. Step 306 is performed only when the target tag belongs to a group in the group set; when the target tag does not belong to a group in the group set, the confirmation message is discarded, so that the RFID device verifies the target tag at the local end, can filter out the impersonated target tag, and improve the security of the data communication. In addition, when the confirmation message also includes the intra-group identifier of the target tag, and the RFID device determines that the target tag does not belong to a group in the group set, the group identifier + intra-group identifier of the target tag can also be added to the blacklist, and the tag is subsequently verified based on the blacklist after receiving the confirmation message of the tag. Alternatively, when the RFID device determines that the target tag does not belong to a group in the group set, the confidence of the target tag can also be reduced. When the confidence of the target tag is lower than the preset confidence, the group identifier + intra-group identifier of the target tag is added to the blacklist.

[0074] Step 306: The RFID device communicates with the target tag based on the group identifier of the target tag.

[0075] The radio frequency identification device sends a data transmission instruction, which includes the group identifier of the target tag; when the target tag receives the data transmission instruction and determines that the group identifier included in the data transmission instruction is its own group identifier, it sends first communication data to the radio frequency identification device; the radio frequency identification device receives the first communication data sent by the target tag.

[0076] In the embodiment of the present application, the directional communication instruction includes the group identifier of the target tag, so that the tag of the group corresponding to the group identifier can be accurately located through the directional communication instruction, which improves the performance and efficiency of data communication.

[0077] Please refer to Figure 4 , which shows a flow chart of an Internet of Things communication method shown in an exemplary embodiment of the present application. The method includes:

[0078] Step 401: The RFID device determines a group identification mask of a group set.

[0079] The group set includes at least one group, and the group identification mask of the group set is the group identification mask of the at least one group. The mask is a string of binary codes that performs a bitwise AND operation on the target field to mask the current input bit; correspondingly, the group identifier mask is a string of binary codes that performs a bitwise AND operation on the group identifier to mask the current group identifier; the group identifier mask can limit a group identifier range, which is the group identifier range that satisfies the group identifier mask, that is, the group identifier mask will correspond to a group identifier range; for example, the Internet of Things system includes multiple groups, and the group identifiers of the groups range from "0xab0000" to "0xabffff". When the group identifier mask is "0xab0000", the group identifier mask is used to indicate the selection of the group with group identifiers from "0xab0000" to "0xabffff"; for another example, the Internet of Things system includes multiple groups, and the group identifiers of the groups range from "0xab0000" to "0xab00ff". When the group identifier mask is "0xab0000", the group identifier mask is used to indicate the selection of the group with group identifiers from "0xab0000" to "0xab00ff".

[0080] Step 402: The RFID device sends a directional communication instruction, which includes a group identification mask of a group set.

[0081] The way in which the radio frequency identification device sends a directional communication instruction is the same as step 302, and will not be repeated here. In addition, the directional communication instruction in this step can also be a select group signal, but the first field in the select group signal is set to a first value, and the first value is used to indicate that the group identification mask is enabled. The first value can be 1, and the first field can be a field that marks whether the group identification mask is enabled. In an embodiment of the present application, by indicating that the device group mask is enabled in a specific information field in the select group signal, it is convenient for the tag to distinguish and verify whether it is the tag to be addressed, thereby improving accuracy. Moreover, in an embodiment of the present application, by inputting a group identification mask, it is possible to select a tag in the group identification range corresponding to the group identification mask, that is, selecting a tag by using a group identification mask can improve convenience.

[0082] Step 403: The target tag receives the directional communication instruction.

[0083] In some embodiments, this step is the same as step 303 and will not be repeated here.

[0084] Step 404: When the group identification mask included in the directional communication instruction is its own group identification mask, the target tag sends a confirmation message to the radio frequency identification device, and the confirmation message includes the group identification of the target tag.

[0085] The confirmation message may also include the intra-group identifier of the target tag. After receiving the directional communication instruction, the target tag determines that the identifier included in the directional communication instruction is a group identifier mask, and determines whether the group identifier mask included in the directional communication instruction is its own group identifier mask; if the group identifier mask included in the directional communication instruction is its own group identifier mask, a confirmation message is sent to the radio frequency identification device; if the group identifier mask included in the directional communication instruction is not its own group identifier mask, the directional communication instruction is discarded.

[0086] In some embodiments, the step for the target tag to determine whether the group identification mask included in the directional communication instruction is its own group identification mask may be: the target tag determines the group identification range corresponding to the group identification mask included in the directional communication instruction, and determines whether its own group identification is within the group identification range corresponding to the group identification mask; when its own group identification is within the group identification range corresponding to the group identification mask, determines that the group identification mask included in the directional communication instruction is its own group identification mask; when its own group identification is not within the group identification range corresponding to the group identification mask, determines that the group identification mask included in the directional communication instruction is not its own group identification mask.

[0087] Step 405: The RFID device receives the confirmation message sent by the target tag and determines the group identifier of the target tag.

[0088] In some embodiments, this step is the same as step 305 and will not be repeated here.

[0089] Step 406: The RFID device communicates with the target tag based on the group identifier of the target tag.

[0090] In some embodiments, this step is the same as step 306 and will not be repeated here.

[0091] In the embodiment of the present application, the directional communication instruction includes a group identifier mask, so that the tag whose group identifier satisfies the group identifier mask can be accurately located through the directional communication instruction, which improves the performance and efficiency of data communication.

[0092] Please refer to Figure 5 , which shows a flow chart of an Internet of Things communication method shown in an exemplary embodiment of the present application. The method includes:

[0093] Step 501: The RFID device determines a group identification range.

[0094] The addressing command supports the "range" mode, which can specify the group ID range of the group. The group ID range is a user-defined group ID range. For example, the user-defined group ID range is [0xab0020, 0xab0040], that is, the group ID lower limit of the group ID range is 0xab0020, and the group ID upper limit is 0xab0040. Then the group ID range [0xab0020, 0xab0040] is used to indicate the group whose group ID is within the group ID range. In the embodiment of the present application, the user can customize the group ID range to improve flexibility.

[0095] Step 502: The RFID device sends a directional communication instruction, which includes a group identification range.

[0096] The RFID device determines the upper and lower limits of the group identification range, and sends a directional communication instruction, which includes the upper and lower limits of the group identification. Similarly, the directional communication instruction in this step is also a selectgroup signal. For example, if the upper limit of the group identification is "0xab0020" and the lower limit of the group identification is "0xab0040", the directional communication instruction is used to find tags with group identifications between "0xab0020" and "0xab0040".

[0097] Step 503: The target tag receives the directional communication instruction.

[0098] In some embodiments, this step is the same as step 303 and will not be repeated here.

[0099] Step 504: When the group identifier of the target tag is within the group identifier range included in the directional communication instruction, the target tag sends a confirmation message to the radio frequency identification device, where the confirmation message includes the group identifier of the target tag.

[0100] The directional communication instruction includes a group identification range. After receiving the directional communication instruction, the target tag determines that the identification included in the directional communication instruction is the group identification range, determines whether its own group identification is within the group identification range included in the directional communication instruction, and sends a confirmation message to the radio frequency identification device if its own group identification is within the group identification range included in the directional communication instruction. If its own group identification is not within the group identification range included in the directional communication instruction, the directional communication instruction is discarded.

[0101] Step 505: The RFID device receives the confirmation message sent by the target tag and determines the group identifier of the target tag.

[0102] In some embodiments, this step is the same as step 305 and will not be repeated here.

[0103] Step 506: The RFID device communicates with the target tag based on the group identifier of the target tag.

[0104] In some embodiments, this step is the same as step 306 and will not be repeated here.

[0105] In an embodiment of the present application, the directional communication instruction includes the group identification range of the target tag, so that the tag with the group identification within the group identification range can be accurately located through the directional communication instruction, which improves the performance and efficiency of data communication.

[0106] Please refer to Figure 6 , which shows a flow chart of an Internet of Things communication method shown in an exemplary embodiment of the present application. The method includes:

[0107] Step 601: The RFID device determines a target identifier, where the target identifier is used to indicate that the tag to be addressed is any tag that receives a directional communication instruction.

[0108] The target identifier may be a first target identifier or a second target identifier, and the first target identifier is used to indicate the tags of multiple groups in the Internet of Things system; for example, the first target identifier is used to indicate the tags of all groups in the Internet of Things system, that is, the first target identifier is used to indicate that the tag to be addressed is the tag of any group that has received a directional communication instruction. The second target identifier is used to indicate multiple tags in the Internet of Things system; for example, the second target identifier is used to indicate all tags in the Internet of Things system, that is, the second target identifier is used to indicate that the tag to be addressed is any tag that has received a directional communication instruction. For example, the target identifier may be 0xFFFFFF or 0x000000.

[0109] In some embodiments, after the RFID device determines the target identifier, it generates a directional communication instruction. The third field in the directional communication instruction is used as a reserved address field, which cannot be assigned as a tag identifier or a group identifier, and the content of the reserved address field is set to the target identifier, so that the reserved address field is used for special designation to specify that the tag to be addressed is any tag that receives the directional communication instruction.

[0110] Step 602: The RFID device sends a directional communication instruction, which includes a target identifier.

[0111] The manner in which the RFID device sends the directional communication instruction is the same as step 302 and will not be described in detail herein.

[0112] Step 603: The target tag receives the directional communication instruction.

[0113] In some embodiments, this step is the same as step 303 and will not be repeated here.

[0114] Step 604: the target tag sends a confirmation message to the RFID device, where the confirmation message includes tag information of the target tag.

[0115] The target tag receives the directional communication instruction and determines that the directional communication instruction includes the target identifier, and thus determines that it is the tag addressed by the RFID device. At this time, the target tag sends a confirmation message to the RFID device. When the directional communication instruction includes the first target identifier, the tag information includes the group identifier, that is, the confirmation message includes the group identifier of the target tag, and the tag information may also include the intra-group identifier. When the directional communication instruction includes the second target identifier, the tag information includes the tag identifier, that is, the confirmation message includes the tag identifier of the target tag.

[0116] Step 605: The RFID device receives the confirmation message sent by the target tag and determines the tag information of the target tag.

[0117] In some embodiments, this step is similar to step 305 and will not be repeated here.

[0118] Step 606: The RFID device communicates with the target tag based on the tag information of the target tag.

[0119] In some embodiments, this step is similar to step 306 and will not be described again here.

[0120] In an embodiment of the present application, the directional communication instructions of the radio frequency identification device also support addressing all devices in the tag through target identifiers such as special group identifiers and / or intra-group identifiers; in this way, addressing the tag based on the target identifier can accurately locate all tags in the Internet of Things system, which improves the performance and efficiency of data communication.

[0121] Please refer to Figure 7 , which shows a flow chart of an Internet of Things communication method shown in an exemplary embodiment of the present application. The method includes:

[0122] Step 701: The RFID device determines the tag identifier of the target tag.

[0123] In some embodiments, after the RFID device communicates with certain tags, the tag identifier of the tag will be stored; accordingly, the RFID device maintains a communication list, which includes the tag identifiers of the tags that have communicated and communication-related information, and the communication-related information may include communication time and communication content, etc. The RFID device determines the tag identifier of the target tag from the communication list based on the communication-related information. The tag identifier of the target tag can be one or more, that is, the embodiment of the present application supports selecting one or more tags by sending the tag identifier. In the related art, only one bit can be used to narrow the range, thereby locking one or more tags. It can be seen that the present application can simplify the process of determining tags, thereby improving the efficiency of determining tags, and thus improving communication efficiency.

[0124] Step 702: The RFID device sends a directional communication instruction, which includes a tag identifier of a target tag.

[0125] The directional communication instruction is a device selection signal; and the fourth field in the directional communication instruction is set to a first value, which is used to indicate that the directional communication instruction is a device selection signal, that is, the directional communication instruction includes a tag identifier that is a target tag, so that the tag can distinguish and verify whether it is the tag to be addressed.

[0126] Step 703: The target tag receives the directional communication instruction.

[0127] All tags in the IoT system monitor directional communication instructions and may receive directional communication instructions. For any tag in the IoT system, after receiving the directional communication instruction, it determines whether its own tag identifier is the same as the tag identifier included in the directional communication instruction. If its own tag identifier is the same as the tag identifier included in the directional communication instruction, it determines that it is the tag to be addressed, that is, it is the target tag. If its own tag identifier is different from the tag identifier included in the directional communication instruction, it determines that it is not the tag to be addressed and discards the directional communication instruction.

[0128] Step 704: the target tag sends a confirmation message to the RFID device, where the confirmation message includes the tag identifier of the target tag.

[0129] In some embodiments, this step is similar to step 304 and will not be described again here.

[0130] Step 705: The RFID device receives the confirmation message sent by the target tag and determines the tag identifier of the target tag.

[0131] In some embodiments, this step is similar to step 305 and will not be repeated here.

[0132] Step 706: The RFID device communicates with the tag based on the tag identifier of the target tag.

[0133] In some embodiments, this step is similar to step 306 and will not be described again here.

[0134] The embodiment of the present application supports selecting one or more tags by sending tag identifiers. In the related art, only one bit can be used to narrow the range, thereby locking one or more tags. It can be seen that the present application can simplify the process of determining tags, thereby improving the efficiency of determining tags, and further improving communication efficiency.

[0135] Please refer to Figure 8, which shows a flow chart of an Internet of Things communication method shown in an exemplary embodiment of the present application. The method includes:

[0136] Step 801: The RFID device determines first group information.

[0137] The RFID device determines a group set; based on the group set, determines the first group information. In some embodiments, the RFID device determines a group identifier of the group set, and the group identifier of the group set is used to form the first group information; or, the RFID device determines a group identifier mask of the group set, and the group identifier mask of the group set is used to form the first group information; or, the RFID device determines a group identifier of the group set, and the group identifier range formed by the group identifier of the group set is used as the first group information.

[0138] Step 802: The radio frequency identification device determines the in-group identifier of the first tag belonging to the group set by sending a first directional communication instruction based on the first group information.

[0139] The radio frequency identification device sends a first directional communication instruction, which includes first group information; all tags in the Internet of Things system may receive the first directional communication instruction. For the sake of distinction, the tag that receives the first directional communication instruction is called the first tag. The first tag receives the first directional communication instruction, and based on the first group information, determines that it is the addressed tag, and sends a first confirmation message to the radio frequency identification device, and the first confirmation message includes the in-group identifier of the first tag. The radio frequency identification device receives the first confirmation message and determines the in-group identifier of the first tag based on the first confirmation message.

[0140] When the first group information includes a group identifier, and the group identifier of the first tag is the group identifier, it is determined that the first tag is the addressed tag. When the first group information includes a group identifier mask, and the group identifier of the first tag is within the group identifier range corresponding to the group identifier mask, it is determined that the first tag is the addressed tag. When the first group information includes a group identifier range, and the group identifier of the first tag is within the group identifier range, it is determined that the first tag is the addressed tag.

[0141] Step 803: The radio frequency identification device determines the intra-group identifier of the target tag by sending a second directional communication instruction based on the tag information of the first tag belonging to the group set.

[0142] The radio frequency identification device determines the intra-group identifier of the candidate tag based on the intra-group identifier of the first tag belonging to the group set; sends a second directional communication instruction, which includes the intra-group identifier of the candidate tag; and determines the intra-group identifier of the candidate tag as the intra-group identifier of the target tag when receiving a second confirmation message sent by the candidate tag.

[0143] Step 804: The RFID device communicates with the target tag based on the group identifier and the intra-group identifier of the target tag.

[0144] In some embodiments, this step is similar to step 306 and will not be described again here.

[0145] In the embodiment of the present application, the RFID device first locks the group set through the group identifier, and then accurately locates the tag through the tag identifier. It can be seen that the present application can simplify the process of determining the tag, thereby improving the efficiency of determining the tag, and further improving the communication efficiency.

[0146] Please refer to Fig. 9 , which shows a flowchart of an Internet of Things communication method shown in an exemplary embodiment of the present application. In the embodiment of the present application, the tag identification mask is an intra-group identification mask as an example for explanation. The method includes:

[0147] Step 901: The RFID device determines first group information.

[0148] In some embodiments, this step is the same as step 801 and will not be repeated here.

[0149] Step 902: The radio frequency identification device determines the in-group identifier of the first tag belonging to the group set by sending a first directional communication instruction based on the first group information.

[0150] In some embodiments, this step is the same as step 802 and will not be repeated here.

[0151] Step 903: the RFID device determines an intra-group identification mask based on the intra-group identification of the first tag belonging to the group set, where the intra-group identification mask is used to represent the intra-group identifications of multiple candidate tags that meet the intra-group identification mask.

[0152] After selecting a device group, the RFID device selects a specific set of devices within the group by sending a device mask. For example, the device mask "0xab0000" indicates that the tags with group IDs from 0xab0000 to 0xabffff are selected.

[0153] Step 904: The RFID device sends a second directional communication instruction, where the second directional communication instruction includes an intra-group identification mask.

[0154] The RFID device sets the second field in the second directional communication instruction to a first value, and the first value is used to indicate that the intra-group identification mask is enabled. The first value may be 1, and the second field may be a field for marking whether the intra-group identification mask is enabled. In the embodiment of the present application, by indicating that the intra-group identification mask is enabled in the specific information field in the second directional communication instruction, it is convenient for the tag to distinguish and verify whether it is the tag to be addressed, thereby improving accuracy.

[0155] Step 905: upon receiving the confirmation message sent by the candidate tag, the RFID device determines the in-group identifier of the candidate tag as the in-group identifier of the target tag.

[0156] Before the RFID device determines the intra-group identifier of the candidate tag as the intra-group identifier of the target tag, the RFID device may also verify the candidate tag based on the intra-group identifier mask and the intra-group identifier of the candidate tag. Only when the candidate tag passes the verification, the intra-group identifier of the candidate tag is determined as the intra-group identifier of the target tag. When the candidate tag fails the verification, the processing process of the candidate tag is similar to the processing process of the target tag in step 305, which will not be repeated here. Therefore, by verifying the candidate tag, the security of data communication can be improved.

[0157] In some embodiments, the verification process of the candidate tag by the RFID device may be: the RFID device determines the group identification range corresponding to the intra-group identification mask included in the second directional communication instruction, and determines whether the group identification of the candidate tag is within the group identification range; if the intra-group identification of the candidate tag is within the group identification range, the verification of the candidate tag is passed; if the intra-group identification of the candidate tag is not within the group identification range, the verification of the candidate tag is failed.

[0158] Step 906: The RFID device communicates with the target tag based on the group identifier and the intra-group identifier of the target tag.

[0159] In some embodiments, this step is similar to step 306 and will not be described again here.

[0160] In the embodiment of the present application, the RFID device first locks the group set through the group identifier, and then accurately locates the tag through the tag identifier mask. It can be seen that the present application can simplify the process of determining the tag, thereby improving the efficiency of determining the tag, and further improving the communication efficiency.

[0161] Please refer to Fig.10 , which shows a flow chart of an Internet of Things communication method shown in an exemplary embodiment of the present application. The method includes:

[0162] Step 1001: The RFID device determines first group information.

[0163] In some embodiments, this step is the same as step 801 and will not be repeated here.

[0164] Step 1002: The radio frequency identification device determines the in-group identifier of a first tag belonging to a group set by sending a first directional communication instruction based on the first group information.

[0165] In some embodiments, this step is the same as step 802 and will not be repeated here.

[0166] Step 1003: the RFID device determines an intra-group identification range based on the intra-group identification of the first tag belonging to the group set, where the intra-group identification range is used to represent the intra-group identifications of multiple candidate tags within the intra-group identification range.

[0167] The radio frequency identification device determines the minimum and maximum values ​​of the intra-group identifiers of the first tags belonging to the group set, and forms an intra-group identifier range with the minimum and maximum values ​​of the intra-group identifiers of the first tags belonging to the group set. In some embodiments, the intra-group identifiers of the first tags belonging to the group set are continuous, so the intra-group identifier range can be determined based on the intra-group identifiers of the first tags belonging to the group set.

[0168] Step 1004: the RFID device sends a second directional communication instruction, where the second directional communication instruction includes an intra-group identification range.

[0169] The second directional communication instruction can be a device selection signal, and the device selection signal supports a range mode, which can specify the address range of the device, and the second directional communication instruction also includes the lower limit and upper limit of the identification range within the group; for example, the second directional communication instruction also includes the lower limit "0xab0020" and the upper limit "0xab0040", that is, the second directional communication instruction is used to find Internet devices with identifications between "0xab0020" and "0xab0040" within the group.

[0170] When the candidate tag receives the second directional communication instruction, the candidate tag determines whether its own in-group identifier is within the in-group identifier range included in the second directional communication instruction, and sends a confirmation message to the radio frequency identification device when its own in-group identifier is within the in-group identifier range included in the second directional communication instruction; and discards the second directional communication instruction when its own in-group identifier is not within the in-group identifier range included in the second directional communication instruction.

[0171] Step 1005: upon receiving the confirmation message sent by the candidate tag, the RFID device determines the in-group identifier of the candidate tag as the in-group identifier of the target tag.

[0172] In some embodiments, this step is similar to step 905 and will not be repeated here.

[0173] Step 1006: The RFID device communicates with the target tag based on the group identifier and the intra-group identifier of the target tag.

[0174] In some embodiments, this step is similar to step 306 and will not be described again here.

[0175] In the embodiment of the present application, the RFID device first locks the group set through the group identifier, and then accurately locates the tag through the identification range within the group. It can be seen that the present application can simplify the process of determining the tag, thereby improving the efficiency of determining the tag, and further improving the communication efficiency.

[0176] Please refer to Fig.11 , which shows a flow chart of an Internet of Things communication method shown in an exemplary embodiment of the present application. The method includes:

[0177] Step 1101: The RFID device determines first group information.

[0178] In some embodiments, this step is the same as step 801 and will not be repeated here.

[0179] Step 1102: The RFID device determines attribute information of a first tag belonging to a group set by sending a first directional communication instruction based on the first group information.

[0180] In some embodiments, this step is similar to step 802 and will not be repeated here.

[0181] Step 1103: The RFID device determines at least one attribute information based on the attribute information of the first tag belonging to the group set.

[0182] The tag information of the tag includes not only the group identifier and the intra-group identifier, but also the attribute information; therefore, the RFID device locks one or more target groups based on the group identifier, and then selects one or more tags having the one or more attribute information through the attribute information.

[0183] Step 1104: The RFID device sends a second directional communication instruction, where the second directional communication instruction includes at least one attribute information.

[0184] The second directional communication instruction can be an attribute selection signal. The RFID device sends the second directional communication instruction by broadcasting; or, the RFID device sends the second directional communication instruction in a direction, that is, the RFID device sends the second directional communication instruction in the target direction. When the candidate tag receives the second directional communication instruction, the candidate tag determines whether its own attribute information is the same as the attribute information included in the second directional communication instruction. If its own attribute information is the same as the attribute information included in the second directional communication instruction, it sends a confirmation message to the RFID device; if its own attribute information is not the same as the attribute information included in the second directional communication instruction, it discards the second directional communication instruction.

[0185] Step 1105: upon receiving a confirmation message sent by the candidate tag, determine the tag information of the candidate tag as the tag information of the target tag.

[0186] In some embodiments, this step is similar to step 905 and will not be repeated here.

[0187] Step 1106: The RFID device communicates with the target tag based on the tag information of the target tag.

[0188] In some embodiments, this step is similar to step 306 and will not be described again here.

[0189] In the embodiment of the present application, the radio frequency identification device first locks the group set through the group identifier, and then accurately locates the tag to be addressed through the attribute information. It can be seen that the present application can simplify the process of determining the tag, thereby improving the efficiency of determining the tag, and further improving the communication efficiency.

[0190] Please refer to Fig.12 , which shows a flow chart of an Internet of Things communication method shown in an exemplary embodiment of the present application. The method includes:

[0191] Step 1201: The RFID device determines tag information of a target tag.

[0192] In some embodiments, this step can be implemented through steps 401-405; or, it can be implemented through steps 501-505; or, it can be implemented through steps 601-605; or, it can be implemented through steps 701-705; or, it can be implemented through steps 801-803; or, it can be implemented through steps 901-905; or, it can be implemented through steps 1001-1005; or, it can be implemented through steps 1101-1105, which will not be repeated here.

[0193] Step 1202: The RFID device scrambles the tag information of the target tag and sends a first data transmission instruction to the target tag, where the first data transmission instruction includes the scrambled tag information of the target tag, and a first indication identifier in the first data transmission instruction is used to indicate that the tag information of the target tag has been scrambled.

[0194] The RFID device determines a first mask sequence and scrambles the tag information of the target tag based on the first mask sequence. In some embodiments, the RFID device performs a bit-level XOR operation on the tag information of the target tag and the first mask sequence to obtain the scrambled tag information of the target tag. The first indicator in the first data transmission instruction is used to indicate that the tag information of the target tag has been scrambled, so that the target tag knows that it needs to descramble the tag information included in the first data transmission instruction, and can then accurately determine whether it is the tag to be communicated, thereby improving the reliability of data communication.

[0195] In some embodiments, the first mask sequence is pre-configured into the radio frequency identification device, and when configuring the first mask sequence for the radio frequency identification device, different first mask sequences are configured for geographically adjacent radio frequency identification devices, and the mutual interference is reduced by the low correlation between the sequences, so that the tag can accurately distinguish the signals from different radio frequency identification devices. In some embodiments, the first data transmission instruction includes the first mask sequence, so that the target tag descrambles the device identification based on the first mask sequence. In other embodiments, the first mask sequence set is configured for the radio frequency identification device in advance, and the first mask sequence set includes multiple first mask sequences. The radio frequency identification device determines the first mask sequence from the first mask sequence set, and then scrambles the tag information of the target tag based on the first mask sequence. In addition, the first data transmission instruction also includes the identifier of the selected first mask sequence, so that the tag can also accurately select the same first mask sequence for descrambling. The first data transmission instruction can be a status query command, an information write command, or a device management command. In the embodiment of the present application, the specific content of the first data transmission instruction is not specifically limited.

[0196] Step 1203: The target tag receives the first data transmission instruction, descrambles the tag information included in the first data transmission instruction, and obtains the tag information of the target tag.

[0197] After receiving the first data transmission instruction, the target tag determines, based on the first indication identifier, that the radio frequency identification device has scrambled the tag information of the target tag. At this time, the target tag descrambles the tag information included in the first data transmission instruction to obtain the tag information of the target tag. In some embodiments, the first data transmission instruction includes a first mask sequence, and the target tag descrambles the tag information included in the first data transmission instruction based on the first mask sequence included in the first data transmission instruction to obtain the tag information of the target tag. In other embodiments, the target tag also stores a first mask sequence set, the first data transmission instruction includes an identifier of the first mask sequence, and the target tag determines a first mask sequence from the first mask sequence set based on the identifier of the first mask sequence included in the first data transmission instruction, and the first mask sequence is the first mask sequence used by the radio frequency identification device when scrambling the tag information of the target tag; the target tag descrambles the tag information included in the first data transmission instruction based on the determined first mask sequence to obtain the tag information of the target tag.

[0198] Step 1204: When it is determined that the tag information obtained by descrambling is the same as its own tag information, the target tag sends first communication data to the radio frequency identification device.

[0199] When it is determined that the tag information obtained by descrambling is the same as its own tag information, it indicates that it is the target tag addressed by the RFID device, and the target tag sends the first communication data to the RFID device. In some embodiments, the target tag encodes and modulates the first communication data to obtain the second communication data, and sends the second communication data to the RFID device. For example, the target tag encodes and modulates the first communication data based on a preset transmission method agreed with the RFID device.

[0200] Step 1205: The RFID device receives the first communication data.

[0201] The RFID device receives the second communication data, decodes and demodulates the second communication data, and obtains the first communication data; for example, the RFID device decodes and demodulates the second communication data based on a predetermined preset transmission mode, and obtains the first communication data.

[0202] In the embodiment of the present application, the radio frequency identification device can improve the security of the tag information of the target tag by scrambling the tag information of the target tag, thereby preventing non-addressed tags from communicating with the radio frequency identification device, that is, it can accurately lock onto the target tag, thereby improving the security of data communication.

[0203] Please refer to Fig.13 , which shows a flow chart of an Internet of Things communication method shown in an exemplary embodiment of the present application. The method includes:

[0204] Step 1301: The RFID device determines tag information of a target tag.

[0205] In some embodiments, this step can be implemented through steps 401-405; or, it can be implemented through steps 501-505; or, it can be implemented through steps 601-605; or, it can be implemented through steps 701-705; or, it can be implemented through steps 801-803; or, it can be implemented through steps 901-905; or, it can be implemented through steps 1001-1005; or, it can be implemented through steps 1101-1105, which will not be repeated here.

[0206] Step 1302: The RFID device encrypts the tag information of the target tag and sends a second data transmission instruction to the target tag, where the second data transmission instruction includes the encrypted tag information of the target tag, and the second indication mark in the first data transmission instruction is used to indicate that the tag information of the target tag has been encrypted.

[0207] The RFID device determines an encryption algorithm and encrypts the tag information of the target tag using the encryption algorithm. In some embodiments, the second indicator in the second data transmission instruction is used to indicate that the tag information of the target tag has been encrypted, so that the target tag knows that it needs to decrypt the tag information included in the first data transmission instruction, and can then accurately determine whether it is the tag to be communicated, thereby improving the reliability of data communication.

[0208] In some embodiments, the first data transmission instruction includes an encryption algorithm so that the target tag can decrypt the device identification based on the encryption algorithm. In other embodiments, an encryption algorithm set is configured for the RFID device in advance, and the encryption algorithm set includes multiple encryption algorithms. The RFID device determines the encryption algorithm from the encryption algorithm set, and then scrambles the tag information of the target tag based on the encryption algorithm. In addition, the first data transmission instruction also includes the identifier of the selected encryption algorithm, so that the tag can also accurately select the same encryption algorithm for decryption. The second data transmission instruction can be a status query command, an information write command, or a device management command, etc. In the embodiments of the present application, the specific content of the second data transmission instruction is not specifically limited.

[0209] Step 1303: The target tag receives the first data transmission instruction, decrypts the tag information included in the first data transmission instruction, and obtains the tag information of the target tag.

[0210] After receiving the second data transmission instruction, the target tag determines, based on the second indication identifier, that the radio frequency identification device has scrambled the tag information of the target tag. At this time, the target tag decrypts the tag information included in the second data transmission instruction to obtain the tag information of the target tag. In some embodiments, the second data transmission instruction includes an encryption algorithm. The target tag decrypts the tag information included in the second data transmission instruction based on the encryption algorithm included in the second data transmission instruction to obtain the tag information of the target tag. In other embodiments, an encryption algorithm set is also stored in the target tag. The second data transmission instruction includes an identifier of the encryption algorithm. The target tag determines an encryption algorithm from the encryption algorithm set based on the identifier of the encryption algorithm included in the second data transmission instruction. The encryption algorithm is the encryption algorithm used by the radio frequency identification device when scrambling the tag information of the target tag. The target tag decrypts the tag information included in the second data transmission instruction based on the determined encryption algorithm to obtain the tag information of the target tag.

[0211] Step 1304: When the target tag determines that the tag information obtained by decryption is the same as its own tag information, the target tag sends the first communication data to the radio frequency identification device.

[0212] In some embodiments, this step is the same as step 1204 and will not be repeated here.

[0213] Step 1305: The RFID device receives the first communication data.

[0214] In some embodiments, this step is the same as step 1205 and will not be repeated here.

[0215] In the embodiment of the present application, the RFID device can improve the security of the tag information of the target tag by encrypting the tag information of the target tag, thereby preventing non-addressed tags from communicating with the RFID device, that is, it can accurately lock onto the target tag, thereby improving the security of data communication.

[0216] Please refer to Fig.14 , which shows a flow chart of an Internet of Things communication method shown in an exemplary embodiment of the present application. The method includes:

[0217] Step 1401: The target tag receives a data transmission instruction sent by a radio frequency identification device, where the data transmission instruction includes tag information of the target tag to be communicated.

[0218] The data transmission instruction may include the tag information of the target tag; or, the data transmission instruction includes the tag information obtained by scrambling the tag information of the target tag; or, the data transmission instruction includes the tag information obtained by encrypting the tag information of the target tag.

[0219] Step 1402: When the tag information included in the data transmission instruction is its own tag information, the target tag determines orthogonal resources, which are used for multiple tags to transmit communication data simultaneously and avoid conflicts among the transmission resources of multiple tags.

[0220] Orthogonal resources include orthogonal time resources, orthogonal frequency resources, and orthogonal code domain resources. The target tag decrypts the tag information included in the data transmission instruction to determine whether the decrypted tag information is the same as its own tag information; if the decrypted tag information is the same as its own tag information, the orthogonal resources are determined; if the decrypted tag information is not the same as its own tag information, the data transmission instruction is discarded. Alternatively, the target tag decrypts the tag information included in the data transmission instruction to determine whether the decrypted tag information is the same as its own tag information; if the decrypted tag information is the same as its own tag information, the orthogonal resources are determined; if the decrypted tag information is not the same as its own tag information, the data transmission instruction is discarded.

[0221] In the case of resource conflict among multiple tags, the target tag transmits communication data through the orthogonal resource; accordingly, this step may be: determining the orthogonal resource when there are other tags sending communication data on the target resource.

[0222] Step 1403: The target tag sends first communication data to the radio frequency identification device based on the orthogonal resources.

[0223] The target tag encodes and modulates the first communication data to obtain second communication data, and sends the second communication data to the radio frequency identification device based on the exchanged resources.

[0224] In an embodiment of the present application, in order to avoid conflicts in the transmission resources of multiple tags, the target tag can transmit communication data through orthogonal resources, thereby allowing multiple devices to transmit data simultaneously, and having the ability to distinguish even if data collisions occur, thereby improving data transmission efficiency and further increasing system capacity.

[0225] Please refer to Fig.15 , which shows a flow chart of an Internet of Things communication method shown in an exemplary embodiment of the present application. The method includes:

[0226] Step 1501: The target tag receives a data transmission instruction sent by a radio frequency identification device, where the data transmission instruction includes tag information of the target tag to be communicated.

[0227] In some embodiments, this step is the same as step 1401 and will not be repeated here.

[0228] Step 1502: The target tag determines a time range, where the time range is a time range for multiple tags to send communication data.

[0229] Step 1503: The target tag divides the time range into multiple time segments, and determines the target time period from the multiple time segments.

[0230] The multiple time segments do not overlap with each other, and the selected target time period can be one or more.

[0231] Step 1504: The target tag sends first communication data to the RFID device in the target time period.

[0232] The target tag encodes and modulates the first communication data to obtain second communication data, and sends the second communication data to the radio frequency identification device in a target time period.

[0233] Step 1505: The RFID device receives the first communication data sent by the target tag.

[0234] The radio frequency identification device receives the second communication data in the target time period, decodes and demodulates the second communication data, and obtains the first communication data.

[0235] In an embodiment of the present application, when time resource conflicts occur among multiple tags, the target tag can divide the time range into multiple time periods and assign the multiple time periods to different tags to transmit communication data, thereby allowing multiple devices to transmit data within the time range. Even if data collisions occur, the tag has the ability to distinguish them, thereby improving data transmission efficiency and thereby increasing system capacity.

[0236] Please refer to Fig.16 , which shows a flow chart of an Internet of Things communication method shown in an exemplary embodiment of the present application. The method includes:

[0237] Step 1601: The target tag receives a data transmission instruction sent by a radio frequency identification device, where the data transmission instruction includes tag information of the target tag to be communicated.

[0238] In some embodiments, this step is the same as step 1401 and will not be repeated here.

[0239] Step 1602: The target tag determines a frequency range, where the frequency range is a time range for multiple tags to send communication data.

[0240] Step 1603: The target tag divides the frequency range into multiple sub-channels, and determines the target sub-channel from the multiple sub-channels.

[0241] The multiple sub-channels do not overlap with each other, and the selected target sub-channel can be one or more. For example, the frequency range is 900MHz-920MHz, and the target tag divides 900MHz-920MHz into multiple sub-channels that do not overlap with each other, and each tag exclusively uses one or more of the sub-channels for data transmission.

[0242] Step 1604: The target tag sends first communication data to the RFID device in the target sub-channel.

[0243] The target tag encodes and modulates the first communication data to obtain second communication data, and sends the second communication data to the radio frequency identification device on the target sub-channel.

[0244] Step 1605: The RFID device receives the first communication data sent by the target tag.

[0245] The radio frequency identification device receives the second communication data in the target sub-channel, decodes and demodulates the second communication data, and obtains the first communication data.

[0246] In an embodiment of the present application, in the event of a frequency resource conflict among multiple tags, the target tag can divide the frequency range into multiple sub-channels and assign the multiple sub-channels to different tags to transmit communication data, thereby allowing multiple devices to transmit data within the frequency range. Even if a data collision occurs, it has the ability to distinguish, thereby improving data transmission efficiency and thereby increasing system capacity.

[0247] Please refer to Fig.17 , which shows a flow chart of an Internet of Things communication method shown in an exemplary embodiment of the present application. The method includes:

[0248] Step 1701: The target tag receives a data transmission instruction sent by a radio frequency identification device, where the data transmission instruction includes tag information of the target tag to be communicated.

[0249] In some embodiments, this step is the same as step 1401 and will not be repeated here.

[0250] Step 1702: The target tag determines the code domain sequence.

[0251] The code domain sequence may be an orthogonal code sequence (such as a Walsh code) or a quasi-orthogonal code sequence (such as an M sequence or a Zadoff-Chu sequence). In some embodiments, the target tag may use a code domain sequence in a set specified by the radio frequency identification device for spread spectrum; accordingly, this step may be: the target tag determines the code domain sequence from the first code domain set, the first code domain set includes at least one code domain sequence, and the first code domain set is a code domain set agreed upon by the radio frequency identification device. In other embodiments, the target tag may use a code domain sequence specific to the device itself for spread spectrum. The code domain sequence here may be a feature value obtained by a device identifier after a specific transformation, and selected from a set of code domain sequences available to the system; accordingly, this step may be: the target tag determines the feature value corresponding to its own tag information, and determines the code domain sequence from the second code domain set based on the feature value, the second code domain set includes at least one code domain sequence, and the second code domain set is a code domain set available to the Internet of Things system in which it is located.

[0252] Step 1703: The target tag spreads the code domain based on the code domain sequence.

[0253] Step 1704: The target tag sends first communication data to the radio frequency identification device based on the code domain sequence after the spread spectrum.

[0254] In some embodiments, the target tag encodes and modulates the first communication data to obtain fourth communication data; and sends the fourth communication data on code domain spread spectrum resources.

[0255] Step 1705: The RFID device receives first communication data sent by the target tag based on the code domain sequence after spectrum spread.

[0256] The radio frequency identification device receives the fourth communication data, performs a despreading operation on the code domain sequence after the spread spectrum, and then decodes and demodulates the fourth communication data on the orthogonal resource after the despreading operation to obtain the first communication data.

[0257] In an embodiment of the present application, in the event of a code domain resource conflict among multiple tags, the target tag can spread the code domain to implement code division multiple access to transmit communication data, thereby allowing multiple devices to transmit data in the same code domain, and having the ability to distinguish even if data collisions occur, thereby improving data transmission efficiency and thereby increasing system capacity.

[0258] Please refer to Fig.18 , which shows a flow chart of an Internet of Things communication method shown in an exemplary embodiment of the present application. The method includes:

[0259] Step 1801: The target tag receives a data transmission instruction sent by a radio frequency identification device, where the data transmission instruction includes tag information of the target tag to be communicated.

[0260] In some embodiments, this step is the same as step 1401 and will not be repeated here.

[0261] Step 1802: When the tag information included in the data transmission instruction is the own tag information, the target tag determines the orthogonal resource.

[0262] Step 1803: The target tag encodes and modulates the first communication data to obtain second communication data, and sends the second communication data to the radio frequency identification device based on the orthogonal resource.

[0263] In an embodiment of the present application, when there are other tags sending communication data on the target resource, the orthogonal resource is used to send the second communication data to the radio frequency identification device; and when there are no other tags sending communication data on the target resource, the target tag uses the target resource to send the second communication data to the radio frequency identification device. Among them, when the target tag uses the target resource to send the first communication data to the radio frequency identification device, the first method is: the target tag uses the target resource to directly send the first communication data to the radio frequency identification device, that is, the target tag encodes and modulates the first communication data based on the preset transmission method agreed upon by the radio frequency identification device to obtain the second communication data, and uses the target resource to send the second communication data to the radio frequency identification device. The second method is: the target tag uses the target resource and sends the first communication data to the radio frequency identification device in a manner of scrambling the first communication data, that is, the target tag scrambles the first communication data, and then encodes and modulates the scrambled first communication data based on the preset transmission method agreed upon by the radio frequency identification device to obtain the second communication data, and uses the target resource to send the second communication data to the radio frequency identification device.

[0264] Step 1804: The RFID device receives second communication data based on the orthogonal resources.

[0265] Step 1805: The RFID device decodes and demodulates the second communication data to obtain the first communication data.

[0266] In the embodiment of the present application, the target tag can encode and modulate the data in the manner specified by the extended device and send it to the radio frequency identification device, thereby being compatible with the solutions in the related technology and improving the compatibility of communication.

[0267] Please refer to Fig.19 , which shows a flow chart of an Internet of Things communication method shown in an exemplary embodiment of the present application. The method includes:

[0268] Step 1901: The target tag receives a data transmission instruction sent by a radio frequency identification device, where the data transmission instruction includes tag information of the target tag to be communicated.

[0269] In some embodiments, this step is the same as step 1401 and will not be repeated here.

[0270] Step 1902: When the tag information included in the data transmission instruction is the own tag information, the target tag determines the orthogonal resource.

[0271] Step 1903: The target tag scrambles the first communication data to obtain third communication data.

[0272] The target tag determines the second mask sequence, and scrambles the first communication data based on the second mask sequence to obtain the third communication data. In some embodiments, the target tag performs a bit-level XOR operation on the first communication data and the second mask sequence to obtain the third communication data. The fourth indicator in the third communication data is used to indicate that the third communication data has been scrambled, so that the radio frequency identification device can know that it needs to descramble the third communication data.

[0273] In some embodiments, a second mask sequence set is configured for the target tag in advance, and the second mask sequence set includes multiple mask sequences; the target tag determines a third mask sequence from the second mask sequence set, and then scrambles the first communication data based on the second mask sequence to obtain third communication data. In addition, the third communication data also includes an identifier of the selected second mask sequence, so that the radio frequency identification device can also accurately select the same second mask sequence for descrambling.

[0274] In some embodiments, the target tag uses a device-specific scrambling code to scramble the data before sending it. The scrambling code described here can be obtained by a device identifier through a specific transformation; accordingly, the step of the target tag determining the third mask sequence can be: the target tag determines a characteristic value corresponding to its own tag information, and determines a second mask sequence from a fourth mask sequence set based on the characteristic value. The second mask sequence set includes at least one mask sequence.

[0275] Step 1904: the target tag encodes and modulates the third communication data to obtain fifth communication data, and sends the fifth communication data to the radio frequency identification device based on the orthogonal resource.

[0276] Step 1905: The RFID device receives the fifth communication data, descrambles the fifth communication data, and obtains the third communication data.

[0277] Step 1906: The RFID device decodes and demodulates the third communication data to obtain the first communication data.

[0278] In the embodiment of the present application, the target tag can also scramble the communication data and send it to the radio frequency identification device, thereby improving the security of data communication.

[0279] Please refer to Fig. 20 , which shows a flow chart of an Internet of Things communication method shown in an exemplary embodiment of the present application. The method includes:

[0280] Step 2001: The target tag receives a data transmission instruction sent by a radio frequency identification device, where the data transmission instruction includes tag information of the target tag to be communicated.

[0281] In some embodiments, this step is the same as step 1401 and will not be repeated here.

[0282] Step 2002: The target tag determines a set of orthogonal resources.

[0283] The orthogonal resource set includes multiple orthogonal resources, the orthogonal resources include at least one of time orthogonal resources, frequency orthogonal resources and code domain orthogonal resources, and the orthogonal resource set is preset and configured by the Internet of Things system.

[0284] Step 2003: The target tag determines an orthogonal resource that matches the data feature from the orthogonal resource set based on the data feature of the communication data to be transmitted.

[0285] The target tag selects appropriate resources for transmission based on the resource set available to the system (time, frequency, code) and the characteristics of the data it needs to send (priority, delay sensitivity, data size, etc.), which can improve the adaptability of the determined resources and thus improve the performance of data transmission.

[0286] Step 2004: The target tag sends first communication data to the radio frequency identification device based on the orthogonal resources.

[0287] Step 2005: The RFID device receives the first communication data.

[0288] In an embodiment of the present application, the target tag selects appropriate resources for transmission based on the resource set (time, frequency, code) available to the system and the characteristics of the data it needs to send (priority, delay sensitivity, data size, etc.), which can improve the adaptability of the determined resources and thereby improve the performance of data transmission.

[0289] Please refer to Fig.21 , which shows an IoT communication device shown in an exemplary embodiment of the present application, which is applied to a radio frequency identification device. The device includes:

[0290] The first sending module 2101 is used to send a directional communication instruction, which includes tag information of a target tag. The directional communication instruction is used for the radio frequency identification device to perform data communication with a designated target tag.

[0291] In some embodiments, the tag information of the target tag includes at least one of the following information: a group identifier, a tag identifier, and attribute information of the target tag.

[0292] In some embodiments, when the tag information of the target tag includes a group identifier and a tag identifier, the tag identifier is an intra-group identifier.

[0293] In some embodiments, when the tag information of the target tag includes a group identifier, the group identifier is a first target identifier, a group identifier mask, or a group identifier range, and the first target identifier is used to indicate tags of multiple groups in the Internet of Things system.

[0294] In some embodiments, when the tag information of the target tag includes a tag identifier, the tag identifier is a second target identifier, a tag identifier mask, or a tag identifier range, and the second target identifier is used to indicate multiple tags in the Internet of Things system.

[0295] In some embodiments, the directional communication instruction is a tag addressing instruction, and the tag addressing instruction is used for the designated target tag to return a confirmation message to the radio frequency identification device.

[0296] In some embodiments, the apparatus further comprises:

[0297] A second sending module is used to send a data transmission instruction, the data transmission instruction includes tag information of a target tag, and the data transmission instruction is used for the designated target tag to send communication data to the radio frequency identification device;

[0298] The first receiving module is used to receive first communication data sent by the target tag.

[0299] In some embodiments, the second sending module is used to scramble the tag information of the target tag and send a first data transmission instruction, the first data transmission instruction includes the scrambled tag information of the target tag, and the first indication mark in the first data transmission instruction is used to indicate that the tag information of the target tag has been scrambled; or,

[0300] The second sending module is used to encrypt the tag information of the target tag and send a second data transmission instruction to the target tag, the second data transmission instruction includes the encrypted tag information of the target tag, and the second indication mark in the second data transmission instruction is used to indicate that the tag information of the target tag has been encrypted.

[0301] In some embodiments, the first receiving module is used to receive second communication data sent by the target tag, where the second communication data is communication data obtained by encoding and modulating the first communication data; and the second communication data is decoded and demodulated to obtain the first communication data.

[0302] In some embodiments, the first receiving module is used to receive third communication data sent by the target tag, where the third communication data is communication data obtained by scrambling the first communication data by the target tag; descrambling the third communication data to obtain fifth communication data; and decoding and demodulating the fifth communication data to obtain the first communication data.

[0303] In some embodiments, the first receiving module is used to receive fourth communication data sent by the target tag, where the fourth communication data is sent by the target tag on the orthogonal resources; after performing a de-spreading operation on the orthogonal resources, the fourth communication data on the orthogonal resources after the de-spreading operation is decoded and demodulated to obtain the first communication data.

[0304] In the embodiment of the present application, the directional communication instruction includes the tag information of the target tag, so that the tag can be accurately located through the directional communication instruction, which improves the performance and efficiency of data communication.

[0305] Please refer to Fig. 22 , which shows an Internet of Things communication device shown in an exemplary embodiment of the present application. The device includes:

[0306] The second receiving module 2201 is used to receive a data transmission instruction sent by the radio frequency identification device, where the data transmission instruction includes tag information of a target tag to be communicated;

[0307] A determination module 2202 is used to determine an orthogonal resource when the tag information included in the data transmission instruction is the tag information of the data transmission instruction, wherein the orthogonal resource is used for multiple tags to transmit communication data at the same time and avoid conflicts between the transmission resources of the multiple tags;

[0308] The third sending module 2203 is configured to send first communication data to the radio frequency identification device based on the orthogonal resources.

[0309] In some embodiments, the orthogonal resources include time orthogonal resources, and the determining module 2202 is used to determine a time range, the time range being a time range for multiple tags to send communication data, dividing the time range into multiple time segments, and determining a target time period from the multiple time segments;

[0310] The orthogonal resources include frequency orthogonal resources; a determination module 2202, configured to determine a frequency range, the frequency range being a frequency range in which multiple tags send communication data, dividing the frequency range into multiple sub-channels, and determining a target sub-channel from the multiple sub-channels;

[0311] The orthogonal resources include code domain orthogonal resources; the determination module 2202 is used to determine the code domain sequence and spread the code domain based on the code domain sequence.

[0312] In some embodiments, the determination module 2202 is configured to determine a code domain sequence from a first code domain set, the first code domain set includes at least one code domain sequence, and the first code domain set is a code domain set agreed upon by the radio frequency identification device; or,

[0313] The determination module 2202 is used to determine the characteristic value corresponding to its own tag information, and determine the code domain sequence from the second code domain set based on the characteristic value, where the second code domain set includes at least one code domain sequence, and the second code domain set is a code domain set available to the Internet of Things system where the second code domain set is located.

[0314] In some embodiments, the orthogonal resources include code domain orthogonal resources;

[0315] The third sending module 2203 is configured to encode and modulate the first communication data to obtain fourth communication data; and send the fourth communication data to the radio frequency identification device on the code domain spread spectrum resource.

[0316] In some embodiments, the third sending module 2203 is used to encode and modulate the first communication data to obtain second communication data, and send the second communication data to the radio frequency identification device based on the orthogonal resource; or

[0317] The third sending module 2203 is configured to scramble the first communication data to obtain third communication data, encode and modulate the third communication data to obtain fifth communication data, and send the fifth communication data to the radio frequency identification device based on orthogonal resources.

[0318] In some embodiments, the determination module 2202 is used to determine an orthogonal resource set; based on data characteristics of the communication data to be transmitted, determine an orthogonal resource matching the data characteristics from the orthogonal resource set.

[0319] In some embodiments, the determination module 2202 is used to determine an orthogonal resource when there are other tags sending communication data on the target resource, and the target resource is a resource that sends the first communication data.

[0320] In some embodiments, the second receiving module 2201 is used to receive a first data transmission instruction sent by a radio frequency identification device, the first data transmission instruction includes tag information of a target tag, and the first indication identifier in the first data transmission instruction is used to indicate that the tag information of the target tag has been scrambled, and the tag information included in the first data transmission instruction is descrambled to obtain the tag information of the target tag; or,

[0321] The second receiving module 2201 is used to receive a second data transmission instruction sent by the radio frequency identification device, the second data transmission instruction includes the tag information of the target tag, and the second indication mark in the second data transmission instruction is used to indicate that the tag information of the target tag has been encrypted, and the tag information included in the second data transmission instruction is decrypted to obtain the tag information of the target tag.

[0322] In an embodiment of the present application, in the event of resource conflicts among multiple tags, the target tag can transmit communication data through orthogonal resources, thereby allowing multiple devices to transmit data simultaneously, and having the ability to distinguish even when data collisions occur, thereby improving data transmission efficiency and thereby increasing system capacity.

[0323] It should be noted that the IoT communication device provided in the above embodiment only uses the division of the above functional modules as an example when performing IoT communication. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the radio frequency identification device is divided into different functional modules to complete all or part of the functions described above. In addition, the IoT communication device provided in the above embodiment and the IoT communication method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0324] Please refer to Fig.23 , which shows a block diagram of a radio frequency identification device 2300 according to an exemplary embodiment of the present application. The radio frequency identification device 2300 in the present application may include one or more of the following components: a processor 2301 and a memory 2302.

[0325] The processor 2301 may include one or more processing cores. The processor 2301 uses various interfaces and lines to connect the various parts of the entire RFID device 2300, and executes various functions and processes data of the RFID device 2300 by running or executing instructions, programs, code sets or instruction sets stored in the memory 2302, and calling data stored in the memory 2302. Optionally, the processor 2301 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 2301 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU), a neural network processor (Neural-network Processing Unit, NPU) and a modem. The CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display; the NPU is used to implement artificial intelligence (AI) functions; and the modem is used to process wireless communications. It is understandable that the above-mentioned modem may not be integrated into the processor 2301, but may be implemented by a separate chip.

[0326] The memory 2302 may include a random access memory (RAM) or a read-only memory (ROM). Optionally, the memory 2302 includes a non-transitory computer-readable storage medium. The memory 2302 may be used to store instructions, programs, codes, code sets, or instruction sets. The memory 2302 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc.; the data storage area may store data (such as audio data, a phone book), etc., created according to the use of the radio frequency identification device 2300.

[0327] In addition, those skilled in the art can understand that the structure of the RFID device 2300 shown in the above-mentioned figures does not constitute a limitation on the RFID device 2300, and the RFID device 2300 may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. For example, the RFID device 2300 also includes an audio acquisition device, a speaker, a radio frequency circuit, an input unit, a sensor, an audio circuit, a wireless fidelity (Wireless Fidelity, Wi-Fi) module, a power supply, a Bluetooth module and other components, which will not be repeated here.

[0328] Please refer to Fig.24 , which shows a block diagram of a tag shown in an exemplary embodiment of the present application. Tag 2400 may have relatively large differences due to different configurations or performances, and may include a processor (central processing units, CPU) 2401 and a memory 2402, wherein the memory 2402 stores at least one program code, and the at least one program code is loaded and executed by the processor 2401 to implement the methods provided by the above-mentioned various method embodiments. Of course, tag 2400 may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output. Tag 2400 may also include other components for implementing device functions, which will not be repeated here.

[0329] An embodiment of the present application also provides a computer-readable medium, which stores at least one program code, and the at least one program code is loaded and executed by a processor to implement the Internet of Things communication method shown in the above embodiments.

[0330] An embodiment of the present application also provides a computer program product, which stores at least one program code, and the at least one program code is loaded and executed by a processor to implement the Internet of Things communication method shown in the above embodiments.

[0331] In some embodiments, the computer program product involved in the embodiments of the present application may be deployed and executed on a radio frequency identification device, or on multiple radio frequency identification devices located at one location, or on multiple radio frequency identification devices distributed at multiple locations and interconnected by a communication network. Multiple radio frequency identification devices distributed at multiple locations and interconnected by a communication network may constitute a blockchain system.

[0332] In some embodiments, the computer program product involved in the embodiments of the present application may be deployed and executed on a tag, or on multiple tags located at one location, or on multiple tags distributed at multiple locations and interconnected by a communication network. Multiple tags distributed at multiple locations and interconnected by a communication network may constitute a blockchain system.

[0333] Those skilled in the art should be aware that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented with hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein the communication media include any media that facilitates the transmission of a computer program from one place to another. The storage medium can be any available medium that a general or special-purpose computer can access.

[0334] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. An Internet of Things communication method, performed by a radio frequency identification device, characterized in that: The method comprises: A directional communication instruction is sent, wherein the directional communication instruction includes tag information of a target tag, and the directional communication instruction is used for the radio frequency identification device to perform data communication with the designated target tag.

2. The method according to claim 1, characterized in that The tag information of the target tag includes at least one of the following information: a group identifier, a tag identifier, and attribute information of the target tag.

3. The method according to claim 2, characterized in that In the case where the tag information of the target tag includes a group identifier and a tag identifier, the tag identifier is an intra-group identifier.

4. The method according to claim 2, characterized in that: In the case where the tag information of the target tag includes a group identifier, the group identifier is a first target identifier, a group identifier mask or a group identifier range, and the first target identifier is used to indicate tags of multiple groups in the Internet of Things system.

5. The method according to claim 2 or 3, characterized in that: In the case where the tag information of the target tag includes a tag identifier, the tag identifier is a second target identifier, a tag identifier mask, or a tag identifier range, and the second target identifier is used to indicate multiple tags in the Internet of Things system.

6. The method according to claim 1, characterized in that The directional communication instruction is a tag addressing instruction, and the tag addressing instruction is used for the designated target tag to return a confirmation message to the radio frequency identification device.

7. The method according to claim 1 or 6, characterized in that: The method further comprises: Sending a data transmission instruction, wherein the data transmission instruction includes tag information of the target tag, and the data transmission instruction is used for the designated target tag to send communication data to the radio frequency identification device; The first communication data sent by the target tag is received.

8. The method according to claim 7, characterized in that The sending of the data transmission instruction comprises: Scramble the label information of the target label and send a first data transmission instruction, wherein the first data transmission instruction includes the scrambled label information of the target label, and the first indication mark in the first data transmission instruction is used to indicate that the label information of the target label has been scrambled; or The tag information of the target tag is encrypted, and a second data transmission instruction is sent to the target tag, wherein the second data transmission instruction includes the encrypted tag information of the target tag, and a second indication mark in the second data transmission instruction is used to indicate that the tag information of the target tag has been encrypted.

9. The method according to claim 7, characterized in that: The receiving the first communication data sent by the target tag includes: receiving second communication data sent by the target tag, where the second communication data is communication data obtained by encoding and modulating the first communication data; The second communication data is decoded and demodulated to obtain the first communication data.

10. The method according to claim 7, characterized in that The receiving the first communication data sent by the target tag includes: receiving third communication data sent by the target tag, wherein the third communication data is communication data obtained by scrambling the first communication data by the target tag; Descrambling the third communication data to obtain fifth communication data; The fifth communication data is decoded and demodulated to obtain the first communication data.

11. The method according to claim 7, characterized in that The receiving the first communication data sent by the target tag includes: receiving fourth communication data sent by the target tag, where the fourth communication data is sent by the target tag on an orthogonal resource; After performing a despreading operation on the orthogonal resources, the fourth communication data on the orthogonal resources after the despreading operation is decoded and demodulated to obtain the first communication data.

12. An Internet of Things communication method, characterized in that: The method comprises: receiving a data transmission instruction sent by a radio frequency identification device, wherein the data transmission instruction includes tag information of a target tag to be communicated; In a case where the tag information included in the data transmission instruction is the tag information of the data transmission instruction, determining orthogonal resources, where the orthogonal resources are used for multiple tags to transmit communication data simultaneously and avoid conflicts in the transmission resources of the multiple tags; Based on the orthogonal resources, first communication data is sent to the radio frequency identification device.

13. The method according to claim 12, characterized in that The determining of orthogonal resources includes at least one of the following: The orthogonal resources include time orthogonal resources, determining a time range, the time range being a time range for multiple tags to send communication data, dividing the time range into multiple time segments, and determining a target time segment from the multiple time segments; The orthogonal resources include frequency orthogonal resources; determining a frequency range, the frequency range being a frequency range in which multiple tags send communication data, dividing the frequency range into multiple sub-channels, and determining a target sub-channel from the multiple sub-channels; The orthogonal resources include code domain orthogonal resources; A code domain sequence is determined, and the code domain is spread based on the code domain sequence.

14. The method according to claim 13, characterized in that The determining of the code domain sequence comprises: Determine the code domain sequence from a first code domain set, wherein the first code domain set includes at least one code domain sequence, and the first code domain set is a code domain set agreed upon by the radio frequency identification device; or, Determine a characteristic value corresponding to the own tag information, and determine the code domain sequence from a second code domain set based on the characteristic value, where the second code domain set includes at least one code domain sequence, and the second code domain set is a code domain set available to the Internet of Things system where the own is located.

15. The method according to claim 13, characterized in that The orthogonal resources include code domain orthogonal resources; The sending the first communication data to the radio frequency identification device based on the orthogonal resource includes: encoding and modulating the first communication data to obtain fourth communication data; The fourth communication data is sent to the radio frequency identification device on the code domain spread spectrum resource.

16. The method according to claim 12, characterized in that The sending the first communication data to the radio frequency identification device based on the orthogonal resource includes: encoding and modulating the first communication data to obtain second communication data, and sending the second communication data to the radio frequency identification device based on the orthogonal resource; or, The first communication data is scrambled to obtain third communication data, the third communication data is encoded and modulated to obtain fifth communication data, and the fifth communication data is sent to the radio frequency identification device based on the orthogonal resource.

17. The method according to claim 12, characterized in that The determining of orthogonal resources comprises: Determine a set of orthogonal resources; Based on data characteristics of the communication data to be transmitted, an orthogonal resource matching the data characteristics is determined from the orthogonal resource set.

18. The method according to claim 12, characterized in that The determining of orthogonal resources comprises: In the case that there are other tags sending communication data on the target resource, the orthogonal resource is determined, and the target resource is a resource that sends the first communication data.

19. The method according to claim 12, characterized in that The receiving of a data transmission instruction sent by a radio frequency identification device includes: receiving a first data transmission instruction sent by the radio frequency identification device, wherein the first data transmission instruction includes tag information of a target tag, and a first indication identifier in the first data transmission instruction is used to indicate that the tag information of the target tag has been scrambled, and descrambling the tag information included in the first data transmission instruction to obtain the tag information of the target tag; or Receive a second data transmission instruction sent by the radio frequency identification device, where the second data transmission instruction includes tag information of a target tag, and a second indication identifier in the second data transmission instruction is used to indicate that the tag information of the target tag has been encrypted, decrypt the tag information included in the second data transmission instruction, and obtain the tag information of the target tag.

20. An Internet of Things communication device, applied to a radio frequency identification device, characterized in that: The device comprises: The first sending module is used to send a directional communication instruction, wherein the directional communication instruction includes tag information of a target tag, and the directional communication instruction is used for the radio frequency identification device to perform data communication with the specified target tag.

21. An Internet of Things communication device, characterized in that: The device comprises: A second receiving module, used to receive a data transmission instruction sent by the radio frequency identification device, wherein the data transmission instruction includes tag information of a target tag to be communicated; A determination module, configured to determine, when the tag information included in the data transmission instruction is the tag information of the data transmission instruction, an orthogonal resource, wherein the orthogonal resource is used for multiple tags to transmit communication data simultaneously and avoid conflicts in the transmission resources of the multiple tags; The third sending module is configured to send first communication data to the radio frequency identification device based on the orthogonal resources.

22. A radio frequency identification device, characterized in that: The radio frequency identification device includes a processor and a memory, wherein at least one program code is stored in the memory, and the at least one program code is loaded and executed by the processor to implement the Internet of Things communication method according to any one of claims 1 to 11.

23. A label, characterized in that: The tag includes a processor and a memory, wherein at least one program code is stored in the memory, and the at least one program code is loaded and executed by the processor to implement the Internet of Things communication method according to any one of claims 12 to 19.

24. A computer-readable storage medium, characterized in that: The storage medium stores at least one program code, and the at least one program code is loaded and executed by the processor to implement the Internet of Things communication method according to any one of claims 1 to 19.

25. A computer program product, characterized in that The computer program product stores at least one program code, and the at least one program code is used to be executed by a processor to implement the Internet of Things communication method according to any one of claims 1 to 19.