Data processing method and communication device
By sharding the data transmission between the Internet of Things devices and the core network elements in the reader and writer, and dynamically adjusting the length of the data shards according to the quality of the communication link, the problem of unreliable data transmission between the Internet of Things devices and the mobile communication network is solved, and more efficient and reliable data transmission is achieved.
Patent Information
- Application Number
- CN202311283990.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-28
- Publication Date
- 2025-03-28
AI Technical Summary
The data transmission between IoT devices and mobile communication networks is unreliable, mainly due to the unstable network status of the mobile communication network, which affects the data transmission between IoT devices.
By implementing sharding processing of data transmission between the Internet of Things device and the core network element in the reader and writer, the length of data sharding is dynamically adjusted according to the quality of the communication link between the reader and writer and the Internet of Things device to improve the reliability of data transmission.
By dynamically adjusting the length of data shards, ensure that the length of data shards is matched with the quality of the communication link between the reader and the Internet of Things device, thereby improving the reliability of data transmission, and achieving reliable data transmission even when the Internet of Things devices do not have the ability to shard and reorganize.
Smart Images

Figure CN119728584A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communications, and more specifically, to a data processing method and a communication device. Background Art
[0002] The mainstream application scenarios of devices in the Internet of Things (IoT) (such as passive tags or semi-passive tags) include the following scenarios: 1) Logistics and warehousing: including inventory and tracking of goods, environmental and cargo status monitoring during the transportation of high-value goods (such as vaccines); 2) Industrial manufacturing: including environmental and equipment status monitoring. With the development of technology and environmental protection requirements, the Internet of Things will have a larger scale of application deployment prospects, and it is predicted that it will cover hundreds of billions of devices in the future.
[0003] Currently, the inventory of IoT devices can be realized through mobile communication networks. The unstable characteristics of the network status of mobile communication networks will affect the data transmission between IoT devices and mobile communication networks, making the data transmission between IoT devices and mobile communication networks unreliable. Summary of the invention
[0004] The present application provides a data processing method and a communication device, in order to improve the reliability of data transmission between an Internet of Things device and a mobile communication network.
[0005] In a first aspect, a data processing method is provided, which can be executed by a reader / writer. Unless otherwise specified, "reader / writer" can refer to the reader / writer itself, or a device that can support the reader / writer to implement the function. The reader / writer can be integrated into an access network device, a relay device, or a terminal device, or can be a dedicated reader / writer, without limitation.
[0006] The method includes: a reader / writer receives an inventory request message from a core network element, the inventory request message is used to request an inventory of an Internet of Things device, and the inventory request message includes first indication information, the first indication information is used to instruct the reader / writer to obtain information for slicing the data to be processed; the reader / writer obtains first quality information according to the first indication information, the first quality information is used to indicate the link quality of the communication link between the reader / writer and the Internet of Things device; the reader / writer determines first slicing information according to the first quality information, the first slicing information is used to slice the data to be processed; the reader / writer sends the first slicing information to the core network element; the reader / writer receives a first signaling from the core network element, the first signaling is used to process a first data slicing in the data to be processed, the length of the first data slicing is determined based on the first slicing information, and the length information of the first data slicing can be specified in the first slicing information.
[0007] In the above method, the reader can determine the information for slicing the data to be processed according to the link quality of the communication link between the reader and the IoT device, and send it to the core network element, so that the core network element can transmit the data to be processed in slices according to the received information, so that the length of the data slice transmitted each time is matched with the link quality of the communication link between the reader and the IoT device, thereby helping to improve the reliability of data transmission. And because the length of the data slice transmitted each time in the above method is matched with the link quality of the communication link between the reader and the IoT device, that is, the link quality of the communication link between the reader and the IoT device can carry the data slice transmitted this time, even if the IoT device does not have the ability to slice and reassemble the data, reliable data transmission can also be achieved.
[0008] In combination with the first aspect, in some possible implementations, the first signaling is used to request that the first data slice be written to the Internet of Things device, and the first signaling includes the first data slice; the method also includes: the reader / writer sends a second signaling to the Internet of Things device, and the second signaling is used to write the first data slice to the Internet of Things device, and the second signaling includes the first data slice; the reader / writer receives a third signaling from the Internet of Things device, and the third signaling includes the writing result of the first data slice; the reader / writer sends a fourth signaling to the core network network element based on the third signaling, and the fourth signaling includes the writing result of the first data slice.
[0009] Based on the above method, reliable transmission of data in the process of writing data to IoT devices can be achieved.
[0010] In combination with the first aspect or any implementation manner thereof, in some other possible implementation manners, the first signaling is used to request to read the first data slice from the Internet of Things device, and the first signaling includes read information, and the read information is used to indicate the storage range of the first data slice; the method also includes: the reader / writer sends a second signaling to the Internet of Things device, and the second signaling is used to read the first data slice to the Internet of Things device, and the second signaling includes the read information; the reader / writer receives a third signaling from the Internet of Things device, and the third signaling includes the read result of the first data slice; the reader / writer sends a fourth signaling to the core network element based on the third signaling, and the fourth signaling includes the read result of the first data slice.
[0011] Based on the above method, reliable transmission of data in the process of reading data from IoT devices can be achieved.
[0012] In combination with the first aspect or any implementation thereof, in some other possible implementations, the fourth signaling also includes second fragmentation information, and the second fragmentation information is used to fragment the data to be processed; the method also includes: the reader / writer obtains second quality information, and the second quality information is used to indicate the link quality of the communication link; the reader / writer determines the second fragmentation information based on the second quality information.
[0013] Based on the above method, it is possible to continuously update the information used to slice the data to be processed, so that the length of the data slice transmitted each time is matched with the link quality of the communication link between the reader and the IoT device, that is, the link quality of the communication link between the reader and the IoT device can carry the data slice transmitted this time, thereby helping to improve the reliability of data transmission.
[0014] In combination with the first aspect or any implementation manner thereof, in some other possible implementation manners, the reader / writer obtains first quality information according to the first indication information, including: the reader / writer performs quality detection on the communication link according to the first indication information to obtain the first quality information.
[0015] In combination with the first aspect or any implementation manner thereof, in some other possible implementation manners, the reader / writer obtains first quality information based on the first indication information, including: the reader / writer sends a fifth signaling to the Internet of Things device based on the first indication information, the fifth signaling includes second indication information, and the second indication information is used to instruct the Internet of Things device to perform quality detection on the communication link; the reader / writer receives a sixth signaling sent from the Internet of Things device, and the sixth signaling includes the first quality information.
[0016] In combination with the first aspect or any implementation thereof, in some other possible implementations, the reader / writer obtains the second quality information, including: the reader / writer performs quality detection on the communication link according to the second signaling and / or the third signaling to obtain the second quality information.
[0017] In combination with the first aspect or any implementation manner thereof, in some other possible implementation manners, the second signaling also includes second indication information, and the second indication information is used to instruct the Internet of Things device to perform quality detection on the communication link, and the third signaling also includes the second quality information, and the second quality information is obtained based on the second signaling; the reader obtains the second quality information, including: the reader obtains the second quality information from the third signaling.
[0018] In combination with the first aspect or any implementation manner thereof, in some other possible implementation manners, the quality detection for the communication link includes downlink quality detection and / or uplink quality detection.
[0019] In combination with the first aspect or any implementation thereof, in some other possible implementations, the reader / writer determines the second shard information based on the second quality information, including: the reader / writer determines the second shard information based on the second quality information and the processing result of the first data shard.
[0020] Based on the above method, the determined fragmentation information can be made more accurate, so that the length of each transmitted data fragment is more matched with the link quality of the communication link between the reader and the IoT device, thereby helping to improve the reliability of data transmission.
[0021] In combination with the first aspect or any implementation manner thereof, in some other possible implementation manners, the fifth signaling is any one of the following signalings: an excitation signal, a selection command, a downlink signaling in a random access process, a first registration message, or a downlink signaling in a security authentication process, and the first registration message is used to indicate that the Internet of Things device has successfully registered with the core network network element; and / or, the sixth signaling is any one of the following signalings: an uplink signaling in a random access process, a second registration message, or an uplink signaling in a security authentication process, and the second registration message is used to request registration with the core network network element; and / or, the first fragmentation information is carried in a third registration message or an uplink signaling in the security authentication process, and the third registration message is used to request registration with the core network element.
[0022] In combination with the first aspect or any implementation manner thereof, in some other possible implementation manners, the first fragmentation information includes at least one of the following information: the first quality information, the first fragmentation length or the first length range, the first fragmentation length is the length of the data fragmentation supported for transmission by the link quality indicated by the first quality information, and the first length range is the length range of the data fragmentation supported for transmission by the link quality indicated by the first quality information.
[0023] In a second aspect, a data processing method is provided, which can be performed by a core network element. Unless otherwise specified, "core network element" can refer to the core network element itself, or can refer to a device that can support the core network element to implement the function. The core network element is a network element responsible for the management of IoT devices, such as a tag management function (TMF).
[0024] The terms or features in the second aspect or its implementation that are the same as those in the first aspect or its implementation can refer to the first aspect or its implementation, and the technical effects of the second aspect or its implementation can refer to the technical effects in the first aspect or its implementation, and will not be repeated in the second aspect.
[0025] The method includes: a core network element receives a data request message from an application function element, wherein the data request message is used to request processing of data to be processed; the core network element sends an inventory request message to a reader / writer according to the length of the data to be processed, wherein the inventory request message is used to request an inventory of IoT devices, and the inventory request message includes first indication information, wherein the first indication information is used to instruct the reader / writer to obtain information for slicing the data to be processed; the core network element receives first slicing information from the reader / writer, wherein the first slicing information is used to slice the data to be processed; the core network element determines the length of a first data slicing according to the first slicing information, wherein the first data slicing belongs to the data to be processed; the core network element sends a first signaling to the reader / writer, wherein the first signaling is used to process the first data slicing.
[0026] In combination with the second aspect, in some possible implementations, the data request message is used to request that the data to be processed be written to the Internet of Things device, the first signaling is used to request that the first data slice be written to the Internet of Things device, and the first signaling includes the first data slice; the method also includes: the core network network element receives a fourth signaling from the reader / writer, and the fourth signaling includes the writing result of the first data slice.
[0027] In combination with the second aspect or any implementation manner thereof, in some other possible implementation manners, the data request message is used to request reading the data to be processed from the Internet of Things device, the first signaling is used to request reading the first data slice from the Internet of Things device, and the first signaling includes reading information, and the reading information is used to indicate the storage range of the first data slice; the method also includes: the core network network element receives a fourth signaling from the reader / writer, and the fourth signaling includes the reading result of the first data slice.
[0028] In combination with the second aspect or any implementation method thereof, in some other possible implementation methods, after receiving the fourth signaling, the method further includes: the core network element determines the length of the second data fragment based on the first fragment information, and the second data fragment belongs to the data to be processed.
[0029] In combination with the second aspect or any implementation manner thereof, in some other possible implementation manners, the fourth signaling also includes second fragmentation information, and the second fragmentation information is used to fragment the data to be processed; the method also includes: the core network network element determines the length of the second data fragment based on the second fragmentation information, and the second data fragment belongs to the data to be processed.
[0030] In combination with the second aspect or any implementation thereof, in some other possible implementations, the first fragmentation information is carried in a third registration message or in the uplink signaling in the security authentication process, and the third registration message is used to request registration to the core network element.
[0031] In combination with the second aspect or any implementation manner thereof, in some other possible implementation manners, the first fragmentation information includes at least one of the following information: first quality information, first fragmentation length or first length range, the first quality information is used to indicate the link quality of the communication link between the reader and the Internet of Things device, the first fragmentation length is the length of the data fragmentation supported for transmission by the link quality indicated by the first quality information, and the first length range is the length range of the data fragmentation supported for transmission by the link quality indicated by the first quality information.
[0032] In combination with the second aspect or any implementation manner thereof, in some other possible implementation manners, the first fragmentation information includes the first quality information or the first length range; the core network network element determines the length of the first data fragment based on the first fragmentation information, including: the core network network element determines the first fragmentation length based on the first quality information or the first length range; the core network network element determines the length of the first data fragment based on the first fragmentation length.
[0033] In a third aspect, a data processing method is provided, which can be executed by an IoT device. Unless otherwise specified, "IoT device" can refer to the IoT device itself, or a device that can support the IoT device to implement the function. Optionally, the IoT device can be a tag. The tag can be a passive tag, a semi-passive tag, or an active tag.
[0034] The method includes: the Internet of Things device receives a fifth signaling from the reader / writer, the fifth signaling is a signaling for taking inventory of the Internet of Things devices, the fifth signaling includes second indication information, the second indication information is used to instruct the Internet of Things device to perform a quality detection on the communication link between the reader / writer and the Internet of Things device; the Internet of Things device performs a quality detection on the communication link according to the second indication information to obtain first quality information, the first quality information is used to indicate the link quality of the communication link; the Internet of Things device sends a sixth signaling to the reader / writer, the sixth signaling includes the first quality information.
[0035] Based on the above method, the IoT device can provide the reader with the link quality of the communication link between the reader and the IoT device, so that the reader can determine the information for slicing the data to be processed based on the link quality of the communication link between the reader and the IoT device, and send it to the core network element, so that the core network element can transmit the data to be processed in slices based on the received information, so that the length of each transmitted data slice is matched with the link quality of the communication link between the reader and the IoT device, that is, the link quality of the communication link between the reader and the IoT device can carry the data slice transmitted this time, thereby helping to improve the reliability of data transmission.
[0036] In combination with the third aspect, in some possible implementations, the method also includes: the Internet of Things device receives a second signaling from the reader / writer, the second signaling is used to write the first data slice to the Internet of Things device and the second signaling includes the second indication information, or the second signaling is used to read the first data slice from the Internet of Things device and the second signaling includes the second indication information; the Internet of Things device performs a quality detection on the communication link according to the second signaling to obtain second quality information, and the second quality information is used to indicate the link quality of the communication link; the Internet of Things device sends a third signaling to the reader / writer, the third signaling includes the writing result of the first data slice or the reading result of the first data slice, and the prime number third signaling also includes the second quality information.
[0037] Based on the above method, it is possible to continuously update the link quality of the communication link between the reader and the IoT device, thereby continuously updating the information used to slice the data to be processed, so that the length of the data slice transmitted each time is matched with the link quality of the communication link between the reader and the IoT device, that is, the link quality of the communication link between the reader and the IoT device can carry the data slice transmitted this time, thereby helping to improve the reliability of data transmission.
[0038] In combination with the third aspect or any implementation manner thereof, in some other possible implementation manners, the fifth signaling is any one of the following signalings: an excitation signal, a selection command, a downlink signaling in a random access process, a first registration message, or a downlink signaling in a security authentication process, and the first registration message is used to indicate that the Internet of Things device has successfully registered with the core network network element; and / or, the sixth signaling is any one of the following signalings: an uplink signaling in a random access process, a second registration message, or an uplink signaling in a security authentication process, and the second registration message is used to request registration with the core network element.
[0039] In a fourth aspect, a communication device is provided, which is used to execute the method provided by any one of the above aspects or its implementation. Specifically, the device may include units and / or modules, such as a processing unit and / or a transceiver unit, for executing the method provided by any one of the above aspects or its implementation.
[0040] In one implementation, the device is an IoT device, a core network element, or a reader / writer. When the device is an IoT device, a core network element, or a reader / writer, the transceiver unit may be a transceiver, or an input / output interface, or a communication interface; the processing unit may be at least one processor. Optionally, the transceiver is a transceiver circuit. Optionally, the input / output interface is an input / output circuit.
[0041] In another implementation, the device is a chip, chip system or circuit used in an IoT device, a core network element or a reader / writer. When the device is a chip, chip system or circuit used in an IoT device, a core network element or a reader / writer, the transceiver unit may be an input / output interface, an interface circuit, an output circuit, an input circuit, a pin or a related circuit on the chip, chip system or circuit; the processing unit may be at least one processor, a processing circuit or a logic circuit.
[0042] In a fifth aspect, a communication device is provided, which includes: a memory for storing programs; and at least one processor for executing computer programs or instructions stored in the memory to execute the method provided by any one of the above aspects or its implementation.
[0043] In one implementation, the device is an Internet of Things device, a core network element, or a reader / writer.
[0044] In another implementation, the device is a chip, a chip system or a circuit used in an Internet of Things device, a core network element or a reader / writer.
[0045] In a sixth aspect, a communication device is provided, the device comprising: at least one processor and a communication interface, the at least one processor is used to obtain a computer program or instruction stored in a memory through the communication interface to execute the method provided by any one of the above aspects or its implementation. The communication interface can be implemented by hardware or software.
[0046] In one implementation, the device also includes the memory.
[0047] In a seventh aspect, a processor is provided for executing the methods provided in the above aspects.
[0048] For the operations such as sending and acquiring / receiving involved in the processor, if there is no special explanation, or if it does not conflict with its actual function or internal logic in the relevant description, then it can be understood as operations such as processor output and reception, input, etc., and can also be understood as sending and receiving operations performed by the radio frequency circuit and antenna. This application does not limit this.
[0049] In an eighth aspect, a computer-readable storage medium is provided, which stores a program code for execution by a device, wherein the program code includes a method for executing any of the above aspects or its implementation.
[0050] In a ninth aspect, a computer program product comprising instructions is provided, which, when executed on a computer, enables the computer to execute the method provided by any one of the above aspects or its implementation.
[0051] In a tenth aspect, a chip is provided, the chip comprising a processor and a communication interface, the processor reads instructions stored in a memory through the communication interface, and executes the method provided by any one of the above aspects or its implementation. The communication interface can be implemented by hardware or software.
[0052] Optionally, as an implementation method, the chip also includes a memory, in which a computer program or instructions are stored, and the processor is used to execute the computer program or instructions stored in the memory. When the computer program or instructions are executed, the processor is used to execute the method provided by any one of the above aspects or its implementation methods.
[0053] Among them, when the method provided by the present application is executed by a chip, the present application does not limit the number of chips that specifically implement the method of the present application. For example, it can be executed by one chip or by two or more chips. Moreover, when the number of chips that implement the method of the present application is two or more, the chip manufacturers are not limited and can be the same manufacturer or different manufacturers.
[0054] In the eleventh aspect, a communication system is provided, comprising at least one of the Internet of Things devices, core network elements or reader / writers described above.
[0055] In a twelfth aspect, a computer program is provided, which, when executed on a computer, enables the method provided by any one of the above aspects or its implementation to be executed. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] Figure 1 It is a schematic diagram of a network architecture to which an embodiment of the present application can be applied.
[0057] Figure 2 It is a schematic flow chart of the data processing method 200 provided in this application.
[0058] Figure 3 It is a schematic flow chart of the data processing method 300 provided in this application.
[0059] Figure 4 It is a schematic flow chart of the data processing method 400 provided in this application.
[0060] Figure 5 It is a structural schematic diagram of the device provided in the embodiment of the present application.
[0061] Figure 6 This is another schematic diagram of the structure of the device provided in the embodiment of the present application.
[0062] Figure 7 It is a schematic diagram of a chip system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0063] To facilitate understanding of the embodiments of the present application, the following points are explained before introducing the embodiments of the present application.
[0064] "Indication" includes direct indication (also called explicit indication) and implicit indication. Wherein, direct indication of information A means including the information A; implicit indication of information A means indicating information A through the correspondence between information A and information B and direct indication of information B. Wherein, the correspondence between information A and information B can be predefined, pre-stored, pre-burned, or pre-configured. Information C is used to determine information D, including information D being determined only based on information C, and information D being determined based on information C and other information. In addition, information C is used to determine information D, and it can also be indirectly determined, for example, information D is determined based on information E, and information E is determined based on information C. "Network element A sends information A to network element B", which can be understood as the destination end of the information A or the intermediate network element in the transmission path between the destination end and the network element B, and can include directly or indirectly sending information to network element B. "Network element B receives information A from network element A", which can be understood as the source end of the information A or the intermediate network element in the transmission path between the source end and the network element A, and can include directly or indirectly receiving information from network element A. The information may be processed as necessary between the source and destination of the information transmission, such as format changes, but the destination can understand the valid information from the source. The first, second, and other digital numbers are only used for the convenience of description and are not used to limit the scope of the embodiments of the present application, such as distinguishing different messages, different information, etc. "Pre-definition" can be implemented by pre-saving the corresponding code, table or other methods that can be used to indicate relevant information in the device, and the present application does not limit its specific implementation method. The "protocol" involved may refer to a standard protocol in the field of communication, such as the long term evolution (LTE) protocol, the new radio (NR) protocol, and related protocols used in future communication systems, and the present application does not limit this. "Example", "for example", "exemplarily", "as (another) example" and other words are used to indicate examples, illustrations or explanations. Any embodiment or design described as an "example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or design schemes. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized. "At least one" means one or more, and "more" means two or more. "At most one" means one or zero. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items.For example, at least one of a, b and c can represent: a, or b, or c, or a and b, or a and c, or b and c, or a, b and c. A, b and c can be single or multiple. Descriptions such as "when...", "in the case of...", "if" and "if" all mean that the device will make corresponding processing under certain objective circumstances, but do not limit the time, nor do they require the device to have a judgment action when implementing, nor do they mean that there are other limitations.
[0065] The "uplink signaling" in the embodiments of the present application may refer to the signaling sent from the terminal device (such as an IoT device) to the network (such as a reader / writer or a core network element), and the "downlink signaling" may refer to the signaling sent from the network (such as a reader / writer or a core network element) to the terminal device (such as an IoT device). For example, the downlink of the downlink signaling refers to the direction in which the signaling is sent: from the application function network element to the core network element, then to the access network device, and then to the IoT device; the uplink of the uplink signaling refers to the direction in which the signaling is sent: from the IoT device to the access network device, to the core network element, and then to the application function network element. Downlink signaling or uplink signaling is not necessarily end-to-end (i.e., IoT device to AF), but can be in the corresponding direction, such as from the IoT device to the core network element or access network device.
[0066] In addition, the network architecture and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Ordinary technicians in this field can know that with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0067] A communication system to which the embodiments of the present application can be applied is described below.
[0068] The embodiments of the present application can be applied to the optimization of the traditional radio frequency identification (RFID) system, and can also be applied to the scene of taking inventory of tags through the mobile communication system, without limitation. The following describes the technical solution of the present application by taking the scene of taking inventory of tags through the mobile communication system as an example.
[0069] The embodiments of the present application can be applied to various mobile communication systems. For example: long term evolution (LTE) system, LTE frequency division duplex (FDD) system, LTE time division duplex (TDD), public land mobile network (PLMN), fifth generation (5G) system, sixth generation (6G) system or future communication system. The 5G system in the present application includes a non-standalone (NSA) 5G mobile communication system or a standalone (SA) 5G mobile communication system. The embodiments of the present application can also be applied to non-terrestrial network (NTN) communication systems such as satellite communication systems. The embodiments of the present application can also be applied to device to device (D2D) communication systems, sidelink (SL) communication systems, machine to machine (M2M) communication systems, machine type communication (MTC) systems, Internet of things (IoT) communication systems, vehicle to everything (V2X) communication systems, uncrewed aerial vehicle (UAV) communication systems or other communication systems.
[0070] For example, Figure 1 A network architecture to which the embodiments of the present application can be applied is shown.
[0071] Figure 1It is a schematic diagram of a network architecture to which an embodiment of the present application can be applied. The network architecture may include: a tag, an access network device, a tag management function (TMF) and an application function (AF). The tag can interact with the TMF through the access network device. The access network device and the TMF can communicate through an interface. The TMF can communicate with the AF directly or through a network exposure function (NEF). Optionally, the network architecture may also include: a unified data management (UDM) network element and a unified data repository (UDR), etc., and the TMF can communicate with the UDM or UDR through an interface. Figure 1 The dashed lines and dashed boxes in the figure represent optional network elements and optional connections.
[0072] Below Figure 1 Provide a brief description of the network elements or devices involved.
[0073] 1. Tags
[0074] In the embodiments of the present application, the tag may also be referred to as a terminal device, a terminal, a user equipment (UE), an access terminal, a user unit, a user station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a user terminal, a wireless communication device, a user agent, a user device, an Internet of Things terminal, an Internet of Things device or an Internet of Things terminal device, etc. The terminal may be a passive Internet of Things terminal or a tag. The terminal may be a passive device, and the passive device may be a passive tag, which may collect energy through backscattering technology to send and receive messages, and the passive tags include but are not limited to radio frequency identification (RFID), Bluetooth, Zigbee and other non-powered terminal tags. The terminal may also be a semi-passive device or an active device. The active device may be a device with wireless transceiver function, such as a mobile phone, a tablet computer, a computer with wireless transceiver function, a virtual reality (VR) terminal, an augmented reality (AR) terminal, a wireless terminal in industrial control, a wireless terminal in self driving, a wireless terminal in remote medical, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a wireless terminal in a smart home, a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal in a 5G mobile communication system or a terminal in a future evolution network, etc. Wearable devices can also be called wearable smart devices, which are a general term for wearable devices that use wearable technology to intelligently design and develop wearable devices for daily wear, such as glasses, gloves, watches, clothing and shoes. Wearable devices are portable devices that are worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not just hardware devices, but also realize powerful functions through software support, data interaction, and cloud interaction.In a broad sense, wearable smart devices include those that are fully functional, large in size, and can achieve complete or partial functions without relying on smartphones, such as smart watches or smart glasses, as well as those that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various smart bracelets and smart jewelry for vital sign monitoring.
[0075] It should be noted that the device for realizing the function of the tag can be a tag, or a device that can support the tag to realize the function, such as a chip system, which can be installed in the tag or used in combination with the tag. In the embodiment of the present application, the chip system can be composed of a chip, or it can include a chip and other discrete devices. In the embodiment of the present application, only the device for realizing the function of the tag is an example of a tag, and the scheme of the embodiment of the present application is not limited.
[0076] 2. Access network equipment
[0077] In the embodiments of the present application, the access network device can also be referred to as an access device or a network device. The access network device can manage wireless resources, provide access services for user devices, and complete the forwarding of user device data between the user device and the core network. The access network device can also be understood as a base station in the network. The reader / writer involved in the embodiments of the present application can be deployed in the access network device. In other words, the access network device has the reader / writer capability, that is, the ability to inventory tags.
[0078] Exemplarily, the access network device in the embodiment of the present application may be any communication device with wireless transceiver function for communicating with user equipment. The access network equipment includes, but is not limited to, evolved NodeB (eNB), radio network controller (RNC), Node B (NB), base station controller (BSC), base transceiver station (BTS), home evolved NodeB (HeNB, or home Node B, HNB), baseband unit (BBU), access point (AP) in wireless fidelity (WIFI) system, wireless relay node, wireless backhaul node, transmission point (TP) or transmission and reception point (TRP), etc. It can also be a 5G mobile communication system, such as gNB in NR system, or transmission point (TRP or TP), one or a group of (including multiple antenna panels) antenna panels of a base station in a 5G mobile communication system, or it can also be a network node constituting a gNB or a transmission point, such as a baseband unit (BBU), or a distributed unit (DU), etc.
[0079] In some deployments, the access network device may be a device including a CU, or a DU, or a device including a CU and a DU, or a device including a control plane CU node (central unit control plane (CU-CP)) and a user plane CU node (central unit user plane (CU-UP)) and a DU node. For example, the access network device may include a gNB-CU-CP, a gNB-CU-UP and a gNB-DU. The CU (or the CU-CP and the CU-UP) implements some functions of the access network device, and the DU implements some functions of the access network device. For example, the CU is responsible for processing non-real-time protocols and services, and implements the functions of the radio resource control (RRC) and packet data convergence protocol (PDCP) layers. The DU is responsible for processing physical layer protocols and real-time services, and implements the functions of the radio link control (RLC) layer, the media access control (MAC) layer and the physical (PHY) layer. The AAU implements some physical layer processing functions, RF processing and related functions of active antennas. The information of the RRC layer is generated by the CU, and will eventually be encapsulated by the PHY layer of the DU to become the PHY layer information, or converted from the PHY layer information. Therefore, under this architecture, high-level signaling such as RRC layer signaling can also be considered to be sent by the DU, or sent by the DU+AAU. It can be understood that the access network device can be a device including one or more of the CU node, DU node, and AAU node. In addition, the CU can be divided into an access network device in the access network, and the CU can also be divided into an access network device in the core network (CN), and this application does not limit this.
[0080] In different systems, CU (or CU-CP and CU-UP), DU or RU may also have different names, but those skilled in the art can understand their meanings. For example, in the ORAN system, CU may also be called O-CU (open CU), DU may also be called O-DU, CU-CP may also be called O-CU-CP, CU-UP may also be called O-CU-UP, and RU may also be called O-RU. Any unit in the CU (or CU-CP, CU-UP), DU and RU in this application may be implemented by a software module, a hardware module, or a combination of a software module and a hardware module.
[0081] It should be noted that the device for implementing the function of the access network device may be an access network device; or it may be a device that can support the access network device to implement the function, such as a chip system, a hardware circuit, a software module, or a hardware circuit plus a software module. The device may be installed in the access network device or used in combination with the access network device. In the embodiments of the present application, only the device for implementing the function of the access network device is an access network device as an example for description, and the scheme of the embodiments of the present application is not limited.
[0082] The access network device and / or tag can be deployed on land, including indoors or outdoors, handheld or vehicle-mounted; it can also be deployed on the water surface; it can also be deployed on aircraft, balloons and satellites in the air. The scenarios in which the access network device and the tag are located are not limited in the embodiments of the present application. In addition, the tag and the access network device can be a hardware device, or it can be a software function running on dedicated hardware, a software function running on general-purpose hardware, such as a virtualized function instantiated on a platform (e.g., a cloud platform), or an entity including dedicated or general-purpose hardware devices and software functions. The present application does not limit the specific form of the tag and the access network device.
[0083] In addition, in order to support artificial intelligence (AI) technology in wireless networks, AI nodes may also be introduced into the network. Optionally, the AI node can be deployed in one or more of the following locations in the communication system: access network equipment, tags, or core network elements, etc., or the AI node can also be deployed separately, for example, deployed in a location other than any of the above devices, such as a host or cloud server in an over the top (OTT) system. The AI node can communicate with other devices in the communication system, and the other devices may be, for example, one or more of the following: access network equipment, tags, or core network elements, etc.
[0084] 3. TMF
[0085] TMF is mainly responsible for managing labels, such as for label inventory and access management. TMF can be an independent network element, or it can be co-located or deployed with other network elements, such as co-located with access and mobility management function (AMF) network element, user plane function (UPF), UDM or UDR. TMF is co-located with AMF, UPF, UDM or UDR, which can be understood as improving other network elements so that the network elements have the functions that TMF is responsible for, such as improving AMF, UPF, UDM or UDR so that AMF, UPF, UDM or UDR have the functions of TMF. It can also be understood that TMF can have the functions of AMF, UPF, UDM or UDR in addition to the functions of label management, such as for label inventory and access management. For example, TMF can assume the functions of label mobility management, label user data transmission, label mobility management, label data unified management, or label data cache.
[0086] 4.AF
[0087] AF can be an application function of a third party or an operator. It is an interface for the mobile communication system to obtain external application data and is mainly used to transmit the requirements of the application side to the network side.
[0088] 5. NEF
[0089] NEF is mainly used to expose the services and capabilities of the 3rd Generation Partnership Project (3GPP) network functions to AF, and also allows AF to provide information to 3GPP network functions. NEF is an optional network element.
[0090] 6. UDM
[0091] UDM is mainly used to generate 3GPP authentication and key agreement (AKA) authentication certificates, user ID processing, access authorization based on contract information, service network function (NF) registration management, contract information management and other function-related data. UDM is an optional network element, such as TMF can be responsible for the unified management of tag data.
[0092] 7.UDR
[0093] UDR is mainly used by UDM to store and obtain contract data, Policy Control Function (PCF) network element to store and obtain policy data, store and use structured data for capability exposure, and store application data for application detection. UDM is an optional network element, such as TMF, which can be responsible for the function of caching label data.
[0094] exist Figure 1 In the network architecture shown, there may be interface communication between network elements. The interface between network elements may be a physical interface, a logical interface or a protocol interface, or a service-oriented interface, which is not limited in this application.
[0095] It should be understood that the network architecture shown above is only an exemplary description, and the network architecture applicable to the embodiments of the present application is not limited thereto. Any network architecture that can realize the functions of the above-mentioned network elements is applicable to the embodiments of the present application.
[0096] It should also be understood that Figure 1 The functions or network elements such as TMF, NEF, UDM, UDR, AF, etc. shown in the specification can be understood as network elements used to implement different functions, for example, they can be combined into network slices as needed. These network elements can be independent devices, or they can be integrated into the same device to implement different functions, or they can be network elements in hardware devices, or they can be software functions running on dedicated hardware, or they can be virtualized functions instantiated on a platform (for example, a cloud platform). This application does not limit the specific form of the above network elements.
[0097] It should also be understood that the above naming is only defined for the convenience of distinguishing different functions and should not constitute any limitation to this application. This application does not exclude the possibility of using other naming in 6G networks and other future networks. For example, in a 6G network, some or all of the above network elements may use the terminology in 5G, or may use other names, etc.
[0098] Currently, the inventory of IoT devices can be realized through mobile communication networks. The unstable characteristics of the network status of mobile communication networks will affect the data transmission between IoT devices and mobile communication networks, making the data transmission between IoT devices and mobile communication networks unreliable. For example, the capabilities of IoT devices do not support data fragmentation and reorganization. When the data read or written is large, the data transmission becomes unreliable.
[0099] In response to the above problems, the present application provides a data processing method and a communication device, in order to improve the reliability of data transmission between IoT devices and mobile communication networks.
[0100] The following is a description of the method embodiments of the present application.
[0101] Figure 2 It is a schematic flow chart of the data processing method 200 provided in this application.
[0102] Method 200 can be performed by an IoT device, a reader / writer, a core network element, and an AF. Unless otherwise specified, "IoT device", "reader / writer", "core network element" or "AF" may refer to an IoT device, a reader / writer, a core network element, or the AF itself, or may refer to a device that can support the IoT device, the reader / writer, the core network element, or the AF to implement the function. For the sake of convenience, the following text will uniformly use IoT devices, readers / writers, core network elements, or AF for description.
[0103] The IoT device may be the tag described above. The core network element is a network element responsible for managing the IoT device, such as the TMF described above. The reader / writer may be integrated into an access network device, a relay device, or a terminal device, or may be a dedicated reader / writer, without limitation.
[0104] The method 200 includes at least part of the following.
[0105] Step 201: AF sends a data request message to a core network element. Correspondingly, the core network element receives the data request message from AF.
[0106] The data request message is used to request processing of the data to be processed.
[0107] The data to be processed may also be referred to as data. When referred to as data, the data may be assumed to be data to be processed. Based on this, the data request message is used to request processing of the data to be processed, and may also be described as a data request message used to request processing of the data.
[0108] When AF has data to write to the IoT device, the above processing is a write processing, and the data request message is used to request to write the data to be processed to the IoT device. At this time, the data to be processed is the data to be written, and the data request message can carry the data to be written. The data to be written may include one or more of the following data: keys, configuration data, or file data. Among them, the keys may include keys for security authentication, etc. Configuration data may include tag identification, etc. File data may refer to data in the format of a file. When the file data includes keys and / or configuration data, it can be understood as writing keys and / or configuration data to the tag in the format of a file.
[0109] When AF needs to obtain data from an IoT device, the above processing is a read processing, and the data request message is used to request to read the data to be processed from the IoT device. At this time, the data to be processed is the data to be read, and the data request message may carry information for indicating the storage range of the data to be read. In one possible implementation, the information for indicating the storage range of the data to be read may be the storage range of the data to be read. In another possible implementation, the information for indicating the storage range of the data to be read may be the type of data to be read. For example, when the TMF is pre-configured with a correspondence between the data type and the storage range, the information for indicating the storage range of the data to be read may be the type of data to be read.
[0110] The data request message may also generally carry information related to data processing. The information related to data processing may include information about the IoT devices to be inventoried, where the IoT devices to be inventoried may be one or more IoT devices. The information about the IoT devices to be inventoried may include one or more of the information about the region to which the IoT devices belong, the identification range of the IoT devices, or the type of the IoT devices. Among them, the IoT device identifier is information that can uniquely determine the identifier, such as if the IoT device is a tag, and the identifier of the IoT device may be a tag identifier (TID) or an electronic product code (EPC), etc.
[0111] It should be noted that when there are multiple IoT devices to be counted, the data to be processed corresponding to each IoT device can be the same or different without limitation. For example, when the above processing is a write processing, the data to be written corresponding to each IoT device can be the same or different. For another example, when the above processing is a read processing, the storage range of the data to be read corresponding to each IoT device can be the same or different.
[0112] Step 202: The core network element sends an inventory request message to the reader / writer according to the length of the data to be processed. Correspondingly, the reader / writer receives the inventory request message from the core network element.
[0113] The inventory request message is used to request an inventory of the IoT devices to be inventoried. The inventory request message may carry information of the IoT devices to be inventoried, such as the identification range of the IoT devices, the type of the IoT devices, etc.
[0114] When there is a lot of data to be processed and the air interface between the reader and the IoT device cannot carry it at one time, the inventory request message also includes first indication information. The first indication information is used to instruct the reader to obtain information for slicing the data to be processed, or the first indication information is used to instruct the reader to obtain the link quality of the communication link between the reader and the IoT device, or the first indication information is used to indicate the use of a first mode to transmit data, for example, the first mode can be a large data packet mode. In the first mode, the reader can obtain the link quality of the communication link between the reader and the IoT device, and determine the information for slicing the data to be processed based on the obtained link quality. For example, the first indication information can be a bit in the inventory request message.
[0115] In one possible implementation method, the core network network element may compare the length of the data to be processed with a preset threshold, or the core network network element may compare the length of the data to be processed with a default length value such as the maximum transmission unit MTU (maximum transmission unit). When the length of the data to be processed is greater than or equal to the preset threshold or the default length value, the core network network element carries the first indication information in the inventory request message.
[0116] When there are multiple IoT devices to be counted, the core network element can determine the mode of transmitting the data to be processed, such as whether to adopt the first mode of transmission, according to the length of the data to be processed of each IoT device. When the data to be processed corresponding to multiple IoT devices are the same, the core network element can also determine the transmission mode of the data to be processed of the multiple IoT devices according to the length of the data to be processed.
[0117] The core network element may send an inventory request message to one or more readers, and the one or more readers may be determined based on the information of the area to which the IoT device to be inventoried belongs carried in the data request message. The embodiment of the present application is described by taking one of the one or more readers as an example.
[0118] Step 203: The reader / writer obtains first quality information according to the first indication information in the inventory request message.
[0119] The first quality information is used to indicate the link quality of the communication link between the reader and the IoT device. The first quality information may include an air interface quality parameter that can reflect the link quality. Exemplarily, the air interface quality parameter may include one or more of the following information: reference signal received power (RSRP), received signal strength indicator (RSSI), reference signal received quality (RSRQ), or signal to interference plus noise ratio (SINR).
[0120] The embodiments of the present application do not limit the manner in which the reader / writer obtains the first quality information.
[0121] In a possible implementation, the reader / writer may perform a quality detection on a communication link between the reader / writer and the IoT device according to the first indication information to obtain first quality information.
[0122] Exemplarily, when the above processing is a write processing, the reader / writer can perform a quality detection on the downlink between the reader / writer and the IoT device according to the first indication information to obtain the first quality information. For example, the reader / writer sends a fifth signaling to the IoT device and receives a sixth signaling from the IoT device, the sixth signaling responds to the fifth signaling, and the reader / writer determines the first quality information according to the fifth signaling and the sixth signaling.
[0123] Exemplarily, when the above processing is a write processing, the reader / writer can perform a quality detection on the uplink between the reader / writer and the IoT device according to the first indication information to obtain the third quality information, the third quality information is used to indicate the link quality of the uplink between the reader / writer and the IoT device, and then the reader / writer determines the first quality information according to the third quality information. For example, the reader / writer sends a fifth signaling to the IoT device and receives a sixth signaling from the IoT device, the sixth signaling responds to the fifth signaling, the reader / writer determines the third quality information according to the sixth signaling, and then determines the first quality information according to the third quality information.
[0124] Exemplarily, when the above processing is a reading process, the reader / writer can perform a quality detection on the uplink between the reader / writer and the IoT device according to the first indication information to obtain the first quality information. For example, the reader / writer sends a fifth signaling to the IoT device and receives a sixth signaling from the IoT device, the sixth signaling responds to the fifth signaling, and the reader / writer determines the first quality information according to the sixth signaling.
[0125] Another possible implementation method is that the reader / writer can send a fifth signaling to the Internet of Things device based on the first indication information, and the fifth signaling includes the second indication information, and the second indication information is used to instruct the Internet of Things device to perform a quality test on the communication link between the reader / writer and the Internet of Things device; the Internet of Things device can perform a quality test on the communication link between the reader / writer and the Internet of Things device based on the second indication information to obtain the first quality information; the Internet of Things device sends a sixth signaling to the reader / writer, and the sixth signaling includes the first quality information.
[0126] Exemplarily, when the above-mentioned processing is a write processing, the Internet of Things device can use the second indication information to perform a quality detection on the downlink between the reader / writer and the Internet of Things device to obtain the first quality information, and the first quality information is used to indicate the link quality of the downlink between the reader / writer and the Internet of Things device.
[0127] The fifth signaling is any one of the following signalings: an excitation signal, a selection command, a downlink signaling in a random access process, a first registration message, or a downlink signaling in a security authentication process. Among them, the excitation signal is used to power the IoT device to be counted. In one method, the excitation signal can be a background carrier. The selection command is used to select the IoT device to be counted. The random access process is the process of the IoT device accessing the reader / writer, and the downlink signaling in the random access process includes at least one of a query command, a repeated query command, a query adjustment command, or a confirmation command. The first registration message is used to indicate that the IoT device has successfully registered with the core network element. The first registration message may include a registration acceptance message and / or a registration response message. The security authentication process is a security authentication process between the IoT device and the core network element, and the downlink signaling in the security authentication process includes an authentication pass message and / or an authentication request message.
[0128] The sixth signaling is any one of the following signalings: uplink signaling in a random access process, a second registration message, or uplink signaling in a security authentication process. The second registration message is used to request registration with a core network element. The uplink signaling in the random access process may include signaling carrying a random number. The second registration message may be a registration request message.
[0129] Step 204: The reader / writer determines first fragmentation information according to the first quality information.
[0130] The first sharding information is used to shard the data to be processed.
[0131] In a possible implementation, the first fragmentation information includes at least one of the following information: first quality information, first fragmentation length, or first length range. The first fragmentation length is the length of the data fragmentation supported for transmission by the link quality indicated by the first quality information. The first length range is the length range of the data fragmentation supported for transmission by the link quality indicated by the first quality information.
[0132] Step 205: The reader / writer sends the first fragmentation information to the core network element. Correspondingly, the core network element receives the first fragmentation information from the reader / writer.
[0133] In a possible implementation, the first fragment information is carried in a third registration message or an uplink signaling in a security authentication process. The third registration message is used to request that the IoT device be registered with a core network element. The third registration message may be a registration request message.
[0134] Step 206: The core network element determines the length of the first data fragment according to the first fragment information.
[0135] Among them, the first data slice belongs to the data to be processed.
[0136] When the first fragmentation information includes the first quality information or the first length range, the core network network element determines the length of the first data fragmentation according to the first fragmentation information, including: the core network network element determines the first fragmentation length according to the first quality information or the first length range, and then determines the length of the first data fragmentation according to the first fragmentation length.
[0137] Step 207: The core network element sends a first signaling to the reader / writer, and correspondingly, the reader / writer receives the first signaling from the core network element.
[0138] The first signaling is used to process the first data fragment.
[0139] When AF has data to write into the IoT device, the above process is a write process, and the first signaling is used to write the first data fragment into the IoT device, and the first signaling can carry the first data fragment.
[0140] When the AF needs to obtain data from the IoT device, the above processing is a read processing, and the first signaling is used to read the first data segment from the IoT device. The first signaling can carry read information, and the read information is used to indicate the storage range of the first data segment.
[0141] Step 208: The reader / writer sends a second signaling to the IoT device, and correspondingly, the IoT device receives the second signaling from the reader / writer.
[0142] The second signaling is used to process the first data fragment.
[0143] When the first signaling is used to write the first data slice to the Internet of Things device, the second signaling is used to write the first data slice to the Internet of Things device, and the second signaling carries the first data slice.
[0144] When the first signaling is used to read the first data slice from the IoT device, the second signaling is used to read the first data slice from the IoT device, and the second signaling carries read information, and the read information is used to indicate the storage range of the first data slice.
[0145] Step 209: The IoT device sends a third signaling to the reader / writer, and correspondingly, the reader / writer receives the third signaling from the IoT device.
[0146] Wherein, the third signaling includes the processing result of the first data slice. When the second signaling is used to write the first data slice to the IoT device, the third signaling includes the writing result of the first data slice. When the second signaling is used to read the first data slice from the IoT device, the third signaling includes the reading result of the first data slice, such as the first data slice.
[0147] Optionally, in step 210, the reader / writer sends a fourth signaling to the core network element according to the third signaling, and correspondingly, the core network element receives the fourth signaling from the reader / writer.
[0148] Wherein, the fourth signaling includes the processing result of the first data segment. When the third signaling includes the writing result of the first data segment, the fourth signaling includes the writing result of the first data segment. When the third signaling includes the reading result of the first data segment, the fourth signaling includes the reading result of the first data segment.
[0149] In method 200, the reader can determine information for slicing the data to be processed based on the link quality of the communication link between the reader and the IoT device, and send it to the core network element, so that the core network element can transmit the data to be processed in slices based on the received information, so that the length of the data slice transmitted each time is matched with the link quality of the communication link between the reader and the IoT device, that is, the link quality of the communication link between the reader and the IoT device can carry the data slice transmitted this time, thereby helping to improve the reliability of data transmission. And because the length of the data slice transmitted each time in method 200 is matched with the link quality of the communication link between the reader and the IoT device, even if the IoT device does not have the ability to slice and reassemble data, reliable data transmission can also be achieved.
[0150] Optionally, in step 211, the core network element continues to determine the length of the second data segment. The second data segment belongs to the data to be processed.
[0151] In a possible implementation, the core network element determines the length of the second data slice according to the first slice information in step 205. For example, when the quality of the communication link between the reader and the IoT device is relatively stable, the core network element can slice the data to be processed according to the same slice information. In this case, the length of the data slice determined each time is the same.
[0152] Another possible implementation method is that the fourth signaling includes second fragmentation information, and the second fragmentation information is used to fragment the data to be processed. That is, the fourth signaling may carry updated fragmentation information. In this case, the core network network element determines the length of the second data fragmentation based on the second fragmentation information. For example, when the quality of the communication link between the reader and the IoT device is not very stable, the reader can update the fragmentation information and report it to the core network network element, so that the core network network element can fragment the data to be processed according to the updated fragmentation information. If different fragmentation information is used for data fragmentation each time, the length of the data fragment determined each time may be different.
[0153] In the case where the fourth signaling includes the second fragmentation information, before step 210, method 200 may further include step 212 and step 213.
[0154] Step 212: The reader / writer obtains second quality information.
[0155] The second quality information is used to indicate the link quality of the communication link between the reader and the IoT device. The link quality indicated by the second quality information may be different from the link quality indicated by the first quality information, or may be the same. The description of the second quality information may refer to the first quality information.
[0156] The embodiments of the present application do not limit the manner in which the reader obtains the second quality information.
[0157] In a possible implementation manner, the reader can perform a quality detection on the communication link between the reader and the IoT device to obtain the second quality information.
[0158] Exemplarily, when the above process is a write process, the reader can perform a quality detection on the downlink between the reader and the IoT device to obtain the first quality information. For example, the reader can determine the second quality information based on the second signaling in step 208 and the third signaling in step 209.
[0159] Exemplarily, when the above process is a write process, the reader can perform a quality detection on the uplink between the reader and the IoT device to obtain fourth quality information, and the fourth quality information is used to indicate the link quality of the uplink between the reader and the IoT device, and then the reader determines the second quality information according to the fourth quality information. For example, the reader can determine the fourth quality information according to the third signaling in step 209, and then determine the second quality information according to the fourth quality information.
[0160] Exemplarily, when the above process is a read process, the reader can perform a quality detection on the uplink between the reader and the IoT device to obtain the first quality information. For example, the reader can determine the second quality information according to the third signaling in step 209.
[0161] In another possible implementation, the reader can send second indication information to the IoT device, and the second indication information is used to instruct the IoT device to perform a quality test on the communication link between the reader and the IoT device; the IoT device can perform a quality test on the communication link between the reader and the IoT device based on the second indication information to obtain second quality information; the IoT device sends the second quality information to the reader. For example, the reader can carry the second indication information in the second signaling in step 208, and the IoT device can perform a link quality test based on the second signaling to obtain the second quality information and send it to the reader through the third signaling in step 209.
[0162] Exemplarily, when the above-mentioned processing is a write processing, the Internet of Things device can use the second indication information to perform a quality detection on the downlink between the reader / writer and the Internet of Things device to obtain second quality information, and the second quality information is used to indicate the link quality of the downlink between the reader / writer and the Internet of Things device.
[0163] Step 213: The reader / writer determines the second fragmentation information according to the second quality information.
[0164] The second sharding information is used to shard the data to be processed. The description of the second sharding information can refer to the first sharding information.
[0165] In some embodiments of the present application, the reader / writer may also consider the processing result of the first data slice when determining the second slice information, that is, the reader / writer may determine the second slice information according to the second quality information and the processing result of the first data slice. The processing result of the first data slice may include whether there is data loss in the transmission of the first data slice and / or whether the transmission of the first data slice triggers retransmission, etc. For example, when the processing of the data to be processed is read processing, assuming that the length of the first data slice is 10 bits (that is, the reader / writer reads 10 bits of data from the IoT device), the reader / writer only receives 5 bits of data from the IoT device, and the current second link quality supports the transmission of 12 bits of data, then the reader / writer can report the incremental 2 bits to the core network element, and send the 5 bits of data and the incremental slice length information to the core network element, and the core network element of the subsequent step 211 determines the length of the second data slice based on the reported 5 bits of data and the incremental slice length. In this case, the core network element determines the length of the second data slice as 8 bits based on the received 5 bits of data. For another example, assuming that the length of the first data segment is 10 bits, when the reader / writer and the IoT device support link layer retransmission guarantee, the reader / writer senses that the first data segment needs to be retransmitted, and the current link quality supports the transmission of 12 bits of data, then the reader / writer can report the complete 12 bits to the core network element and send the retransmission information to the core network element. The core network element in the subsequent step 211 determines the length of the second data segment based on the reported segment length and retransmission information. In this retransmission case, the core network element can determine the length of the second segment to be 8 bits.
[0166] In some other implementations of the present application, step 212 and step 213 may be triggered by the retransmission of the first data segment. In other words, when the transmission of the first data segment triggers the retransmission, the reader / writer may re-determine the segment information and / or retransmission information and report it to the core network element based on the situation.
[0167] Combine the following Figure 3 , taking the example of carrying instruction information instructing the IoT device to perform link quality detection in the selection command, the IoT device performing downlink link quality detection, and the reader / writer determining the length of the data segment according to the result of the link quality detection, a detailed description of writing data to the IoT device is given.
[0168] The tag, TMF, data write request message, indication information #1, indication information #2, fragmentation information #1, data fragmentation #1, or fragmentation information #2 in method 300 may correspond to the Internet of Things device, core network element, data request message, first indication information, second indication information, first fragmentation information, first data fragmentation, or second fragmentation information in method 200, respectively.
[0169] Figure 3It is a schematic flow chart of the data processing method 300 provided in this application.
[0170] Step 301: AF sends a data write request message to TMF, and correspondingly, TMF receives the data write request message from AF.
[0171] The data write request message is used to request to write data to the tag. The data write request message includes the data to be written, and the data to be written can refer to the description in step 201. The data write request message usually carries information related to data writing, and the information related to data writing can refer to the information related to data processing in step 201.
[0172] Step 302: TMF sends an inventory request message to the reader / writer according to the length of the data to be written. Correspondingly, the reader / writer receives the inventory request message from TMF.
[0173] The inventory request message is used to request the reader to perform an inventory on the tag. The inventory request message includes indication information #1, which is used to instruct the reader to obtain information for slicing the data to be processed, or the first indication information is used to instruct the reader to obtain the link quality of the communication link between the reader and the tag, or the first indication information is used to indicate that the first mode is used to transmit data, for example, the first mode can be a large data packet mode.
[0174] Step 302 may refer to step 202 and will not be described in detail.
[0175] Step 303: The reader sends an excitation signal to the tags within the coverage of the reader according to the inventory request message. Correspondingly, the tags within the coverage of the reader receive the excitation signal sent by the reader to energize the tags. The energized tags have the energy to send information or data to the reader.
[0176] In method 300 , tag # 1 is within the coverage of the reader.
[0177] Step 304: the reader sends a selection command to the tags within the coverage of the reader, and correspondingly, the tags within the coverage of the reader receive the selection command sent by the reader.
[0178] Among them, the selection command is used to select the tags to be counted.
[0179] Exemplarily, the selection command may include conditions that the tag needs to meet, and the tag to be counted is the tag that meets the conditions in the selection command. In this way, after receiving the selection command, the tags within the coverage range of the reader can be matched to determine whether they meet the conditions in the selection command. The selection command is used to select tags, and a single or multiple tags within the range are selected by the range of tag IDs. The single or multiple tags successfully match the range of the tag identification in step 201, that is, the identification of the single or multiple tags belongs to the range of the tag identification. The tag ID can be the EPC code of the tag or the TID of the tag or other IDs of the tag to uniquely identify the tag. Taking the selection command carrying the TID range as an example, the tag can determine whether the value in its TID storage area is within the TID range. If the value in the TID storage area of the tag is within the TID range, the tag is selected or matched successfully and belongs to the tag to be counted. If the value in the TID storage area of the tag is not within the TID range, the tag is not selected or the matching fails and does not belong to the tag to be counted.
[0180] In addition, the selection command may also carry indication information #2, and the indication information #2 is used to instruct the tag to perform downlink quality detection. In this way, the tag that is successfully matched can perform downlink quality detection.
[0181] Step 305: The tag is matched according to the selection command.
[0182] Step 306: The successfully matched tag and the reader perform a random access process.
[0183] The embodiments of the present application do not limit the specific implementation of random access. In one possible implementation, the reader sends a query command (query) to the tag. The query command can carry a Q value, which is used for the tag to randomly generate a random value in the range of (0, 2^Q–1) according to probability; after receiving the query command, the tag generates a random value according to probability, and the tag with a random value of 0 replies to the reader with the random number RN16 it generated; after receiving the random number, the reader replies to the tag with an acknowledgment (ACK) command, which can carry the random number; the tag compares the random number sent and the random number received, and when the two random numbers are consistent, the tag random access is successful. The query command can also be a repeated query command (QueryRep) or a query adjustment command (QueryAdjust).
[0184] The method 300 takes label #1 as an example in which the label for successful random access is used.
[0185] Step 307: Tag #1 determines downlink quality measurement result #1.
[0186] The downlink quality measurement result #1 may include an air interface quality parameter that can reflect the link quality. Exemplarily, the air interface quality parameter may include one or more of the following information: RSRP, RSSI, RSRQ, or SINR.
[0187] The embodiments of the present application do not limit the specific implementation method of tag #1 performing downlink quality measurement to obtain downlink quality measurement result #1. In one possible implementation method, tag #1 can perform downlink quality measurement to obtain downlink quality measurement result #1 based on downlink signaling during random access, such as a query command or an ACK command. In another possible implementation method, the reader can also send other downlink signaling to tag #1 after tag #1 successfully performs random access, so that tag #1 can perform downlink quality measurement to obtain downlink quality measurement result #1 based on the downlink signaling.
[0188] Step 308: Tag #1 sends a registration request message #1 to the reader / writer. Accordingly, the reader / writer receives the registration request message #1 from tag #1.
[0189] The registration request message #1 is used to register with the TMF, and the registration request message #1 carries the identifier of the label #1. The registration request message #1 may also carry the downlink quality measurement result #1.
[0190] It should be noted that carrying the downlink quality measurement result #1 in the registration request message #1 is only one way for the tag #1 to report the downlink quality measurement result #1 to the reader. In another way, if the tag #1 and the TMF need to perform a security authentication process, the tag #1 can also report the downlink quality measurement result #1 to the reader through the signaling in the security authentication process. In another way, the tag #1 can also report the downlink quality measurement result #1 to the reader through other uplink signaling.
[0191] Step 309: The reader / writer determines fragmentation information #1 according to downlink quality measurement result #1 reported by tag #1.
[0192] Among them, the fragmentation information #1 includes one or more of the following information: the optimal fragmentation length #1 or the fragmentation length value range #1. Among them, the optimal fragmentation length can be the maximum fragmentation length supported by the current downlink quality. The optimal fragmentation length can also be other fragmentation lengths. For example, there are 12 bytes of data that need to be written to the tag #1. The reader determines that the maximum supported fragmentation length is 9 bytes based on the downlink quality measurement result #1. Therefore, the 12-byte data can be divided into two data fragments of 9 bytes and 3 bytes for transmission. However, considering that the link quality will fluctuate, if the fragmentation is performed according to the maximum 9 bytes, there may be a risk of transmission failure. Therefore, the optimal fragmentation length can be less than the maximum fragmentation length, such as dividing the 12-byte data into two data fragments of 6 bytes for transmission.
[0193] Step 310: The reader sends a registration request message #2 to the TMF. Accordingly, the TMF receives the registration request message #2 from the reader.
[0194] The registration request message #2 is used to register with the TMF, and the registration request message #2 carries the identifier of the label #1. The registration request message #2 may also carry the fragmentation information #1.
[0195] It should be noted that carrying fragment information #1 in registration request message #2 is only one way for the reader to provide fragment information to TMF. In another way, if tag #1 and TMF need to perform a security authentication process, the reader can also provide fragment information #1 to TMF through the signaling in the security authentication process. In another way, the reader can also provide fragment information #1 to TMF through other uplink signaling.
[0196] Optionally, in step 311, tag #1 and TMF perform a security authentication process.
[0197] Step 312: TMF sends a registration acceptance message to tag #1 through the reader / writer, and accordingly, tag #1 receives the registration acceptance message from TMF, wherein the registration acceptance message is used to indicate that tag #1 is successfully registered.
[0198] If tag #1 and TMF perform the security authentication process, TMF sends a registration acceptance message to tag #1 if the security authentication is successful.
[0199] Step 313, TMF determines the data slice length from the data to be written according to the slice information #1, and then obtains data slice #1.
[0200] The length of data slice #1 is the optimal slice length #1. A data slice may also be called a data packet or a sub-data packet.
[0201] When the fragment information #1 carries the fragment length value range #1, TMF can determine the optimal fragment length #1 based on the value range #1. Exemplarily, TMF can determine the optimal fragment length #1 based on the value range #1, the length of the data to be written, and the preset rule. Exemplarily, the preset rule can be the larger value of the maximum fragment length in the value range #1 and the length of the data to be written. Exemplarily, the preset rule can be the smaller value of the minimum fragment length in the value range #1 and the length of the data to be written. Exemplarily, the preset rule can be the middle value in the value range #1.
[0202] Step 314: TMF sends write command #1 to the reader / writer, and correspondingly, the reader / writer receives write command #1 from TMF.
[0203] Among them, write command #1 includes data slice #1.
[0204] Step 315: The reader sends a write command #2 to tag #1 according to the write command #1. Accordingly, tag #1 receives the write command #2 from the reader.
[0205] Among them, write command #2 includes data slice #1.
[0206] Optionally, the write command #2 may further include indication information #2, where the indication information #2 is used to instruct the tag to perform downlink quality detection.
[0207] There are two situations in which the write command #2 in step 315 includes indication information #2 and does not include indication information #2. In the two situations, the subsequent steps are slightly different, which are described below respectively.
[0208] Case 1: The write command #2 in step 315 includes indication information #2, and steps 316 to 323 can be executed.
[0209] Step 316: Tag #1 determines downlink quality measurement result #2 according to write command #2.
[0210] The description of downlink quality measurement result #2 may refer to that of downlink quality measurement result #1, and will not be described in detail.
[0211] Step 317: Tag #1 sends a response message #1 to the reader / writer, and correspondingly, the reader / writer receives a response message #1 from tag #1.
[0212] Among them, the response message #1 is used to indicate the writing result of the data slice #1, and the writing result can be writing success or writing failure. The response message #1 can carry the downlink quality measurement result #2. The way in which the tag #1 reports the downlink quality measurement result #2 to the reader can refer to the way in which the tag #1 reports the downlink quality measurement result #1 to the reader, and will not be described in detail.
[0213] Step 318: The reader / writer determines fragmentation information #2 according to downlink quality measurement result #2 reported by tag #1.
[0214] The fragment information 2 includes one or more of the following information: optimal fragment length #2 or fragment length value range #2.
[0215] Step 319: The reader sends a response message #2 to the TMF, and correspondingly, the TMF receives a response message #2 from the reader.
[0216] Among them, response message #2 is used to indicate the writing result of data packet #1, and the writing result can be writing success or writing failure. Response message #2 can carry fragmentation information #2. Optionally, response message #2 can carry the identifier of tag #1. The way in which the reader / writer provides fragmentation information #2 to TMF can refer to the way in which the reader / writer provides fragmentation information #1 to TMF, and will not be described in detail.
[0217] Step 320: TMF obtains data slice #2 from the data to be written according to slice information #2.
[0218] Among them, the length of data packet #2 is the optimal fragment length #2.
[0219] When the fragmentation information #2 carries the optimal fragmentation length value range #2, TMF can determine the optimal fragmentation length #2 based on the value range #2. For a specific description, please refer to step 313 and will not be described in detail.
[0220] Step 321, TMF sends write command #3 to the reader / writer, and correspondingly, the reader / writer receives write command #3 from TMF.
[0221] The write command #3 includes data slice #2.
[0222] Step 322: The reader sends a write command #4 to tag #1 according to the write command #3. Accordingly, tag #1 receives the write command #4 from the reader.
[0223] The write command #4 includes data fragment #2. The write command #4 may also include indication information #2, and the indication information #2 is used to instruct the tag to perform downlink quality detection.
[0224] Step 323, repeat steps 316 to 322 until all the data to be written are written into tag #1.
[0225] In case 1, the size of each data shard can be different.
[0226] Case 2: The write command #2 in step 315 does not include indication information #2, and steps 324 to 327 may be executed.
[0227] Step 324, tag #1 sends a response message #3 to TMF via the reader / writer, and accordingly, TMF receives a response message #3 from tag #1.
[0228] Among them, response message #3 is used to indicate the writing result of data shard #1, and the writing result can be writing success or writing failure.
[0229] Step 325: TMF obtains data slice #3 from the data to be written according to the optimal slice length #1 in step 313. The length of data slice #3 is the optimal slice length #1.
[0230] It should be noted that, for the last data fragment, its length may be less than or equal to the optimal fragment length #1.
[0231] Step 326, TMF sends write command #5 to tag #1 through the reader / writer, and correspondingly, tag #1 receives write command #5 from TMF.
[0232] Among them, write command #5 includes data slice #3.
[0233] Step 327, repeat steps 324 to 326 until all the data to be written are written into tag #1.
[0234] In case 2, the size of each data fragment is the same. Case 2 may be applicable to a scenario where the downlink quality is relatively stable.
[0235] After all the data to be written is written into tag #1, step 328 may be executed.
[0236] Step 328: TMF sends a data write response message to AF, and correspondingly, AF receives the data write response message from TMF.
[0237] The data writing response message includes the result of data writing to tag #1.
[0238] It should be noted that when the tag with the disk count is tag #1, step 328 can be executed after all the data to be written is written to tag #1. When the tag with the disk count is multiple tags including tag #1, the result of data writing for each tag can be sent to AF after the data writing of the tag is completed, that is, step 328 can be executed after all the data to be written is written to tag #1, or step 328 can be executed after all the data writing of the multiple tags is completed. In this case, the data writing response message includes the result of data writing for each tag in the multiple tags.
[0239] Combine the following Figure 4 , taking the example of the reader performing uplink quality detection according to the registration request message sent by the IoT device and determining the length of the uplink data segment according to the result of the uplink quality detection, reading data from the IoT device is described in detail.
[0240] The tag, TMF, data read request message, indication information #3, fragmentation information #3, data fragmentation #4, or fragmentation information #4 in method 400 may correspond to the Internet of Things device, core network element, data request message, first indication information, first fragmentation information, first data fragmentation, or second fragmentation information in method 200, respectively.
[0241] Figure 4 It is a schematic flow chart of the data processor 400 provided in this application.
[0242] Step 401: AF sends a data read request message to TMF, and correspondingly, TMF receives the data read request message from AF.
[0243] The data read request message is used to request to read the data in the tag. The data read request message includes information for indicating the storage range of the data to be read, and the information for indicating the storage range of the data to be read can refer to the description in step 201. The data read request message usually carries information related to data reading, and the information related to data reading can refer to the information related to data processing in step 201.
[0244] Step 402: TMF sends an inventory request message to the reader / writer according to the data storage range to be read. Correspondingly, the reader / writer receives the inventory request message from TMF.
[0245] The inventory request message is used to request the reader to perform an inventory on the tag. The inventory request message includes indication information #1, which is used to instruct the reader to obtain information for slicing the data to be processed, or the first indication information is used to instruct the reader to obtain the link quality of the communication link between the reader and the tag, or the first indication information is used to indicate that the first mode is used to transmit data, for example, the first mode can be a large data packet mode.
[0246] Step 402 may refer to step 202 and will not be described in detail.
[0247] Step 403: the reader sends an excitation signal to the tags within the coverage of the reader according to the inventory request message. Correspondingly, the tags within the coverage of the reader receive the excitation signal sent by the reader to energize the tags. The energized tags have the energy to send information or data to the reader.
[0248] In method 400, tag #1 is within the coverage of the reader.
[0249] Step 404: the reader sends a selection command to the tags within the coverage of the reader, and correspondingly, the tags within the coverage of the reader receive the selection command sent by the reader.
[0250] The selection command is used to select the tags to be counted. Exemplarily, the selection command may include conditions that the tags need to meet, and the tags to be counted are tags that meet the conditions in the selection command. In this way, after receiving the selection command, the tags within the coverage of the reader can be matched to determine whether they meet the conditions in the selection command. For a detailed description, please refer to step 304.
[0251] Step 405: The tag is matched according to the selection command.
[0252] Step 406: The successfully matched tag performs a random access process with the reader. Step 406 can refer to step 306 and will not be described in detail.
[0253] The method 400 takes label #1 as an example in which the label for successful random access is used.
[0254] Step 407, tag #1 sends a registration request message #3 to the reader, and accordingly, the reader receives the registration request message #1 from tag #3. The registration request message #3 is used to register with TMF, and the registration request message #3 carries the identifier of tag #1.
[0255] Step 408: The reader performs uplink quality detection according to the registration request message #3, and obtains uplink quality detection result #1.
[0256] The uplink quality measurement result #1 may include an air interface quality parameter that can reflect the link quality. Exemplarily, the air interface quality parameter may include one or more of the following information: RSRP, RSSI, RSRQ, or SINR.
[0257] It should be noted that the reader / writer performing uplink quality detection according to the registration request message #3 is only one way to obtain the uplink quality detection result. In an embodiment of the present application, the reader / writer can perform uplink quality detection according to any uplink signaling from the tag. Exemplarily, the reader / writer can turn on the uplink quality detection when receiving a random number from the tag, such as the reader / writer can perform uplink quality detection according to the uplink signaling of the random number sent by the tag during the random access process, and the reader / writer can perform uplink quality detection according to the registration request message sent by the tag in step 408, and the reader / writer can perform uplink quality detection according to the uplink signaling during the tag security authentication process.
[0258] Step 409: The reader / writer determines fragmentation information #3 according to uplink quality measurement result #1.
[0259] Among them, the fragmentation information #3 includes one or more of the following information: the optimal fragmentation length #3 or the fragmentation length value range #3. Among them, the optimal fragmentation length can be the maximum fragmentation length supported by the current downlink quality. The optimal fragmentation length can also be other fragmentation lengths. For example, AF needs to read 12 bytes of data from tag #1. The reader determines that the maximum supported fragmentation length is 9 bytes based on the uplink quality measurement result #1. Therefore, the 12-byte data can be divided into two data fragments of 9 bytes and 3 bytes respectively. However, considering that the link quality will fluctuate, if the fragmentation is performed according to the maximum 9 bytes, there may be a risk of transmission failure. Therefore, the optimal fragmentation length can be less than the maximum fragmentation length, such as dividing the 12-byte data into two data fragments of 6 bytes for reading.
[0260] Step 410: The reader sends a registration request message #4 to the TMF. Accordingly, the TMF receives the registration request message #4 from the reader.
[0261] The registration request message #4 is used to register with the TMF, and the registration request message #4 carries the identifier of the label #1. The registration request message #4 may also carry the fragmentation information #3.
[0262] It should be noted that carrying fragment information #3 in registration request message #4 is only one way for the reader to provide fragment information to TMF. In another way, if tag #1 and TMF need to perform a security authentication process, the reader can also provide fragment information to TMF through the signaling in the security authentication process. In another way, the reader can also provide fragment information to TMF through other uplink signaling.
[0263] Optionally, in step 411, tag #1 and TMF perform a security authentication process.
[0264] Step 412, TMF sends a registration acceptance message to tag #1 through the reader, and accordingly, tag #1 receives the registration acceptance message from TMF, wherein the registration acceptance message is used to indicate that tag #1 is successfully registered.
[0265] If tag #1 and TMF perform the security authentication process, TMF sends a registration acceptance message to tag #1 if the security authentication is successful.
[0266] Step 413, TMF determines to read data segment #4 according to segment information #3.
[0267] The length of data segment #4 is the optimal segment length #3. A data segment may also be called a data packet or a sub-data packet.
[0268] When the fragmentation information #3 carries the value range #3 of the fragmentation length, the TMF can determine the optimal fragmentation length #3 according to the value range #3. For detailed description, please refer to step 413.
[0269] Step 414: TMF sends a read command #1 to tag #1 via the reader / writer, and tag #1 receives the read command #1 from TMF accordingly.
[0270] Among them, read command #1 is used to read data slice #4 in tag #1. In a possible implementation, read command #1 can carry at least one of the following information: the length of data slice #4, or the data storage range corresponding to data slice #4. Among them, the length of data slice #4 can also be described as the slice size of data slice #4. The embodiments of the present application do not limit the representation method of the data storage range corresponding to data slice #4. For example, the data storage range corresponding to data slice #4 can be represented by a combination of the starting position and the length of the pointer, and the data storage range corresponding to data slice #4 can be represented by a combination of the starting position and the end position of the pointer.
[0271] Optionally, the read command #1 may also carry encoding information #1, where the encoding information #1 is used to indicate an encoding method of the data slice #4.
[0272] Step 415, tag #1 sends a response message #4 to the reader / writer, and correspondingly, the reader / writer receives a response message #4 from tag #1.
[0273] Among them, response message #4 includes data fragment #4.
[0274] Subsequently, depending on whether the reader performs uplink quality measurement again, there are two situations, which are introduced below.
[0275] Case 1: The reader / writer performs uplink quality measurement again according to the response message #4. In this case, steps 416 to 421 may be executed.
[0276] Step 416: The reader performs uplink quality measurement according to the response message #3, and obtains uplink quality measurement result #2.
[0277] The description of uplink quality measurement result #2 may refer to that of uplink quality measurement result #1, and will not be described in detail.
[0278] Step 417: The reader / writer determines fragmentation information #4 according to uplink quality measurement result #2.
[0279] The fragment information #4 includes one or more of the following information: optimal fragment length #4 or fragment length value range #4. For a detailed description, please refer to fragment information #3.
[0280] Step 418: The reader sends a response message #5 to the TMF, and correspondingly, the TMF receives the response message #5 from the reader.
[0281] Among them, the response message #5 includes data fragment #4 and fragment information #4.
[0282] Step 419, TMF determines to read data segment #5 according to segment information #4.
[0283] The length of data fragment #5 is the optimal fragment length #4. When fragment information #4 carries a fragment length value range #4, TMF can determine the optimal fragment length #4 according to the value range #4. For detailed description, please refer to step 413.
[0284] Step 420: TMF sends a read command #2 to tag #1 via the reader / writer. Accordingly, tag #1 receives the read command #2 from TMF.
[0285] The read command #2 is used to read the data slice #4 in the tag #1. Optionally, the read command #2 also carries the coding information #2, which is used to indicate the coding method of the data slice #5. A more detailed description of the read command #2 can be found in the read command #1.
[0286] Step 421, tag #1 sends a response message #5 to the reader / writer, and correspondingly, the reader / writer receives a response message #5 from tag #1.
[0287] Among them, response message #5 includes data fragment #5.
[0288] Step 422, repeating steps 416 to 421 until all the data to be read are read successfully.
[0289] In case 1, the size of each data shard can be different.
[0290] Case 2: The reader no longer performs uplink quality measurement, that is, the reader forwards the response message #3 of tag #1 to TMF. In this case, steps 423 to 427 can be performed.
[0291] Step 423, the reader sends a response message #4 to the TMF, and correspondingly, the TMF receives a response message #4 from the reader.
[0292] Among them, response message #4 includes data fragment #4.
[0293] Step 424: TMF determines to read data segment #6 based on the optimal segment length #3 in step 413.
[0294] Among them, the length of data fragment #6 is the optimal fragment length #3.
[0295] Step 425, TMF sends a read command #3 to tag #1 through the reader / writer, and accordingly, tag #1 receives the read command #3 from TMF, wherein the read command #3 is used to read data slice #6 in tag #1.
[0296] Step 426, tag #1 sends a response message #7 to the reader / writer, and correspondingly, the reader / writer receives a response message #7 from tag #1.
[0297] Among them, response message #7 includes data fragment #6.
[0298] Step 427, repeating steps 423 to 426 until all the data to be read are read successfully.
[0299] In case 2, the size of each data fragment is the same. Case 2 may be applicable to a scenario where the downlink quality is relatively stable.
[0300] After all the data to be read are read successfully, step 428 may be executed.
[0301] Step 428: TMF sends a data read response message to AF, and correspondingly, AF receives the data read response message from TMF.
[0302] The data read response message includes the result of reading the data for tag #1.
[0303] It should be noted that, when the tag with the inventory count is tag #1, step 428 can be executed after all the data to be read are read successfully. When the tag with the inventory count is multiple tags including tag #1, the data reading result for each tag can be sent to the AF after the data reading of the tag is completed, that is, step 426 can be executed after the data reading of tag #1 is completed, and step 428 can also be executed after the data of the multiple tags are all read. In this case, the data reading response message includes the data reading result of each tag in the multiple tags.
[0304] Combination of the above Figures 2 to 4 , describes in detail the method embodiment provided by the present application, and will be combined with Figures 5 to 7 , describing an apparatus embodiment of the present application.
[0305] It can be understood that in order to realize the functions in the above embodiments, Figures 5 to 7 The device includes hardware structures and / or software modules corresponding to the execution of each function. It should be easily appreciated by those skilled in the art that, in combination with the units and method steps of each example described in the embodiments disclosed in this application, this application can be implemented in the form of hardware or a combination of hardware and computer software.
[0306] Figure 5 and Figure 6 The schematic diagram of the structure of possible devices provided by the embodiments of the present application. These devices can be used to implement the functions of the Internet of Things device, core network element or reader in the above method embodiments, and thus can also achieve the beneficial effects possessed by the above method embodiments.
[0307] like Figure 5 As shown, the device 10 includes a transceiver unit 11 and a processing unit 12 .
[0308] When the device 10 is used to implement the functions of the Internet of Things device in the above-mentioned method embodiments, the transceiver unit 11 is used to execute the transceiver steps of the Internet of Things device, such as steps 208, 209, 303, 304, 306, 308, 311, 312, 315, 317, 322, 324, 326, 403, 404, 406, 407, 411, 412, 414, 415, 420, 421, 425 or 426, and the processing unit 12 is used to execute the processing steps of the Internet of Things device, such as steps 305, 307, 316 or 405.
[0309] When the device 10 is used to implement the functions of the reader / writer in the above-mentioned method embodiments, the transceiver unit 11 is used to execute the transceiver steps of the reader / writer, such as steps 202, 205, 207, 208, 209, 210, 302, 303, 304, 306, 308, 310, 311, 312, 314, 315, 317, 319, 321, 322, 324, 326, 402, 403, 404, 406, 407, 410, 411, 412, 414, 415, 418, 420, 421, 423, 425 or 426, and the processing unit 12 is used to execute the processing steps of the reader / writer, such as steps 203, 204, 212, 213, 309, 318, 408, 409, 416 or 417.
[0310] When the device 10 is used to implement the functions of the core network network element in the above-mentioned method embodiments, the transceiver unit 11 is used to execute the transceiver steps of the core network network element, such as steps 201, 202, 205, 207, 210, 301, 302, 310, 314, 319, 321, 324, 326, 328, 401, 402, 410, 412, 414, 418, 420, 423, 425 or 428, and the processing unit 12 is used to execute the processing steps of the core network network element, such as steps 206, 207, 313, 320, 325, 413, 419 or 424.
[0311] For a more detailed description of the transceiver unit 11 and the processing unit 12, reference may be made to the relevant description in the above method embodiment, which will not be described again here.
[0312] like Figure 6 As shown, the device 20 includes a processing circuit 21. The processing circuit 21 is coupled to a memory 23, and the memory 23 is used to store instructions. When the device 20 is used to implement the method described above, the processing circuit 21 is used to execute the instructions in the memory 23 to implement the functions of the processing unit 12 described above.
[0313] Optionally, the device 20 further includes a memory 23 .
[0314] Optionally, the device 20 further includes an interface circuit 22. The interface circuit can be referred to as a communication interface. The processing circuit 21 and the interface circuit 22 are coupled to each other. It is understood that the interface circuit 22 can be a transceiver or an input / output interface. When the device 20 is used to implement the method described above, the processing circuit 21 is used to execute instructions to implement the functions of the processing unit 12, and the interface circuit 22 is used to implement the functions of the transceiver unit 11.
[0315] Optionally, the device 20 may be an Internet of Things device, a core network element, or a reader / writer.
[0316] Optionally, the device 20 may be a chip applied to an Internet of Things device, a core network element, or a reader / writer.
[0317] Exemplarily, when the device 20 is a chip applied to an IoT device, a core network element, or a reader / writer, the chip implements the functions of the IoT device, the core network element, or the reader / writer in the above method embodiment. The chip receives information from other modules (such as a radio frequency module or an antenna) in the IoT device, the core network element, or the reader / writer, and the information is sent by other devices to the IoT device, the core network element, or the reader / writer; or, the chip sends information to other modules (such as a radio frequency module or an antenna) in the IoT device, the core network element, or the reader / writer, and the information is sent by the IoT device, the core network element, or the reader / writer to other devices.
[0318] Figure 7 Schematic diagram of a chip system 30 provided in an embodiment of the present application. The chip system 30 (or also referred to as a processing system) includes a logic circuit 31 and an input / output interface 32.
[0319] Among them, the logic circuit 31 can be a processing circuit in the chip system 30. The logic circuit 31 can be coupled to the storage unit and call the instructions in the storage unit so that the chip system 30 can implement the methods and functions of each embodiment of the present application. The input / output interface 32 can be an input / output circuit in the chip system 30, outputting information processed by the chip system 30, or inputting data or signaling information to be processed into the chip system 30 for processing.
[0320] As a solution, the chip system 30 is used to implement the operations performed by the Internet of Things device, core network element or reader / writer in the above method embodiments.
[0321] For example, the logic circuit 31 is used to implement the processing-related operations performed by the Internet of Things device, core network network element or reader / writer in the above method embodiments; the input / output interface 32 is used to implement the sending and / or receiving-related operations performed by the Internet of Things device, core network network element or reader / writer in the above method embodiments.
[0322] The present application also provides a communication device, including a processing circuit, the processing circuit is coupled to a memory, the memory is used to store computer programs or instructions and / or data, and the processing circuit is used to execute the computer programs or instructions stored in the memory, or read the data stored in the memory to execute the methods in the above method embodiments. Optionally, the processing circuit is one or more. Optionally, the communication device includes a memory. Optionally, the memory is one or more. Optionally, the memory is integrated with the processing circuit, or is separately arranged.
[0323] The present application also provides a chip, including a processing circuit, which is coupled to a memory, the memory is used to store computer programs or instructions, and the processing circuit is used to execute the computer programs or instructions stored in the memory to implement the methods performed by the Internet of Things device, core network network element or reader in the above-mentioned method embodiments.
[0324] The present application also provides a computer-readable storage medium on which are stored computer instructions for implementing the methods executed by an Internet of Things device, a core network element or a reader / writer in the above-mentioned method embodiments.
[0325] The present application also provides a computer program product, comprising instructions, which, when executed by a computer, implement the methods performed by an Internet of Things device, a core network element or a reader / writer in the above-mentioned method embodiments.
[0326] The present application also provides a communication system, which includes at least one of the Internet of Things devices, core network elements or readers in the above embodiments.
[0327] The explanation of the relevant contents and beneficial effects of any of the above-mentioned devices can be referred to the corresponding method embodiments provided above, which will not be repeated here.
[0328] It is understood that the processing circuit in the embodiments of the present application can be a processor or a circuit in a processor for performing processing operations, and the processor can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. The general-purpose processor can be a microprocessor or any conventional processor.
[0329] The method steps in the embodiments of the present application can be implemented by hardware or by a processor executing software instructions. The software instructions can be composed of corresponding software modules, and the software modules can be stored in random access memory, flash memory, read-only memory, programmable read-only memory, erasable programmable read-only memory, electrically erasable programmable read-only memory, registers, hard disks, mobile hard disks, compact disc read-only memory (CD-ROM) or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an ASIC. In addition, the ASIC can be located in an Internet of Things device, a core network element, or a reader / writer. Of course, the processor and the storage medium can also be present as discrete components in an Internet of Things device, a core network element, or a reader / writer.
[0330] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instruction is loaded and executed on a computer, the process or function described in the embodiment of the present application is executed in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device or other programmable device. The computer program or instruction may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer program or instruction may be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired or wireless means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server, data center, etc. that integrates one or more available media. The available medium may be a magnetic medium, for example, a floppy disk, a hard disk, a tape; it may also be an optical medium, for example, a digital video disc; it may also be a semiconductor medium, for example, a solid-state hard disk.
[0331] In the various embodiments of the present application, unless otherwise specified or provided for in any logical conflict, the terms and / or descriptions between the different embodiments are consistent and may be referenced to each other, and the technical features in the different embodiments may be combined to form new embodiments according to their inherent logical relationships.
[0332] Unless otherwise stated, all technical and scientific terms used in the embodiments of the present application have the same meaning as those generally understood by those skilled in the art of the technical field of the present application. The terms used in this application are only for the purpose of describing specific embodiments and are not intended to limit the scope of the present application. It should be understood that the above is for illustration, and the examples above are only to help those skilled in the art understand the embodiments of the present application, rather than to limit the application embodiments to the specific numerical values or specific scenarios illustrated. It is obvious that various equivalent modifications or changes can be made by those skilled in the art according to the examples given above, and such modifications and changes also fall within the scope of the embodiments of the present application.
Claims
1. A data processing method, characterized in that: The method comprises: The reader receives an inventory request message from a core network element, where the inventory request message is used to request an inventory of the IoT device, and the inventory request message includes first indication information, where the first indication information is used to instruct the reader to obtain information for slicing the data to be processed; The reader / writer acquires first quality information according to the first indication information, where the first quality information is used to indicate the link quality of the communication link between the reader / writer and the Internet of Things device; The reader / writer determines first fragmentation information according to the first quality information, where the first fragmentation information is used to fragment the data to be processed; The reader / writer sends the first fragmentation information to the core network element; The reader / writer receives a first signaling from the core network element, where the first signaling is used to process a first data fragment in the data to be processed, and the length of the first data fragment is determined based on the first fragment information.
2. The method according to claim 1, characterized in that: The first signaling is used to request to write the first data slice to the IoT device, and the first signaling includes the first data slice; the method further includes: The reader / writer sends a second signaling to the IoT device, where the second signaling is used to write the first data slice to the IoT device, and the second signaling includes the first data slice; The reader / writer receives a third signaling from the IoT device, where the third signaling includes a writing result of the first data slice; The reader / writer sends a fourth signaling to the core network element according to the third signaling, and the fourth signaling includes the writing result of the first data fragment.
3. The method according to claim 1, characterized in that The first signaling is used to request to read the first data slice from the Internet of Things device, and the first signaling includes read information, and the read information is used to indicate a storage range of the first data slice; The method further comprises: The reader / writer sends a second signaling to the IoT device, where the second signaling is used to read the first data slice from the IoT device, and the second signaling includes the read information; The reader / writer receives a third signaling from the IoT device, where the third signaling includes a reading result of the first data slice; The reader / writer sends a fourth signaling to the core network element according to the third signaling, where the fourth signaling includes a reading result of the first data slice.
4. The method according to claim 2 or 3, characterized in that: The fourth signaling further includes second fragmentation information, where the second fragmentation information is used to fragment the data to be processed; and the method further includes: The reader / writer acquires second quality information, where the second quality information is used to indicate the link quality of the communication link; The reader / writer determines the second fragmentation information according to the second quality information.
5. The method according to any one of claims 1 to 4, characterized in that The reader / writer acquires first quality information according to the first indication information, including: The reader / writer performs a quality detection on the communication link according to the first indication information to obtain the first quality information.
6. The method according to any one of claims 1 to 4, characterized in that The reader / writer acquires first quality information according to the first indication information, including: The reader / writer sends a fifth signaling to the Internet of Things device according to the first indication information, where the fifth signaling includes second indication information, and the second indication information is used to instruct the Internet of Things device to perform quality detection on the communication link; The reader / writer receives a sixth signaling sent from the Internet of Things device, where the sixth signaling includes the first quality information.
7. The method according to claim 4, characterized in that The reader / writer obtains the second quality information, including: The reader / writer performs quality detection on the communication link according to the second signaling and / or the third signaling to obtain the second quality information.
8. The method according to claim 4, characterized in that The second signaling further includes second indication information, where the second indication information is used to instruct the IoT device to perform quality detection on the communication link, and the third signaling further includes the second quality information, where the second quality information is obtained based on the second signaling; The reader / writer acquires the second quality information, including: the reader / writer acquires the second quality information from the third signaling.
9. The method according to claim 4, 7 or 8, characterized in that The reader / writer determines the second fragmentation information according to the second quality information, including: The reader / writer determines the second fragment information according to the second quality information and the result of the processing of the first data fragment.
10. The method according to claim 6, characterized in that The fifth signaling is any one of the following signalings: an excitation signal, a selection command, a downlink signaling in a random access process, a first registration message, or a downlink signaling in a security authentication process, wherein the first registration message is used to indicate that the Internet of Things device has successfully registered with the core network element; and / or, The sixth signaling is any one of the following signalings: uplink signaling in a random access process, a second registration message, or uplink signaling in a security authentication process, wherein the second registration message is used to request registration with the core network element; and / or, The first fragment information is carried in a third registration message or in uplink signaling in the security authentication process, and the third registration message is used to request registration with the core network element.
11. The method according to any one of claims 1 to 10, characterized in that The first fragmentation information includes at least one of the following information: the first quality information, the first fragmentation length or the first length range, the first fragmentation length is the length of the data fragmentation supported for transmission by the link quality indicated by the first quality information, and the first length range is the length range of the data fragmentation supported for transmission by the link quality indicated by the first quality information.
12. A data processing method, characterized in that: The method comprises: The core network element receives a data request message from the application function element, wherein the data request message is used to request processing of the data to be processed; The core network element sends an inventory request message to the reader / writer according to the length of the data to be processed, where the inventory request message is used to request an inventory of the IoT device, and the inventory request message includes first indication information, where the first indication information is used to instruct the reader / writer to obtain information for slicing the data to be processed; The core network element receives first fragmentation information from the reader / writer, where the first fragmentation information is used to fragment the data to be processed; The core network element determines, according to the first fragmentation information, a length of a first data fragmentation, where the first data fragmentation belongs to the data to be processed; The core network element sends a first signaling to the reader / writer, where the first signaling is used to process the first data fragment.
13. The method according to claim 12, characterized in that The data request message is used to request writing the to-be-processed data to the IoT device, the first signaling is used to request writing the first data slice to the IoT device, and the first signaling includes the first data slice; The method further comprises: The core network element receives a fourth signaling from the reader / writer, where the fourth signaling includes a writing result of the first data slice.
14. The method according to claim 12, characterized in that The data request message is used to request to read the to-be-processed data from the IoT device, the first signaling is used to request to read the first data slice from the IoT device, the first signaling includes read information, and the read information is used to indicate a storage range of the first data slice; the method further includes: The core network element receives a fourth signaling from the reader / writer, where the fourth signaling includes a reading result of the first data slice.
15. The method according to claim 13 or 14, characterized in that After receiving the fourth signaling, the method further includes: The core network element determines the length of a second data fragment according to the first fragment information, and the second data fragment belongs to the data to be processed.
16. The method according to claim 13 or 14, characterized in that The fourth signaling further includes second fragmentation information, where the second fragmentation information is used to fragment the data to be processed; and the method further includes: The core network element determines the length of a second data fragment according to the second fragment information, where the second data fragment belongs to the data to be processed.
17. The method according to any one of claims 12 to 16, characterized in that The first fragment information is carried in a third registration message or an uplink signaling in a security authentication process, and the third registration message is used to request registration with the core network element.
18. The method according to any one of claims 12 to 17, characterized in that The first fragmentation information includes at least one of the following information: first quality information, first fragmentation length or first length range. The first quality information is used to indicate the link quality of the communication link between the reader and the Internet of Things device. The first fragmentation length is the length of the data fragmentation supported for transmission by the link quality indicated by the first quality information. The first length range is the length range of the data fragmentation supported for transmission by the link quality indicated by the first quality information.
19. A data processing method, characterized in that: The method comprises: The IoT device receives a fifth signaling from the reader / writer, where the fifth signaling is used to take inventory of the IoT device, and the fifth signaling includes second indication information, where the second indication information is used to instruct the IoT device to perform a quality detection of a communication link between the reader / writer and the IoT device; The IoT device performs a quality detection on the communication link according to the second indication information to obtain first quality information, where the first quality information is used to indicate the link quality of the communication link; The Internet of Things device sends a sixth signaling to the reader / writer, where the sixth signaling includes the first quality information.
20. The method according to claim 19, characterized in that The method further comprises: The IoT device receives a second signaling from the reader / writer, where the second signaling is used to write the first data slice to the IoT device and the second signaling includes the second indication information, or the second signaling is used to read the first data slice from the IoT device and the second signaling includes the second indication information; The IoT device performs quality detection on the communication link according to the second signaling to obtain second quality information, where the second quality information is used to indicate the link quality of the communication link; The Internet of Things device sends a third signaling to the reader / writer, where the third signaling includes a writing result of the first data slice or a reading result of the first data slice, and the prime number third signaling also includes the second quality information.
21. The method according to claim 19 or 20, characterized in that The fifth signaling is any one of the following signalings: an excitation signal, a selection command, a downlink signaling in a random access process, a first registration message, or a downlink signaling in a security authentication process, wherein the first registration message is used to indicate that the Internet of Things device has successfully registered with the core network element; and / or, The sixth signaling is any one of the following signalings: uplink signaling in a random access process, a second registration message, or uplink signaling in a security authentication process, and the second registration message is used to request registration to the core network element.
22. A communication system, characterized in that: Includes at least one of the following devices: A communication device for performing the method according to any one of claims 1 to 11; A communication device for performing the method according to any one of claims 12 to 18; or, A communication device for performing the method according to any one of claims 19 to 21.
23. A communication device, characterized in that: The method comprises a module or a unit for executing the method as claimed in any one of claims 1 to 21.
24. A communication device, characterized in that: include: A processing circuit and a memory, the memory being used to store a computer program or instructions, the processing circuit being used to execute the computer program or the instructions stored in the memory, so that the apparatus performs the method according to any one of claims 1 to 21.
25. The device according to claim 24, characterized in that The device is a chip.
26. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program or instructions, and when the computer program or instructions are executed on a computer, the computer is caused to perform the method according to any one of claims 1 to 21.
27. A computer program product, characterized in that The computer program product comprises instructions for performing the method of any one of claims 1 to 21.