The present invention relates to the field of communication technologies, and in particular, to a method for determining a channel reception occasion and a communication apparatus.
In a 5th generation mobile communication system (the 5th generation, 5G), for physical downlink shared channel (physical downlink shared channel, PDSCH) and semi-persistent (SPS) PDSCH releases, a terminal device needs to feed back hybrid automatic repeat request-acknowledgement (hybrid automatic repeat request acknowledgement, HARQ-ACK) information, to notify a network device (for example, an access network device) whether the corresponding PDSCH and SPS PDSCH releases are correctly received and parsed out. The HARQ-ACK information includes an acknowledgement (acknowledgement, ACK) and a negative acknowledgement (negative acknowledgement, NACK). When receiving ACK information sent by the terminal device, the network device determines that receiving and parsing performed by the terminal device are correct. When receiving NACK information sent by the terminal device, the network device determines that parsing performed by the terminal device is incorrect or a CRC check fails, and the network device resends the PDSCH or SPS PDSCH release.
To improve utilization efficiency of uplink resources, HARQ-ACK information for a plurality of PDSCH and SPS PDSCH releases may be fed back on a same uplink resource, and form an HARQ-ACK codebook (codebook). NR supports a semi-static (semi-static) HARQ-ACK codebook. The semi-static HARQ-ACK codebook is simply understood as an HARQ-ACK codebook with a fixed quantity of bits. For the semi-static HARQ-ACK codebook, in each reception occasion of a PDSCH or SPS PDSCH release, regardless of whether the terminal device receives the PDSCH or SPS PDSCH release in the reception occasion, the terminal device needs to feed back the HARQ-ACK information. If the terminal device receives the PDSCH or SPS PDSCH release in a reception occasion of the PSDCH or SPS PDSCH release, the terminal device feeds back the ACK information; otherwise, the terminal device does not receive the PSDCH or SPS PDSCH release and feeds back the NACK information.
In a vehicle to everything (vehicle to everything, V2X) system, communication between vehicles may be performed on a sidelink (sidelink, SL), and the network device may control communication of the terminal device on the sidelink by using a downlink. In mode 1 (model), resources on the sidelink are allocated by the network device. A sending terminal device (sending UE) may send a scheduling request to the network device, to request the resources on the sidelink. In addition, a similar HARQ feedback mechanism is used for communication between terminal devices by using a sidelink, to determine whether a physical sidelink shared channel (physical sidelink shared channel, PSSCH) is successfully sent. If a receiving terminal device (receiving UE) does not receive data or a CRC check on data fails, the receiving UE feeds back the NACK information; otherwise, the receiving UE sends the ACK information. The HARQ-ACK information of the sidelink is sent through a physical sidelink feedback channel (physical side link feedback channel, PSFCH). If the sending terminal device works in mode 1, after receiving the PSFCH in a PSFCH reception occasion, the sending terminal device generates an HARQ-ACK codebook based on content in the PSFCH, and feeds back the HARQ-ACK codebook to the network device. After receiving the HARQ-ACK codebook, the network device learns whether the sending terminal device needs to perform retransmission. However, how the sending terminal device accurately determines the PSFCH reception occasion is an urgent problem to be resolved currently.
This application provides a method for determining a channel reception occasion and a communication apparatus, to help accurately determine a PSFCH reception occasion.
According to a first aspect, this application provides a method for determining a channel reception occasion. The method includes: determining a first time domain resource offset value set, where the first time domain resource offset value set includes one or more time domain resource offset values between a physical sidelink feedback channel PSFCH and a physical uplink control channel PUCCH; and determining a. PSFCH reception occasion based on the first time domain resource offset value set and a feedback period of the PSFCH. Based on the method described in the first aspect, the PSFCH reception occasion can be accurately determined based on the feedback period of the PSFCH.
In a possible implementation, a specific implementation of determining the PSFCH reception occasion based on the first time domain resource offset value set and the feedback period of the PSFCH is: determining a second time domain resource offset value set in the first time domain resource offset value set, where a carrier time domain resource corresponding to a time domain resource offset value in the second time domain resource offset value set is used for sidelink transmission; and determining the PSFCH reception occasion based on the second time domain resource offset value set and the feedback period of the PSFCH. The carrier time domain resource is a time domain resource on a carrier, and the carrier time domain resource may be used for communication between a network device and a terminal device, or may be used for communication between terminal devices. A sidelink and a Uu link may share one carrier. Based on this possible implementation, the first time domain resource offset value set can be filtered, to obtain the second time domain resource offset value set corresponding to sidelink transmission, Based on the second time domain resource offset value set and the feedback period of the PSFCH, the PSFCH reception occasion can be more accurately determined.
In a possible implementation, a specific implementation of determining the PSFCH reception occasion based on the second time domain resource offset value set and the feedback period of the PSFCH is: determining the PSFCH reception occasion based on an index of the carrier time domain resource corresponding to the time domain resource offset value in the second time domain resource offset value set, the feedback period of the PSFCH, and a time domain resource index offset value, where the time domain resource index offset value is an offset value between an index of a resource pool time domain resource for sidelink transmission and the index of the carrier time domain resource. A resource pool is a resource set that is configured by the network device or preconfigured in a protocol and that is used for sidelink transmission, and the resource pool time domain resource is a resource that is in the resource pool and that is used for sidelink transmission between terminals. Based on this possible implementation, the PSFCH reception occasion that meets the feedback period of the PSFCH can be accurately determined.
In a possible implementation, a specific implementation of determining the PSFCH reception occasion based on the index of the carrier time domain resource corresponding to the time domain resource offset value in the second time domain resource offset value set, the feedback period of the PSFCH, and the time domain resource index offset value is:
if an index of a first carrier time domain resource satisfies mod((LphsyicalSL−Ophy-to-log),N)=0 determining that the first carrier time domain resource is a time domain resource in the PSFCH reception occasion, where the first carrier time domain resource is a carrier time domain resource corresponding to any time domain resource offset value in the second time domain resource offset value set, LphysicalSL is the index of the first carrier time domain resource, Ophy-to-log is the time domain resource index offset value, and N is the feedback period of the PSFCH.
Based on this possible implementation, the PSFCH reception occasion that meets the feedback period of the PSFCH can be accurately determined.
In a possible implementation, a hybrid automatic repeat request-acknowledgement HARQ-ACK codebook may be further generated based on the PSFCH reception occasion, where a size of the HARQ-ACK codebook is related to one or more of the following parameters: a quantity of PSFCH reception occasions and a quantity of bits of hybrid automatic repeat request-acknowledgement HARQ-ACK information that needs to be fed back in each PSFCH reception occasion. The HARQ-ACK information of each PSSCH can be successfully fed back by using the HARQ-ACK codebook generated based on this possible implementation.
In a possible implementation, the quantity of bits of the HARQ-ACK information that needs to be fed back in each PSFCH reception occasion is related to one or more of the following parameters: a quantity of subchannels in a resource pool for sidelink transmission, the feedback period of the PSFCH, and a quantity of bits of HARQ-ACK information that needs to be fed back through each physical sidelink shared channel PSSCH, In this possible implementation, the quantity of bits of the HARQ-ACK information that needs to be fed back in each PSFCH reception occasion is determined, so that the HARQ-ACK information of each PSSCH can be successfully fed back by using the HARQ-ACK codebook.
In a possible implementation GSLHARQPSFCH=Msubchannel·N·GSLHARQPSSCH, GSLHARQPSFCH is the quantity of bits of the HARQ-ACK information that needs to be fed back in each PSFCH reception occasion, Msubchannel is the quantity of subchannels in the resource pool for sidelink transmission, N is the feedback period of the PSFCH, and GSLHARQPSSCH is the quantity of bits of the HARQ-ACK information that needs to be fed back through each PSSCH. In this possible implementation, the quantity of bits of the HARQ-ACK information that needs to be fed back in each PSFCH reception occasion is determined, so that the HARQ-ACK information of each PSSCH can be successfully fed back by using the HARQ-ACK codebook.
In a possible implementation, a hybrid automatic repeat request-acknowledgement HARQ-ACK codebook is generated based on the PSFCH reception occasion, where a size of the HARQ-ACK codebook is related to one or more of the following parameters: a total quantity of HARQ processes supported by a terminal device and a quantity of bits of HARQ-ACK information generated in each HARQ process. Based on this possible implementation, a codebook size is reduced.
In a possible implementation, GSLHARQTotal=P·gHARQ-ACLprocess, GSLHARQTotal is the size of the HARQ-ACK codebook, P is the total quantity of HARQ processes supported by the terminal device, and gHARQ-ACKprocess is the quantity of bits of the HARQ-ACK information generated in each HARQ process. The size of the HARQ-ACK codebook generated based on this possible implementation is relatively small.
In a possible implementation, the HARQ-ACK codebook includes hybrid automatic repeat request-acknowledgement HARQ-ACK information of a first preconfigured physical sidelink shared channel CG PSSCH, and the first CG PSSCH is a CG PSSCH with a highest priority that is in a plurality of CG PSSCHs and through which the HARQ-ACK information needs to be fed back to a network device, the first CG PSSCH is a CG PSSCH with a shortest period that is in a plurality of CG PSSCHs and through which the HARQ-ACK information needs to be fed back to a network device, the first CG PSSCH is a CG PSSCH in a plurality of CG PSSCHs that is last transmitted and through which the HARQ-ACK information needs to be fed back to a network device, or the first CG PSSCH is a CG PSSCH with a smallest HARQ process identifier that is in a plurality of CG PSSCHs and through which the HARQ-ACK information needs to be fed back to a network device. Based on this possible implementation, because the codebook size is limited, when there are a plurality of CG PSSCHs through which the HARQ-ACK information needs to be fed back to the network device, an optimal CO PSSCH can be selected to feed back the HARQ-ACK information.
In a possible implementation, a specific implementation of determining the first time domain resource offset value set is: determining the first time domain resource offset value set based on a configured uplink-downlink configuration or based on a downlink control information DCI format configured to be monitored. Based on this possible implementation, the first time domain resource offset value set can be flexibly determined.
In a possible implementation, specifically, the HARQ-ACK codebook may be generated based on PSFCH reception occasions first in time domain and then in frequency domain. Optionally, a specific implementation of generating the HARQ-ACK codebook based on the PSFCH reception occasions first in time domain and then in frequency domain is: determining HARQ-ACK information bits corresponding to various PSFCH reception occasions, arranging the HARQ-ACK information bits in the various PSFCH reception occasions in ascending order of indexes of start subchannels, and then arranging the HARQ-ACK information bits in the various PSFCH reception occasions in a front-to-back order of the PSFCH reception occasions, to obtain the HARQ-ACK codebook.
In a possible implementation, a specific implementation of generating the HARQ-ACK codebook based on the PSFCH reception occasions is: arranging, in ascending order of HARQ process identifiers, bits that are in the HARQ-ACK codebook and that indicate the HARQ-ACK information.
According to a second aspect, a communication apparatus is provided. The apparatus may be a terminal device, may be an apparatus in a terminal device, or may be an apparatus that can be used in cooperation with a terminal device. The communication apparatus may alternatively be a chip system. The communication apparatus may perform the method according to the first aspect. Functions of the communication apparatus may be implemented by hardware, or may be implemented by hardware by executing corresponding software. The hardware or the software includes one or more units corresponding to the foregoing functions. The unit may be software and/or hardware. For operations performed by the communication apparatus and beneficial effects, refer to the method in the first aspect and the beneficial effects. Repeated descriptions are not provided.
According to a third aspect, an embodiment of this application provides a communication apparatus. The communication apparatus includes a processor, and when the processor invokes a computer program in a memory, the method according to the first aspect is performed.
According to a fourth aspect, an embodiment of this application provides a communication apparatus. The communication apparatus includes a processor and a memory. The memory is configured to store computer-executable instructions. The processor is configured to execute the computer-executable instructions stored in the memory, to enable the communication apparatus to perform the method according to the first aspect.
According to a fifth aspect, an embodiment of this application provides a communication apparatus. The communication apparatus includes a processor, a memory, and a transceiver. The transceiver is configured to receive a signal or send a signal. The memory is configured to store program code. The processor is configured to invoke the program code from the memory to perform the method according to the first aspect.
According to a sixth aspect, an embodiment of this application provides a communication apparatus. The communication apparatus includes a processor and an interface circuit. The interface circuit is configured to receive code instructions and transmit the code instructions to the processor. The processor runs the code instructions to perform the method according to the first aspect.
According to a seventh aspect, an embodiment of this application provides a computer-readable storage medium. The computer-readable storage medium is configured to store instructions, and when the instructions are executed, the method according to the first aspect is implemented.
According to an eighth aspect, an embodiment of this application provides a computer program product including instructions. When the instructions are executed, the method according to the first aspect is implemented.
FIG. f is a schematic diagram of a communication system according to an embodiment of this application;
The following further describes specific embodiments of this application in detail with reference to the accompanying drawings.
To make the objectives, technical solutions, and advantages of this application clearer, the following further describes this application in detail with reference to the accompanying drawings.
In the specification, claims, and accompanying drawings of this application, the terms “first”, “second”, and the like are intended to distinguish between different objects but do not indicate a particular order. In addition, the terms “including”, “having”, or any other variant thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally further includes an unlisted step or unit, or optionally further includes another inherent step or unit of the process, method, product, or device.
Mentioning an “embodiment” in the specification means that a particular characteristic, structure, or feature described with reference to the embodiment may be included in at least one embodiment of this application. The phrase shown in various positions in the specification may not necessarily refer to a same embodiment, and is not an independent or alternative embodiment exclusive with another embodiment. It is explicitly and implicitly understood by a person skilled in the art that an embodiment described in the specification may be combined with another embodiment.
In this application. “at least one (item)” means one or more, “a plurality of” means two or more, “at least two (item)” means two or three and more, and “and/or” is used to describe a correspondence between corresponding objects, represents that three relationships may exist. For example, “A and/or B” may represent the following three cases: Only A exists, only B exists, and both A and B exist. A and B may be singular or plural. The character “/” generally indicates an “or” relationship between the corresponding objects. “At least one of the following items (pieces)” or a similar expression indicates any combination of these items, including a single item (piece) or any combination of a plurality of items (pieces). For example, at least one of a, b, or c may indicate a, b, c, “a and b”, “a and c”, “b and c”, or “a, b, and c”, where a, b, and c may be singular or plural.
To better understand the embodiments of this application, the following first describes a system architecture in the embodiments of this application.
The method provided in the embodiments of this application may be applied to various communication systems, for example, an internet of things (internet of things, IoT) system, a narrowband internet of things (narrow band internet of things, NB-IoT) system, a long term evolution (long term evolution, LTE) system, or a 5th generation (5th-generation, 5G) communication system, or may be a hybrid architecture of LTE and 5G, a 5G new radio (new radio, NR) system, a new communication system emerging in future communication development, or the like.
The network device in the embodiments of this application is an entity configured to transmit or receive a signal on a network side, and may be configured to perform conversion between a received over-the-air frame and a network protocol (internet protocol, IP) packet and serve as a router between a terminal device and a remaining part of an access network. The remaining part of the access network may include an IP network or the like. The network device may further coordinate attribute management of an air interface. For example, the network device may be an evolved NodeB (evolutional Node B, eNB or e-NodeB) in LTE, a new radio controller (new radio controller, NR controller), a gNodeB (gNB) in a 5G system, a centralized network element (centralized unit), a new radio base station, a radio remote module, a micro base station, a relay (relay), a distributed unit (distributed unit), a transmission reception point (transmission reception point, TRP), a transmission point (transmission point, TP), or any other radio access device. However, the embodiments of this application are not limited thereto.
The terminal device in the embodiments of this application is an entity that is on a user side and that is configured to receive or transmit a signal. The terminal device may be a device that provides a user with voice and/or data connectivity, for example, a handheld device or a vehicle-mounted device having a wireless connection function. The terminal device may alternatively be another processing device connected to a wireless modem. The terminal device may communicate with a radio access network (radio access network, RAN). The terminal device may also be referred to as a wireless terminal, a subscriber unit (subscriber unit), a subscriber station (subscriber station), a mobile station (mobile station), a mobile (mobile), a remote station (remote station), an access point (access point), a remote terminal (remote terminal), an access terminal (access terminal), a user terminal (user terminal), a user agent (user agent), a user device (user device), user equipment (user equipment, LIE), or the like, me terminal device may be a mobile terminal, for example, a mobile phone (or referred to as a “cellular” phone), and a computer that has a mobile terminal. For example, the terminal device may be a portable, pocket-size, handheld, computer built-in, or vehicle-mounted mobile apparatus, which exchanges voice and/or data with the radio access network. For example, the terminal device may alternatively be a device such as a personal communication service (personal communication service, PCS) phone, a cordless telephone set, a session initiation protocol (session initiation protocol, SIP) phone, a wireless local loop (wireless local loop, WLL) station, or a personal digital assistant (personal digital assistant, PDA). Common terminal devices include, for example, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a mobile internet device (mobile internet device, MID), a vehicle, a roadside device, an aircraft, and a wearable device such as a smartwatch, a smart band, and a pedometer. However, the embodiments of this application are not limited thereto. The following describes in detail communication methods and the related devices that are provided in this application.
The first terminal device and the second terminal device may communicate with each other by using a sidelink (sidelink, SL). The first terminal device may be a transmit end of sidelink transmission, and the second terminal device may be a receive end of sidelink transmission. The first terminal device may send a physical sidelink shared channel (physical sidelink shared channel, PSSCH) to the second terminal device by using a sidelink, where. After receiving each PSSCH, the second terminal device feeds hack one PSFCH to the first terminal device. The PSFCH carries HARQ-ACK information, used to indicate whether the terminal device correctly parses the PSSCH or whether a CRC check on the PSSCH succeeds.
Generally, sidelink resources can be allocated in the following modes:
Mode 1 (Mode 1): The network device schedules a sidelink resource to the terminal device for sidelink transmission.
Mode 2 (Mode 2): The terminal device determines, in a resource pool, a resource for link transmission performed by the terminal device.
In the mode 1, the sidelink resources are all allocated by the network device. Therefore, after receiving a PSFCH in a PSFCH reception occasion, the first terminal device needs to feed hack, to the network device, an HARQ-ACK codebook generated based on content in the PSFCH. The PSFCH reception occasion includes a time domain resource and a frequency domain resource for detecting the PSFCH by the first terminal device. After receiving the HARQ-ACK codebook, the network device learns whether to reallocate a sidelink resource to the first terminal device. However, how the first terminal device determines the PSFCH reception occasion is an urgent problem to be resolved currently.
The embodiments of this application provide a method for determining a channel reception occasion and a communication apparatus, to help accurately determine the PSFCH reception occasion. The following further describes in detail the method for determining a channel reception occasion provided in the embodiments of this application.
201: The first terminal device determines a first time domain resource offset value set, where the first time domain resource offset value set includes one or more time domain resource offset values between a physical sidelink feedback channel PSFCH and a physical uplink control channel PUCCH.
In this embodiment of this application, the time domain resource offset value included in the first time domain resource offset value set is a carrier time domain resource offset value between the PSFCH and the PUCCH. A carrier time domain resource is a time domain resource on a carrier, and the carrier time domain resource may also be referred to as a physical time domain resource in a system frame. The carrier time domain resource may be used for communication between a network device and a terminal device, or may be used for communication between terminal devices. The carrier time domain resource offset value may be a carrier slot offset value, a carrier symbol offset value, or the like.
For example, if the first time domain resource offset value set is {1, 2, 3, 4, 5, 6, 7, 8}, it indicates that there are eight carrier time domain resource offset values between the PSFCH and the PUCCH. Assuming that the carrier time domain resource offset value in the first time domain resource offset value set is a carrier slot offset value, and a carrier slot of the PUCCH is a slot n, a carrier slot set (that is, a carrier slot set of the PSFCH) corresponding to the first time domain resource offset value set is {n−8, n−7, n−6, n−5, n−4, n−3, n−2, n−1}.
In a possible implementation, a specific implementation of determining, by the first terminal device, the first time domain resource offset value set is: determining the first time domain resource offset value set based on a configured uplink-downlink configuration or based on a downlink control information (downlink control information, DCI) format configured to be monitored. The uplink-downlink configuration is an uplink-downlink time domain resource configuration of a Uu link (that is, a communication link between the terminal device and the network device). The uplink-downlink configuration may also be referred to as a time division duplex (time division duplexing, TDD) uplink-downlink configuration.
In this possible implementation, the network device may configure a group of time domain resource offset value sets between the PSSCH and the PUCCH for the first terminal device, or may predefine, in a protocol, a group of time domain resource offset value sets between the PSFCH and the PUCCH on the first terminal device. When configuring the time domain resource offset value set between the PSFCH and the PUCCH, the network device may perform configuration by using radio resource control (radio resource control, RRC) signaling. The first terminal device may specifically determine, based on the configured uplink-downlink configuration or the DCI format configured to be monitored, the first time domain resource offset value set in the group of time domain resource offset value sets that are between the PSSCH and the PUCCH and that are configured by the network device. Alternatively, the first terminal device may specifically determine, based on the configured uplink-downlink configuration or the DCI format configured to be monitored, the first time domain resource offset value set in the group of time domain resource offset value sets that are between the PSFCH and the PUCCH and that are predefined in the protocol.
For example, the network device configures a group of time domain resource offset value sets between the PSFCH and the PUCCH for the first terminal device. The group of time domain resource offset value sets include time domain resource offset value sets 1 to 5. The first terminal device stores a correspondence between the time domain resource offset value sets 1 to 5 and the TDD uplink-downlink configuration. The correspondence is shown in Table 1 below. If a carrier used by the first terminal device to send a PSSCH to a second terminal device is used exclusively for sidelink transmission, the first terminal device determines the first time domain resource offset value set as the time domain resource offset value set 1. If a TDD uplink-downlink configuration of a carrier used by the first terminal device to send a PSSCH to a second terminal device is 4_1_DDDFUDDDFU, the first terminal device determines the first time domain resource offset value set as the time domain resource offset value set 2. If a TDD uplink-downlink configuration of a carrier used by the first terminal device to send a PSSCH to a second terminal device is 7_3_DDDFUDDFUU, the first terminal device determines the first time domain resource offset value set as the time domain resource offset value set 3. If a TDD uplink-downlink configuration of a carrier used by the first terminal device to send a PSSCH to a second terminal device is 8_2_DDDDDDDFUU, the first terminal device determines the first time domain resource offset value set as the time domain resource offset value set 4. If a TDD uplink-downlink configuration of a carrier used by the first terminal device to send a PSSCH to a second terminal device is 8_2_DDDFUUDDDD, the first terminal device determines the first time domain resource offset value set as the time domain resource offset value set 5. D represents a downlink slot, U represents an uplink slot, and F represents a flexible slot.
For another example, the network device configures, for the first terminal device, a group of time domain resource offset value sets between the PSFCH and the PUCCH. The group of time domain resource offset value sets include a time domain resource offset value set 1 {1, 2, 8} and a time domain resource offset value set 2 {1, 2, . . . 32}. The first terminal device prestores a correspondence between the time domain resource offset value set and the DCI format configured to be monitored. For example, the time domain resource offset value set 1 corresponds to a DCI format 3-0, and the time domain resource offset value set 2 corresponds to a DCI format 34. If the first terminal device is configured to monitor the DCI format 3-0, the first terminal device determines the first time domain resource offset value set as the time domain resource offset value set 1. If the first terminal device is configured to monitor the DCI format 3-1, the first terminal device determines the first time domain resource offset value set as the time domain resource offset value set 2.
In a possible implementation, the first time domain resource offset value set may alternatively be any time domain resource offset value set in the group of time domain resource offset value sets that are between the PSFCH and the PUCCH and that are configured by the network device for the terminal device. Alternatively, the first time domain resource offset value set may be any time domain resource offset value set in the group of time domain resource offset value sets that are between the PSFCH and the PUCCH and that are predefined in the protocol.
In a possible implementation, the network device may alternatively configure a time domain resource offset value set between the PSFCH and the PUCCH for the first terminal device. In this case, the first time domain resource offset value set is the time domain resource offset value set that is between the PSFCH and the PUCCH and that is configured by the network device for the first terminal device.
In a possible implementation, a time domain resource offset value set between the PSFCH and the PUCCH may be predefined in a protocol. In this case, the first time domain resource offset value set is the time domain resource offset value set that is between the PSFCH and the PUCCH and that is predefined in the protocol.
202: The first terminal device determines a PSFCH reception occasion based on the first time domain resource offset value set and a feedback period of the PSFCH.
In this embodiment of this application, after determining the first time domain resource offset value set, the first terminal device determines the PSFCH reception occasion based on the first time domain resource offset value set and the feedback period of the PSFCH. The PSFCH reception occasion includes a time domain resource and a frequency domain resource. The time domain resource in the PSFCH reception occasion is a time domain resource for detecting the PSFCH, and the frequency domain resource in the PSFCH reception occasion is a frequency domain resource for detecting the PSFCH. Specifically, the first terminal device determines the time domain resource in the PSFCH reception occasion based on the first time domain resource offset value set and the feedback period of the PSFCH. The first terminal device may obtain the frequency domain resource in the PSFCH reception occasion in another manner. For example, the frequency domain resource in the PSFCH reception occasion is pre-specified in a protocol, or is preconfigured by the network device. There may be one or more PSFCH reception occasions determined by the first terminal device based on the first time domain resource offset value set and the feedback period of the PSFCH.
Throughout this embodiment of this application, a set formed by differences between a carrier time domain resource of the PUCCH and time domain resource offset values in the first time domain resource offset value set is defined as a carrier time domain resource set corresponding to the first time domain resource offset value set. For example, if the first time domain resource offset value set is {1, 2, 3, 4, 5, 6, 7, 8}, and the time domain resource of the PUCCH is a slot n, the carrier time domain resource set corresponding to the first time domain resource offset value set is {n−8, n−7, n−6, n−5, n−4, n−3, n−2, n−1}. Some carrier time domain resources in the carrier time domain resource set corresponding to the first time domain resource offset value set may not be the time domain resource in the PSFCH reception occasion. After the first terminal device determines the first time domain resource offset value set, if the first terminal device directly determines the carrier time domain resource set corresponding to the first time domain resource offset value set as the time domain resource in the PSFCH reception occasion, the determined time domain resource in the PSFCH reception occasion may be inaccurate. Therefore, in the method described in
The following describes in detail a specific implementation of determining the PSFCH reception occasion based on the first time domain resource offset value set and the feedback period of the PSFCH.
In a possible implementation, a specific implementation of determining, by the first terminal device, the PSFCH reception occasion based on the first time domain resource offset value set and the feedback period of the PSFCH is: determining a second time domain resource offset value set in the first time domain resource offset value set, where a carrier time domain resource corresponding to a time domain resource offset value in the second time domain resource offset value set is used for sidelink transmission; and determining the PSFCH reception occasion based on the second time domain resource offset value set and the feedback period of the PSFCH. The carrier time domain resource corresponding to the time domain resource offset value is a difference between the time domain resource of the PUCCH and the time domain resource offset value. The carrier time domain resource may also be referred to as a physical time domain resource, and is a time domain resource in a system frame. For example, if the time domain resource offset value is 1, and the time domain resource of the PUCCH is a slot n, the carrier time domain resource corresponding to the time domain resource offset value is a slot n−1.
In this possible implementation, the first terminal device may remove some time domain resource offset values from the first time domain resource offset value set, to obtain the second time domain resource offset value set. For example, one or more types of the following time domain resource offset values may be removed from the first time domain resource offset value set: 1. A carrier time domain resource corresponding to the time domain resource offset value is a downlink time domain resource. 2. A carrier time domain resource corresponding to the time domain resource offset value is an uplink slot that is not configured for sidelink transmission. 3. A carrier time domain resource corresponding to the time domain resource offset value is a flexible slot that does not include a symbol used for sidelink transmission.
For example, if the first time domain resource offset value set is {1, 2, 3, 4, 5, 6, 7, 8}, and the carrier time domain resource of the PUCCH is a slot n, the carrier time domain resource set corresponding to the first time domain resource offset value se is {n−8, n−7, n−6, n−5, n−4, n−3, n−2, n−1}. If the slot n−5 is a downlink time domain resource, the slot n−6 is an uplink slot that is not configured for sidelink transmission, and the slot n−7 and the slot n−8 are flexible slots that do not include a symbol used for sidelink transmission, time-frequency resource offset values {5, 6, 7, 8} are removed from the first time domain resource offset value set, and the obtained second time domain resource offset value set is {1, 2, 3, 4}.
Based on this optional implementation, the first time domain resource offset value set may be filtered to obtain the second time domain resource offset value set, and the PSFCH reception occasion may be more accurately determined based on the second time domain resource offset value set and the feedback period of the PSFCH.
In a possible implementation, a specific implementation of determining, by the first terminal device, the PSFCH reception occasion based on the second time domain resource offset value set and the feedback period of the PSFCH is: determining the PSFCH reception occasion based on an index of the carrier time domain resource corresponding to the time domain resource offset value in the second time domain resource offset value set, the feedback period of the PSFCH, and a time domain resource index offset value, where the time domain resource index offset value is an offset value between an index of a resource pool time domain resource for sidelink transmission and the index of the carrier time domain resource. The resource pool time domain resource for sidelink transmission may be a logical resource. A resource pool is a resource set that is configured by the network device or preconfigured in a protocol and that is used for sidelink transmission, and the resource pool time domain resource is a resource that is in the resource pool and that is used for sidelink transmission between terminals. For example, both the carrier time domain resource and the resource pool time domain resource are slots. As shown in
In a possible implementation, a specific implementation of determining, by the first terminal device, the PSFCH reception occasion based on the index of the carrier time domain resource corresponding to the time domain resource offset value in the second time domain resource offset value set, the feedback period of the PSFCH, and the time domain resource index offset value is: if an index of a first carrier time domain resource satisfies mod(LphysicalSL−Ophy-to-log),N)=0, determining that the first carrier time domain resource is a time domain resource in the PSFCH reception occasion, where the first carrier time domain resource is a carrier time domain resource corresponding to any time domain resource offset value in the second time domain resource offset value set, LphysicalSL is the index of the first carrier time domain resource Ophy-to-log is the time domain resource index offset value, and N is the feedback period of the PSFCH.
For example, the second time domain resource offset value set is {1, 2, 3, 4}. If a slot of the PUCCH is a slot 9, a carrier slot set corresponding to the second time domain resource offset value set is {5, 6, 7, 8}. A specific implementation of first determining, by the first terminal device, whether the slot 8 is a time domain resource in the PSFCH reception occasion is: determining whether an index of the slot 8 satisfies mod(LphysicalSL−Ophy-to-log),N)=0, where LphysicalSL is the index of the slot 8, that is, 8. It is assumed that Ophy-to-log is 4 and N is 4. Because mod (8−4), 4)=0, the first terminal device determines that the slot 8 is the time domain resource in the PSFCH reception occasion. The first terminal device determines, according to a same principle, whether the slot 7, the slot 6, and the slot 5 are time domain resources in the PSFCH reception occasion.
Based on this possible implementation, the PSFCH reception occasion that meets the feedback period of the PSFCH can be accurately determined.
In a possible implementation, a second time domain resource set used for sidelink transmission may be directly determined in the carrier time domain resource set corresponding to the first time domain resource offset value set, and then the PSFCH reception occasion is determined in the second time domain resource set based on the feedback period of the PSFCH. For example, the PSFCH reception occasion is determined based on an index of a carrier time domain resource in the second time domain resource set, the feedback period of the PSFCH, and the time domain resource index offset value. The time domain resource index offset value is an offset value between the index of the resource pool time domain resource for sidelink transmission and the index of the carrier time domain resource. A specific implementation of determining the PSFCH reception occasion based on the index of the carrier time domain resource, the feedback period of the PSFCH, and the time domain resource index offset value is the same as that described above, and details are not described herein again.
In a possible implementation, the first terminal device may first obtain through filtering a third time domain resource offset value set from the first time domain resource offset value set based on the feedback period of the PSFCH, then determine a carrier time domain resource that is used for sidelink transmission and that is in a carrier time domain resource set corresponding to the third time domain resource offset value set as the time domain resource in the PSFCH reception occasion. Based on this possible implementation, the first filtering operation may be first performed based on the feedback period of the PSFCH, and then the second filtering operation is performed based on the time domain resource used for sidelink transmission.
In a possible implementation, after obtaining the first time domain resource offset value se, the first terminal device may directly determine the PSFCH reception occasion with reference to the feedback period of the PSFCH. In other words, the first terminal device can obtain the second time domain resource offset value set without removing values from the first time domain resource offset value set. An implementation principle in which the first terminal device directly determines the PSFCH reception occasion based on the first time domain resource offset value set and the feedback period of the PSFCH is the same as an implementation principle in which the first terminal device determines the PSFCH reception occasion based on the second time domain resource offset value set and the feedback period of the PSFCH, and details are not described herein again.
401: The first terminal device determines a first time domain resource offset value set, where the first time domain resource offset value set includes one or more time domain resource offset values between a physical sidelink feedback channel PSFCH and a physical uplink control channel PUCCH.
402: The first terminal device determines a PSFCH reception occasion based on the first time domain resource offset value set and a feedback period of the PSFCH.
For specific implementations of step 401 and step 402, refer to step 201 and step 202. Details are not described herein again.
403: The first terminal device generates a hybrid automatic repeat request-acknowledgement HARQ-ACK codebook based on the PSFCH reception occasion.
In this embodiment of this application, after determining the PSFCH reception occasion, the first terminal device generates the hybrid automatic repeat request-acknowledgement HARQ-ACK codebook based on the PSFCH reception occasion.
A size of the HARQ-ACK codebook may have two cases:
Case 1: The size of the HARQ-ACK codebook is related to one or more of the following parameters: a quantity of PSFCH reception occasions and a quantity of bits of hybrid automatic repeat request-acknowledgement HARQ-ACK information that needs to be fed back in each PSFCH reception occasion. For example, the size of the HARQ-ACK codebook is related to the quantity of PSFCH reception occasions. Alternatively, the size of the HARQ-ACK codebook is related to the quantity of bits of the hybrid automatic repeat request-acknowledgement HARQ-ACK information that needs to be fed back in each PSFCH reception occasion. Alternatively, the size of the HARQ-ACK codebook is related to the quantity of PSFCH reception occasions and the quantity of bits of the hybrid automatic repeat request-acknowledgement HARQ-ACK information that needs to be fed back in each PSFCH reception occasion. The HARQ-ACK information of each PSSCH can be successfully fed back by using the HARQ-ACK codebook generated based on this possible implementation.
In m a possible implementation, GSLHARQTotal=GSLHARQPSFCH·Noccasion, where GSLHARQTotal is the size of the HARQ-ACK codebook, GSLHARQPSFCH is the quantity of bits of the HARQ-ACK information that needs to be fed back in each PSFCH reception occasion, and Noccasion is the quantity of PSFCH reception occasions. For example, if time domain resources in eight PSFCH reception occasions are determined based on the first time domain resource offset value set and the feedback period of the PSFCH, and a quantity of bits of HARQ-ACK information that needs to be fed back in each PSFCH reception occasion is 12, the size of the HARQ-ACK codebook is 8*12=96 bits.
In a possible implementation, GSLHARQTotal=GSLHARQPSFCH·Noccasion+X, where X may be an integer greater than or equal to 1.
In a possible implementation, the quantity of bits of the HARQ-ACK information that needs to be fed back in each PSFCH reception occasion is related to one or more of the following parameters: a quantity of subchannels in a resource pool for sidelink transmission, the feedback period of the PSFCH, and a quantity of bits of HARQ-ACK information that needs to be fed back through each physical sidelink shared channel PSSCH. In this possible implementation, the quantity of bits of the HARQ-ACK information that needs to be fed back in each PSFCH reception occasion is determined, so that the HARQ-ACK information of each PSSCH can be successfully fed back by using the HARQ-ACK codebook.
For example, the quantity of bits of the HARQ-ACK information that needs to be fed back in each PSFCH reception occasion is related to the quantity of subchannels in the resource pool for sidelink transmission. Alternatively, the quantity of bits of the HARQ-ACK information that needs to be fed back in each PSFCH reception occasion is related to the feedback period of the PSFCH. Alternatively, the quantity of bits of the HARQ-ACK information that needs to be fed back in each PSFCH reception occasion is related to the quantity of bits of the HARQ-ACK information that needs to be fed back through each physical sidelink shared channel PSSCH. Alternatively, the quantity of bits of the HARQ-ACK information that needs to be fed back in each PSFCH reception occasion is related to the quantity of subchannels in the resource pool for sidelink transmission and the feedback period of the PSFCH. Alternatively, the quantity of bits of the HARQ-ACK information that needs to be fed back in each PSFCH reception occasion is related to the feedback period of the PSFCH and the quantity of bits of the HARQ-ACK information that needs to be fed back through each physical sidelink shared channel PSSCH. Alternatively, the quantity of bits of the HARQ-ACK information that needs to be fed back in each PSFCH reception occasion is related to the quantity of subchannels in the resource pool for sidelink transmission and the quantity of bits of the HARQ-ACK information that needs to be fed back through each physical sidelink shared channel PSSCH. Alternatively, the quantity of bits of the HARQ-ACK information that needs to be fed back in each PSFCH reception occasion is related to the quantity of subchannels in the resource pool for sidelink transmission, the feedback period of the PSFCH, and the quantity of bits of the HARQ-ACK information that needs to be ted back through each physical sidelink shared channel PSSCH.
In a possible implementation, if the quantity of subchannels in the resource pool for sidelink transmission is 1, the quantity of bits of the HARQ-ACK information that needs to be fed back in each PSFCH reception occasion is related to the feedback period of the PSFCH and the quantity of bits of the HARQ-ACK information that needs to be fed back through each physical sidelink shared channel PSSCH.
In a possible implementation, if the feedback period of the PSFCH is 1, the quantity of bits of the HARQ-ACK information that needs to be fed back in each PSFCH reception occasion is related to the quantity of subchannels in the resource pool for sidelink transmission and the quantity of bits of the HARQ-ACK information that needs to be fed back through each physical sidelink shared channel PSSCH.
In a possible implementation, if the quantity of bits of the HARQ-ACK information that needs to be led back through each PSSCH is 1, the quantity of bits of the HARQ-ACK information that needs to be fed back in each PSFCH reception occasion is related to the quantity of subchannels in the resource pool for sidelink transmission and the feedback period of the PSFCH.
In a possible implementation, GSLHARQPSFCH=Msubchannel·N·GSLHARQPSSCH, GSLHARQPSFCH is the quantity of bits of the HARQ-ACK information that needs to be fed back in each PSFCH reception occasion, Msubchannel is the quantity of subchannels in the resource pool for sidelink transmission, N is the feedback period of the PSFCH, and GSLHARQPSSCH is the quantity of bits of the HARQ-ACK information that needs to be fed back through each PSSCH.
For example, as shown in
In each PSFCH reception occasion, the first terminal device arranges bits in a codebook in a manner of frequency domain first and time domain second based on an index of the start subchannel. When the first terminal device sequentially detects a PSSCH that is sent by using a subchannel as the start channel, the first terminal device feeds back, in the codebook, HARQ-ACK information in a PSFCH corresponding to the PSSCH. If not detecting, on a subchannel, a PSSCH that is sent by using the subchannel as the start subchannel, the first terminal device feeds back a NACK at a corresponding bit location in the codebook. Assuming that only 1-bit HARQ information is fed back through each PSSCH feeds back, because the quantity of subchannels in the resource pool for sidelink transmission is 3, and the feedback period N of the PSFCH is 4, in terms of the quantity of bits of the HARQ-ACK information that needs to be fed back through each PSSCH, 12-bit SL HARQ information needs to be fed back in each PSFCH reception occasion. Assuming that HARQ-ACK information received by the first terminal device in the PSFCH 1 to the PSFCH 7 is {ACK, ACK, ACK, NACK, ACK, HACK, ACK}, a codebook that is generated by the first terminal device and that corresponds to the PSFCH reception occasion is: {ACK, ACK, NACK, ACK, NACK, HACK, ACK, HACK, NACK, NACK, MACK, ACK}.
Finally, the first terminal device forms a final HARQ-ACK codebook in a front-to-back sequence of the PSFCH reception occasions. If there are eight PSFCH reception occasions, a total size of the HARQ-ACK that needs to be reported by the first terminal device to the network device is 8*12=96 hits.
Case 2: The size of the HARQ-ACK codebook is related to one or more of the following parameters: a total quantity of HARQ processes supported by a terminal device and a quantity of bits of HARQ-ACK information generated in each HARQ process. This possible implementation helps reduce a codebook size.
For example, the size of the HARQ-ACK codebook is related to the total quantity of HARQ processes supported by the terminal device. Alternatively, the size of the HARQ-ACK codebook is related to the quantity of bits of the HARQ-ACK information generated in each HARQ process. Alternatively, the size of the HARQ-ACK codebook is related to the total quantity of HARQ processes supported by the terminal device and the quantity of bits of the HARQ-ACK information generated in each HARQ process.
In a possible implementation, GSLHARQTotal=P·gHARQ-ACKprocess, GSLHARQTotal is the size of the HARQ-ACK codebook, P is the total quantity of HARQ processes supported by the terminal device, and gHARQ-ACKprocess is the quantity of bits of the HARQ-ACK information generated in each HARQ process. The size of the HARQ-ACK codebook generated based on this possible implementation is relatively small.
The quantity of PSFCH reception occasions is relatively large, and when the feedback period of the PSFCH and the quantity of subchannels in the resource pool for sidelink transmission are relatively large, a quantity of bits corresponding to each PSFCH reception occasion is also relatively large. Therefore, a finally generated codebook is also relatively large. However, for a terminal device, each PSSCH transmission corresponds to a sidelink HARQ process identifier (HARQ process ID). In addition, before the network device receives a corresponding HARQ-ACK message and schedules a newly transmitted PSSCH, the HARQ process identifier is always reserved for one PSSCH transmission. In addition, a total quantity of sidelink HARQ processes supported by each terminal device is relatively fixed and has an upper limit. Therefore, a semi-persistent codebook may be generated based on the total quantity of HARQ processes.
For example, as shown in
In a possible implementation, a specific implementation of generating the HARQ-ACK codebook based on the PSFCH reception occasion is: arranging, in ascending order of HARQ process identifiers, bits that are in the HARQ-ACK codebook and that indicate HARQ-ACK information. Assuming that HARQ-ACK information in the PSFCH 1 to the PSFCH 7 received by the first terminal device is {ACK, ACK, ACK, NAM ACK, NACK, ACK}, the HARQ-ACK codebook finally generated by the first terminal device is shown in the following Table 2.
In a possible implementation, after generating the HARQ-ACK codebook, the first terminal device sends the HARQ-ACK codebook to the network device.
In a possible implementation, the HARQ-ACK codebook includes hybrid automatic repeat request-acknowledgement HARQ-ACK information of a first preconfigured physical sidelink shared channel CG PSSCH; and the first CG PSSCH is a CG PSSCH with a highest priority that is in a plurality of CG PSSCHs and through which the HARQ-ACK information needs to be fed back to the network device, the first CG PSSCH is a CG PSSCH with a shortest period that is in a plurality of CG PSSCHs and through which the HARQ-ACK information needs to be fed back to the network device, the first CG PSSCH is a CG PSSCH in a plurality of CG PSSCHs that is last transmitted and through which the HARQ-ACK information needs to be fed back to the network device, or the first CG PSSCH is a CG PSSCH with a smallest HARQ process identifier that is in a plurality of CG PSSCHs and through which the HARQ-ACK information needs to be fed back to the network device. Based on this possible implementation, because the codebook size is limited, when there are a plurality of CO PSSCHs through which the HARQ-ACK information needs to be fed back to the network device, an optimal CG PSSCH can be selected to teed back the HARQ-ACK information.
In a possible implementation, if a CG PSSCH in the plurality of CG PSSCHs is retransmitted, the first terminal device determines the first CG PSSCH in a CG PSSCH that is in the plurality of CG PSSCHs and that is not retransmitted, and a CG PSSCH that is last retransmitted. As shown in
The processing unit 801 is configured to determine a first time domain resource offset value set, where the first time domain resource offset value set includes one or more time domain resource offset values between a physical sidelink feedback channel PSYCH and a physical uplink control channel PUCCH. The processing unit 801 is further configured to determine a PSFCH reception occasion based on the first time domain resource offset value set and a feedback period of the PSFCH.
In a possible implementation, a manner in which the processing unit 801 determines the PSFCH reception occasion based on the first time domain resource offset value set and the feedback period of the PSFCH is specifically:
determining a second time domain resource offset value set in the first time domain resource offset value set, where a carrier time domain resource corresponding to a time domain resource offset value in the second time domain resource offset value set is used for sidelink transmission; and
determining the PSFCH reception occasion based on the second time domain resource offset value set and the feedback period of the PSFCH.
In a possible implementation, a manner in which the processing unit 801 determines the PSFCH reception occasion based on the second time domain resource offset value set and the feedback period of the PSFCH is specifically:
determining the PSFCH reception occasion based on an index of the carrier time domain resource corresponding to the time domain resource offset value in the second time domain resource offset value set, the feedback period of the PSFCH, and a time domain resource index offset value, where the time domain resource index onset value is an offset value between an index of a resource pool time domain resource for sidelink transmission and the index of the carrier time domain resource.
In a possible implementation, that the processing unit 801 determines the PSFCH reception occasion based on the index of the carrier time domain resource corresponding to the time domain resource offset value in the second time domain resource offset value set, the feedback period of the PSFCH, and the time domain resource index offset value includes:
if an index of a first carrier time domain resource satisfies mod((LphysicalSL−Ophy-to-log),N)=0 determining that the first carrier time domain resource is a time domain resource in the PSFCH reception occasion, where the first carrier time domain resource is a carrier time domain resource corresponding to any time domain resource offset value in the second time domain resource offset value set, LphysicalSL is the index of the first carrier time domain resource, Ophy-to-log is the time domain resource index offset value, and N is the feedback period of the PSFCH.
In a possible implementation, the processing unit 801 is further configured to generate a hybrid automatic repeat request-acknowledgement HARQ-ACK codebook based on the PSFCH reception occasion, where a size of the HARQ-ACK codebook is related to one or more of the following parameters: a quantity of PSFCH reception occasions and a quantity of bits of hybrid automatic repeat request-acknowledgement HARQ-ACK information that needs to be fed back in each PSFCH reception occasion.
In a possible implementation, the quantity of bits of the HARQ-ACK information that needs to be fed back in each PSFCH reception occasion is related to one or more of the following parameters: a quantity of subchannels in a resource pool for sidelink transmission, the feedback period of the PSFCH, and a quantity of bits of HARQ-ACK information that needs to be fed back through each physical sidelink shared channel PSSCH.
In a possible implementation, GSLHARQPSFCH=Msubchannel·N·GSLHARQPSSCH, GSLHARQPSFCH is the quantity of bits of the HARQ-ACK information that needs to be fed back in each PSFCH reception occasion, Msubchannel is the quantity of subchannels in the resource pool for sidelink transmission, N is the feedback period of the PSFCH, and GSLHARQPSSCH is the quantity of bits of the HARQ-ACK information that needs to be fed back through each PSSCH.
In a possible implementation, the processing unit 801 is further configured to generate a hybrid automatic repeat request-acknowledgement HARQ-ACK codebook based on the PSFCH reception occasion, where a size of the HARQ-ACK codebook is related to one or more of the following parameters: a total quantity of HARQ processes supported by a terminal device and a quantity of bits of HARQ-ACID information generated in each HARQ process.
In a possible implementation, GSLHARQTotal=P·gHARQ-ACKprocess, GSLHARQTotal is the size of the HARQ-ACK codebook, P is the total quantity of HARQ processes supported by the terminal device, and gHARQ-ACKprocess is the quantity of bits of the HARQ-ACK information generated in each HARQ process.
In a possible implementation, the HARQ-ACK codebook includes hybrid automatic repeat request-acknowledgement HARQ-ACK information of a first preconfigured physical sidelink shared channel CG PSSCH; and the first CG PSSCH is a CG PSSCH with a highest priority that is in a plurality of CG PSSCHs and through which the HARQ-ACK information needs to be fed back to a network device, the first CG PSSCH is a CG PSSCH with a shortest period that is in a plurality of CG PSSCHs and through which the HARQ-ACK information needs to be fed back to a network device, the first CG PSSCH is a CG PSSCH in a plurality of CG PSSCHs that is last transmitted and through which the HARQ-ACK information needs to be fed back to a network device, or the first CG PSSCH is a CG PSSCH with a smallest HARQ process identifier that is in a plurality of CG PSSCHs and through which the HARQ-ACK information needs to be fed hack to a network device.
In a possible implementation, a manner in which the processing unit 801 determines the first time domain resource offset value set is specifically:
determining the first time domain resource offset value set based on a configured uplink-downlink configuration or based on a downlink control information DCI format configured to be monitored.
The communication apparatus 90 includes at least one processor 99, configured to implement a data processing function of the first terminal device in the methods provided in the embodiments of this application. The apparatus 90 may further include a communication interface 910, configured to implement receiving and sending operations of the terminal device or the network device in the methods provided in the embodiments of this application. In this embodiment of this application, the communication interface may be a transceiver, a circuit, a bus, a module, or a communication interface of another type, and is configured to communicate with another device through a transmission medium. For example, the communication interface 910 is used by an apparatus in the apparatus 90 to communicate with another device. The processor 99 receives and sends data through the communication interface 910, and is configured to implement the methods in the foregoing method embodiments.
The apparatus 90 may further include at least one memory 930, configured to store program instructions and/or data. The memory 930 is coupled to the processor 99. Coupling in this embodiment of this application may be indirect coupling or communication connection between apparatuses, units, or modules in an electrical form, a mechanical form, or another form, and is used for information exchange between the apparatuses, the units, or the modules. The processor 99 may operate in collaboration with the memory 930. The processor 99 may execute the program instructions stored in the memory 930. At least one of the at least one memory may be included in the processor.
In this embodiment of this application, a specific connection medium between the communication interface 910, the processor 99, and the memory 930 is not limited. In this embodiment of this application, the memory 930, the communication interface 99, and the communication interface 910 are connected by using a bus 940 in
When the apparatus 90 is specifically an apparatus applied to a terminal device or a network device, for example, when the apparatus 90 is specifically a chip or a chip system, the communication interface 910 may output or receive a baseband signal. When the apparatus 90 is specifically a terminal device or a network device, the communication interface 910 may output or receive a radio frequency signal. In this embodiment of this application, the processor may be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array, another programmable logic device, a discrete gate or a transistor logic device, or a discrete hardware assembly, and may implement or perform the methods, steps, and logical block diagrams disclosed in the embodiments of this application. The general-purpose processor may be a microprocessor, any conventional processor, or the like. The steps of the methods disclosed with reference to the embodiments of this application may be directly presented as being performed and completed by a hardware processor, or performed and completed by a combination of hardware and software modules in a processor.
For example,
For ease of description,
After the terminal device is powered on, the processor may read a software program in a storage unit, explain and execute instructions of the software program, and process data of the software program. When data needs to be sent in a wireless manner, after performing baseband processing on the to-be-sent data, the processor outputs a baseband signal to a radio frequency circuit. After performing radio frequency processing on the baseband signal, the radio frequency circuit sends a radio frequency signal to the outside through the antenna in a form of electromagnetic wave. When data is sent to the terminal device, the radio frequency circuit receives the radio frequency signal by using the antenna, converts the radio frequency signal into a baseband signal, and outputs the baseband signal to the processor, and the processor converts the baseband signal into data and processes the data.
A person skilled in the art may understand that, for ease of description,
In an optional implementation, the processor may include a baseband processor and a central processing unit (central processing unit, CPU). The baseband processor is mainly configured to process a communication protocol and communication data. The CPU is mainly configured to: control the entire terminal device, execute a software program, and process data of the software program. Optionally, the processor may alternatively be a network processor (network processor, NP), or a combination of a CPU and an NP. The processor may further include a hardware chip. The foregoing hardware chip may be an application-specific integrated circuit (application-specific integrated circuit, ASIC), a programmable logic device (programmable logic device. PLD), or a combination thereof. The PLD may be a complex programmable logic device (complex programmable logic device, CPLD), a field-programmable gate array (field-programmable gate array, FPGA), generic array logic (generic array logic, GAL), or any combination thereof. The memory may include a volatile memory (volatile memory), for example, a random-access memory (random-access memory, RAM). The memory may also include a non-volatile memory (non-volatile memory), for example, a flash memory (flash memory), a hard disk drive (hard disk drive, HDD), or a solid-state drive (solid-state drive, SSD). The memory may further include a combination of the foregoing types of memories.
For example, in this embodiment of this application, as shown in
The communication unit 901 may also be referred to as a transceiver, a transceiver machine, a transceiver apparatus, a transceiver unit, or the like, and is configured to implement a transceiver function. Optionally, a component for implementing a receiving function in the communication unit 901 may be considered as a receiving unit, and a component for implementing a sending function in the communication unit 901 may be considered as a sending unit. That is, the communication unit 901 includes a receiving unit and a sending unit. For example, the receiving unit may also be referred to as a receiver machine, a receiver, a receive circuit, or the like, and the sending unit may be referred to as a transmitter machine, a transmitter, a transmit circuit, or the like.
In some embodiments, the communication unit 901 and the processing unit 902 may be integrated into one device, or may be separated into different devices. In addition, the processor and the memory may be integrated into one device, or may be separated into different devices.
The communication unit 901 may be configured to perform receiving and sending operations of the terminal device in the foregoing method embodiments. The processing unit 902 may be configured to perform a data processing operation of the terminal device in the foregoing method embodiment.
An embodiment of the present invention further provides a computer-readable storage medium. The computer-readable storage medium stores instructions. When the instructions are run on a processor, the method procedures in the foregoing method embodiments are implemented.
An embodiment of the present invention further provides a computer program product. When the computer program product runs on a processor, the method procedures in the foregoing method embodiments are implemented.
It should be noted that, for brief description, the foregoing method embodiments are expressed as combinations of a series of actions. However, a person skilled in the art should know that the present invention is not limited to the described action sequence, because according to the present invention, some steps may be performed in another sequence or performed simultaneously. In addition, a person skilled in the art should also appreciate that all the embodiments described in the specification are preferred embodiments, and the related actions and modules are not necessarily mandatory to the present invention.
For descriptions of the embodiments provided in this application, reference may be made to each other, and the descriptions of the embodiments have respective focuses. For a part that is not described in detail in an embodiment, refer to related descriptions in other embodiments. For ease and brevity of description, for example, for functions and performed steps of the apparatuses and devices provided in the embodiments of this application, refer to related descriptions in the method embodiments of this application Mutual reference, combination, or citing may also be made between the method embodiments and between the apparatus embodiments.
Finally, it should be noted that the foregoing embodiments are merely intended to describe the technical solutions of this application other than limiting this application. Although this application is described in detail with reference to the foregoing embodiments, persons of ordinary skill in the art should understand that they may still make modifications to the technical solutions described in the foregoing embodiments or make equivalent replacements to some or all technical features thereof. These modifications or replacements shall not cause the essence of the corresponding technical solutions to depart from the scope of the technical solutions of the embodiments of this application.
This application is a continuation of International Application No. PCT/CN2020/075439, filed on Feb. 14, 2020, the disclosure of which is hereby incorporated by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2020/075439 | Feb 2020 | US |
Child | 17887227 | US |