Communication method and device

CN120239965APending Publication Date: 2025-07-01HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202280101991.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2022-11-23
Publication Date
2025-07-01

AI Technical Summary

Technical Problem

In artificial intelligence and machine learning technology, the real-time transmission of training data between devices is insufficient, which affects the training efficiency of AI models and the optimization of mobile communication technology.

Method used

By receiving and sending information in the communication method to determine the generation moment and sending moment of data, control the time interval of data, and improve the real-time nature of data transmission. Specific measures include receiving information to indicate the generation and sending time of data, prioritizing the reuse of data that requires freshness, and adjusting the generation and sending time of data based on auxiliary information.

Benefits of technology

It improves the real-time nature of data transmission between devices, meets the training needs of AI models, and optimizes the data processing and transmission efficiency in mobile communication technology.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120239965A_ABST
    Figure CN120239965A_ABST
Patent Text Reader

Abstract

The invention discloses a communication method and device. The method comprises the following steps: a second device sends first information to a first device, wherein the first information is used for determining a first moment for generating first data and a second moment for sending the first data; the first device may then transmit the first data generated at the first time at the second time. According to the method, the second device indicates the generation time and the sending time of the data of the first device, so that the data experience time can be controlled, and the real-time performance of data transmission can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Communication method and device Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a communication method and device. Background Art

[0002] With the continuous development of related technologies such as artificial intelligence (AI) / machine learning (ML) and terminal perception, these technologies have important application potential in many aspects, such as complex and unknown environment modeling and learning, channel prediction, intelligent signal generation and processing, network status tracking and intelligent scheduling, channel and service perception, and network optimization and deployment. They are of great significance and value to the research on mobile communication technologies that have evolved beyond the fifth generation (5G) such as the sixth generation (6G).

[0003] In AI / ML and related technologies such as perception, the collection of training data and the training of AI models may not occur on the same device. Therefore, training data needs to be transmitted between devices. How to improve the real-time performance of data transmitted between devices is the technical problem to be solved by this application.

[0004] Summary of the Invention

[0005] The present application provides a communication method and apparatus for improving the real-time performance of data transmitted between devices.

[0006] In a first aspect, embodiments of the present application provide a communication method. The method includes: a first device may receive first information from a second device. The first information may be used to determine a first time at which first data is generated and a second time at which the first data is sent. The first device may then send the first data at the second time.

[0007] Through this method, the second device can indicate the generation time and sending time of the data to the first device, thereby controlling the time the data passes, and further improving the real-time performance of the data transmitted between the first device and the second device.

[0008] In one possible design, the time interval between the first moment and the first reference moment may be the first time interval, and the time interval between the second moment and the first reference moment may be the second time interval. The first reference moment is determined based on the first information. With this design, the second device can indicate the data generation and transmission times using a single piece of information, thereby reducing the overhead of indicating the data generation and transmission times.

[0009] In one possible design, the first reference time is the time at which the first information is received, or the first information includes the first reference time. With this design, the first device can flexibly and accurately determine the first reference time.

[0010] In one possible design, the first time interval is included in the first information, or the first time interval is predefined; and / or the second time interval is included in the first information, or the second time interval is predefined. With this design, the first device can flexibly and accurately determine the first time interval and the second time interval.

[0011] In a possible design, the first information may include: a first moment and / or a second moment. This design can directly indicate the first moment and / or the second moment, which is easy to implement.

[0012] In one possible design, the first device may also receive fourth information from the second device, where the fourth information indicates the size of the first data. With this design, the second device can indicate the size of the first data to the first device, thereby obtaining the first data that meets the needs of the second device. For example, the size of the first data may meet the requirements of the AI ​​model in the second device.

[0013] In one possible design, the first information includes fifth information for determining the first time and sixth information for determining the second time. This design uses the fifth information and sixth information to indicate the data generation time and transmission time, respectively, thereby reducing the overhead of each message and improving the success rate of each message transmission.

[0014] In one possible design, the fifth information is included in the first message, and the sixth information is included in the second message, and there is an association between the first and second messages. With this design, when multiple data items need to be transmitted between the first and second devices, the first device can determine the association between the generation and transmission times of each data item based on this association, thereby sending each data item at the correct time.

[0015] In one possible design, the time interval between the first moment and the second reference moment can be a third time interval, and the time interval between the second moment and the third reference moment can be a fourth time interval. The second reference moment is determined based on the fifth information, and the third reference moment is determined based on the sixth information. This design provides the relationship between the fifth information and the first moment, as well as the relationship between the sixth information and the second moment, and is easy to implement. With this design, the first device can accurately determine the first and second moments.

[0016] In one possible design, the second reference time is the time at which the fifth information is received, or the fifth information includes the second reference time; and / or the third reference time is the time at which the sixth information is received, or the sixth information includes the third reference time. With this design, the first device can flexibly and accurately determine the second reference time and the third reference time.

[0017] In one possible design, the third time interval is included in the fifth information, or the third time interval is predefined; and / or the fourth time interval is included in the sixth information, or the fourth time interval is predefined. With this design, the first device can flexibly and accurately determine the third time interval and the fourth time interval.

[0018] In a possible design, the fifth information includes the first moment, and / or the sixth information includes the second moment. This design can directly indicate the first moment and / or the second moment, and is easy to implement.

[0019] In one possible design, the first information includes: information for determining a first time range and / or information for determining a second time range, the first time range being a time range for generating data, and the second time range being a time range for sending data. The first moment falls within the first time range, and the second moment falls within the second time range. With this design, the second device can set a first time range for generating data and a second time range for sending data for the first device. In this way, the first device can generate data within the first time range and send data within the second time range. The second device can control the time when data is generated and sent by controlling the first time range and the second time range, thereby controlling the time over which the data passes, thereby improving the real-time nature of the data.

[0020] In one possible design, when there are no resources available for data transmission within the second time range, the first device may, after generating the first data at the first moment, send a first request to the second device. The first request is used to request the second device to allocate resources for the first data. After receiving the seventh information from the second device, the first device may send the first data to the second device on the resources indicated by the seventh information. With this design, when there are no resources available for data transmission within the second time range, the first device can promptly request resources for transmitting the first data, thereby ensuring the real-time nature of the first data.

[0021] In one possible design, the first device may also send first auxiliary information to the second device. The first auxiliary information is used to determine the first time and / or the second time. Optionally, the first auxiliary information includes at least one of the following: the energy state of the first device, the sampling overhead of the first device, and the capacity of the computing resources of the first device. With this design, the first device can send the first auxiliary information to the second device. In this way, the second device can reasonably determine the time when data is generated and sent based on the first auxiliary information, thereby improving the real-time performance of data transmitted between the first and second devices.

[0022] In one possible design, the first device may prioritize the reuse of the logical channel corresponding to the first data based on the first information. The first data may be data requiring freshness. With this design, the first device prioritizes the reuse of data requiring freshness, thereby ensuring the real-time nature of this data.

[0023] In a second aspect, embodiments of the present application provide a communication method. The method includes: a first device may send second information to a second device, and at a second moment, send first data. The second information is used to indicate a first moment when the first device generated the first data.

[0024] Through this method, the first device can send information indicating the generation time of the data to the second device, so that the second device can process the data more reasonably according to the generation time of the data.

[0025] In one possible design, the first device may also receive third information from the second device. The third information is used to determine a second time, which can be determined based on the first time indicated by the second information. With this design, the time at which data is sent can be determined based on the time at which the data is generated, thereby controlling the time it takes to transmit the data and improving the real-time nature of data transmission between the first and second devices.

[0026] In one possible design, the first device may also send first auxiliary information to the second device. The first auxiliary information is used to determine the first time and / or the second time. Optionally, the first auxiliary information includes at least one of the following: the energy state of the first device, the sampling overhead of the first device, and the capacity of the computing resources of the first device. With this design, the first device can send the first auxiliary information to the second device. In this way, the second device can reasonably determine the time when data is generated and sent based on the first auxiliary information, thereby improving the real-time performance of data transmitted between the first and second devices.

[0027] In one possible design, the first device may prioritize the reuse of the logical channel corresponding to the first data based on the first information. The first data may be data requiring freshness. This method allows the first device to prioritize the reuse of data requiring freshness, thereby ensuring the real-time nature of this data.

[0028] In a third aspect, embodiments of the present application provide a communication method. The method includes: a second device may send first information to a first device, where the first information is used to determine a first time to generate first data and a second time to send the first data. The second device may then receive the first data from the first device.

[0029] Through this method, the second device can indicate the generation time and sending time of the data to the first device, thereby controlling the time the data passes, and further improving the real-time performance of the data transmitted between the first device and the second device.

[0030] In one possible design, the time interval between the first moment and the first reference moment is the first time interval, and the time interval between the second moment and the first reference moment is the second time interval. The first reference moment is determined based on the first information. With this design, the second device can indicate the data generation and transmission times using a single piece of information, thereby reducing the overhead of indicating the data generation and transmission times.

[0031] In one possible design, the first reference time is the time when the first information is sent, or the first information includes the first reference time. With this design, the first device can flexibly and accurately determine the first reference time.

[0032] In one possible design, the first time interval is included in the first information, or the first time interval is predefined; and / or the second time interval is included in the first information, or the second time interval is predefined. With this design, the first device can flexibly and accurately determine the first time interval and the second time interval.

[0033] In one possible design, the first information includes: a first moment and / or a second moment. This design can directly indicate the first moment and / or the second moment, and is easy to implement.

[0034] In one possible design, the second device may also send fourth information to the first device, where the fourth information indicates the size of the first data. With this design, the second device can indicate the size of the first data to the first device, thereby obtaining the first data that meets the needs of the second device. For example, the size of the first data may meet the requirements of the AI ​​model in the second device.

[0035] In one possible design, the first information includes fifth information for determining the first time and sixth information for determining the second time. This design uses the fifth information and sixth information to indicate the data generation time and transmission time, respectively, thereby reducing the overhead of each message and improving the success rate of each message transmission.

[0036] In one possible design, the fifth information is included in the first message, and the sixth information is included in the second message, and there is an association between the first and second messages. With this design, when multiple data items need to be transmitted between the first and second devices, the first device can determine the association between the generation and transmission times of each data item based on this association, thereby sending each data item at the correct time.

[0037] In one possible design, the time interval between the first moment and the second reference moment is a third time interval, the time interval between the second moment and the third reference moment is a fourth time interval, the second reference moment is determined based on fifth information, and the third reference moment is determined based on sixth information. This design provides the relationship between the fifth information and the first moment, as well as the relationship between the sixth information and the second moment, and is easy to implement. With this design, the first device can accurately determine the first moment and the second moment.

[0038] In one possible design, the second reference time is the time at which the fifth information is received, or the fifth information includes the second reference time; and / or the third reference time is the time at which the sixth information is received, or the sixth information includes the third reference time. With this design, the first device can flexibly and accurately determine the second reference time and the third reference time.

[0039] In one possible design, the third time interval is included in the fifth information, or the third time interval is predefined; and / or the fourth time interval is included in the sixth information, or the fourth time interval is predefined. With this design, the first device can flexibly and accurately determine the third time interval and the fourth time interval.

[0040] In a possible design, the fifth information includes the first moment, and / or the sixth information includes the second moment. This design can directly indicate the first moment and / or the second moment, and is easy to implement.

[0041] In one possible design, the first information includes: information for determining a first time range and / or information for determining a second time range, the first time range being a time range for generating data, and the second time range being a time range for sending data. The first moment falls within the first time range, and the second moment falls within the second time range. With this design, the second device can set a first time range for generating data and a second time range for sending data for the first device. In this way, the first device can generate data within the first time range and send data within the second time range. The second device can control the time when data is generated and sent by controlling the first time range and the second time range, thereby controlling the time over which the data passes, thereby improving the real-time nature of the data.

[0042] In one possible design, when there are no resources available for data transmission within the second time range, the second device may receive a first request from the first device. The first request is for requesting the second device to allocate resources for the first data. The second device may then receive the first data from the first device on the resources after sending seventh information indicating the resources to the first device. With this design, when there are no resources available for data transmission within the second time range, the first device can promptly request resources for transmitting the first data, thereby ensuring the real-time nature of the first data.

[0043] In one possible design, the second device may also receive first auxiliary information from the first device. The first auxiliary information is used to determine the first time and / or the second time. Optionally, the first auxiliary information includes at least one of the following: the energy state of the first device and the sampling overhead of the first device. With this design, the second device can reasonably determine the data generation and transmission times based on the first auxiliary information, thereby improving the real-time performance of the data.

[0044] In a fourth aspect, embodiments of the present application provide a communication method. The method includes: a second device may receive second information and first data from a first device, wherein the second information is used to indicate a first moment when the first device generated the first data.

[0045] Through this method, the first device can send information indicating the generation time of the data to the second device, so that the second device can process the data more reasonably according to the generation time of the data.

[0046] In one possible design, the second device may further send third information to the first device. The third information is used to determine a second time to send the first data. The second time can be determined based on the first time indicated by the second information. With this design, the time at which data is sent can be determined based on the time at which the data is generated, thereby controlling the time it takes to transmit the data and improving the real-time nature of the data.

[0047] In one possible design, the second device may also receive first auxiliary information from the first device. The first auxiliary information is used to determine the first time and / or the second time. Optionally, in one possible design, the first auxiliary information includes at least one of the following: the energy state of the first device and the sampling overhead of the first device. With this design, the second device can reasonably determine the data generation and transmission times based on the first auxiliary information, thereby improving the real-time performance of the data.

[0048] In a fifth aspect, an embodiment of the present application provides a communication method. The method includes: a first device may receive second auxiliary information from a third device, and / or receive calculation information from a second device. The second auxiliary information may include at least one of the following: the energy state of the third device, the sampling overhead of the third device, the time when the third device generates data, and the capacity of the computing resources of the third device. Then, the first device may generate first data at a first moment based on the second auxiliary information and / or the calculation information, and send the first data to the second device at a second moment.

[0049] The third device may be a device for sending data to the second device. For example, both the first device and the third device may send data to the second device for training the AI ​​model in the second device.

[0050] Through this method, the first device can reasonably determine the generation time and sending time of the data based on the second auxiliary information and / or the calculation information of the second device, so that the data sent by the first device and the third device to the second device do not overlap as much as possible in the time domain, and the generation time of the first device matches the calculation capability of the second device, thereby controlling the time the data experiences and improving the real-time performance of the overall data in the system.

[0051] In one possible design, the first device may also receive eighth information from the second device. The eighth information includes information indicating a second time range, where the second time range is the time range for sending the first data. The second moment falls within the second time range. With this design, the first device can reasonably determine the time to send the data based on the eighth information, thereby controlling the time it takes for the data to pass, thereby improving the real-time nature of the data.

[0052] In a sixth aspect, embodiments of the present application provide a communication method. The method includes: a second device may send calculation information to a first device, where the calculation information is used to determine a first time when first data is generated. The second device may then receive the first data sent by the first device at the second time.

[0053] Through this method, the second device can send the calculation information of the second device to the first device, so that the first device can reasonably determine the generation time and sending time of the data, so that the generation time of the first device matches the calculation capability of the second device, thereby controlling the time the data passes, and thus improving the real-time performance of the overall data in the system.

[0054] In one possible design, the second device may further transmit eighth information to the first device. The eighth information includes information indicating a second time range, where the second time range is a time range for transmitting data. The second moment falls within the second time range. With this design, the second device can provide the first device with the time range for transmitting data. This allows the first device to reasonably determine the time at which data is transmitted, thereby controlling the time it takes for the data to elapse, and thereby improving the real-time nature of the data.

[0055] In a seventh aspect, an embodiment of the present application provides a communication device, comprising a unit for executing each step in any of the above aspects.

[0056] In an eighth aspect, an embodiment of the present application provides a communication device comprising at least one processing element and at least one storage element, wherein the at least one storage element is used to store programs and data, and the at least one processing element is used to read and execute the programs and data stored in the storage element, so that the method provided in any one of the above aspects of the present application is implemented.

[0057] In a ninth aspect, an embodiment of the present application provides a communication system, comprising: a first device for executing the method provided in the first aspect, and a second device for executing the method provided in the third aspect.

[0058] In the tenth aspect, an embodiment of the present application provides a communication system, comprising: a first device for executing the method provided in the second aspect, and a second device for executing the method provided in the fourth aspect.

[0059] In the eleventh aspect, an embodiment of the present application provides a communication system, comprising: a first device for executing the method provided in the fifth aspect, and a second device for executing the method provided in the sixth aspect.

[0060] In a twelfth aspect, an embodiment of the present application further provides a computer program, which, when executed on a computer, enables the computer to execute the method provided in any of the above aspects.

[0061] In a thirteenth aspect, an embodiment of the present application further provides a computer program, which, when executed on a computer, enables the computer to execute the method provided in any of the above aspects.

[0062] In the fourteenth aspect, an embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a computer, the computer executes the method provided in any one of the above aspects.

[0063] In the fifteenth aspect, an embodiment of the present application further provides a chip, which is used to read a computer program stored in a memory and execute the method provided in any of the above aspects.

[0064] In a sixteenth aspect, embodiments of the present application further provide a chip system, comprising a processor configured to support a computer device in implementing the method provided in any of the above aspects. In one possible design, the chip system further comprises a memory configured to store programs and data necessary for the computer device. The chip system may be composed of a chip alone, or may include a chip and other discrete components.

[0065] The technical effects that can be achieved in any of the seventh to sixteenth aspects mentioned above can refer to the description of the technical effects that can be achieved in any possible design in any of the first to fourth aspects mentioned above, and the repetitions will not be discussed. BRIEF DESCRIPTION OF THE DRAWINGS

[0066] FIG1 is an architecture diagram of a communication system provided in an embodiment of the present application;

[0067] FIG2A is a schematic diagram showing the relationship between age of information (AOI) and time provided in an embodiment of the present application;

[0068] FIG2B is a schematic diagram showing the relationship between data generation time and reception time provided in an embodiment of the present application;

[0069] FIG2C is a schematic diagram showing another relationship between data generation time and data reception time provided in an embodiment of the present application;

[0070] FIG2D is a schematic diagram of the time elapsed by training data provided in an embodiment of the present application;

[0071] FIG2E is a flowchart of a logic channel (LC) multiplexing method provided in an embodiment of the present application;

[0072] FIG2F is a flowchart of a method for performing LC multiplexing according to LC priority in an LC multiplexing method provided in an embodiment of the present application;

[0073] FIG3 is a flow chart of a first communication method provided in an embodiment of the present application;

[0074] FIG4 is a flow chart of a second communication method provided in an embodiment of the present application;

[0075] FIG5 is a schematic diagram of a buffer state report (BSR) provided in an embodiment of the present application;

[0076] FIG6 is a flow chart of a third communication method provided in an embodiment of the present application;

[0077] FIG7 is a flow chart of a fourth communication method provided in an embodiment of the present application;

[0078] FIG8 is a flowchart of a fifth communication method provided in an embodiment of the present application;

[0079] FIG9 is a flow chart of a sixth communication method provided in an embodiment of the present application;

[0080] FIG10A is a schematic diagram of a first time range provided in an embodiment of the present application;

[0081] FIG10B is a schematic diagram of a second time range provided in an embodiment of the present application;

[0082] FIG11 is a flow chart of a seventh communication method provided in an embodiment of the present application;

[0083] FIG12 is a flow chart of an eighth communication method provided in an embodiment of the present application;

[0084] FIG13 is a structural diagram of a communication device provided in an embodiment of the present application;

[0085] FIG14 is a structural diagram of another communication device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0086] The present application provides a communication method and apparatus. The method and apparatus are based on the same technical concept. Since the method and apparatus solve similar problems, the implementation of the apparatus and method can refer to each other, and the repetitive parts will not be repeated.

[0087] In the description of the embodiments of the present application, the number of nouns, unless otherwise specified, means "singular noun or plural noun", that is, "one or more". "At least one" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items.

[0088] In addition, it should be understood that, in the description of this application, words such as "first" and "second" are only used for the purpose of distinguishing the description, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order.

[0089] The communication method provided in the embodiment of the present application can be applied to a fourth generation (4G) communication system, such as a long term evolution (LTE) communication system, or to a fifth generation (5G) communication system, such as a 5G new radio (NR) communication system, or to various communication systems evolved after 5G, such as a 6G communication system. The method provided in the embodiment of the present application can also be applied to a Bluetooth system, a wireless fidelity (Wifi) system, a long range radio (LoRa) system, or a vehicle networking system. The method provided in the embodiment of the present application can also be applied to a satellite communication system, wherein the satellite communication system can be integrated with the above-mentioned communication system.

[0090] To facilitate understanding of the embodiments of the present application, the communication system architecture shown in Figure 1 is used as an example to illustrate the application scenarios to which the present application is applicable. Referring to Figure 1, the communication system includes a network device 101 and a terminal device 102. The apparatus provided in the embodiments of the present application can be applied to the network device 101 or to the terminal device 102. It will be understood that Figure 1 only illustrates one possible communication system architecture to which the embodiments of the present application can be applied. In other possible scenarios, the communication system architecture may also include other devices.

[0091] Optionally, based on the architecture shown in FIG1 , communication can be performed between the network device 101 and the terminal device 102, between different network devices 101, and between different terminal devices 102. For example, the terminal device 102 and the network device 101 can communicate via a wireless air interface. In another example, different network devices 101 can communicate via a wired connection. In another example, different terminal devices 102 can communicate via a direct communication interface.

[0092] The network device 101 is a node in a radio access network (RAN), and may also be referred to as a base station, a RAN node (or device), or an access network (AN) node (or device). Currently, some examples of the network device 101 include: a base station gNB / NR-NB in ​​NR, a transmission reception point (TRP), an evolved Node B (eNB), a home base station (e.g., a home evolved Node B, or a home Node B, HNB), a base band unit (BBU), a Wi-Fi access point (AP), a satellite device, a network device in a 5G communication system, or a network device in a communication system evolved after 5G.

[0093] The network device 101 may also be other devices having network device functions. For example, the network device 101 may also be a device that functions as a base station in device-to-device (D2D) communication, vehicle-to-vehicle communication, machine communication, or drone communication, or a network device in a non-terrestrial network (NTN) communication system (which may be deployed on a high-altitude platform, satellite, or high-altitude aircraft). The specific form of the network device 101 may be a macro base station for providing macro cells, a micro base station for providing micro cells, or a femto base station for providing femto cells.

[0094] In some deployments, network equipment may include a centralized unit (CU) and a distributed unit (DU). Network equipment may also include a radio unit (RU). Both the CU and DU may implement some of the functionality of a gNB. It is understood that a network device may be a CU node, a DU node, or a device that includes both a CU node and a DU node. Furthermore, the CU may be assigned to either the access network or the core network, without limitation.

[0095] Optionally, network devices may communicate with each other via a backhaul link, which may be a wired backhaul link (eg, optical fiber, copper cable) or a wireless backhaul link (eg, microwave).

[0096] Terminal device 102, also known as user equipment (UE), mobile station (MS), mobile terminal (MT), wireless terminal, handheld device, client, etc., is a device that provides voice or data connectivity to users and can also be an IoT device. For example, terminal devices include handheld devices with wireless connectivity and in-vehicle devices. At present, terminal devices can be: mobile phones, tablet computers, laptop computers, PDAs, mobile internet devices (MIDs), mobile cellular phones, cordless phones, personal digital assistants (PDAs), customer-premises equipment (CPEs), smart point-of-sale (POS) machines, wearable devices (such as smart watches, smart bracelets, pedometers, etc.), vehicle-mounted equipment (such as cars, bicycles, electric vehicles, airplanes, ships, trains, high-speed railways, etc.), virtual reality (VR) equipment, augmented reality (AR) equipment, wireless terminals in industrial control, smart home devices (such as refrigerators, TVs, air conditioners, electricity meters, etc.), intelligent robots, workshop equipment, wireless terminals in unmanned driving, wireless terminals in remote surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, smart phones, laptop computers, tablet computers, wireless data cards, wireless modems (modulators), etc. The terminal device 102 may also be other devices with terminal functions. For example, the terminal device may be a device that functions as a terminal in D2D communication.

[0097] In this application, a terminal device with wireless transceiver functions and a chip that can be provided in the terminal device are collectively referred to as a terminal device. The terminal device can communicate with the corresponding base station via a wireless link.

[0098] In the following, the method provided in the embodiment of the present application is introduced using terminal devices and network devices as examples.

[0099] For example, the network devices in this application are used to provide wireless access services to terminal devices. Specifically, each network device corresponds to a service coverage area. Terminal devices that enter this area can communicate with the network device via wireless signals to receive the wireless access services provided by the network device. The service coverage areas of network devices may overlap. A terminal device in an overlapping area can receive wireless signals from multiple network devices, and thus multiple network devices can provide services to the terminal device simultaneously.

[0100] To facilitate understanding of this application, the terms involved in this application are explained below.

[0101] (1) AI Learning

[0102] AI technology can be divided into supervised learning, unsupervised learning and reinforcement learning according to the level of supervision.

[0103] Supervised learning solves a known problem, with the goal of deriving a prediction function from labeled training data. Labeled training data means that each training instance includes an input and a desired output. The learning process then learns the mapping between input and output based on the input and output data, and applies this mapping to unknown inputs to obtain the correct output.

[0104] Unsupervised learning, also known as active learning or unsupervised learning, is a type of machine learning used to identify new patterns and detect anomalies. It infers conclusions from unlabeled training data, meaning that the training data has no corresponding output. A typical example of unsupervised learning is cluster analysis, which can be used during exploratory data analysis to discover hidden patterns or group data. In other words, the hallmark of unsupervised learning is the ability to identify hidden structures or features within a given set of data.

[0105] For example, supervised learning and unsupervised learning can train models (also known as AI models, machine training models, etc.) based on labeled data or unlabeled data, respectively. After the model is trained, it can then be inferred using unknown candidate data. If supervised learning results in excessive overhead based on labeled data, unsupervised learning can be used to reduce the number of labels and control the size of the training data.

[0106] Reinforcement learning, also known as reinforcement learning, is another area of ​​machine learning. It consists of three elements: state, action, and reward. This learning approach focuses on how to take actions in an environment to maximize a certain cumulative reward. For example, given the current state and current reward, learning how to select a series of actions to maximize long-term reward.

[0107] Of the three learning methods mentioned above, supervised and unsupervised learning can be applied to offline learning, where models are learned offline based on a large amount of training data. Once the model is learned, it is then inferred using actual data. Reinforcement learning can be applied to online learning, where actions that maximize long-term benefits are determined based on the current state and benefits.

[0108] (2) Age of information (AOI)

[0109] A key step in online learning is the acquisition of real-time data. The parameters of the AI ​​model can be updated in real time with real-time data. To ensure the real-time nature of training data, the freshness of the data needs to be evaluated. Currently, the performance criterion for measuring data freshness is AOI. AOI is a time interval Δ(t), which can be defined as the time interval between the current time t and the generation time t of the latest data packet received at the current time. n The time interval between:

[0110] Δ(t)=t-max{t n :t′ n ≤t} (1)

[0111] Among them, t n is the generation time (also called sampling time) of the nth data packet received, n is a positive integer, t′ n is the receiving time of the nth data packet, max{t n :t′ n ≤t} represents the generation time of the latest data packet received before the current time t.

[0112] From the above definition, it can be seen that if a data packet is not successfully received at a certain moment, the AOI is determined by the most recent data packet received. If no data packet is received, the AOI increases with time. Therefore, the iteration rule of AOI can be expressed by the following formula:

[0113]

[0114] When a data packet is not received successfully at a certain moment, the AOI value increases by 1; when a data packet is received successfully at a certain moment, the AOI value is the difference between the current moment and the moment the data packet is generated. As shown in Figure 2A, the horizontal axis is time and the vertical axis is the AOI value. n =t n -t n-1 , represents the interval between the generation times of two adjacent data packets; D n =t′ n -t′ n-1 , used to indicate the interval between the receiving times of two adjacent data packets; T n=t′ n -t n , used to represent the delay of the data packet, that is, the interval between the time when the data packet is received and the time when it is generated; A n =Y n +T n =T n-1 +D n , used to indicate the peak value of AOI.

[0115] Assuming the current time t is between t2 and t3, the time of the most recently received data packet before time t is t′0, and the corresponding data packet generation time is t0. Then, the AOI value at time t is t-t0, and the line connecting the AOI value on the vertical axis at time t and t0 forms a 45-degree angle with the horizontal axis. Therefore, the AOI value in Figure 2A has a jagged shape, decreasing only when a data packet is successfully received and rising at 45-degree angles at other times.

[0116] According to the above definition of AOI, the sum of AOI within a period of time can be expressed as the trapezoidal area Q in Figure 2A. n The sum of Q n It can be expressed as the difference in area between two triangles:

[0117]

[0118] The average value of AOI (i.e. average AOI) can be expressed as Q n The expected interval Y between packets n The expectation is:

[0119]

[0120] From the above formula, we can see that the average AOI can be obtained from the packet generation interval Y n The delay T of the data packet n OK. n It can be expressed as:

[0121] T n =t′ n -t n =W n +S n

[0122] Among them, S n is the service time of the nth data packet, that is, the interval from the start of transmission of the nth data packet to its successful reception; W n is the waiting time of the nth data packet in the queue, which can be expressed as W n =(T n-1 -Y n ) + When there are no other packets in the queue, Wn = 0. For example, as shown in Figure 2B, when the first data packet is generated, the 0th data packet has been successfully received, that is, t1 > t′0. At this time, the first data packet can be directly transmitted without waiting, and the waiting time W1 of the first data packet is 0, the service time S1 = t′1 - t1, and the delay T1 = S1.

[0123] When there are other data packets in the queue, W n = T n-1 - Y n . For example, as shown in Figure 2C, when the first data packet is generated, the 0th data packet has not been successfully received, that is, t1 < t′0. At this time, the first data packet needs to wait until the 0th data packet is successfully received before it can start transmission. The waiting time W1 of the first data packet is T0 - Y1, the service time S1 = t′1 - t′0, and the delay T1 = W1 + S1.

[0124] Y n and T n are negatively correlated. The larger Y n is, the larger the interval between the generation times of adjacent data packets, the more idle the transmission queue of the data packets, and the smaller the transmission delay T n of each data packet. The smaller Y n is, the smaller the interval between the generation times of adjacent data packets, the more congested the transmission queue of the data packets, and the larger the transmission delay T n of each data packet. To reduce the average AOI and ensure the real-time nature of data, it is necessary to find a balance point between Y n and T n .

[0125] (3) The time experienced by the training data

[0126] In online learning, the collection of training data and the training of the AI model may not be carried out on the same device. For example, the collection of training data may be completed by some data collectors (such as terminal devices) in an energy-saving state or with weak computing power. After obtaining the training data, the terminal device can send the training data to the network data, and the network device trains the AI model. As shown in Figure 2D, in this example, the time experienced by the training data can include:

[0127] Processing time: During the processing time, the terminal device can generate data and perform encoding modulation, etc.

[0128] Waiting time: That is, the waiting time of the data in the queue. For specific content, refer to W in the above text n .

[0129] Transmission time: This refers to the time it takes for data to be transmitted from a terminal device to a network device. During this transmission time, the terminal device can perform initial transmission and / or retransmission of the data.

[0130] Computation time: may include time 1 and time 2. Time 1 is the time the network device waits for training data from other terminal devices after receiving the training data of the terminal device. The AI ​​model in the network device may require training data from multiple terminal devices for training. For example, the AI ​​model in the network device requires training data from terminal devices 1 to 4 for training. If the network device receives the training data from terminal device 1 but does not receive the training data from terminal devices 2 to 4, it is necessary to wait until the training data from terminal devices 2 to 4 is received before the AI ​​model can be trained. At this time, time 1 is greater than 0. If the network device has already received the training data from terminal devices 2 to 4 when it receives the training data from terminal device 1, time 1 may be equal to 0. Time 2 is the computation time required for one iteration of the AI ​​model, also known as computation time.

[0131] The processing time and time 2 are determined by the size of the training data, while the waiting time, transmission time, and time 1 are determined by the data generation and transmission times. By controlling the data size, generation, and transmission times, the time it takes for the training data to pass can be controlled, thereby controlling the real-time nature of the data.

[0132] (4) A logical channel group (LCG) may include multiple logical channels (LCs). The parameters of each LC may be configured by the network device. For example, the configuration information of each LC includes parameters such as the LCG index and priority. When configuring the parameters of the LCs, the network device may configure LCs with the same or similar priorities in the same LCG.

[0133] When a terminal device sends data, its media access control (MAC) layer can multiplex the data corresponding to multiple LCs on uplink resources, a process known as LC multiplexing (also known as MAC multiplexing). The MAC layer can perform LC multiplexing based on the priorities of the multiple LCs. The LC multiplexing method is described in detail below with reference to Figure 2E.

[0134] S201: The MAC layer multiplexes data corresponding to multiple LCs on uplink resources in descending order of LC priority.

[0135] The MAC layer uses a token bucket algorithm to multiplex data from multiple LCs on uplink resources. The algorithm's basic idea is to determine whether to reuse data from a particular LC based on the presence and number of tokens in the token bucket, and to control the amount of data from that LC that is assembled into the MAC protocol data unit (PDU).

[0136] As shown in FIG. 2F , S201 may include:

[0137] S2011: The MAC layer determines whether the variable Bj of LCj is greater than 0. If Bj is greater than 0, S2012 is executed; if Bj is less than or equal to 0, S2014 is executed.

[0138] Where LCj is any LC among the multiple LCs. Bj can be used to indicate the number of tokens available in the token bucket corresponding to LCj, and each token corresponds to 1 byte of data.

[0139] The maximum capacity of the token bucket corresponding to LCj is PBR × BSD. The prioritized bit rate (PBR) determines the "floor area" of the token bucket, while the bucket size duration (BSD) determines the "depth" of the token bucket. The maximum capacity of the token bucket is the maximum amount of data that LCj can hold pending (i.e., cached in the buffer).

[0140] When LCj is established, Bj is initialized to 0. Thereafter, with each transmission time interval (TTI), Bj increases by PBR × TTI. For example, if the PBR corresponding to the prioritized bit rate parameter is kBps8, then the PBR is 8 kilobytes per second (kBps), meaning that 8 kBps * 1 millisecond (ms) = 8 bytes of tokens can be injected into the token bucket corresponding to LCj every TTI.

[0141] In addition, the value of Bj is less than or equal to the number of tokens corresponding to the first capacity, which is the maximum capacity of the token bucket corresponding to LCj. For example, if BSD = 500ms and PBR is 8kBps, then the maximum capacity of the token bucket corresponding to LCj is 8kBps*500ms=4k Bytes. In this case, Bj is less than or equal to 4 kilobytes.

[0142] S2012: The MAC layer multiplexes the service data unit (SDU) corresponding to LCj into the MAC PDU, and subtracts the number of tokens corresponding to Tsdu from Bj.

[0143] Wherein, SDU is the basic unit of LC multiplexing, a MAC PDU may include multiple SDUs, and Tsdu is the data size of the SDU. For example, when Tsdu is 8 bytes, in S2012, Bj-8.

[0144] S2013: The MAC layer determines whether LCj satisfies PBR. If LCj satisfies PBR, S2014 is executed; if LCj does not satisfy PBR, S2011 is executed.

[0145] When the first data amount is greater than or equal to the data amount corresponding to PBR*BSD, LCj meets PBR; when the first data amount is less than the data amount corresponding to PBR*BSD, LCj does not meet PBR. The first data amount is the total amount of data multiplexed into the SDU corresponding to LCj in the MAC PDU.

[0146] S2014: The MAC layer processes the next LC among the multiple LCs.

[0147] The next LC may be the LC with the second highest priority among the multiple LCs. The MAC layer's processing method for the next LC may refer to the processing method for LCj in S2011-S2013 and will not be repeated here.

[0148] In addition, step S2014 is an optional step. For example, if LCj in steps S2011 to S2013 is the LC with the lowest priority among the multiple LCs, step S2014 is an optional step.

[0149] S202: If, after S201, the available uplink resources of the terminal device still include remaining resources, the MAC layer may allocate the remaining resources to the multiple LCs according to their priorities.

[0150] At this point, the MAC layer may not consider Bj. For example, after S201, the data corresponding to the multiple LCs also includes data corresponding to LC1 and data corresponding to LC2. If the priority of LC1 is higher than that of LC2, the MAC layer maps all data corresponding to LC1 to the remaining resources before mapping the data corresponding to LC2 to the remaining resources.

[0151] (5) Information receiving and sending time

[0152] In this application, the sending device and the receiving device are synchronized. Therefore, when the sending device sends information to the receiving device, the information is received at the same time as it was sent, for example, the information is received and sent in the fourth time slot.

[0153] (6) In this application, the unit of time can be seconds, milliseconds or microseconds, for example, time p can refer to the pth second, the pth millisecond or the pth microsecond, etc.

[0154] The p in time p can also be an index of a time unit. In this application, a time unit can be one or more of a time slot, a minislot, a frame, and a subframe. For example, the p in time p can be the pth time slot or the pth time slot within the oth subframe. Time p can be the start time, end time, or any time in between of the pth time unit. o and p are positive integers.

[0155] The following description is made by taking the example where p in the time p is the index of the time unit and the time p is the starting time of the p-th time unit.

[0156] (7) In this application, the first device, the second device, and the third device may each be one of the following: a terminal device, a device in a terminal device, a device used in conjunction with a terminal device, a network device, a device in a network device, or a device used in conjunction with a network device. The first device, the second device, and the third device are different devices.

[0157] (8) In the present application, the time of generating data may be the time when data generation starts, the time when data generation is completed, or a certain time in the process of generating data; the time of sending data may be the time when data sending starts, the time when data sending is completed, or a certain time in the process of sending data.

[0158] In AI / ML technology and related technologies such as perception, the collection of training data and the training of AI models may not be performed in the same device; the collection of perception data and perception processing may also not be performed in the same device. For example, the terminal device reports the data to the network device, and the network device uses the received data for processing. The processing results of the data can be used to optimize the performance of the mobile network, etc. For online learning, a large amount of real-time training data is required as the input of the model to obtain a model with high accuracy. How to improve the real-time performance of data transmitted between devices is the technical problem to be solved by this application.

[0159] To solve the above technical problems, an embodiment of the present application provides a communication method, which can be applied to the communication system shown in Figure 1. The flow of the method will be described in detail below with reference to the flowchart shown in Figure 3.

[0160] S301: The second device sends first information to the first device. Correspondingly, the first device receives the first information from the second device.

[0161] The first information may be carried in downlink control information (DCI), sidelink control information (SCI) or radio resource control (RRC) signaling.

[0162] The first information may be used to determine a first time point at which the first data is generated and a second time point at which the first data is sent. For example, the first data may be data used to train an AI model in the second device.

[0163] In one possible implementation, the first information includes fifth information for determining the first moment and sixth information for determining the second moment. The fifth information and the sixth information can be carried in the same message or in different messages.

[0164] The relationship between the first information and the first moment and the second moment is explained below through implementation methods 1 to 5 respectively.

[0165] Implementation method 1: the time interval between the first moment and the first reference moment is the first time interval, and the time interval between the second moment and the first reference moment is the second time interval.

[0166] Among them, the first reference moment can be determined based on the first information. In some possible ways, the first reference moment can be the moment of receiving the first information. For example, the first device receives the first information at time T1, and T1 is the index of the time unit. Then the first reference moment can be the starting moment, the ending moment, or a moment in the middle of the T1-th time unit, or the starting moment, the ending moment, or a moment in the middle of the T1+△T1-th time unit. △T1 can be predefined or preconfigured by the protocol, and △T1 can be a positive number or a negative number. In other possible ways, the first information includes the first reference moment. For example, the first information includes a first field, and the value of the first field is the index of the time unit, for example, the index of the second time unit. Then the first reference moment is the starting moment, the ending moment, or a moment in the middle of the second time unit.

[0167] In some possible implementations, the first time interval may be included in the first information. For example, if the first information includes a second field, and the value of the second field is 2, indicating two time units, then the first time interval is two time units. In other possible implementations, the first time interval may also be predefined or preconfigured.

[0168] In some possible implementations, the second time interval may be included in the first information. For example, if the first information includes a third field and the value of the third field is 5, indicating 5 time units, then the second time interval is 5 time units. In other possible implementations, the second time interval may also be predefined or preconfigured.

[0169] Through this implementation, the second device can indicate the generation time and sending time of the data through one piece of information, thereby reducing the overhead of indicating the generation time and sending time of the data.

[0170] Implementation method 2: The first information includes: the first moment and / or the second moment.

[0171] 1. The first information includes a first time and a second time.

[0172] In some possible embodiments, the first information may include a fourth field and a fifth field, the fourth field being used to indicate the first moment, and the fifth field being used to indicate the second moment. For example, if the value of the fourth field is an index of a time unit, such as the index of the second time unit, and similarly, the value of the fifth field is an index of a time unit, such as the index of the fifth time unit, then the first moment is the start moment, end moment, or a moment in the middle of the second time unit, and the second moment is the start moment, end moment, or a moment in the middle of the fifth time unit.

[0173] In some other possible embodiments, the first information may include a sixth field, which may be a start and length indicator (SLIV). The starting position indicated by the SLIV may be the first moment, and the starting position and length indicated by the SLIV may be used to determine the second moment. For example, if the starting position indicated by the SLIV is the second time unit and the length indicated by the SLIV is three time units, then the first moment is the starting moment, the ending moment, or a moment in the middle of the second time unit, and the second moment is the starting moment, the ending moment, or a moment in the middle of the fifth time unit.

[0174] 2. The first information includes a first time. In this case, the interval between the first time and the second time may be a predefined or preconfigured time interval. Thus, the first device may determine the first time based on the first information, and determine the second time based on the first time and the predefined or preconfigured time interval.

[0175] Among them, the specific content of the first information including the first moment can refer to the description of "the first information includes the first moment" in point 1.

[0176] 3. The first information includes the second time. In this case, the interval between the first time and the second time can be a predefined or preconfigured time interval. Thus, the first device can determine the second time based on the first information, and determine the first time based on the second time and the predefined or preconfigured time interval.

[0177] Among them, the specific content of the first information including the second moment can refer to the description of "the first information includes the second moment" in point 1.

[0178] This second implementation provides multiple methods for directly indicating the first moment and / or the second moment, which is easy to implement and relatively flexible.

[0179] Implementation method three: The first information includes fifth information for determining the first moment and sixth information for determining the second moment. The time interval between the first moment and the second reference moment is the third time interval, and the time interval between the second moment and the third reference moment is the fourth time interval.

[0180] Among them, the second reference moment can be determined based on the fifth information. In some possible ways, the second reference moment can be the moment of receiving the fifth information. For example, the first device receives the fifth information at time T2, and T2 is the index of the time unit. Then the second reference moment can be the starting moment, the ending moment, or a moment in the middle of the T2th time unit, or the starting moment, the ending moment, or a moment in the middle of the T2+△T2th time unit. △T2 can be predefined or preconfigured by the protocol, and △T2 can be a positive number or a negative number. In other possible ways, the fifth information includes the second reference moment. For example, the fifth information includes a seventh field, and the value of the seventh field is the index of the time unit, for example, the index of the second time unit. Then the second reference moment is the starting moment, the ending moment, or a moment in the middle of the second time unit.

[0181] The third reference time may be determined based on the sixth information. In some possible ways, the third reference time may be the time of receiving the sixth information. For example, the first device receives the sixth information at time T3, and T3 is the index of the time unit. Then the third reference time may be the starting time, the ending time, or a certain time in the middle of the T3th time unit, or the starting time, the ending time, or a certain time in the middle of the T3+△T3th time unit. △T3 may be predefined or preconfigured by the protocol, and △T3 may be a positive number or a negative number. In other possible ways, the sixth information includes the third reference time. For example, the sixth information includes an eighth field, and the value of the eighth field is the index of the time unit, for example, the index of the third time unit. Then the third reference time is the starting time, the ending time, or a certain time in the middle of the third time unit.

[0182] In some possible implementations, the third time interval may be included in the fifth information. For example, if the fifth information includes a ninth field, and the value of the ninth field is 2, indicating two time units, then the third time interval is two time units. In other possible implementations, the third time interval may also be predefined or preconfigured.

[0183] In some possible implementations, the fourth time interval may be included in the sixth information. For example, if the sixth information includes a tenth field, and the value of the tenth field is 4, indicating four time units, then the fourth time interval is four time units. In some possible implementations, the fourth time interval may also be predefined or preconfigured.

[0184] This implementation method indicates the generation time and sending time of the data respectively through the fifth information and the sixth information, thereby reducing the overhead of each information and improving the success rate of each information transmission.

[0185] Implementation method 4: The first information includes fifth information for determining the first time and sixth information for determining the second time. The fifth information includes the first time, and the sixth information includes the second time.

[0186] For example, the fifth information may include an eleventh field, the value of which is an index of a time unit, for example, the index of the second time unit. The sixth information may include a twelfth field, the value of which is an index of a time unit, for example, the index of the fifth time unit. Then, the first moment is the start moment, end moment, or a moment in the middle of the second time unit, and the second moment is the start moment, end moment, or a moment in the middle of the fifth time unit.

[0187] In the fourth implementation, the fifth information and the sixth information can directly indicate the first moment and the second moment respectively, which is easy to implement.

[0188] Moreover, in implementation methods one to four, the second device can determine the data generation time and the data sending time for the first device. By controlling the data generation time and the data sending time, the second device can control the time the data passes, thereby improving the real-time nature of the data.

[0189] Optionally, in implementation method three and implementation method four, the fifth information is included in the first message, the sixth information is included in the second message, and there may be an association relationship between the first message and the second message. For example, the first message and the second message are DCI, and the indexes of the first message and the second message are the same, so that the first device can associate the first data generated according to the first message with the second moment indicated by the second message. For another example, the second message contains information for indicating the association between the first moment and the second moment. Exemplarily, the second message includes the first moment. In this way, the first device can associate the first data generated according to the first message with the second moment indicated by the second message. The method can explicitly or implicitly indicate the association relationship between the first moment and the second moment through the association relationship between the first message and the second message. In this way, when there are multiple data to be transmitted in the first device, the first device can determine the transmission time of each data based on the association relationship.

[0190] Implementation method 5: The first information includes information for determining a first time range and / or information for determining a second time range, where the first time range is a time range for generating data and the second time range is a time range for sending data. The first moment falls within the first time range, and the second moment falls within the second time range.

[0191] 1. The first information includes information for determining a first time range and information for determining a second time range.

[0192] The first information may directly indicate the first time range, i.e., the first information may include the first time range; or the first information may indirectly indicate the first time range, i.e., the first information may include information that corresponds to the first time range, and the information is used to determine the first time range. For example, the first device and the second device may include a correspondence between multiple time ranges and multiple time range indexes, and the first information may include a time range index corresponding to the first time range.

[0193] Similarly, the first information may directly indicate the second time range, that is, the first information may include the second time range; the first information may also indirectly indicate the second time range, where the first information may include information that corresponds to the second time range, and this information is used to determine the second time range. For example, the first device and the second device may include a correspondence between multiple time ranges and multiple time range indexes, and the first information may include a time range index corresponding to the second time range.

[0194] The information used to determine the first time range and the information used to determine the second time range may be carried in the same message or in different messages.

[0195] After receiving the first information, the first device may generate first data within a first time range and send the first data within a second time range.

[0196] 2. The first information includes information for determining the first time range. For details on the information for determining the first time range, refer to the description of the information for determining the first time range in point 1. The second time range may be predefined or preconfigured.

[0197] In one possible embodiment, the first device may generate the first data within a first time range. To balance the generation time and the sending time of the data, the first device may send the first data within a second time range according to the first time.

[0198] In another possible manner, the first time range may be determined according to a predefined or preconfigured second time range. In this way, the first device may generate the first data within the first time range and send the first data within the second time range.

[0199] 3. The first information includes information for determining the second time range. For details on the information for determining the second time range, refer to the description of the information for determining the second time range in point 1. The first time range may be predefined or preconfigured.

[0200] In one possible approach, the first device may select a second time within the second time range for sending the first data. To balance the data generation time and sending time, the first device may generate the first data within the first time range based on the second time.

[0201] In another possible embodiment, the second time range can be determined based on a predefined or preconfigured first time range. Thus, the first device can select a first time for generating the first data from the first time range and a second time for sending the first data from the second time range. Through this fifth implementation, the second device can set a first time range for generating data and a second time range for sending data for the first device. Thus, the first device can generate data within the first time range and send data within the second time range. The second device can control the time when the data is generated and sent by controlling the first time range and the second time range, thereby controlling the time over which the data passes, thereby improving the real-time nature of the data.

[0202] S302: The first device sends the first data generated at the first moment at the second moment.

[0203] Optionally, in S302, the first device may prioritize the reuse of the LC corresponding to the first data based on the first information. For example, the first device may include data requiring freshness and data not requiring freshness. The first device may determine, based on the first information, that the first data corresponding to the first information is data requiring freshness, and prioritize the reuse of the LC corresponding to the first data.

[0204] The data requiring freshness may include at least one of the following: data used to train the AI ​​model in the second device, data used to determine the data transmission time based on the data generation time, and data related to the perception process. The data related to the perception process may include data perceived by the terminal device, such as the speed, direction, position, and other information of objects in the environment perceived by the terminal device, or channel information perceived by the terminal device.

[0205] In some possible approaches, the first device may first reuse the LCs corresponding to the data requiring freshness, and then perform LC multiplexing based on the priorities of the LCs. This will be described below in conjunction with steps H1-H3.

[0206] H1: The first device reuses the LC corresponding to the data that requires freshness.

[0207] Optionally, the first device may determine, based on the first information, that the first data corresponding to the first information is data requiring freshness. For example, if the first moment of generating the first data and / or the second moment of sending the first data are determined based on the first information, then the first data is data requiring freshness.

[0208] H2: After step H1, the first device performs LC multiplexing on the remaining data according to the priority of the LC. The multiplexing method can be referred to step S201 and will not be described again here.

[0209] H3: If, after step H2, the available resources of the first device still include remaining resources, the first device may allocate the remaining resources to the LC corresponding to the data of the first device according to the priority of the LC.

[0210] For example, a first device wants to send data corresponding to LC1-LC4. The first data is data corresponding to LC2. The first device may first multiplex LC2 and then multiplex LCs according to the priorities of LC1, LC3, and LC4.

[0211] In some other possible approaches, the first device first multiplexes LCs with priorities higher than the first priority threshold, then multiplexes LCs corresponding to the first data, and then multiplexes other LCs. This is described below in conjunction with steps I1-I3.

[0212] I1: The first device first multiplexes the LCs whose priorities are higher than the first priority threshold. The multiplexing method can refer to step S201 and will not be described in detail here.

[0213] I2: The first device reuses the LC corresponding to the data requiring freshness. The specific content of step I2 can be referred to step H1 and will not be repeated here.

[0214] I3: If after step I2, the available resources of the first device still include remaining resources, the first device may reuse LCs whose priorities are lower than the first priority threshold. The reuse method may refer to step S201 and will not be described again here.

[0215] I4: If, after step I3, the available resources of the first device still include remaining resources, the first device may allocate the remaining resources to the LCs corresponding to the data of the first device according to the priorities of the LCs.

[0216] For example, a first device wants to send data corresponding to LC1-LC4. The first data is data corresponding to LC2. The priorities of LC1 and LC3 are higher than the first priority threshold, and the priority of LC4 is higher than the priority of LC2. The first device may first multiplex LC1 and LC3, then LC2, and finally LC4.

[0217] Through this method, the first device can prioritize the reuse of data that requires freshness, thereby ensuring the real-time transmission of this data.

[0218] Optionally, in the method shown in FIG3 , the first device may also determine the size of the first data in one of the following ways:

[0219] Implementation 1: The first device obtains the size of the first data from the second device. Optionally, the second device sends fourth information to the first device. In response, the first device receives the fourth information from the second device, where the fourth information is used to indicate the size of the first data.

[0220] When the parameters of the AI ​​model in the second device change, the size of the training data required by the second device may also change. If the second device determines that the size of the training data required by the second device has changed, the second device may send fourth information to the first device. The size of the first data indicated in the fourth information may be the size of the training data required by the second device.

[0221] The fourth information may directly or indirectly indicate the size of the first data. For example, the fourth information may include the size of the first data. For another example, the fourth information may include information that corresponds to the size of the first data.

[0222] In addition, the fourth information and the first information may be carried in the same message or in different messages.

[0223] Through this implementation method 1, the second device can indicate the size of the first data to the first device, thereby obtaining the first data that meets the needs of the second device. For example, the size of the first data can meet the needs of the AI ​​model in the second device.

[0224] In addition, in implementation method 1, the second device may send information indicating the size of the first data to the first device only when the parameters of the AI ​​model change, without sending the information to the first device every time resources are scheduled, thereby reducing overhead.

[0225] Implementation method 2: The first device determines the size of the first data by itself.

[0226] In implementation 2, after generating the first data, the first device may send information indicating the size of the first data to the second device, so that the second device can allocate resources for the first data based on the size of the first data. For example, after generating the first data, the first device sends a BSR to the second device, and the BSR includes the size of the first data.

[0227] In one possible implementation, when the relationship between the first information, the first time, and the second time is the relationship in the fifth implementation, if there are no resources for data transmission within the second time range, before S302, the method shown in FIG3 further includes steps A1-A2:

[0228] A1: After generating first data at a first moment, the first device sends a first request to the second device. Correspondingly, the second device receives the first request from the first device.

[0229] The first request may be used to request the second device to allocate resources for the first data. The first request may be a one-bit flag (flag or identification information). For example, when the identification information is 0 or 1, it indicates that there are no resources for data transmission within the second time range. The first request may be carried in a BSR, a scheduling request (SR), a physical uplink control channel (PUCCH), or a physical uplink shared channel (PUSCH).

[0230] A2: The second device sends the seventh information to the first device. Correspondingly, the first device receives the seventh information from the second device. The seventh information may be used to indicate resources allocated by the second device for the first data.

[0231] Optionally, the seventh information may be carried in DCI.

[0232] After step A2, in S302, the first device may send the first data to the second device on the resources indicated by the seventh information.

[0233] Through this method, if there are no resources for data transmission within the second time range, the first device can promptly request the second device to allocate resources for the first data, so that the first data can be transmitted in time, thereby improving the real-time performance of the first data.

[0234] In a possible implementation, before S301, the method further includes steps B1-B2:

[0235] B1: The first device sends first auxiliary information to the second device. Correspondingly, the second device receives the first auxiliary information from the first device. The first auxiliary information can be used to determine the first time and / or the second time.

[0236] Optionally, the first auxiliary information includes at least one of the following:

[0237] 1. Energy status of the first device: for example, whether the first device is in an energy-saving state, whether the energy of the first device (for example, the remaining battery capacity of the first device) is greater than a first energy threshold, whether the energy of the first device is less than a second energy threshold, etc.

[0238] 2. Sampling overhead of the first device: for example, whether the sampling overhead of the first device is greater than a first overhead threshold, whether the sampling overhead of the first device is less than a second overhead threshold, etc. The sampling overhead of the first device may be the resources required for the first device to collect information for generating data. For example, the sampling overhead of the first device may be the amount of electricity and / or power required for the first device to collect the information. In the present application, the first device may collect information and generate data at the same time, or may collect information and generate data at different times. The sampling interval for collecting information is the same as the generation interval for generating data. Therefore, in the present application, the sampling interval and the generation interval are interchangeable.

[0239] 3. Capacity of the computing resources of the first device: for example, whether the capacity of the computing resources of the first device is greater than a first capacity threshold, whether the capacity of the computing resources of the first device is less than a second capacity threshold, etc.

[0240] B2: The second device determines the first time and / or the second time according to the first auxiliary information.

[0241] When the first device is in an energy-saving state or its energy is less than a second energy threshold, the first device may not be able to sample as needed by the second device, meaning it may not be able to generate data at any time. In this case, the second device may determine a sampling interval for the first device that is greater than the first sampling interval threshold and use this interval to determine the first time to generate the first data. To balance the time it takes to generate and transmit data, the second device may determine a transmission interval for the first device that is greater than the first transmission interval threshold and use this interval to determine the second time to transmit the first data.

[0242] When the energy of the first device exceeds a first energy threshold, the second device may determine a sampling interval for the first device that is less than a second sampling interval threshold and, based on this, determine the first time to generate the first data. To balance the time of data generation and transmission, the second device may determine a transmission interval for the first device that is less than a second transmission interval threshold and, based on this transmission interval, determine the second time to transmit the first data.

[0243] When the sampling overhead of the first device exceeds the first overhead threshold, the second device may determine a sampling interval for the first device that is greater than a third sampling interval threshold to reduce system overhead, and determine the first time to generate the first data based on this interval. To balance the time of data generation and transmission, the second device may determine a transmission interval for the first device that is greater than a third transmission interval threshold, and determine the second time to transmit the first data based on this transmission interval.

[0244] When the sampling overhead of the first device is less than the second overhead threshold, to reduce system overhead, the second device may determine a sampling interval for the first device that is less than the fourth sampling interval threshold, and determine the first time to generate the first data based on this sampling interval. To balance the time of data generation and transmission, the second device may determine a transmission interval for the first device that is less than the fourth transmission interval threshold, and determine the second time to transmit the first data based on the transmission interval.

[0245] When the computing resource capacity of the first device is greater than the first capacity threshold, indicating that the first device has strong processing capabilities, the second device may determine a sampling interval for the first device that is less than the eleventh sampling interval threshold and, based on this, determine the first time to generate the first data. To balance the time of generating and transmitting the data, the second device may determine a transmission interval for the first device that is less than the nineteenth transmission interval threshold and, based on this transmission interval, determine the second time to transmit the first data.

[0246] When the computing resource capacity of the first device is less than the second capacity threshold, the first device's processing power is weak and may not be able to perform sampling as required by the second device, meaning it may not be able to generate data at all times. In this case, the second device may determine a sampling interval for the first device that is greater than the twelfth sampling interval threshold and use this interval to determine the first time to generate the first data. To balance the time it takes to generate and transmit data, the second device may determine a transmission interval for the first device that is greater than the twentieth transmission interval threshold and use this interval to determine the second time to transmit the first data.

[0247] Through this method, the second device can reasonably determine the generation time and sending time of the data according to the first auxiliary information, thereby improving the real-time performance of data transmission.

[0248] To solve the above technical problems, the present invention provides another communication method, which can be applied to the communication system shown in Figure 1. The flow chart shown in Figure 4 is referred to below to describe the process of this method in detail.

[0249] S401: A first device sends second information to a second device. Correspondingly, the second device receives the second information from the first device. The second information is used to indicate a first time when the first device generates first data.

[0250] The second information may directly or indirectly indicate the first moment. For example, the second information includes the first moment. For another example, the second information includes information that corresponds to the first moment.

[0251] In one possible implementation, after generating the first data, the first device may send a BSR containing the second information to the second device. The BSR may include indexes of multiple LCGs or LCs. Each LCG or LC corresponds to at least one of the following: a data type, a cache size (used to indicate the size of the data corresponding to the LCG or LC), and a data generation time (used to indicate the generation time of the data corresponding to the LCG or LC). For example, as shown in FIG5 , the BSR includes: LCG0-LCG3, and the data type, cache size, and data generation time corresponding to each LCG in LCG0-LCG3.

[0252] In some possible implementations, the BSR may only include information about LCGs or LCs corresponding to data requiring freshness. The data generation time corresponding to each LCG or LC is the actual generation time of the data corresponding to that LCG or LC. For example, if the data corresponding to LCG0-LCG3 in Figure 5 all requires freshness, the data generation time corresponding to each LCG is the actual generation time of the data corresponding to that LCG.

[0253] In other possible implementations, the BSR may include both data requiring freshness and data not requiring freshness. In this case, the data generation time of the LCG or LC corresponding to the data requiring freshness is the actual generation time of the data, while the data generation time of the LCG or LC corresponding to the data not requiring freshness can be set to a default value, such as all 0s or all 1s. For example, if the data corresponding to LCG0 in Figure 5 requires freshness, and the data corresponding to LCG1-LCG3 does not require freshness, then the data generation time corresponding to LCG0 is the actual generation time of the data corresponding to LCG0, and the data generation times corresponding to LCG1-LCG3 are the default values.

[0254] The specific content of the data requiring freshness may be referred to the description of S302 and will not be repeated here.

[0255] S402: The second device sends third information to the first device. Correspondingly, the first device receives the third information from the second device. The third information is used to determine a second time to send the first data, and the second time is determined based on the first time indicated by the second information.

[0256] The specific content of the third information used to determine the second time for sending the first data can refer to the content of the first information used to determine the second time in S301, which will not be repeated here.

[0257] Optionally, the second moment is determined by the second device based on the first moment. That is, the second device determines the moment of sending the first data based on the moment the first data is generated. For example, when the second device determines that the sampling interval of the first device is greater than the ninth sampling interval threshold based on the first moment, it can determine a transmission interval greater than the ninth transmission interval threshold for the first device, and determine the second moment of sending the first data based on the transmission interval. For another example, when the second device determines that the sampling interval of the first device is less than the tenth sampling interval threshold based on the first moment, it can determine a transmission interval less than the tenth transmission interval threshold for the first device, and determine the second moment of sending the first data based on the transmission interval.

[0258] S402 is an optional step.

[0259] S403: The first device sends the first data generated at the first moment at the second moment.

[0260] The specific content of S403 can be found in S302 and will not be repeated here.

[0261] Through the method shown in FIG. 4 , the first device can send information indicating the time at which data is generated to the second device, so that the second device can process the data more reasonably according to the time at which the data is generated.

[0262] In addition, the second device can determine the sending time of the data according to the generation time of the data, thereby controlling the time elapsed by the data and improving the real-time performance of the data.

[0263] Optionally, before S402, the method further includes steps C1-C2:

[0264] C1: The first device sends first auxiliary information to the second device. Correspondingly, the second device receives the first auxiliary information from the first device. The first auxiliary information can be used to determine the second time.

[0265] The specific content of step C1 can refer to step B1, and the repeated parts will be omitted.

[0266] C2: The second device determines a second time according to the first auxiliary information.

[0267] When the first device is in a power-saving state or the energy of the first device is less than the second energy threshold, the second device may determine a transmission interval greater than the fifth transmission interval threshold for the first device, and determine the second time to send the first data based on the transmission interval.

[0268] When the energy of the first device is greater than the first energy threshold, the second device may determine a transmission interval for the first device that is less than a sixth transmission interval threshold, and determine a second time to send the first data according to the transmission interval.

[0269] When the sampling overhead of the first device is greater than the first overhead threshold, the second device may determine a transmission interval greater than a seventh transmission interval threshold for the first device, and determine a second time to send the first data according to the transmission interval.

[0270] When the sampling overhead of the first device is less than the second overhead threshold, the second device may determine a transmission interval for the first device that is less than an eighth transmission interval threshold, and determine a second time to send the first data according to the transmission interval.

[0271] When the capacity of the computing resources of the first device is greater than the first capacity threshold, the second device may determine a transmission interval for the first device that is less than the fifteenth transmission interval threshold, and determine the second time to send the first data according to the transmission interval.

[0272] When the capacity of the computing resources of the first device is less than the second capacity threshold, the second device may determine a transmission interval greater than the sixteenth transmission interval threshold for the first device, and determine the second time to send the first data according to the transmission interval.

[0273] Through this method, the second device can reasonably determine the data sending time according to the first auxiliary information, thereby improving the real-time performance of data transmission.

[0274] To solve the above technical problems, the present application provides another communication method, which can be applied to the communication system shown in Figure 1. The flow chart shown in Figure 6 is referred to below to describe the process of this method in detail.

[0275] S601: The first device obtains second auxiliary information and / or calculation information of the second device.

[0276] S601 may include S601a and / or S601b:

[0277] S601a: The third device sends second auxiliary information to the first device. Correspondingly, the first device receives the second auxiliary information from the third device.

[0278] Among them, the first device and the third device can both send data to the second device. For example, the first device and the third device can both send data for training the AI ​​model in the second device to the second device.

[0279] Optionally, the first device and the third device are both terminal devices. For example, the first device is a first terminal device, and the third device is a second terminal device. The second terminal device can send the second auxiliary information to the first terminal device via a sidelink.

[0280] Optionally, the second auxiliary information includes at least one of the following:

[0281] 1. Energy status of the third device: for example, whether the third device is in an energy-saving state, whether the energy of the third device (for example, the remaining battery capacity of the third device) is greater than a third energy threshold, whether the energy of the third device is less than a fourth energy threshold, etc.

[0282] 2. Sampling overhead of the third device: for example, whether the sampling overhead of the third device is greater than a third overhead threshold, whether the sampling overhead of the third device is less than a fourth overhead threshold, etc.

[0283] 3. The moment when the third device generates data: for example, the moment when the third device generates data for training the AI ​​model in the second device.

[0284] 4. Capacity of the computing resources of the third device: for example, whether the capacity of the computing resources of the third device is greater than a third capacity threshold, whether the capacity of the computing resources of the third device is less than a fourth capacity threshold, etc.

[0285] S601b: The second device sends the calculation information of the second device to the first device. Correspondingly, the first device receives the calculation information from the second device.

[0286] The first device may be a terminal device, and the second device may be a network device or another terminal device.

[0287] The computing information of the second device may be used to indicate the computing time required for data processing. For example, the computing time required for data processing may be the computing time required for the AI ​​model in the second device to complete one iteration of training. The computing information of the second device may include the computing time required for data processing; or the computing information of the second device may include information that corresponds to the computing time required for data processing.

[0288] The computation time indicated by the computation information may be related to the size of the training data required for the AI ​​model to complete one iteration. For example, when the AI ​​model's training data is provided by multiple terminal devices, the size of the training data is large and the computation time required is longer.

[0289] S602: The first device generates first data at a first moment according to the second auxiliary information and / or calculation information.

[0290] In some possible implementations, the second auxiliary information includes the time at which the third device generated the data. The first device may determine the frequency or interval at which the third device generates data based on the time at which the third device generates the data. The first device may generate data at a different frequency or interval than the third device, thereby generating the first data at the first moment. In this implementation, the first and third devices generate data at different frequencies or intervals, ensuring that the second device can obtain fresh data from multiple devices.

[0291] In some possible embodiments, the calculation duration indicated by the calculation information may be proportional to the sampling interval of the data. For example, when the calculation duration is greater than the first calculation duration threshold, the sampling interval of the data may be greater than the first interval threshold. If the first device generates data 1 at time T4, the first device may determine the first moment whose interval with time T4 is greater than the first interval threshold. For another example, when the calculation duration is less than the second calculation duration threshold, the sampling interval of the data may be less than the second interval threshold. If the first device generates data 1 at time T4, the first device may determine the first moment whose interval with time T4 is less than the second interval threshold. In this way, it is possible to avoid the generated data from being congested in the data queue.

[0292] Optionally, the first device may further determine the first time to generate the first data according to at least one of the following: channel state information of the first device and transmission resources of the first device.

[0293] The channel state information includes at least one of the following: channel quality indication (CQI), rank indication (RI), channel occupancy ratio (CR), channel busy ratio (CBR), and received signal strength indicator (RSSI).

[0294] For example, when one or more of the CQI, RI, and RSSI are below a first quality threshold, or when the CR and / or CBR are above a second quality threshold, this indicates that the current channel state is poor and multiple retransmissions are required for successful data transmission. In this case, the first device may determine that the data sampling interval is greater than a third interval threshold. If the first device generates data 1 at time T4, the first device may determine the first time whose interval from time T4 is greater than the third interval threshold.

[0295] For another example, when one or more of CQI, RI, and RSSI are higher than the third quality threshold, or when CR and / or CBR are lower than the fourth quality threshold, the first device may determine that the sampling interval of the data is less than the fourth interval threshold. If the first device generates data 1 at time T4, the first device may determine the first moment whose interval with time T4 is less than the fourth interval threshold.

[0296] By using this method, it is possible to avoid the generated data from being congested in the data queue, thereby improving the real-time performance of data transmission.

[0297] In one possible implementation, the transmission resources are related to the configuration of the frame structure. For example, if the uplink resources of the first device are less than the first resource threshold, the first device can determine that the sampling interval of the data is greater than the fifth interval threshold. If the first device generates data 1 at time T4, the first device can determine the first moment when the interval with time T4 is greater than the fifth interval threshold. For another example, if the uplink resources of the first device are greater than the second resource threshold, the first device can determine that the sampling interval of the data is less than the sixth interval threshold. If the first device generates data 1 at time T4, the first device can determine the first moment when the interval with time T4 is greater than the sixth interval threshold. Through this method, the data generation time can better match the transmission resources, and thus can match the data sending time, thereby reducing the time the data experiences and improving the real-time nature of the data.

[0298] S603: The first device sends first data to the second device at the second moment.

[0299] Among them, the method for the first device to determine the second moment can refer to the method for determining the second moment in implementation method five, and the repeated parts will not be repeated.

[0300] Optionally, the first device may determine the second time according to the second auxiliary information, wherein the second auxiliary information may include one or more of an energy state, a sampling overhead, and a capacity of computing resources of the third device.

[0301] For example, when the third device is in an energy-saving state or the energy of the third device is less than the fourth energy threshold, it means that the second device may not need to frequently receive data from the third device. At this time, the first device can determine a transmission interval that is less than the eleventh transmission interval threshold, and determine the second time to send the first data based on the transmission interval.

[0302] For example, when the energy of the third device is greater than the third energy threshold, it means that the second device may need to frequently receive data from the third device. At this time, the first device can determine a transmission interval greater than the twelfth transmission interval threshold, and determine the second time to send the first data based on the transmission interval.

[0303] For another example, when the sampling overhead of the third device is greater than the third overhead threshold, it indicates that the second device may not need to frequently receive data from the third device. At this time, the first device can determine a transmission interval that is less than the thirteenth transmission interval threshold, and determine the second time to send the first data based on the transmission interval.

[0304] For another example, when the sampling overhead of the third device is less than the fourth overhead threshold, it means that the second device may need to frequently receive data from the third device. At this time, the first device can determine a transmission interval greater than the fourteenth transmission interval threshold, and determine the second time to send the first data based on the transmission interval.

[0305] For another example, when the capacity of the computing resources of the third device is greater than the third capacity threshold, it means that the second device may need to frequently receive data from the third device. At this time, the first device can determine a transmission interval greater than the seventeenth transmission interval threshold, and determine the second time to send the first data based on the transmission interval.

[0306] For another example, when the capacity of the computing resources of the third device is less than the fourth capacity threshold, it means that the second device may not need to frequently receive data from the third device. At this time, the first device can determine a transmission interval that is less than the eighteenth transmission interval threshold, and determine the second time to send the first data based on the transmission interval.

[0307] Through the method shown in FIG6 , the first device can reasonably determine the generation time and sending time of data, thereby improving the real-time performance of data transmission.

[0308] An embodiment of the present application provides a communication method, which can be applied to the communication system shown in Figure 1. This method is a possible example of the method shown in Figure 3. Referring to the flowchart shown in Figure 7, the process of this method is specifically described, taking the first device as a terminal device and the second device as a network device as an example. In this method, the network device can determine the data transmission resources, and the terminal device can generate data at any time according to the instructions of the network device.

[0309] S701: The terminal device sends first auxiliary information to the network device, and correspondingly, the network device receives the first auxiliary information.

[0310] S701 is an optional step, and the specific content of S701 can be found in step B1, which will not be described in detail here.

[0311] S702: The network device sends DCI-1 to the terminal device, and correspondingly, the terminal device receives the DCI-1.

[0312] Among them, DCI-1 is used to determine the time T when the first data is generated. a and the time T at which the first data is sent b , time T b It can be the time when the first data is initially sent (ie, the initial transmission time of the first data). DCI-1 is used to determine the time T a The specific method can refer to the method in S301 where the first information is used to determine the first moment, and DCI-1 is used to determine the moment T b The specific method of using the first information to determine the second moment can be referred to in S301, and will not be repeated here.

[0313] Optionally, the network device may determine the time T according to the first auxiliary information. a and time T b Then, the network device sends DCI-1 to the terminal device. a and time T b The manner in which the second device determines the first time and the second time according to the first auxiliary information can be referred to in step B2.

[0314] S703: The terminal device is at time T a First data is generated.

[0315] In some possible ways, the terminal device at time T a Information used to generate the first data is collected, and the first data is generated based on the information. In this case, collecting the information and generating the first data occur simultaneously.

[0316] In some other possible ways, the interval between collecting information and generating data is ΔTa , the terminal device at time T a -△T a Collect information used to generate the first data, and at time T a Generate first data based on this information. a It can be predefined or preconfigured by the protocol, △T a Can be a positive number.

[0317] S704: The terminal device is at time T b First data is sent to the network device.

[0318] The specific content of S704 can be referred to S302 and will not be repeated here.

[0319] S705: When the network device does not receive the first data at the initial transmission time or fails to decode the first data, the network device sends DCI-3 to the terminal device, and accordingly, the terminal device receives the DCI-3.

[0320] Among them, DCI-3 is the DCI used for retransmission, which can be used to determine the time T for sending the first data. c , time T c It can be the time when the first data is resent (ie, the retransmission time of the first data). DCI-R is used to determine the time T c The specific method of using the first information to determine the second moment can be referred to in S301, and will not be repeated here.

[0321] S706: The terminal device at time T c First data is sent to the network device.

[0322] The specific content of S706 can be found in S302 and will not be repeated here.

[0323] S705-S706 are optional steps.

[0324] Optionally, after receiving the first data, the network device may train an AI model based on the first data. This application does not limit the specific manner in which the network device trains the AI ​​model.

[0325] Through the method shown in FIG7 , the network device can determine the generation time and the sending time of the data, thereby controlling the time elapsed by the data and improving the real-time performance of the data.

[0326] An embodiment of the present application provides a communication method that can be applied to the communication system shown in Figure 1. This method is another possible example of the method shown in Figure 3. Referring to the flowchart shown in Figure 8 below, the process of this method is specifically described, taking the first device as a terminal device and the second device as a network device as an example. In this method, the network device can determine the data transmission resources, and the terminal device can generate data at any time according to the instructions of the network device.

[0327] S801: The terminal device sends first auxiliary information to the network device, and correspondingly, the network device receives the first auxiliary information.

[0328] Among them, S801 is an optional step. The specific content of S801 can be referred to step S701 and will not be repeated here.

[0329] S802: The network device sends DCI-1 to the terminal device, and correspondingly, the terminal device receives the DCI-1.

[0330] Among them, DCI-1 is used to determine the time T when the first data is generated. a DCI-1 is used to determine the time T a The specific method of using the first information to determine the first moment can be referred to in S301, and will not be repeated here.

[0331] Optionally, the network device may determine the time T according to the first auxiliary information. a Then, the network device sends DCI-1 to the terminal device. a The method of determining the first time according to the first auxiliary information by the second device in step B2 can be referred to.

[0332] S803: The terminal device is at time T a First data is generated.

[0333] The specific content of S803 can be found in S703 and will not be repeated here.

[0334] S804: The terminal device sends a BSR to the network device.

[0335] The BSR is used to request the network device to allocate resources for the first data.

[0336] Optionally, the BSR includes the size of the first data.

[0337] S805: The network device sends DCI-2 to the terminal device.

[0338] Among them, DCI-2 is used to determine the time T of sending the first data b DCI-2 is used to determine the time T bThe specific method of using the first information to determine the second moment can be referred to in S301, and will not be repeated here.

[0339] Optionally, there is an association relationship between DCI-1 and DCI-2. The association relationship between DCI-1 and DCI-2 can refer to the association relationship between the first message and the second message in S301, and will not be repeated here. In this way, when multiple data need to be transmitted between the network device and the terminal device, the terminal device can determine the association relationship between the generation time and the transmission time of each data based on this.

[0340] Optionally, DCI-2 includes information indicating resources allocated for the first data.

[0341] S806: The terminal device is at time T b First data is sent to the network device.

[0342] The specific content of S806 can be found in S302 and will not be repeated here.

[0343] Optionally, when the network device does not receive the first data at the time of initial transmission or fails to decode the first data, the network device may instruct the terminal device to retransmit the first data through S705-S706.

[0344] Optionally, after receiving the first data, the network device may train an AI model based on the first data. This application does not limit the specific manner in which the network device trains the AI ​​model.

[0345] Through the method shown in FIG8 , the network device can determine the generation time and the sending time of the data, thereby controlling the time elapsed by the data and improving the real-time performance of the data.

[0346] The present application provides a communication method that can be applied to the communication system shown in Figure 1. This method is another possible example of the method shown in Figure 3. Referring to the flowchart shown in Figure 9, the process of this method is specifically described, taking the first device as a terminal device and the second device as a network device as an example.

[0347] S901: The terminal device sends first auxiliary information to the network device, and correspondingly, the network device receives the first auxiliary information.

[0348] Among them, S901 is an optional step. The specific content of S901 can be referred to step S701 and will not be repeated here.

[0349] S902: The network device sends first configuration information to the terminal device, and correspondingly, the terminal device receives the first configuration information.

[0350] The first configuration information includes information for determining a first time range and information for determining a second time range. The first time range is a time range for generating data, and the second time range is a time range for sending data. The specific contents of the information for determining the first time range and the information for determining the second time range can be found in S301 and are not further described here.

[0351] Optionally, the first configuration information may be information pre-configured by the network device for the terminal device. For example, when the time to generate the training data is determined by the environment or by the terminal device itself, the network device may pre-configure the time range for generating data and the time range for sending data for the terminal device.

[0352] S903: The terminal device is at time T a First data is generated.

[0353] Among them, time T a Belongs to the first time range. For example, as shown in FIG10A, the first time range is the range between the two dotted lines in FIG10A, and the terminal device can generate data within this range. Exemplarily, the terminal device selects a moment from this range as the moment T a .

[0354] S904: The terminal device is at time T b The first data is sent.

[0355] Among them, time T b For example, as shown in FIG10B , the second time range is the range between the two dotted lines in FIG10B . If, within the second time range, the network device configures a resource for transmitting the first data for the terminal device, the terminal device can send the first data on the resource, and the time corresponding to the resource can be time T b .

[0356] Optionally, if there are no resources for data transmission within the second time range, the terminal device may request the network device to allocate resources for the first data. For details, please refer to steps A1-A2 and will not be repeated here.

[0357] Optionally, after receiving the first data, the network device may train an AI model based on the first data. This application does not limit the specific manner in which the network device trains the AI ​​model.

[0358] Using the method shown in Figure 9, a network device can set a first time range for generating data and a second time range for sending data for a terminal device. This allows the terminal device to generate data within the first time range and send data within the second time range. By controlling the first and second time ranges, the network device can control the time it generates and sends data, thereby controlling the elapsed time of the data and improving the real-time nature of the data.

[0359] An embodiment of the present application provides a communication method that can be applied to the communication system shown in Figure 1. This method is a possible example of the method shown in Figure 4. Referring to the flowchart shown in Figure 11 below, the process of this method is specifically described, taking the first device as a terminal device and the second device as a network device as an example. In this method, the network device can determine the data transmission resource, and the terminal device can determine the data generation time independently or determine the data generation time based on the environment.

[0360] S1101: The terminal device sends first auxiliary information to the network device, and correspondingly, the network device receives the first auxiliary information.

[0361] Here, step S1101 is an optional step. The specific content of step S1101 can be referred to step S701 and will not be repeated here.

[0362] S1102: The terminal device is at time T a First data is generated.

[0363] Among them, the terminal device can determine the time when the data is generated as time T a Or determine the data generation time as time T according to the environment a For example, if the training data is temperature or humidity information in the environment, the terminal device can automatically collect training data through sensors when the temperature or humidity changes. For another example, when the terminal device is in energy-saving mode, the terminal device can collect data at set intervals, thereby achieving energy conservation.

[0364] S1103: The terminal device sends a BSR to the network device, and correspondingly, the network device receives the BSR.

[0365] The BSR may include second information, and the second information is used to indicate the time when the first device generates the first data. a .

[0366] For the specific content of S1103, please refer to the description of the first device sending the second information to the second device in S401, which will not be repeated here.

[0367] This application does not limit the execution order of S1101 and S1102-S1103.

[0368] S1104: The network device sends DCI-1 to the terminal device, and correspondingly, the terminal device receives the DCI-1.

[0369] Among them, DCI-1 is used to determine the time T of sending the first data b DCI-1 is used to determine the time T b The specific method of using the first information to determine the second moment can be referred to in S301, and will not be repeated here.

[0370] Optionally, the DCI-1 includes information indicating the first moment, so that the terminal device can associate the sending moment of the first data with the generation moment. In other words, there is an association between the sending moment and the generation moment of the first data. When the terminal device needs to send multiple data to the terminal device, the terminal device can determine the generation moment corresponding to each sending moment according to the instruction of the network device, so that each data can be sent at the correct time.

[0371] S1105: The terminal device is at time T b First data is sent to the network device.

[0372] The specific content of S1105 can be found in S302 and will not be repeated here.

[0373] S1106: When the network device does not receive the first data at the initial transmission time or fails to decode the first data, the network device sends DCI-3 to the terminal device.

[0374] Among them, DCI-3 is used to determine the time T of sending the first data c .

[0375] S1107: The terminal device is at time T c First data is sent to the network device.

[0376] Among them, the specific content of S1106-S1107 can be referred to S705-S706, which will not be repeated here.

[0377] S1106-S1107 are optional steps.

[0378] Optionally, after receiving the first data, the network device may train an AI model based on the first data. This application does not limit the specific manner in which the network device trains the AI ​​model.

[0379] Through the method shown in FIG11 , the network device can determine the sending time of the data according to the generation time of the data, thereby controlling the time elapsed by the data and improving the real-time performance of the data.

[0380] An embodiment of the present application provides a communication method, which can be applied to the communication system shown in Figure 1. This method is a possible example of the method shown in Figure 6. Referring to the flowchart shown in Figure 12 below, the process of this method is specifically described, taking the first device as terminal device 1, the second device as network device, and the third device as terminal device 2 as an example.

[0381] S1201: Terminal device 2 sends second auxiliary information to terminal device 1, and correspondingly, terminal device 1 receives the second auxiliary information.

[0382] The specific content of S1201 can be referred to S601a and will not be repeated here.

[0383] S1202: The network device sends the calculation information of the network device to the terminal device 1, and accordingly, the terminal device 1 receives the calculation information.

[0384] The specific content of S1202 can be referred to S601b and will not be repeated here.

[0385] This application does not limit the execution order of S1201 and S1202.

[0386] S1203: Terminal device 1 at time T a First data is generated.

[0387] Among them, the terminal device 1 determines the time T a The method for determining the first moment by the first device can refer to S602, which will not be repeated here.

[0388] S1204: The network device sends second configuration information to the terminal device 1. Correspondingly, the terminal device 1 receives the second configuration information.

[0389] The second configuration information includes information for determining a second time range. The second time range is a time range for sending data. The specific content of the information for determining the second time range can be found in S301 and will not be repeated here.

[0390] Optionally, the second configuration information may be information preconfigured by the network device for the terminal device 1. For example, when the generation time of the training data is determined by the environment or determined by the terminal device 1 itself, the network device may preconfigure a time range for the terminal device 1 to send data.

[0391] This application does not limit the execution order of S1201-S1203 and S1204.

[0392] S1205: Terminal device 1 at time T b The first data is sent.

[0393] The specific content of S1205 can be found in S904 and will not be repeated here.

[0394] Optionally, after receiving the first data, the network device may train an AI model based on the first data. This application does not limit the specific manner in which the network device trains the AI ​​model.

[0395] Through the method shown in FIG12 , the first device can reasonably determine the generation time and sending time of data, thereby improving the real-time performance of data transmission.

[0396] Based on the same technical concept as the method embodiments of Figures 3 to 12, the embodiment of the present application provides a communication device through Figure 13, which can be used to perform the functions of the relevant steps in the above method embodiments. The functions can be implemented by hardware, or by software or hardware executing corresponding software implementations. The hardware or software includes one or more modules corresponding to the above functions. The structure of the communication device is shown in Figure 13, including a communication unit 1301 and a processing unit 1302. The communication device 1300 can be applied to a network device or terminal device in the communication system shown in Figure 1, and can implement the communication method provided in the above embodiments of the present application and the examples. The functions of each unit in the communication device 1300 are introduced below.

[0397] The communication unit 1301 is used to receive and transmit data. The communication unit 1301 can be implemented as a transceiver, such as a mobile communication module. The mobile communication module can include at least one antenna, and can also include at least one filter, a switch, a power amplifier, a low-noise amplifier (LNA), etc. The communication unit 1301 can also be implemented as an input / output interface.

[0398] The processing unit 1302 can be used to support the communication device 1300 in performing the processing actions in the above method embodiment. The processing unit 1302 can be implemented by a processor. For example, the processor can be a central processing unit (CPU), a baseband processor, or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. The general-purpose processor can be a microprocessor or any conventional processor.

[0399] In one embodiment, the communication device 1300 is applied to the first device shown in Figure 3, or to the terminal device in the embodiment of the present application shown in any one of Figures 7 to 9. The specific functions of the processing unit 1302 in this embodiment are described below.

[0400] The processing unit 1302 is configured to: receive first information from a second device through the communication unit 1301, where the first information is used to determine a first time to generate first data and a second time to send the first data; and send the first data at the second time through the communication unit 1301.

[0401] Optionally, the time interval between the first moment and the first reference moment is the first time interval, the time interval between the second moment and the first reference moment is the second time interval, and the first reference moment is determined according to the first information.

[0402] Optionally, the first reference time is the time when the first information is received, or the first information includes the first reference time.

[0403] Optionally, the first time interval is included in the first information, or the first time interval is predefined; and / or the second time interval is included in the first information, or the second time interval is predefined.

[0404] Optionally, the first information includes: a first moment and / or a second moment.

[0405] Optionally, the processing unit 1302 is specifically configured to: receive fourth information from the second device through the communication unit 1301, where the fourth information is used to indicate a size of the first data.

[0406] Optionally, the first information includes fifth information for determining the first moment and sixth information for determining the second moment.

[0407] Optionally, the fifth information is included in the first message, the sixth information is included in the second message, and there is an association relationship between the first message and the second message.

[0408] Optionally, the first information includes: information used to determine a first time range and / or information used to determine a second time range, the first time range is a time range for generating data, and the second time range is a time range for sending data; the first moment belongs to the first time range, and the second moment belongs to the second time range.

[0409] Optionally, the processing unit 1302 is specifically configured to: send first auxiliary information to the second device through the communication unit 1301, where the first auxiliary information is used to determine the first moment and / or the second moment.

[0410] Optionally, the first auxiliary information includes at least one of the following: an energy state of the first device, and a sampling overhead of the first device.

[0411] Optionally, the processing unit 1302 is specifically configured to: preferentially multiplex a logical channel corresponding to the first data according to the first information.

[0412] In another embodiment, the communication device 1300 is applied to the first device shown in Figure 4, or to the terminal device in the embodiment of the present application shown in Figure 11. The specific functions of the processing unit 1302 in this embodiment are introduced below.

[0413] The processing unit 1302 is configured to: send second information to the second device through the communication unit 1301, where the second information is used to indicate a first moment when the first device generates first data; and send the first data at the second moment through the communication unit 1301.

[0414] Optionally, the processing unit 1302 is specifically configured to: receive third information from the second device through the communication unit 1301, where the third information is used to determine a second moment, where the second moment is determined according to the first moment indicated by the second information.

[0415] Optionally, the processing unit 1302 is specifically configured to: send first auxiliary information to the second device through the communication unit 1301, where the first auxiliary information is used to determine the first moment and / or the second moment.

[0416] Optionally, the first auxiliary information includes at least one of the following: an energy state of the first device, and a sampling overhead of the first device.

[0417] Optionally, the processing unit 1302 is specifically configured to: preferentially multiplex a logical channel corresponding to the first data according to the first information.

[0418] In another embodiment, the communication device 1300 is applied to the second device shown in Figure 3, or to the network device in the embodiment of the present application shown in any one of Figures 7 to 9. The specific functions of the processing unit 1302 in this embodiment are introduced below.

[0419] The processing unit 1302 is configured to: send first information to the first device through the communication unit 1301 , where the first information is used to determine a first time point for generating first data and a second time point for sending the first data; and receive first data from the first device through the communication unit 1301 .

[0420] Optionally, the time interval between the first moment and the first reference moment is the first time interval, the time interval between the second moment and the first reference moment is the second time interval, and the first reference moment is determined according to the first information.

[0421] Optionally, the first reference time is the time when the first information is sent, or the first information includes the first reference time.

[0422] Optionally, the first time interval is included in the first information, or the first time interval is predefined; and / or the second time interval is included in the first information, or the second time interval is predefined.

[0423] Optionally, the first information includes: a first moment and / or a second moment.

[0424] Optionally, the processing unit 1302 is specifically configured to: send fourth information to the first device through the communication unit 1301, where the fourth information is used to indicate the size of the first data.

[0425] Optionally, the first information includes fifth information for determining the first moment and sixth information for determining the second moment.

[0426] Optionally, the fifth information is included in the first message, the sixth information is included in the second message, and there is an association relationship between the first message and the second message.

[0427] Optionally, the first information includes: information used to determine a first time range and / or information used to determine a second time range, the first time range is a time range for generating data, and the second time range is a time range for sending data; the first moment belongs to the first time range, and the second moment belongs to the second time range.

[0428] Optionally, the processing unit 1302 is specifically configured to: receive first auxiliary information from a first device through the communication unit 1301, where the first auxiliary information is used to determine the first moment and / or the second moment.

[0429] Optionally, the first auxiliary information includes at least one of the following: an energy state of the first device, and a sampling overhead of the first device.

[0430] In another embodiment, the communication device 1300 is applied to the second device shown in Figure 4, or to the network device in the embodiment of the present application shown in Figure 11. The specific functions of the processing unit 1302 in this embodiment are introduced below.

[0431] The processing unit 1302 is configured to: receive second information from the first device through the communication unit 1301 , where the second information is used to indicate a first moment when the first device generates first data; and receive first data from the first device through the communication unit 1301 .

[0432] Optionally, the processing unit 1302 is specifically used to: send third information to the first device through the communication unit 1301, the third information is used to determine a second time for sending the first data, and the second time is determined according to the first time indicated by the second information.

[0433] Optionally, the processing unit 1302 is specifically configured to: receive first auxiliary information from a first device through the communication unit 1301, where the first auxiliary information is used to determine the first moment and / or the second moment.

[0434] Optionally, the first auxiliary information includes at least one of the following: an energy state of the first device, and a sampling overhead of the first device.

[0435] It should be noted that the division of modules in the above embodiments of the present application is illustrative and is only a logical functional division. In actual implementation, there may be other division methods. In addition, the functional units in the various embodiments of the present application may be integrated into a processing unit, or may exist separately physically, or two or more units may be integrated into a single unit. The above-mentioned integrated units may be implemented in the form of hardware or in the form of software functional units.

[0436] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0437] Based on the same technical concept, an embodiment of the present application provides a communication device as shown in Figure 14, which can be used to perform the relevant steps in the above method embodiment. The communication device can be applied to the network equipment or terminal equipment in the communication system shown in Figure 1, and can implement the communication method provided in the above embodiments and examples of the present application, and has the functions of the communication device shown in Figure 13. Referring to Figure 14, the communication device 1400 includes: a processor 1402. Optionally, the communication device 1400 also includes: a transceiver 1401 and a memory 1403. Among them, the transceiver 1401, the processor 1402 and the memory 1403 are interconnected.

[0438] Optionally, the transceiver 1401, the processor 1402, and the memory 1403 are interconnected via a bus 1404. The bus 1404 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus may be classified as an address bus, a data bus, a control bus, etc. For ease of illustration, FIG14 shows only one thick line, but this does not mean that there is only one bus or only one type of bus.

[0439] The transceiver 1401 is used to receive and send data to implement communication interaction with other devices. For example, the transceiver 1401 can be implemented through a physical interface, a communication module, a communication interface, and an input / output interface.

[0440] The processor 1402 may be configured to support the communication device 1400 in executing the processing actions in the above-described method embodiment. When the communication device 1400 is configured to implement the above-described method embodiment, the processor 1402 may also be configured to implement the functions of the processing unit 1302. The processor 1402 may be a CPU, other general-purpose processors, DSPs, ASICs, FPGAs, other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. A general-purpose processor may be a microprocessor or any conventional processor.

[0441] In one embodiment, the communication device 1300 is applied to the first device shown in Figure 3, or to the terminal device in the embodiment of the present application shown in any one of Figures 7 to 9. The processor 1402 is specifically configured to: receive, via the transceiver 1401, first information from the second device, the first information being used to determine a first time to generate first data and a second time to send the first data; and send, via the transceiver 1401, the first data at the second time.

[0442] In another embodiment, the communication device 1300 is applied to the first device shown in Figure 4, or to the terminal device in the embodiment of the present application shown in Figure 11. The processor 1402 is specifically configured to: send second information to the second device through the transceiver 1401, where the second information is used to indicate a first time when the first device generates first data; and send the first data through the transceiver 1401 at the second time.

[0443] In another embodiment, the communication device 1300 is applied to the second device shown in Figure 3, or to the network device in the embodiments of the present application shown in any one of Figures 7 to 9. The processor 1402 is specifically configured to: send first information to the first device via the transceiver 1401, where the first information is used to determine a first time to generate the first data and a second time to send the first data; and receive the first data from the first device via the transceiver 1401.

[0444] In yet another embodiment, the communication device 1300 is applied to the second device shown in FIG4 , or to the network device in the embodiment of the present application shown in FIG11 . The processor 1402 is specifically configured to: receive, via the transceiver 1401 , second information from the first device, where the second information indicates a first moment at which the first device generates first data; and receive, via the transceiver 1401 , the first data from the first device.

[0445] The specific functions of the processor 1402 can refer to the description of the communication method provided in the above embodiments and examples of the present application, as well as the specific functional description of the communication device 1300 in the embodiment of the present application shown in Figure 13, which will not be repeated here.

[0446] The memory 1403 is used to store program instructions and data. Specifically, the program instructions may include program code, which includes computer operating instructions. The memory 1403 may include RAM, and may also include non-volatile memory (non-volatile memory), such as at least one disk storage. The processor 1402 executes the program instructions stored in the memory 1403 and uses the data stored in the memory 1403 to implement the above functions, thereby realizing the communication method provided in the above embodiment of the present application.

[0447] It is understood that the memory 1403 in FIG. 14 of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be ROM, programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or flash memory. The volatile memory may be RAM, which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0448] Based on the above embodiments, an embodiment of the present application further provides a computer program, which, when executed on a computer, enables the computer to execute the method provided in the above embodiments.

[0449] Based on the above embodiments, an embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a computer, the computer executes the method provided in the above embodiments.

[0450] The storage medium may be any available medium that can be accessed by a computer. By way of example and not limitation, computer-readable media may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer.

[0451] Based on the above embodiments, an embodiment of the present application further provides a chip, which is used to read a computer program stored in a memory to implement the method provided in the above embodiments.

[0452] Based on the above embodiments, embodiments of the present application provide a chip system, which includes a processor for supporting a computer device to implement the functions involved in each device in the above embodiments. In one possible design, the chip system also includes a memory for storing the necessary programs and data for the computer device. The chip system can be composed of a chip or can include a chip and other discrete devices.

[0453] In summary, embodiments of the present application provide a communication method and apparatus. In this method, a second device transmits first information to a first device, where the first information is used to determine a first time at which first data is generated and a second time at which the first data is transmitted. The first device can then transmit the first data generated at the first time at the second time. Through this method, the second device indicates to the first device the time at which data is generated and transmitted, thereby controlling the time over which the data passes, thereby improving the real-time nature of data transmission.

[0454] In the various embodiments of the present application, unless otherwise specified or there is a logical conflict, the terms and / or descriptions between different embodiments are consistent and can be referenced by each other. The technical features in different embodiments can be combined to form new embodiments according to their inherent logical relationships.

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

[0456] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each flow and / or box in the flow chart and / or block diagram, as well as the combination of the flow chart and / or box in the flow chart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one or more flow charts and / or one or more boxes in the block diagram.

[0457] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0458] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0459] Obviously, those skilled in the art may make various changes and modifications to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include these modifications and variations.

Claims

1. A communication method, characterized in that: include: The first device receives first information from the second device, where the first information is used to determine a first time point for generating first data and a second time point for sending the first data; At the second moment, the first data is sent.

2. The method according to claim 1, wherein The time interval between the first moment and the first reference moment is a first time interval, the time interval between the second moment and the first reference moment is a second time interval, and the first reference moment is determined according to the first information.

3. The method according to claim 2, wherein The first reference time is the time at which the first information is received, or the first information includes the first reference time.

4. The method according to claim 2 or 3, wherein: The first time interval is included in the first information, or the first time interval is predefined; and / or The second time interval is included in the first information, or the second time interval is predefined.

5. The method according to claim 1, wherein The first information includes: the first time and / or the second time.

6. The method according to any one of claims 1 to 5, wherein: Also includes: Fourth information is received from the second device, where the fourth information is used to indicate a size of the first data.

7. The method according to claim 1, wherein The first information includes fifth information for determining the first moment and sixth information for determining the second moment, the fifth information is included in the first message, the sixth information is included in the second message, and there is an association relationship between the first message and the second message.

8. The method according to claim 1, wherein The first information includes: information for determining a first time range and / or information for determining a second time range, the first time range being a time range for generating data, and the second time range being a time range for sending data; The first moment belongs to the first time range, and the second moment belongs to the second time range.

9. A communication method, characterized in that: include: The first device sends second information to the second device, where the second information is used to indicate a first time when the first device generates first data; At a second moment, the first data is sent.

10. The method according to claim 9, wherein Also includes: Receive third information from the second device, where the third information is used to determine the second moment, where the second moment is determined based on the first moment indicated by the second information.

11. The method according to any one of claims 1 to 10, wherein: The method further comprises: First auxiliary information is sent to the second device, where the first auxiliary information is used to determine the first time and / or the second time.

12. The method according to claim 11, wherein The first auxiliary information includes at least one of the following: an energy state of the first device, a sampling overhead of the first device, and a capacity of computing resources of the first device.

13. The method according to any one of claims 1 to 12, wherein: The sending of the first data includes: Based on the first information, the logical channel corresponding to the first data is preferentially multiplexed.

14. A communication method, characterized in that: include: The second device sends first information to the first device, where the first information is used to determine a first time point for generating first data and a second time point for sending the first data; The first data is received from the first device.

15. The method according to claim 14, wherein The time interval between the first moment and the first reference moment is a first time interval, the time interval between the second moment and the first reference moment is a second time interval, and the first reference moment is determined according to the first information.

16. The method according to claim 15, wherein The first reference time is the time at which the first information is sent, or the first information includes the first reference time.

17. The method according to claim 15 or 16, wherein: The first time interval is included in the first information, or the first time interval is predefined; and / or The second time interval is included in the first information, or the second time interval is predefined.

18. The method according to claim 14, wherein The first information includes: the first time and / or the second time.

19. The method according to any one of claims 14 to 18, wherein: Also includes: Fourth information is sent to the first device, where the fourth information is used to indicate a size of the first data.

20. The method of claim 14, wherein: The first information includes fifth information for determining the first moment and sixth information for determining the second moment, the fifth information is included in the first message, the sixth information is included in the second message, and there is an association relationship between the first message and the second message.

21. The method of claim 14, wherein: The first information includes: information for determining a first time range and / or information for determining a second time range, the first time range being a time range for generating data, and the second time range being a time range for sending data; The first moment belongs to the first time range, and the second moment belongs to the second time range.

22. A communication method, characterized in that: include: The second device receives second information from the first device, where the second information is used to indicate a first time when the first device generates first data; The first data is received from the first device.

23. The method according to claim 22, wherein Also includes: Send third information to the first device, where the third information is used to determine a second time for sending the first data, where the second time is determined according to the first time indicated by the second information.

24. The method according to any one of claims 14 to 23, wherein: The method further comprises: First auxiliary information is received from the first device, where the first auxiliary information is used to determine the first time and / or the second time.

25. The method of claim 24, wherein: The first auxiliary information includes at least one of the following: an energy state of the first device, a sampling overhead of the first device, and a capacity of computing resources of the first device.

26. A communication device, characterized in that: include: a communication unit for receiving and sending data; A processing unit, configured to execute the method according to any one of claims 1 to 13 through the communication unit.

27. A communication device, characterized in that: include: a communication unit for receiving and sending data; A processing unit, configured to execute the method according to any one of claims 14 to 25 through the communication unit.

28. A communication device, characterized in that: include: A processor is coupled to a memory storing instructions, wherein when the instructions are executed by the processor, the instructions cause the communication device to perform the method according to any one of claims 1 to 13.

29. A communication device, characterized in that: include: A processor coupled to a memory storing instructions, wherein when the instructions are executed by the processor, the instructions cause the communication device to perform the method according to any one of claims 14 to 25.

30. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is run on a computer, the computer is caused to execute the method according to any one of claims 1 to 25.

31. A computer program product comprising instructions, characterized in that When the method is run on a computer, the method according to any one of claims 1 to 25 is executed.

32. A chip, characterized in that: The chip is coupled to a memory, and the chip reads a computer program stored in the memory to execute the method according to any one of claims 1 to 25.

33. A communication system, characterized in that: Includes the communication device according to claim 26 and the communication device according to claim 27.