A data aggregation method, communication device and system
Patent Information
- Application Number
- CN202510573715.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-30
- Publication Date
- 2026-10-30
AI Technical Summary
[0004]然而由于中间节点通常需要连接较多的环境物联网设备,所以若中间节点每次都将一个环境物联网设备的回复通过环境物联网数据单元单独封装在一条消息中进行传递,则会造成资源浪费,导致资源利用率较低
Smart Images

Figure CN123021253A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a data aggregation method, communication device and system. Background Technology
[0002] In the field of communications, environmental IoT devices are a new type of IoT devices that harvest energy from radio waves, light, motion, heat, or any other available environmental energy source and use this energy to power their devices. Due to their advantages of self-powered operation, low power consumption, low cost, ease of deployment, and wide applicability, environmental IoT terminal devices are now widely used in daily production and life.
[0003] In the communication process of environmental IoT devices, the base station can send service requests to the environmental IoT devices through intermediate nodes, and the intermediate nodes can then send the responses from the environmental IoT devices back to the base station. Specifically, when an intermediate node receives a response from an environmental IoT device, it encapsulates that response into a separate message using environmental IoT data units and sends this message to the base station.
[0004] However, since intermediate nodes typically need to connect to a large number of environmental IoT devices, if each intermediate node encapsulates the response from an environmental IoT device into a separate message using an environmental IoT data unit and transmits it, it will result in a waste of resources and low resource utilization. Summary of the Invention
[0005] This application provides a data aggregation method, communication device, and system, with the aim of improving resource utilization.
[0006] To achieve the above objectives, this application provides the following technical solution:
[0007] The first aspect of this application provides a data aggregation method, which can be applied to a first communication device. For example, the first communication device may be a communication equipment (such as a terminal device), or it may be a component of a communication equipment (such as a processor, circuit, chip, or chip system responsible for communication functions), or it may be a logic module or software capable of implementing all or part of the functions of the communication equipment. The following description uses a first communication device as an example. In this method, the first communication device receives first information, which instructs a data aggregation strategy for aggregating first data units; the first communication device sends a first message, which includes one or more first data units determined based on the data aggregation strategy.
[0008] In the above implementation scheme, after receiving the first information, the first communication device can determine the first data unit that can be aggregated based on the data aggregation strategy indicated by the first information, and can aggregate one or more determined first data units in the first message. Finally, the first message carrying one or more first data units is sent to the second communication device. That is, one or more first data units can be transmitted through one first message. Compared with the prior art, which only encapsulates one environmental IoT data unit in one message, the utilization rate of resources is improved.
[0009] In one possible implementation of the first aspect of this application, the first information includes at least one of a first time period, a first indication information, a second indication information, a third indication information, or a fourth indication information. The data corresponding to the first data unit is received within the first time period. The first indication information is used to indicate the aggregation of the first data unit, the second indication information is used to indicate the time period during which aggregation can be performed, the third indication information is used to indicate the service type during which aggregation can be performed, and the fourth indication information is used to indicate the maximum number of first data units that can be aggregated at one time. In the above implementation, after receiving the first information, the first communication device can specifically determine one or more first data units that can be aggregated based on the first time period, that is, the data unit corresponding to the data received within the first time period can be determined as the first data unit. Furthermore, the first information may also carry the first indication information for indicating the aggregation of the first data units, so that the first communication device can perform the aggregation of the first data units after receiving the first information. The first information may also carry the second indication information for indicating the time period during which aggregation can be performed, so that the first communication device can perform the aggregation of the first data units within the time period indicated by the second indication information after receiving the first information. The first information may also carry third indication information for indicating the type of service for which aggregation can be performed, so that after receiving the first information, the first communication device can aggregate the first data units related to the service type based on the service type indicated by the third indication information. The first information may also carry fourth indication information for indicating the maximum number of first data units that can be aggregated at one time, so that after receiving the first information, the first communication device can determine the maximum number of first data units that can be aggregated at one time based on the fourth indication information, thereby completing the aggregation of the first data units. That is, it can aggregate one or more first data units in the first message, that is, send one or more first data units to the second communication device through the first message. In other words, one or more first data units can be transmitted through a first message, which improves resource utilization compared to the prior art where only one environmental IoT data unit is encapsulated in a message.
[0010] In one possible implementation of the first aspect of this application, the first message includes a first data container, and the first data container includes one or more first data units. In the above implementation, the first communication device can first aggregate one or more first data units determined within a first timer into the first data container, and then send the first data container carrying one or more first data units to the second communication device through the first message. That is, one or more first data units can be transmitted through the first data container in a first message, which improves resource utilization compared to the prior art where only one environmental IoT data unit is encapsulated in a message.
[0011] In one possible implementation of the first aspect of this application, the first message further includes content information of a first data container, which includes at least one of the number of first data units or the length of the first data units. In the above implementation, the first message may also carry content information of a first data container, which may include at least one of the number of first data units or the length of the first data units, so that after receiving the first message carrying the first data container, the second communication device can parse one or more first data units from the first data container of the first message according to the content information of the first data container.
[0012] In one possible implementation of the first aspect of this application, the first data container further includes content information of the first data container, which includes at least one of the number of first data units or the length of the first data units. In the above implementation, the first data container in the first message, in addition to carrying one or more first data units, may also carry content information of the first data container. This content information includes at least one of the number of first data units or the length of the first data units. That is, the content information of the first data container can be placed in the first data container so that after receiving the first data container, the second communication device or other communication device can parse one or more first data units from the first data container of the first message based on the content information of the first data container.
[0013] In one possible implementation of the first aspect of this application, the first message further includes the number of first data containers or the service identification information corresponding to the first data unit. In the above implementation, the first message may also carry the number of first data containers, so that after receiving the first message, the second communication device can determine, based on the number of first containers, how many first data containers the first communication device has aggregated the first data unit into. Furthermore, if a first message carries only one first data container, the second communication device can also determine, based on the number of first containers, how many first messages the first communication device has aggregated the first data unit into, so that the second communication device can completely receive all first data containers that aggregate the first data unit. Alternatively, the first message may also carry the service identification information corresponding to the first data unit, so that after receiving the first message, the second communication device can determine, based on the first message, the specific AIoT service request corresponding to one or more first data units carried in the first message, so that after parsing one or more first data units, subsequent data processing can be performed quickly.
[0014] In one possible implementation of the first aspect of this application, the first message further includes at least one of the identification information of the first communication device or the serial number of the first data container. In the above implementation, the first message may also carry the identification information of the first communication device, so that after receiving the first message, the second communication device can determine the first communication device that sent the first message, that is, it can determine the first communication device that aggregates one or more first data units based on the first message. The first communication device may also carry the serial number of the first data container, so that after receiving the first message, the second communication device can determine which first data container it has received, and further determine whether it has completely received all the first data containers.
[0015] In one possible implementation of the first aspect of this application, the first message further includes at least one of type information of the first message or type information of the first data container. In the above implementation, the first message may also carry type information to indicate that the first message is specifically used to transmit data units, so that after receiving the first message, the second communication device can determine that the first message is specifically used to transmit data units and can further obtain the necessary information to parse the first message. Alternatively, the first message may also include type information of the first data container to indicate that the first data container carries data units, so that when the second communication device receives the first message and parses out the first data container, it can determine that the first data container specifically carries data units and can further obtain the necessary information to parse the first data container.
[0016] In one possible implementation of the first aspect of this application, the first data unit includes at least one of header information, an AIoT device identifier, a type of the AIoT device identifier, a length of the AIoT device identifier, fifth indication information, sixth indication information, AIoT data, and a confirmation character or a negative confirmation character. The first indication information is used to indicate whether AIoT data exists, and the second indication information is used to indicate whether a confirmation character or a negative confirmation character exists. In the above implementation, the first data unit may carry at least one of the following: header information, an AIoT device identifier, a type of the AIoT device identifier, a length of the AIoT device identifier, fifth indication information indicating whether AIoT data exists, sixth indication information indicating whether a confirmation character or a negative confirmation character exists, AIoT data, and a confirmation character or a negative confirmation character. This allows the second communication device or other communication device to further parse the AIoT data and complete the AIoT service request after obtaining the first data unit.
[0017] In one possible implementation of the first aspect of this application, sending a first message includes: sending the first message when a first condition is met, the first condition including a first timer timeout or the end of a first time period, the first timer being determined based on the first time period, and the first timer being started when the first communication device sends an AIoT service request. In the above implementation, when the first communication device sends an AIoT service request to the AIoT device, it can start a first timer determined based on the first time period, and after the first timer timeout or before the end of the first time period, it can aggregate one or more data units determined during this period into a first message, that is, send one or more first data units to the second communication device through the first message. In other words, one or more first data units can be transmitted through a single first message, which improves resource utilization compared to the prior art where only one environmental IoT data unit is encapsulated in a single message.
[0018] In one possible implementation of the first aspect of this application, receiving the first information includes receiving an AIoT service request and the first information. In the above implementation, the first communication device can simultaneously receive the AIoT service request and the first information; that is, the second communication device can simultaneously send the AIoT service request and the first information to the first communication device, so that the first communication device can quickly aggregate the AIoT service data corresponding to the AIoT service request, thereby improving resource utilization.
[0019] A second aspect of this application provides a method applicable to a second communication device. For example, the second communication device may be a communication equipment (such as a network device), or it may be a component of a communication equipment (such as a processor, circuit, chip, or chip system responsible for communication functions), or it may be a logic module or software capable of implementing all or part of the functions of the communication equipment. The following description uses a second communication device as an example. In this method, the second communication device sends first information, which instructs a data aggregation strategy for aggregating data from the first data units. The second communication device receives a first message, which includes one or more first data units determined based on the data aggregation strategy.
[0020] In the above implementation scheme, the second communication device can send first information to the first communication device to instruct the aggregation of the first data units. After receiving the first information, the first communication device can determine the first data units that can be aggregated based on the data aggregation strategy indicated by the first information, and can aggregate one or more of the determined first data units in a first message. Finally, the first message carrying one or more first data units is sent to the second communication device. That is, one or more first data units can be transmitted through a first message. Compared with the prior art, where only one environmental IoT data unit is encapsulated in a message, the utilization rate of resources is improved.
[0021] In one possible implementation of the second aspect of this application, the first information includes at least one of a first time period, a first indication information, a second indication information, a third indication information, or a fourth indication information. The data corresponding to the first data unit is received within the first time period. The first indication information is used to indicate the aggregation of the first data unit. The second indication information is used to indicate the time period in which aggregation can be performed. The third indication information is used to indicate the service type in which aggregation can be performed. The fourth indication information is used to indicate the maximum number of first data units that can be aggregated at one time.
[0022] In one possible implementation of the second aspect of this application, the first message includes a first data container, which includes the one or more first data units.
[0023] In one possible implementation of the second aspect of this application, the first message further includes content information of the first data container, wherein the content information of the first data container includes at least one of the number of the first data units or the length of the first data units.
[0024] In one possible implementation of the second aspect of this application, the first data container further includes content information of the first data container, which includes at least one of the number of the first data units or the length of the first data units.
[0025] In one possible implementation of the second aspect of this application, the first message further includes the number of the first data containers or the service identification information corresponding to the first data unit.
[0026] In one possible implementation of the second aspect of this application, the first message further includes at least one of the identification information of the first communication device or the serial number of the first data container.
[0027] In one possible implementation of the second aspect of this application, the first message further includes at least one of the type information of the first message or the type information of the first data container.
[0028] In one possible implementation of the second aspect of this application, the first data unit includes at least one of header information, AIoT device identifier, type of the AIoT device identifier, length of the AIoT device identifier, fifth indication information, sixth indication information, AIoT data, confirmation character or negative confirmation character, wherein the fifth indication information is used to indicate whether AIoT data exists, and the sixth indication information is used to indicate whether a confirmation character or negative confirmation character exists.
[0029] In one possible implementation of the second aspect of this application, the first message is sent by the first communication device when a first condition is met, the first condition including the first timer expires or the first time period ends, the first timer is determined based on the first time period, and the first timer is started when the first communication device issues an AIoT service request.
[0030] In one possible implementation of the second aspect of this application, the first information further includes at least one of a third indication information, a fourth indication information, a fifth indication information, or a sixth indication information, wherein the third indication information is used to indicate the aggregation of AIoT data, the fourth indication information is used to indicate the time period in which aggregation can be performed, the fifth indication information is used to indicate the service type in which aggregation can be performed, and the sixth indication information is used to indicate the maximum number of first data units that can be aggregated in a single instance.
[0031] In one possible implementation of the second aspect of this application, sending the first information includes: sending an AIoT service request and the first information.
[0032] In one possible implementation of the second aspect of this application, the method further includes: sending a second message, the second message including one or more second data containers, the second data containers being determined based on a second timer, the second timer being determined based on a second time period, and the second data containers including one or more first data units; or, the second message including one or more first data containers, and the first data containers including one or more first data units. In the above implementation, the second communication device can further determine the second timer based on the determined second time period, and after starting the second timer, it can aggregate one or more first data units received from one or more first messages into the second message through the second data containers, or it can directly aggregate one or more first data containers carried in the first message into the second message, and send the second message to other communication devices. That is, the second communication device can also realize data aggregation for one or more first data units to further improve resource utilization.
[0033] In one possible implementation of the second aspect of this application, the second message further includes at least one of seventh indication information, the number of first data units, or the length of the first data units. The seventh indication information is used to indicate that the second message is used to transmit first data units. In the above implementation, the second message may also carry the seventh indication information indicating that the second message is used to transmit first data units, so that other communication devices, upon receiving the second message, can determine that the second message carries first data units based on the seventh indication information. The second message may also carry at least one of the number of first data units or the length of the first data units, so that other communication devices, upon receiving the second message, can parse out one or more first data units carried in the second message based on the number of first data units or the length of the first data units.
[0034] In one possible implementation of the second aspect of this application, the second message further includes eighth indication information, which is used to indicate the first communication device corresponding to the first data unit. In the above implementation, since the first data unit carried in the second message may come from multiple different first communication devices, the second message may also carry eighth indication information to indicate the first communication device corresponding to the first data unit. This allows other communication devices, after receiving the second message, to determine the first communication device corresponding to each first data unit in the second message based on the eighth indication information, enabling them to quickly perform subsequent processing on the first data unit.
[0035] A third aspect provides a communication device including a processor. The processor is coupled to a memory and can be used to execute instructions or data in the memory to implement the methods in any possible implementation of any of the above aspects. Optionally, the communication device further includes a memory. Optionally, the communication device further includes a communication interface, and the processor is coupled to the communication interface.
[0036] In one implementation, the communication interface may be a transceiver, or an input / output interface.
[0037] In another implementation, the communication device is a chip configured in a terminal device. When the communication device is a chip configured in a terminal device, the communication interface can be an input / output interface.
[0038] Fourthly, a communication device is provided, including a processor. The processor is coupled to a memory and can be used to execute instructions or data in the memory to implement the methods in any possible implementation of any of the above aspects. Optionally, the communication device further includes a memory. Optionally, the communication device further includes a communication interface, and the processor is coupled to the communication interface.
[0039] In one implementation, the communication interface may be a transceiver, or an input / output interface.
[0040] In another implementation, the communication device is a chip configured in a satellite. When the communication device is a chip configured in a satellite, the communication interface can be an input / output interface.
[0041] Fifthly, a processor is provided, comprising: an input circuit, an output circuit, and a processing circuit. The processing circuit is configured to receive signals through the input circuit and transmit signals through the output circuit, causing the processor to execute a method in any possible implementation of any aspect.
[0042] In specific implementation, the processor can be one or more chips, the input circuit can be input pins, the output circuit can be output pins, and the processing circuit can be transistors, gate circuits, flip-flops, and various logic circuits. The input signal received by the input circuit can be received and input by, for example, but not limited to, a receiver, and the signal output by the output circuit can be, for example, but not limited to, output to and transmitted by a transmitter. Furthermore, the input circuit and the output circuit can be the same circuit, which is used as both the input circuit and the output circuit at different times. This application does not limit the specific implementation of the processor and various circuits.
[0043] In a sixth aspect, a communication device is provided, including a processor and a memory. The processor is used to read instructions stored in the memory and to receive signals via a receiver and transmit signals via a transmitter to execute the method in any possible implementation of any of the above aspects.
[0044] Optionally, the processor may be one or more, and the memory may be one or more.
[0045] In a seventh aspect, a computer program product is provided, the computer program product comprising: a computer program (also referred to as code or instructions), which, when the computer program is run, causes a computer to perform a method in any possible implementation of any of the above aspects.
[0046] Eighthly, a computer-readable storage medium is provided that stores a computer program (also referred to as code or instructions) that, when executed on a computer, causes the computer to perform the methods in any possible implementation of any of the preceding aspects.
[0047] Ninthly, embodiments of this application provide a chip system including one or more processors for calling and executing instructions stored in memory, causing the methods in the above aspects or the first possible implementation of the aspects to be executed. The chip system may be composed of chips or may include chips and other discrete devices.
[0048] The chip system may include input circuits or interfaces for transmitting information or data, and output circuits or interfaces for receiving information or data.
[0049] In a tenth aspect, a communication system is provided, including the aforementioned terminal equipment and network equipment (including access network equipment and core network equipment). Optionally, the communication system may further include other equipment that communicates with the terminal equipment and / or network equipment.
[0050] Eleventhly, a communication device is provided, comprising a transceiver module and a processing module, the communication device being used to perform the method in any possible implementation of any of the preceding aspects. Attached Figure Description
[0051] Figure 1 This application provides a schematic diagram of the system architecture of a communication system.
[0052] Figure 2 This is a schematic diagram of the system architecture of another communication system provided in an embodiment of this application;
[0053] Figure 3AA schematic diagram illustrating the data transmission process of an environmental Internet of Things (IoT) device, provided as an embodiment of this application;
[0054] Figure 3B A schematic diagram illustrating the data transmission process of another environmental IoT device provided in this application embodiment;
[0055] Figure 4A This application provides an RRC-based protocol stack architecture under a T2 architecture.
[0056] Figure 4B This application provides a NAS-based protocol stack architecture under a T2 architecture.
[0057] Figure 5 A schematic diagram illustrating a terminal device packaging process provided in an embodiment of this application;
[0058] Figure 6 A flowchart illustrating a data aggregation method provided in an embodiment of this application;
[0059] Figure 7A This is a schematic diagram of the structure of a first data container provided in an embodiment of this application;
[0060] Figure 7B This is a schematic diagram of another first data container provided in an embodiment of this application;
[0061] Figure 8A This is a schematic diagram of the structure of another first data container provided in an embodiment of this application;
[0062] Figure 8B This is a schematic diagram of the structure of a first data unit provided in an embodiment of this application;
[0063] Figure 9 A flowchart illustrating another data aggregation method provided in this application embodiment;
[0064] Figure 10 This is a schematic diagram of the structure of a communication device provided in an embodiment of this application;
[0065] Figure 11 This is a structural example diagram of an electronic device disclosed in an embodiment of this application. Detailed Implementation
[0066] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. The terminology used in the following embodiments is for the purpose of describing specific embodiments only and is not intended to be a limitation of this application. As used in the specification and appended claims of this application, the singular expressions "a," "an," "the," "the," "the," and "this" are intended to also include expressions such as "one or more," unless the context clearly indicates otherwise. It should also be understood that in the embodiments of this application, "one or more" refers to one, two, or more; "and / or" describes the relationship between related objects, indicating that three relationships may exist; for example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship.
[0067] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0068] The "multiple" mentioned in the embodiments of this application refers to two or more. It should be noted that in the description of the embodiments of this application, terms such as "first" and "second" are used only for the purpose of distinguishing descriptions and should not be construed as indicating or implying relative importance, nor should they be construed as indicating or implying order.
[0069] The embodiments of this application are applied to communication systems in the field of environmental Internet of Things, such as: Global System for Mobile Communications (GSM) system, Code Division Multiple Access (CDMA) system, Wideband Code Division Multiple Access (WCDMA) system, General Packet Radio Service (GPRS), Long Term Evolution (LTE) system, LTE Frequency Division Duplex (FDD) system, LTE Time Division Duplex (TDD) system, Universal Mobile Telecommunication System (UMTS), Worldwide Interoperability for Microwave Access (WiMAX) system, 5th Generation (5G) system or New Radio (NR) system, and future communication systems.
[0070] The next-generation mobile communication network architecture defined by the 3GPP standards group is called the 5G network architecture. This architecture not only supports wireless technologies defined by the 3GPP standards group, such as LTE, to access the 5G core network (5GC), but also supports non-3GPP access technologies through non-3GPP interworking functions (N3IWF), trusted non-3GPP gateway functions (TNGF), trusted WLAN interworking functions (TWIF), or next-generation packet data gateways (NG-PDG) to access the 5GC. The core network functions are divided into user plane functions (UPF) and control plane functions (CPF). UPF is mainly responsible for packet forwarding, quality of service (QoS) control, and billing information statistics. CPF is primarily responsible for user registration and authentication, mobility management, and issuing packet forwarding policies and QoS control policies to UPF. It can be further subdivided into access and mobility management function (AMF) and session management function (SMF).
[0071] Core network equipment includes, for example, the Mobility Management Entity (MME) and the Broadcast Multicast Service Center (BMSC), or it may include corresponding functional entities in the 5G system, such as the core network control plane (CP) or user plane (UP) network functions, such as the SMF and AMF. The core network control plane can also be understood as the core network control plane function (CPF) entity.
[0072] Communication systems in the field of environmental IoT include a first device and a second device. An example of a communication system in the field of environmental IoT is... Figure 1 As shown, Figure 1This includes a core network 11 and a radio access network node 12. The first device can be a device on the core network (CN) side used to provide network communication functions, sometimes referred to as a network element. The first device can be a core network unit in the Ambient Internet of Things (AIoT) field. This core network unit can be a functional unit within the core network, including but not limited to access and mobility management functional units or session management functional units. It can also be a newly added first network element in the core network, also known as an Ambient Internet of Things Network Function (AIoT NF). It should be noted that an AIoT NF can be a new network element added to perform AIoT services, or it can be a network element coexisting with the AMF. In other words, the AMF can be modified to possess the functions that an AIoT NF should have. The interface between the first network element and the radio access network node can be called a Next Generation-like (NG-like) interface or an AIoT-NG interface.
[0073] The second device can typically be a base station (including functional units of a base station, or a combination of functional units of a base station) or other nodes in the radio access network, such as terminal equipment. The radio access network (RAN) is a network composed of multiple 5G-RAN nodes, implementing radio physical layer functions, resource scheduling and radio resource management, radio access control, and mobility management functions. The 5G-RAN connects to the user plane interface N3 and the UPF for transmitting data from terminal equipment; it also establishes a control plane signaling connection with the AMF through the control plane interface N2 for implementing functions such as radio access bearer control. The RAN can be any device with radio transceiver capabilities, including but not limited to 5G node base stations (gNBs), evolved Node Base Stations (eNBs), access points (APs), World Interoperability for Microwave Access Base Stations (WiMAX BSs), transmission receiving points (TRPs), radio relay nodes, and radio backhaul nodes.
[0074] The access network device in this application embodiment, i.e., the network device of the access network, can also be a device used to communicate with terminal devices. The access network device can be a base station (BTS) in a global system of mobile communication (GSM) or code division multiple access (CDMA), a node base (NB) in a wideband code division multiple access (WCDMA) system, an evolved node base (eNB) in an LTE system, or a radio controller in a cloud radio access network (CRAN) scenario. Alternatively, the access network device can be a relay station, access point, vehicle-mounted device, wearable device, or access network device in a future 5G network or an access network device in a future evolved PLMN network, etc. The embodiments of this application are not limited to these.
[0075] In NR, the base station's functionality is divided into two parts, known as centralized unit (CU) - distributed unit (DU) separation. From a protocol stack perspective, the CU includes the base station's Radio Resource Control (RRC) layer and Packet Data Convergence Protocol (PDCP) layer, while the DU includes the LTE base station's Radio Link Control (RLC) layer, Media Access Control (MAC) layer, and Physical (PHY) layer. In a typical 5G base station deployment, the CU and DU are physically connected via fiber optic cable, and logically share a specially defined F1 interface for communication between them. Functionally, the CU is primarily responsible for radio resource control and configuration, inter-cell mobility management, and bearer management. The DU is primarily responsible for scheduling, physical signal generation, and transmission.
[0076] Among them, the aforementioned base stations can be macro base stations, micro base stations, pico base stations, small stations, relay stations, balloon stations, etc.
[0077] See Figure 2 The figure is an example of another communication system architecture applicable to embodiments of this application.
[0078] Session Management Function (SMF): Primarily responsible for the control plane functions of terminal device session management, including the selection and control of user plane functions (UPF), Internet Protocol (IP) address allocation, session QoS management, and obtaining policies and charging control (PCC) policies from the PCF.
[0079] User plane function (UPF): As the anchor point for protocol data unit (PDU) session connections, it is responsible for filtering data packets from terminal devices, transmitting / forwarding data, rate control, generating billing information, and providing connectivity to the data network (DN).
[0080] Policy control function (PCF): Provides configuration policy information for terminal devices, provides policy information for network control plane elements, such as SMF elements, to manage and control terminal devices; and generates access policies and QoS flow control policies for terminal devices.
[0081] Application function (AF): Interacts with core network elements to provide services. For example, it interacts with PCF to control service policies, interacts with NEF to obtain network capability information or provide application information to the network, and provides data network access point information to PCF to generate routing information for corresponding data services.
[0082] Unified Data Management (UDM) Figure 1 (Not shown in the image): One of the network functions related to user data in the core network, mainly responsible for the management of user identification, subscription data, authentication data, and user service element registration management.
[0083] Authentication Server Function (AUSF) Figure 1 (Not shown in the image): Responsible for authentication. Specifically, AUSF is a functional entity in mobile communication technology that represents a set of authentication algorithms, responsible for processing and executing algorithms related to network user authentication and session security.
[0084] It should be noted that the aforementioned "network element" can also be referred to as an entity, device, apparatus, or module, etc., and this application does not specifically limit it. Furthermore, in this application, for ease of understanding and explanation, the description of "network element" is omitted in some descriptions. For example, NEF network element is abbreviated as NEF. In this case, "NEF" should be understood as NEF network element or NEF entity. The following omits descriptions of the same or similar cases.
[0085] Figure 2 The names of the various network elements included are merely names and do not limit the function of the network element itself. In 5G networks and other future networks, the aforementioned network elements may also have other names, and this application embodiment does not specifically limit this. For example, in 6G networks, some or all of the aforementioned network elements may use the terminology from 5G, or they may have other names, etc. This is uniformly explained here and will not be elaborated further below.
[0086] Figure 2 The various network elements in the network do not necessarily have to exist at the same time; the required network elements can be determined based on the needs.
[0087] The aforementioned network elements or functions can be network components in hardware devices, software functions running on dedicated hardware, or virtualization functions instantiated on platforms such as cloud platforms.
[0088] In the embodiments provided in this application, the terminal device can take various forms, such as a mobile phone, tablet computer, computer with wireless transceiver capabilities, virtual reality (VR) terminal device, augmented reality (AR) terminal device, wireless terminal device in industrial control, vehicle-mounted terminal device, wireless terminal device in self-driving, wireless terminal device in remote medical care, wireless terminal device in smart grid, wireless terminal device in transportation safety, wireless terminal device in smart city, wireless terminal device in smart home, wearable terminal device, etc. The terminal device may also be referred to as a terminal device, user equipment (UE), access terminal device, vehicle-mounted terminal device, industrial control terminal device, UE unit, UE station, mobile station, mobile station, remote station, remote terminal device, mobile device, UE terminal device, terminal device, wireless communication device, UE agent, or UE device, etc. The terminal device can also be a fixed terminal device or a mobile terminal device.
[0089] In communication systems, environmental IoT devices are a new type of IoT devices that harvest energy from radio waves, light, motion, heat, or any other available environmental energy source and use this energy to power their devices. Due to their advantages of self-powered operation, low power consumption, low cost, ease of deployment, and wide applicability, environmental IoT terminal devices are now widely used in daily production and life.
[0090] The use of environmental IoT terminal devices typically involves the transmission of business data such as paging or commands to these devices. Specifically, for example... Figure 3A As shown, the base station can directly send service requests to environmental IoT terminal devices; this AIoT communication architecture can be called the T1 architecture. Figure 3B As shown, the base station can also send service requests to environmental IoT terminal devices through an intermediate node (reader), where the intermediate node can be a mobile terminal device. This AIoT communication architecture can be called the T2 architecture.
[0091] As an environment-enabled IoT technology, AIoT, combined with cellular networks, offers lower power consumption or even zero power consumption compared to existing narrowband Internet of Things (NB-IoT) technologies. This makes passive cellular networks suitable for more IoT scenarios, enabling interconnectivity across all industries and creating a new market worth hundreds of billions of connections. Compared to traditional LTE networks and existing 5G networks, the significant differences in networks used for AIoT devices lie in: a large number of terminals, limited terminal capabilities, high energy efficiency requirements, and a focus on small packet transmission and reception.
[0092] Currently, the two typical types of AIoT service requests are inventory and command. Inventory requests are used to check all or any AIoT devices that meet certain screening criteria in a specific area (such as a warehouse), or to determine whether a specific device or group of specified devices exists in a particular area (such as inbound or outbound inventory statistics). Command requests involve controlling devices and issuing instructions, such as reading data stored on a device (read operation), writing data to a device (write operation), or disabling a device (disable operation), allowing users to operate or adjust settings on specific devices.
[0093] Currently, the 3GPP protocol group has discussed various data transmission methods between nodes under the T2 architecture and corresponding protocol stack designs. For example, there is the RRC-based protocol stack architecture based on the Radio Resource Control layer and the NAS-based architecture based on the Non-Access Stratum (NAS) layer.
[0094] like Figure 4A As shown, in an RRC-based protocol stack architecture, signaling or data between intermediate nodes and AIoT network elements can be transmitted through the following paths: RRC messaging is used between the terminal device and the AIoT RAN; Next Generation Application Protocol (NGAP) messaging is used between the AIoT RAN and the AMF; and Service-Based Interface (SBI) messaging is used between the AMF and the AIoT network element. Figure 4A As shown, the protocol layers between the terminal device and the AIo RAN, from top to bottom, are: RRC, PDCP, RLC, MAC, and PHY. The main functions of the MAC layer are as follows:
[0095] Mapping: The MAC layer is responsible for mapping the information received from the 5G logical channel to the 5G transport channel.
[0096] Multiplexing and demultiplexing: Multiplexing data from different logical channels, such as Radio Link Control Service Data Unit (RLC SDU), into the same MAC Protocol Data Unit (PDU), or demultiplexing data from the same MAC PDU onto multiple different logical channels.
[0097] Hybrid Automatic Repeat Request (HARQ): The MAC layer utilizes HARQ technology to provide error correction services for the air interface. The implementation of HARQ requires close cooperation between the MAC layer and the PHY layer.
[0098] Wireless resource allocation: The MAC layer provides scheduling of service data and user signaling based on QoS.
[0099] Cascading: In NR, the RLC layer removes the concatenation function of RLC Service Data Units (SDUs), and the MAC layer is responsible for concatenating RLC PDUs.
[0100] In the uplink direction, after receiving the uplink grant (UL Grant), the MAC layer determines which logical channel's data to place in the MAC PDU and how much data to place on each logical channel, based on the configuration given in the LogicalChannelConfig in the RRC signaling and the rules specified in the protocol. Since the current discussion does not address which signaling radio bearer (SRB) the terminal device uses to send uplink AIoT service data, or which logical channel it maps to, this application makes the following assumptions:
[0101] When terminal devices send uplink AIoT data, different types of AIoT service data use the same SRB and logical channel, so AIoT data have the same priority when the MAC layer assembles packets;
[0102] Currently, terminal devices do not send any other business data besides AIoT data; that is, the MAC PDU only contains AIoT data.
[0103] Based on the above assumptions, such as Figure 5 As shown, after receiving an AIoT device response, such as an inventory response, the terminal device first places the inventory response in an RRC message and then passes the RRC message to the lower layers: RRC->PDCP->RLC. When the MAC layer indicates that there is a transmission opportunity on the corresponding logical channel, the RLC layer transmits the corresponding RLC PDU, and the MAC layer concatenates the RLC SDUs. Therefore, multiple inventory responses, after reaching the MAC layer, will also be assembled into a single MAC PDU and transmitted to the physical layer. Each inventory response contains only the device ID, and the data volume is very small. Considering the large number of devices, the terminal device will receive multiple device responses in a short period. If the terminal device encapsulates each AIoT device response into an RRC container and passes it to the lower layers as soon as it receives an RRC, the proportion of the RRC header in the MAC PDU will be very high, especially when the device response data volume is very small (such as an inventory response), which can easily lead to low uplink resource utilization.
[0104] like Figure 4B As shown, in a NAS-based architecture, signaling or data between intermediate nodes and AIoT network elements can be transmitted through the following paths: NAS messages are used between terminal devices and AIoT RAN to transmit AIoT data or signaling; NGAP messages are used between AIoT RAN and AMF; and SBI interfaces are used between AMF and AIoT network elements.
[0105] Currently, in the communication process of environmental IoT devices, under the T2 architecture, the base station can send service requests to the environmental IoT device through an intermediate node, and the intermediate node can then send the response from the environmental IoT device back to the base station. Specifically, when an intermediate node receives a response from an environmental IoT device, it encapsulates that response into a separate message using an environmental IoT data unit and sends this message to the base station.
[0106] However, since intermediate nodes typically need to connect to a large number of environmental IoT devices, if each intermediate node encapsulates the response from an environmental IoT device into a separate message using an environmental IoT data unit and transmits it, it will result in a waste of resources and low resource utilization.
[0107] To make the technical solution of this application clearer and easier to understand, a data aggregation method according to an embodiment of this application is described below with reference to the accompanying drawings. This embodiment is applicable to data transmission processes in wireless communication scenarios. The data aggregation method provided in this embodiment can be applied to a system composed of a first communication device and a second communication device. For example, the first communication device can be a communication device (such as a terminal device), or it can be a component of a communication device (such as a processor, circuit, chip, or chip system responsible for communication functions), or it can be a logic module or software capable of implementing all or part of the functions of the communication device. The second communication device can be a communication device (such as a network device), or it can be a component of a communication device (such as a processor, circuit, chip, or chip system responsible for communication functions), or it can be a logic module or software capable of implementing all or part of the functions of the communication device.
[0108] The following explanation uses the first communication device and the second communication device as examples.
[0109] Please see Figure 6 , Figure 6 The diagram shown is a flowchart of a data aggregation method provided in an embodiment of this application. The data aggregation method provided in this embodiment mainly includes the following steps:
[0110] 601. The second communication device sends the first information, and correspondingly, the first communication device receives the first information.
[0111] The first information is used to indicate the data aggregation strategy, and the data aggregation strategy is used to aggregate data on the first data unit.
[0112] In this embodiment, the second communication device can first determine the data, aggregation period, or aggregation time period that the first communication device needs to aggregate, i.e., determine the data aggregation strategy. Then, it can further determine first information to indicate the data aggregation strategy and send this first information to the first communication device. After receiving the first information, the first communication device can determine the first data units that can be aggregated based on the data aggregation strategy indicated by the first information, and aggregate one or more of the determined first data units in a first message. Finally, the first message carrying one or more first data units is sent to the second communication device. This means that one or more first data units can be transmitted through a single first message, which improves resource utilization compared to the prior art where only one environmental IoT data unit is encapsulated in a single message. It is understood that the first information can be, for example, aggregation auxiliary information, and the first data unit can be, for example, an AIoT data unit. Data aggregation refers to gathering or aggregating originally scattered data in a certain way. The data aggregation strategy can be a strategy for aggregating the first data units, and may include at least one of the following: aggregation period, time period for which aggregation can be performed, business type for which aggregation can be performed, or maximum number of first data units that can be aggregated at one time.
[0113] In one possible implementation of this application embodiment, the first information includes at least one of a first time period, a first indication information, a second indication information, a third indication information, or a fourth indication information. The data corresponding to the first data unit is received within the first time period. The first indication information is used to indicate the aggregation of the first data unit. The second indication information is used to indicate the time period in which aggregation can be performed. The third indication information is used to indicate the service type in which aggregation can be performed. The fourth indication information is used to indicate the maximum number of first data units that can be aggregated at one time.
[0114] In this embodiment, the first time period can specifically be an aggregation period, which can be represented by a time interval or a duration list. The first time period can also be used to instruct the first communication device to return aggregated AIoT data within the first time period. For example, when the first time period is a time interval, the first time period can specifically be 5 seconds; when the first time period is a duration list, the first time period can specifically be 5 seconds or 10 seconds, or other time lengths, which are not limited here.
[0115] For example, the second communication device can configure a first time period for the first communication device based on the type of AIoT service request to be executed by the first communication device. Alternatively, the first time period can be configured by the AIoT network element to the first communication device based on the type of AIoT service request to be executed by the first communication device. Alternatively, after the first communication device completes intermediate node authentication, the AIoT network element can configure corresponding first information or a first time period for each first communication device based on the capabilities of the first communication device. Alternatively, the first time period can be determined by the second communication device based on a second time period configured by the AIoT network element, where the second time period is the aggregation period configured by the AIoT network element to the second communication device, and the first time period can be less than or equal to the second time period.
[0116] It is understood that the first data unit can be a data unit obtained by the first communication device after determining the first time period by assembling the data received within the first time period into packets. For example, if the first communication device receives one or more service data within the first time period, the first communication device can construct one or more first data units based on the one or more service data.
[0117] Furthermore, the first information received by the first communication device may also carry first indication information for instructing the aggregation of the first data units, so that the first communication device can perform aggregation of the first data units after receiving the first information. It is understood that when the first time period is configured and sent to the first communication device by the AIoT network element during the intermediate node authentication phase, the first information sent by the second communication device to the first communication device may also carry the first indication information, so that the first communication device can begin to aggregate AIoT data based on the first time period after receiving the first information. It should also be noted that the AIoT data aggregated by the first communication device may specifically be service data received after sending an AIoT service request to the AIoT device, and responded to by the AIoT device.
[0118] The first information may also carry second indication information to indicate the time period during which aggregation can be performed, so that after receiving the first information, the first communication device can aggregate the first data units within the time period indicated by the second indication information. The time period during which aggregation can be performed may be, for example, early morning, noon, or evening.
[0119] The first information may also carry third indication information for indicating the type of service for which aggregation can be performed, so that after receiving the first information, the first communication device can aggregate the first data units related to the service type based on the service type indicated by the third indication information. The service type for which aggregation can be performed may be, for example, inventory or command.
[0120] The first message may also carry a fourth indication message indicating the maximum number of first data units that can be aggregated at one time. This allows the first communication device to determine the maximum number of first data units that can be aggregated at one time based on the fourth indication message after receiving the first message. This enables the aggregation of the first data units, i.e., one or more data units can be aggregated in the first message. In other words, one or more first data units can be sent to the second communication device through the first message. This means that one or more first data units can be transmitted through a single first message. Compared to the prior art where only one environmental IoT data unit is encapsulated in a single message, this improves resource utilization.
[0121] It should be noted that the functions of the first instruction information, the second instruction information, the third instruction information, or the fourth instruction information can be agreed upon in advance by the first communication device and the second communication device through a protocol, and this application embodiment does not limit this.
[0122] In one possible implementation of this application embodiment, step 601 involves the second communication device sending first information, and correspondingly, the first communication device receiving the first information, including:
[0123] A1. The second communication device sends an AIoT service request and first information, and correspondingly, the first communication device receives the AIoT service request and first information.
[0124] In this embodiment, the second communication device can send first information to the first communication device simultaneously with issuing an AIoT service request. This allows the first communication device to receive both the AIoT service request and the first information at the same time. Specifically, the first communication device can determine that the first time period in the first information is used to aggregate the AIoT service request. After receiving the AIoT data corresponding to the AIoT service request, the first communication device can directly aggregate the AIoT data based on the first time period. In other words, the first communication device can quickly aggregate the AIoT service data corresponding to the AIoT service request, improving resource utilization. The type of AIoT service request may include inventory or commands, etc.
[0125] 602. The first communication device sends a first message, and correspondingly, the second communication device receives the first message.
[0126] The first message includes one or more first data units, which are determined based on a data aggregation strategy.
[0127] In this embodiment, after receiving the first information, the first communication device can aggregate the first data unit based on the data aggregation strategy indicated by the first information. For example, the first communication device can determine a first timer based on a first time period to aggregate AIoT data based on the first timer. The time span of the first timer can be less than or equal to the first time period. For instance, if the first time period is 10 seconds, the time span of the first timer determined based on the first time period can be 5 seconds, meaning the first timer starts counting from the start and expires after 5 seconds. The first time period can be carried in the first information or pre-stored in the first communication device itself, and can be set according to actual conditions; this embodiment does not limit this.
[0128] It is understandable that the first data unit can be determined by the first communication device based on the AIoT data corresponding to the AIoT service request received from each device after sending the AIoT service request. Specifically, after the first communication device sends the AIoT service request to each AIoT device, it starts a first timer. Before the first timer expires, the first communication device can receive and cache one or more AIoT data from each AIoT device. After the first timer expires, the RRC layer of the first communication device can retrieve data from the cache containing one or more AIoT data, determine one or more first data units based on the one or more AIoT data, aggregate the one or more first data units into a first message, and finally send the first message carrying one or more first data units to the second communication device. That is, one or more first data units can be transmitted through a single first message, which improves resource utilization compared to the prior art where only one environmental IoT data unit is encapsulated in a single message. The first data unit can be represented by an AIoTNAS PDU.
[0129] If the amount of AIoT data cached by the first communication device before the first timer expires is large, that is, if one or more first data units exceed the maximum data capacity of the first message, then the first data units can be sent through multiple first messages.
[0130] It should be noted that the first message sent by the first communication device to the second communication device can be an RRC message. Specifically, the first message can be an existing RRC message type, such as an RRC reconfiguration completion message, or it can be a newly defined RRC message type for AIoT services. This application embodiment does not limit this.
[0131] In one possible implementation of this application embodiment, the first message includes a first data container, and the first data container includes the one or more first data units.
[0132] In this embodiment, the first communication device can first aggregate one or more first data units determined within a first timer into a first data container, and then send the first data container carrying one or more first data units to the second communication device through a first message. That is, one or more first data units can be transmitted through the first data container in a single first message, which improves resource utilization compared to the prior art where only one environmental IoT data unit is encapsulated in a single message. It is understood that, as... Figure 7A As shown, the first data container can be a newly defined container for carrying data units for the first message; that is, the first data container can carry multiple data units. The first data container can be represented by an AIoT NAS Container or a payload container. Specifically, when the first message is an RRC message, that is, when the first communication device performs data aggregation at the RRC layer, the first data container can be represented by an AIoT NAS Container; when the first message is a NAS message, that is, when the first communication device performs data aggregation at the NAS layer, the first data container can be represented by a payload container.
[0133] In one possible implementation of this application embodiment, the first message further includes content information of the first data container, which includes at least one of the number of first data units or the length of the first data units.
[0134] In this embodiment, the first message may also carry content information of the first data container. The content information of the first data container may include at least one of the number of first data units or the length of each first data unit. This allows the second communication device, upon receiving the first message carrying the first data container, to determine the number of first data units carried in the first data container or the length of each first data unit based on the content information of the first data container, and thus to parse each first data unit carried in the first data container from the first message. The number of first data units can be represented by the total number of AIoT NAS PDUs. The length of the first data unit can be represented by an AIoT NAS Length List. If the type of AIoT service request corresponding to the first data unit is a disk storage request, the AIoT data included in the first data unit only contains the device ID. That is, the length of the first data units may be the same. Therefore, for disk storage services, the length of the first data unit may only contain one length value, where DeviceID refers to the identification information of the AIoT device.
[0135] In one possible implementation of this application embodiment, the first data container further includes content information of the first data container, which includes at least one of the number of first data units or the length of the first data units.
[0136] In the embodiments of this application, such as Figure 7B As shown, in addition to carrying one or more first data units, the first data container in the first message may also carry content information of the first data container. The content information of the first data container includes at least one of the number of first data units or the length of the first data units. That is, the content information of the first data container can be placed in the first data container so that after receiving the first data container, the second communication device or other communication device can parse one or more first data units from the first data container of the first message according to the content information of the first data container.
[0137] In one possible implementation of this application embodiment, the first message may further include the number of first data containers or the service identification information corresponding to the first data unit.
[0138] In this embodiment, the first message may also carry the number of first data containers, so that after receiving the first message, the second communication device can determine how many first data containers the first communication device has aggregated the first data units into. The number of first data containers can be represented by the AIoT containertotal number. Furthermore, if a first message carries only one first data container, the second communication device can also determine how many first messages the first communication device has aggregated the first data units into based on the number of first containers, so that the second communication device can completely receive all first data containers that aggregate the first data units. Alternatively, the first message may also carry service identification information corresponding to the first data units, so that after receiving the first message, the second communication device can determine the specific AIoT service request corresponding to one or more first data units carried in the first message, that is, determine which AIoT service request the AIoT data in the first data unit is based on as a response, so that after parsing one or more first data units, subsequent data processing can be performed quickly. The service identification information corresponding to the first data unit can be used to identify the AIoT service request corresponding to the first data unit, that is, it can identify the AIoT service request corresponding to the AIoT data used to determine the first data unit. The service identification information corresponding to the first data unit can be CorrelationID, which can be the identification information assigned by the AIoT network element to each AIoT service request.
[0139] In one possible implementation of this application embodiment, the first message further includes at least one of the identification information of the first communication device or the serial number of the first data container.
[0140] In this embodiment, the first message may also carry identification information of the first communication device, so that after receiving the first message, the second communication device can determine the first communication device that sent the first message, that is, it can determine the first communication device that aggregates one or more first data units based on the first message. The identification information of the first communication device can be represented by UEreader info, which may specifically include UEID or UEreader ID, etc. The first communication device may also carry the sequence number of the first data container, so that after receiving the first message, the second communication device can determine which first data container it has received, and further determine whether it has completely received all the first data containers. The sequence number of the first data container can be represented by a container index. It is understood that when the first message is the first message sent by the first communication device to the second communication device, the first message may not carry the sequence number of the first data container; instead, the number of first data containers may be used as an implicit identifier to identify the current first data container as the first data container with sequence number 1.
[0141] In one possible implementation of this application embodiment, the first message further includes at least one of the type information of the first message or the type information of the first data container.
[0142] In this embodiment, the first message may also carry type information to indicate that it is specifically used to transmit data units. This allows the second communication device, upon receiving the first message, to determine that it is specifically used to transmit data units and to further obtain the necessary information to parse the first message. The type information of the first message can be represented by the UL NAS transport message identity. Alternatively, the first message may also include type information of the first data container to indicate that the first data container carries the first data unit. This allows the second communication device, upon receiving the first message and parsing the first data container, to determine that the first data container specifically carries a data unit and to further obtain the necessary information to parse the first data container. The type information of the first data container can be represented by the payload container type. For example, when the first message is a NAS message, i.e., when the first communication device performs data aggregation at the NAS layer, the type information of the first message can be represented by the UL NAS transport message identity, and the type information of the first data container can be represented by the payload container type. When the first message is an RRC message, that is, when the first communication device is performing data aggregation at the RRC layer, the type information of the first message can be indicated by the name of the first message, and the type information of the first data container can be indicated by the first data container. For example, the name of the first data container can be AIoT payload container.
[0143] It should be noted that the first message and the first data container mentioned above may also include other information, which can be set according to the actual situation. This application embodiment does not limit this.
[0144] To better understand the format of the first message, this application will provide an exemplary description in conjunction with specific scenarios.
[0145] For example, the format of the first message may include:
[0146] The first message may include at least one of the following: a first data container, identification information of a first communication device, the number of first data containers, or content information of the first data containers; the content information of the first data may include at least one of the following: the number of first data units or the length of the first data units; the first data container may include one or more first data units.
[0147] The first message that is not the first message may include at least one of the following: a first data container, the content information of the first data container, or the sequence number of the first data container; the content information of the first data includes at least one of the following: the number of first data units or the length of the first data units; the first data container includes one or more first data units.
[0148] The second format of the first message may include:
[0149] The first message may include at least one of the following: a first data container, identification information of a first communication device, service identification information corresponding to a first data unit, or content information of a first data container; the content information of the first data may include at least one of the following: the number of first data units or the length of a first data unit; the first data container may include one or more first data units.
[0150] The non-first message may include at least one of the following: the first data container, the service identification information corresponding to the first data unit, or the content information of the first data container; the content information of the first data includes at least one of the following: the number of first data units or the length of the first data unit; the first data container includes one or more first data units.
[0151] The third format of the first message can include:
[0152] The first message may include at least one of the following: a first data container, identification information of a first communication device, or the number of first data containers; the first data container may also include content information of the first data container, the content information of the first data may include at least one of the following: the number of first data units or the length of the first data units, and the first data container may include one or more first data units.
[0153] The first message that is not the first message may include the first data container and the business identification information corresponding to the first data unit. The first data container also includes the content information of the first data container. The content information of the first data includes at least one of the number of first data units or the length of the first data unit. The first data container includes one or more first data units.
[0154] The fourth format for the first message may include:
[0155] The first message may include at least one of the following: a first data container, identification information of a first communication device, or service identification information corresponding to a first data unit. The first data container may also include content information of the first data container. The content information of the first data may include at least one of the following: the number of first data units or the length of the first data unit. The first data container may include one or more first data units.
[0156] The first message that is not the first message may include at least one of the business identification information corresponding to the first data container or the first data unit. The first data container may also include the content information of the first data container. The content information of the first data may include at least one of the number of first data units or the length of the first data unit. The first data container includes one or more first data units.
[0157] It should be noted that the aforementioned "first message" refers to the first message sent by the first communication device to the second communication device when the first communication device sends multiple first messages. "Non-first message" refers to any other first messages sent by the first communication device to the second communication device besides the first message when the first communication device sends multiple first messages.
[0158] The first data container may specifically carry at least one of the following: service identification information corresponding to the first data unit, the number of first data units, the length of the first data unit, or the AIoT service type, as well as one or more first data units. The specific arrangement of the first data containers can be as follows: Figure 8A As shown. The first data container can also be arranged in other ways, which is not limited in this embodiment. In addition, it should be noted that when the number of the first data units is 1, the first data container may not carry the length of the first data units.
[0159] In one possible implementation of this application embodiment, the first data unit includes at least one of header information, AIoT device identifier, type of AIoT device identifier, length of AIoT device identifier, fifth indication information, sixth indication information, AIoT data, confirmation character or negative confirmation character, wherein the fifth indication information is used to indicate whether AIoT data exists, and the sixth indication information is used to indicate whether a confirmation character or negative confirmation character exists.
[0160] In the embodiments of this application, such as Figure 8BAs shown, the first data unit may carry header information, an AIoT device identifier, an AIoT device identifier type, an AIoT device identifier length, a fifth indication information indicating the presence of AIoT data, a sixth indication information indicating the presence of an ACK or NACK character, AIoT data, and at least one of an ACK or NACK character. This allows the second communication device or other communication device to further parse the AIoT data and complete the AIoT service request after acquiring the first data unit. Specifically, the header information may be identified as AIoT NAS PDUHeader, the AIoT device identifier may be represented as DeviceID, the AIoT device identifier type may be represented as DeviceIDtype, the AIoT device identifier length may be represented as Device ID length, the fifth indication information may be represented as Indicator of AIoT data, the sixth indication information may be represented as Indicator of ACK / NACK, the AIoT data may be represented as AIoT data, and the ACK or NACK character may be represented as ACK / NACK. The DeviceIDtype / ID Length can be used to indicate whether the Device ID is a Permanent ID or a Temporary ID. The Indicatorof AIoT data can be used to indicate whether the AIoT data field is empty.
[0161] It is understandable that when the service type of the AIoT service corresponding to the first data unit is inventory, the first data unit may not contain AIoT data, an acknowledgment character, or a negative acknowledgment character. When the service type of the AIoT service corresponding to the first data unit is a read command, the first data unit may contain AIoT data. When the service type of the AIoT service corresponding to the first data unit is a write command or invalidation, the first data unit may contain an acknowledgment character or a negative acknowledgment character.
[0162] In one possible implementation of this application embodiment, step 602, where the first communication device sends a first message, includes:
[0163] B1. The first communication device sends a first message when the first condition is met.
[0164] The first condition includes the first timer expires or the first time period ends. The first timer is started when the first communication device sends an AIoT service request. The first timer is determined based on the first time period.
[0165] In this embodiment, when the first communication device sends an AIoT service request to the AIoT device, it can start a first timer determined based on a first time period. After the first timer expires or before the first time period ends, it can aggregate one or more first data units determined during this period into a first message. That is, one or more first data units are sent to the second communication device through the first message. In other words, one or more first data units can be transmitted through a first message. Compared with the prior art, where only one environmental IoT data unit is encapsulated in a message, the utilization rate of resources is improved.
[0166] For example, if the time span of the first timer is 5 seconds and the first time period is 10 seconds, the first communication device can start the first timer after sending the AIoT service request, and if the first timer expires after 5 seconds, it can retrieve the AIoT data received within those 5 seconds from the buffer, determine one or more corresponding data units, and aggregate one or more first data units into a first message within 10 seconds after sending the AIoT service request, and send the first message to the second communication device.
[0167] Furthermore, it should be noted that the values of the various information fields mentioned in the above embodiments can be the exact values of the information fields or the indicative values of the information fields. This application will not discuss this further. For example, a value of 1 for the field "Quantity of the First Data Unit" can mean that the quantity of the first data unit is 1, or it can mean that the mapping relationship is agreed upon in advance through a protocol. For example, a value of 1 for the field "Quantity of the First Data Unit" indicates that the quantity of the first data unit is 10.
[0168] As can be seen from the examples in the foregoing embodiments, after receiving the first information, the first communication device can determine the first data unit that can be aggregated based on the data aggregation strategy indicated by the first information, and can aggregate one or more determined first data units in a first message. Finally, the first message carrying one or more first data units is sent to the second communication device. That is, one or more first data units can be transmitted through a first message. Compared with the prior art, where only one environmental IoT data unit is encapsulated in a message, the utilization rate of resources is improved.
[0169] Please see Figure 9 , Figure 9 The diagram shown is a flowchart of a data aggregation method provided in an embodiment of this application. The data aggregation method provided in this embodiment mainly includes the following steps:
[0170] 901. The second communication device sends the first information, and correspondingly, the first communication device receives the first information.
[0171] The first information is used to indicate the data aggregation strategy, and the data aggregation strategy is used to aggregate data on the first data unit.
[0172] 902. The first communication device sends a first message, and correspondingly, the second communication device receives the first message.
[0173] The first message includes one or more first data units, which are determined based on a data aggregation strategy.
[0174] The specific content of steps 901-902 above is similar to that of steps 601-602 in the previous embodiment, and will not be repeated here in this embodiment.
[0175] 903. The second communication device sends a second message, and correspondingly, the third communication device receives the second message.
[0176] The second message may include one or more second data containers, which are determined based on a second timer, which is determined based on a second time period, and the second data container may include one or more first data units; or, the second message may include one or more first data containers, and the first data containers may include one or more first data units.
[0177] In this embodiment, the third communication device can be an AIoT network element or an AMF. The second communication device can further determine a second timer based on a defined second time period, and after starting the second timer, it can aggregate one or more first data units or one or more first data containers from one or more first messages into a second message, and send the second message to other communication devices. That is, the second communication device can also perform data aggregation for one or more first data units to further improve resource utilization. It is understood that the second communication device can aggregate one or more first data units from one or more first messages into a second message through a second data container.
[0178] Understandably, the second time period can be the aggregation cycle configured by the third communication device for the second communication device, instructing the second communication device to send the further aggregated AIoT data to the third communication device before the second time period expires. The second timer can be determined based on the second time period, and the time span of the second timer can be less than or equal to the second time period. For example, if the second time period is 30 seconds, then the time span of the second timer determined based on the second time period can be 20 seconds, meaning that the second timer starts counting from the beginning and expires after 20 seconds.
[0179] Specifically, after the second communication device sends the AIoT service request to the corresponding first communication device of each AIoT device, it can start a second timer. Before the second timer expires, the first communication device can receive and cache one or more first messages from each first communication device, wherein the first message carries one or more first data units, or the first message carries one or more first data containers. After the second timer expires, the second communication device can retrieve data from the cache containing one or more first messages, and can aggregate one or more first data units from the received one or more first messages into a second message through the second data containers, or can directly aggregate one or more first data containers carried in the first message into the second message. Finally, the second message is sent to the second communication device through the NGAP connection assigned to each first communication device. That is, the second communication device can also realize data aggregation for one or more first data units to further improve resource utilization. It can be understood that the first data units in the second message can be composed of one or more first data units carried in the first messages sent by one or more first communication devices.
[0180] It should be noted that when the second communication device can parse and extract the first data unit from the first data container, the second communication device can first extract the first data unit from the first data container, and then re-aggregate the first data units with the first communication device as the granularity of the first data unit, and then aggregate them into the second data container of the second message. Alternatively, the second communication device can first extract the first data unit from the first data container, and then re-aggregate the first data unit into any new data container in a mixed manner.
[0181] When the second communication device is unable to parse and extract the first data unit from the first data container, the first data container can be directly re-aggregated at the granularity of the first communication device.
[0182] In one possible implementation of this application embodiment, the second message further includes at least one of a seventh indication information, the number of first data units, or the length of the first data units, wherein the seventh indication information is used to indicate that the second message is used to transmit the first data units.
[0183] In this embodiment of the application, the second message may also carry seventh indication information indicating that the second message is used to transmit the first data unit, so that other communication devices, after receiving the second message, can determine that the second message carries the first data unit based on the seventh indication information, wherein the seventh indication information can be represented by Message type. The second message may also carry at least one of the number of first data units or the length of the first data units, so that a third communication device, after receiving the second message, can parse one or more first data units carried in the second message based on the number of first data units or the length of the first data units.
[0184] It is understandable that when the second communication device can parse and extract the first data unit from the first data container, that is, for example, when the format of the first message is format one or format two as described above, the second communication device can first extract the first data unit from the first data container, and then re-aggregate the first data units with the first communication device as the granularity of the first data unit, and aggregate them into the second data container of the second message. At least one of the seventh indication information, the number of first data units, or the length of the first data unit carried in the second message can enable the third communication device to correctly parse the first data unit carried in the second message.
[0185] In one possible implementation of this application embodiment, the second message further includes an eighth indication message, which is used to indicate the first communication device corresponding to the first data unit.
[0186] In this embodiment, when the second communication device can parse and extract the first data unit from the first data container, i.e., when the format of the first message is, for example, format one or format two as described above, the second communication device can first extract the first data unit from the first data container, and then re-aggregate the first data unit into any new data container, such as the second data container, in a mixed manner. Since the first data unit carried in the second message may come from multiple different first communication devices, the second message may also carry eighth indication information for indicating the first communication device corresponding to the first data unit, so that other communication devices can determine the first communication device corresponding to each first data unit in the second message based on the eighth indication information after receiving the second message, so that other communication devices can quickly perform subsequent processing on the first data unit. The eighth indication information can be represented by readerassociation info, and can specifically be used to indicate the first communication device that sent each first data unit.
[0187] This can be understood as follows: since the subscription information of AIoT devices includes the information of the most recently served reader, each first data unit can be associated with a corresponding reader information. The reader association info can be a list of reader IDs, such as "reader 1", "reader 3", ..., where each reader ID corresponds one-to-one with a first data unit. Alternatively, the reader association info can be a set of tuples (start, end) indexed by UEID, such as UEreader_1:(0, N-1), UEreader_2:(N, N+M-1), etc. Here, UEreader_1:(0, N-1) means that the first communication device corresponding to the 0th to N-1th first data units is UEreader_1, or that the 0th to N-1th first data units were sent by UEreader_1. UEreader_2:(N, N+M-1) means that the first communication device corresponding to the Nth to N+M-1th first data units is UEreader_2, or that the Nth to N+M-1th first data units are sent by UEreader_2.
[0188] In this embodiment, when the second communication device cannot parse and extract the first data unit from the first data container, i.e., when the format of the first message is, for example, format three or format four as described above, one or more first data containers can be directly aggregated into the second message, along with a corresponding container data list, i.e., an AIoT container list. Alternatively, the second communication device can redefine a new container, such as an AIoT NAS-PDU container, and aggregate one or more first data containers into the new container, and the second message can carry this new container. It is understood that one or more first data containers aggregated into the second message can be regarded as the second data containers carried by the second message, and one or more first data containers aggregated into the second message can come from the same first communication device or from different first communication devices.
[0189] It should be noted that the second message may also carry other information, which can be set according to the actual situation, and this application embodiment does not limit it here. For example, the second message may also carry other identification information, which may include AMF UE NGAP ID (Access and Mobility Management Function User Equipment Next Generation Application Protocol Identifier) and RAN UE NGAP ID (Radio Access Network User Equipment Next Generation Application Protocol Identifier), where AMF UE NGAP ID refers to the identification information of the NGAP connection assigned by AMF to the terminal device, and RAN UE NGAP ID refers to the identification information of the NGAP connection assigned by RAN to the terminal device.
[0190] Furthermore, it should be noted that the values of the various information fields mentioned in the above embodiments can be the exact values of the information fields or the indicative values of the information fields. This application will not discuss this further. For example, a value of 1 for the field "Quantity of the First Data Unit" can mean that the quantity of the first data unit is 1, or it can mean that the mapping relationship is agreed upon in advance through a protocol. For example, a value of 1 for the field "Quantity of the First Data Unit" indicates that the quantity of the first data unit is 10.
[0191] As illustrated by the foregoing embodiments, the second communication device can send first information to the first communication device to instruct the aggregation of the first data units. This allows the first communication device to determine the first data units that can be aggregated based on the data aggregation strategy indicated by the first information after receiving it. The first communication device can then aggregate one or more of the determined first data units into a first message and finally send the first message carrying one or more first data units to the second communication device. In other words, one or more first data units can be transmitted through a single first message, which improves resource utilization compared to the prior art where only one environmental IoT data unit is encapsulated in a single message.
[0192] Figure 10 This is a schematic diagram of a communication device provided in an embodiment of this application. The communication device is used to implement the function of the first communication device in the above method embodiment, and the communication device specifically includes:
[0193] The receiving module 1001 is used to receive first information, which is used to indicate a data aggregation strategy, and the data aggregation strategy is used to aggregate data on the first data unit.
[0194] The sending module 1002 is used to send a first message, the first message including one or more first environmental IoT data units, the first message including one or more first data units, the first data units being determined based on a data aggregation strategy.
[0195] In one possible implementation of this application embodiment, the first information includes at least one of a first time period, a first indication information, a second indication information, a third indication information, or a fourth indication information. The data corresponding to the first data unit is received within the first time period. The first indication information is used to indicate the aggregation of the first data unit. The second indication information is used to indicate the time period in which aggregation can be performed. The third indication information is used to indicate the service type in which aggregation can be performed. The fourth indication information is used to indicate the maximum number of first data units that can be aggregated at one time.
[0196] In one possible implementation of this application embodiment, the first message includes a first data container, which includes the one or more first data units.
[0197] In one possible implementation of this application embodiment, the first message further includes content information of the first data container, wherein the content information of the first data container includes at least one of the number of the first data units or the length of the first data units.
[0198] In one possible implementation of this application embodiment, the first data container further includes content information of the first data container, which includes at least one of the number of the first data units or the length of the first data units.
[0199] In one possible implementation of this application embodiment, the first message may further include the number of the first data containers or the service identification information corresponding to the first data unit.
[0200] In one possible implementation of this application embodiment, the first message further includes at least one of the identification information of the first communication device or the serial number of the first data container.
[0201] In one possible implementation of this application embodiment, the first message further includes at least one of the type information of the first message or the type information of the first data container.
[0202] In one possible implementation of this application embodiment, the first data unit includes header information, an AIoT device identifier, the type of the AIoT device identifier, the length of the AIoT device identifier, fifth indication information, sixth indication information, AIoT data, and at least one of a confirmation character or a negative confirmation character. The fifth indication information is used to indicate whether AIoT data exists, and the sixth indication information is used to indicate whether a confirmation character or a negative confirmation character exists.
[0203] In one possible implementation of this application embodiment, the sending module 1002 is specifically used for:
[0204] If a first condition is met, a first message is sent. The first condition includes the first timer expires or the first time period ends. The first timer is determined based on the first time period and is started when the first communication device sends an AIoT service request.
[0205] In one possible implementation of this application embodiment, the receiving module 1001 is specifically used for:
[0206] Receive AIoT service request and the first information.
[0207] As can be seen from the examples in the foregoing embodiments, after receiving the first information, the first communication device can determine the first data unit that can be aggregated based on the data aggregation strategy indicated by the first information, and can aggregate one or more determined first data units in a first message. Finally, the first message carrying one or more first data units is sent to the second communication device. That is, one or more first data units can be transmitted through a first message. Compared with the prior art, where only one environmental IoT data unit is encapsulated in a message, the utilization rate of resources is improved.
[0208] It should be noted that the physical device corresponding to the transmitting module 1002 can be a transmitter, and the physical device corresponding to the receiving module 1001 can be a receiver.
[0209] The above Figure 10 The communication device described above can also be used to implement the function of the second communication device in the above method embodiments, and the communication device specifically includes:
[0210] The sending module 1002 is used to send first information, the first information being used to indicate a data aggregation strategy, the data aggregation strategy being used to perform data aggregation on the first data unit;
[0211] The receiving module 1001 is used to receive a first message, the first message including one or more of the first data units, the first data units being determined based on a data aggregation strategy.
[0212] In one possible implementation of this application embodiment, the first information includes at least one of a first time period, a first indication information, a second indication information, a third indication information, or a fourth indication information. The data corresponding to the first data unit is received within the first time period. The first indication information is used to indicate the aggregation of the first data unit. The second indication information is used to indicate the time period in which aggregation can be performed. The third indication information is used to indicate the service type in which aggregation can be performed. The fourth indication information is used to indicate the maximum number of first data units that can be aggregated at one time.
[0213] In one possible implementation of this application embodiment, the first message includes a first data container, which includes the one or more first data units.
[0214] In one possible implementation of this application embodiment, the first message further includes content information of the first data container, wherein the content information of the first data container includes at least one of the number of the first data units or the length of the first data units.
[0215] In one possible implementation of this application embodiment, the first data container further includes content information of the first data container, which includes at least one of the number of the first data units or the length of the first data units.
[0216] In one possible implementation of this application embodiment, the first message may further include the number of the first data containers or the service identification information corresponding to the first data unit.
[0217] In one possible implementation of this application embodiment, the first message further includes at least one of the identification information of the first communication device or the serial number of the first data container.
[0218] In one possible implementation of this application embodiment, the first message further includes at least one of the type information of the first message or the type information of the first data container.
[0219] In one possible implementation of this application embodiment, the first data unit includes header information, an AIoT device identifier, the type of the AIoT device identifier, the length of the AIoT device identifier, fifth indication information, sixth indication information, AIoT data, and at least one of a confirmation character or a negative confirmation character. The fifth indication information is used to indicate whether AIoT data exists, and the sixth indication information is used to indicate whether a confirmation character or a negative confirmation character exists.
[0220] In one possible implementation of this application embodiment, the first message is sent by the first communication device when a first condition is met. The first condition includes the first timer expires or the first time period ends. The first timer is determined based on the first time period and is started when the first communication device issues an AIoT service request.
[0221] In one possible implementation of this application embodiment, the sending module 1002 is specifically used for:
[0222] Send AIoT service requests and initial information.
[0223] In one possible implementation of this application embodiment, the apparatus further includes:
[0224] The sending module is further configured to send a second message, the second message including one or more second data containers, the second data containers being determined based on a second timer, the second timer being determined based on a second time period, the second data containers including one or more first data units; or, the second message including one or more first data containers, the first data containers including the one or more first data units.
[0225] In one possible implementation of this application embodiment, the second message further includes at least one of a seventh indication information, the number of the first data units, or the length of the first data units, wherein the seventh indication information is used to indicate that the second message is used to transmit the first data units.
[0226] In one possible implementation of this application embodiment, the second message further includes eighth indication information, which is used to indicate the first communication device corresponding to the first data unit.
[0227] As illustrated by the foregoing embodiments, the second communication device can send first information to the first communication device to instruct the aggregation of the first data units. This allows the first communication device to determine the first data units that can be aggregated based on the data aggregation strategy indicated by the first information after receiving it. The first communication device can then aggregate one or more of the determined first data units into a first message and finally send the first message carrying one or more first data units to the second communication device. In other words, one or more first data units can be transmitted through a single first message, which improves resource utilization compared to the prior art where only one environmental IoT data unit is encapsulated in a single message.
[0228] Figure 11 This application provides an example of the composition of an electronic device. The electronic device may be a first device, including but not limited to a base station and a core network unit. Figure 11 A simplified schematic diagram of a base station structure is shown. The base station includes sections 1110, 1120, and 1130. Section 1110 is mainly used for baseband processing and base station control; section 1110 is typically the control center of the base station, often referred to as a processor, used to control the base station to perform the processing operations on the first device side in the above method embodiments. Section 1120 is mainly used to store computer program code and data. Section 1130 is mainly used for the transmission and reception of radio frequency signals and the conversion between radio frequency signals and baseband signals; section 1130 is often referred to as a transceiver module, transceiver, transceiver circuit, or transceiver unit. The transceiver module of section 1130, also referred to as a transceiver or transceiver unit, includes an antenna 1133 and a radio frequency circuit (not shown in the figure), wherein the radio frequency circuit is mainly used for radio frequency processing. Optionally, the device in section 1130 used to implement the receiving function can be regarded as a receiver, and the device used to implement the transmitting function can be regarded as a transmitter, that is, section 1130 includes a receiver 1132 and a transmitter 1131. A receiver can also be called a receiving module, receiver, or receiving circuit, while a transmitter can be called a transmitting module, transmitter, or transmitting circuit.
[0229] Sections 1110 and 1120 may include one or more circuit boards, each of which may include one or more processors and one or more memories. The processors are used to read and execute programs from the memories to implement baseband processing functions and control the base station. If multiple circuit boards exist, they can be interconnected to enhance processing capabilities. As an optional implementation, multiple circuit boards may share one or more processors, multiple circuit boards may share one or more memories, or multiple circuit boards may simultaneously share one or more processors.
[0230] For example, in one implementation, the transceiver module of section 1130 is used to execute the transceiver-related processes performed by the base station (first device) in the aforementioned method embodiments. The processor of section 1110 is used to execute the processing-related processes performed by the base station in the aforementioned method embodiments.
[0231] It should be understood that Figure 11 This is for illustrative purposes only and not as a limitation. The network devices mentioned above, including processors, memory, and transceivers, may not depend on... Figure 11 The structure shown.
[0232] This application also provides a communication system, which may include a first device (e.g., a network device such as a base station) and a second device (e.g., a terminal device such as a mobile phone).
[0233] In this application, the terminal device or network device may include a hardware layer, an operating system layer running on top of the hardware layer, and an application layer running on top of the operating system layer. The hardware layer may include hardware such as a central processing unit (CPU), a memory management unit (MMU), and memory (also known as main memory). The operating system layer may be any one or more computer operating systems that implement business processing through processes, such as Linux, Unix, Android, iOS, or Windows. The application layer may include applications such as browsers, address books, word processing software, and instant messaging software.
[0234] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and modules described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0235] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, or indirect coupling or communication connection between devices or modules, and may be electrical, mechanical, or other forms.
[0236] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network modules. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0237] Furthermore, the functional modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The integrated modules described above can be implemented in hardware or as software functional modules.
[0238] If the integrated module is implemented as a software functional module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the essential contribution of the technical solution of this application, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the processes of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory, random access memory, magnetic disks, or optical disks.
[0239] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
Claims
1. A data aggregation method, characterized in that, Applied to a first communication device, the method includes: Receive first information, the first information being used to instruct a data aggregation strategy, the data aggregation strategy being used to aggregate data on the first data unit; Send a first message, the first message including one or more of the first data units, the first data units being determined based on the data aggregation strategy.
2. The method according to claim 1, characterized in that, The first information includes at least one of a first time period, a first indication information, a second indication information, a third indication information, or a fourth indication information. The data corresponding to the first data unit is received within the first time period. The first indication information is used to indicate the aggregation of the first data unit. The second indication information is used to indicate the time period in which aggregation can be performed. The third indication information is used to indicate the service type in which aggregation can be performed. The fourth indication information is used to indicate the maximum number of first data units that can be aggregated at one time.
3. The method according to claim 1 or 2, characterized in that, The first message includes a first data container, which includes the one or more of the first data units.
4. The method according to claim 3, characterized in that, The first message also includes content information of the first data container, which includes at least one of the number of the first data units or the length of the first data units.
5. The method according to claim 3, characterized in that, The first data container also includes content information of the first data container, which includes at least one of the number of the first data units or the length of the first data units.
6. The method according to any one of claims 3 to 5, characterized in that, The first message also includes the number of the first data containers or the service identification information corresponding to the first data unit.
7. The method according to any one of claims 3 to 6, characterized in that, The first message also includes at least one of the identification information of the first communication device or the serial number of the first data container.
8. The method according to any one of claims 3 to 7, characterized in that, The first message also includes at least one of the type information of the first message or the type information of the first data container.
9. The method according to any one of claims 1 to 8, characterized in that, The first data unit includes at least one of the following: header information, environmental IoT AIoT device identifier, type of the AIoT device identifier, length of the AIoT device identifier, fifth indication information, sixth indication information, AIoT data, confirmation character or negative confirmation character. The fifth indication information is used to indicate whether the AIoT data exists, and the sixth indication information is used to indicate whether the confirmation character or the negative confirmation character exists.
10. The method according to any one of claims 2 to 9, characterized in that, Sending the first message includes: If the first condition is met, the first message is sent. The first condition includes the first timer expires or the first time period ends. The first timer is determined based on the first time period and is started when the first communication device sends an AIoT service request.
11. The method according to any one of claims 1 to 10, characterized in that, The receiving of the first information includes: Receive AIoT service request and the first information.
12. A data aggregation method, characterized in that, Applied to a second communication device, the method includes: Send a first message, the first message being used to instruct a data aggregation strategy, the data aggregation strategy being used to aggregate data on the first data unit; A first message is received, the first message including one or more of the first data units, the first data units being determined based on a data aggregation strategy.
13. The method according to claim 12, characterized in that, The first information includes at least one of a first time period, a first indication information, a second indication information, a third indication information, or a fourth indication information. The data corresponding to the first data unit is received within the first time period. The first indication information is used to indicate the aggregation of the first data unit. The second indication information is used to indicate the time period in which aggregation can be performed. The third indication information is used to indicate the service type in which aggregation can be performed. The fourth indication information is used to indicate the maximum number of first data units that can be aggregated at one time.
14. The method according to claim 12 or 13, characterized in that, The first message includes a first data container, which includes the one or more of the first data units.
15. The method according to claim 14, characterized in that, The first message also includes content information of the first data container, which includes at least one of the number of the first data units or the length of the first data units.
16. The method according to claim 14 or 15, characterized in that, The first data container also includes content information of the first data container, which includes at least one of the number of the first data units or the length of the first data units.
17. The method according to any one of claims 14 to 16, characterized in that, The first message also includes the number of the first data containers or the service identification information corresponding to the first data unit.
18. The method according to any one of claims 14 to 17, characterized in that, The first message also includes at least one of the identification information of the first communication device or the serial number of the first data container.
19. The method according to any one of claims 14 to 18, characterized in that, The first message also includes at least one of the type information of the first message or the type information of the first data container.
20. The method according to any one of claims 12 to 19, characterized in that, The first data unit includes at least one of the following: header information, environmental IoT AIoT device identifier, type of the AIoT device identifier, length of the AIoT device identifier, fifth indication information, sixth indication information, AIoT data, confirmation character or negative confirmation character. The fifth indication information is used to indicate whether the AIoT data exists, and the sixth indication information is used to indicate whether the confirmation character or the negative confirmation character exists.
21. The method according to any one of claims 13 to 20, characterized in that, The first message is sent by the first communication device when a first condition is met. The first condition includes the first timer timeout or the first time period timeout before the end of the first time period. The first timer is determined based on the first time period and is started when the first communication device issues an AIoT service request.
22. The method according to any one of claims 12 to 21, characterized in that, The sending of the first information includes: Send AIoT service requests and initial information.
23. The method according to any one of claims 12 to 22, characterized in that, The method further includes: Send a second message, the second message including one or more second data containers, the second data containers being determined based on a second timer, the second timer being determined based on a second time period, the second data containers including one or more first data units; or, the second message including one or more first data containers, the first data containers including the one or more first data units.
24. The method according to claim 23, characterized in that, The second message also includes at least one of a seventh indication, the number of the first data units, or the length of the first data units, wherein the seventh indication is used to indicate that the second message is used to transmit the first data units.
25. The method according to claim 24, characterized in that, The second message also includes an eighth indication message, which is used to indicate the first communication device corresponding to the first data unit.
26. A communication device, characterized in that, The device includes a processor coupled to a memory storing a program or instructions, the processor executing the program or instructions to cause the device to perform the method as described in any one of claims 1 to 25.
27. A computer-readable storage medium having a computer program or instructions stored thereon, characterized in that, When the computer program or instructions are executed, they cause the computer to perform the method as described in any one of claims 1 to 25.
28. A communication system, characterized in that, Includes the communication device as described in claim 26.
29. A chip system comprising one or more processors, the one or more processors being configured to retrieve and execute instructions stored in memory, such that the method of any one of claims 1 to 25 is performed.
