Patent Description:
In a communications system, a terminal needs to report a power headroom report (Power Headroom Report, PHR). The PHR includes a PH, which may also be referred to as a cell power headroom. Certainly, the PHR may further include a maximum transmission power for a cell (Pcmax. The PH is calculated from values or the like measured by a terminal based on a path loss reference (Path loss reference). However, the path loss reference in current communications systems is pre-configured for the terminal. In other words, the path loss reference obtained by the terminal is always unchanged, which results in poor performance of PH reporting.

"<NPL>) discusses a remaining issue on power headroom report in view of pathloss reference change. It is proposed that pathloss change for triggering PHR is derived from a same pathloss reference.

Embodiments of this disclosure, as defined in the appended claims, provide a method for PH calculation, a terminal, and a computer-readable storage medium, to resolve a problem of relatively poor performance of PH reporting by a terminal.

According to a first aspect, an embodiment of this disclosure provides a method for PH calculation, applied to a terminal, where the method includes:.

According to a second aspect, an embodiment of this disclosure provides a terminal, including:.

According to a third aspect, an embodiment of this disclosure provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for PH calculation provided in the embodiments of this disclosure are implemented.

In the embodiments of this disclosure, a path loss reference change indication is received; and a PH is calculated by using a specific path loss reference, where the specific path loss reference includes a path loss reference before receiving the path loss reference change indication, or a changed path loss reference indicated by the path loss reference change indication. This can improve performance of PH reporting by the terminal.

To describe the technical solutions in the embodiments of this disclosure more clearly, the following briefly describes the accompanying drawings for describing the embodiments of this disclosure. Apparently, the accompanying drawings in the following description show merely some embodiments of this disclosure, and persons of ordinary skill in the art may derive other drawings from these accompanying drawings without creative efforts.

The following clearly and completely describes the technical solutions in the embodiments of this disclosure with reference to the accompanying drawings in the embodiments of this disclosure. Apparently, the described embodiments are some rather than all of the embodiments of this disclosure. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of this disclosure without creative efforts shall fall within the protection scope of this disclosure. In the following, the embodiments referring to <FIG>, <FIG> are according to the claimed invention, whereas the embodiments referring to <FIG> and <FIG> are not according to the invention and are present for illustration purpose only.

The term "include" and any other variants in the specification and claims of this application are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or device that includes a list of steps or units is not necessarily limited to those expressly listed steps or units, but may include other steps or units not expressly listed or inherent to such a process, method, product, or device. In addition, "and/or" used in the specification and claims means at least one of the connected objects. For example, A and/or B represents the following three cases: Only A exists, only B exists, and both A and B exist.

In the embodiments of this disclosure, the term such as "exemplary" or "for example" is used to represent an example, an instance, or an illustration. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of this disclosure should not be construed as being more preferred or advantageous than other embodiments or design schemes. To be precise, the use of the term such as "exemplary" or "for example" is intended to present a related concept in a specific manner.

The following describes the embodiments of this disclosure with reference to the accompanying drawings. A method for PH calculation and a terminal provided in the embodiments of this disclosure may be applied to a wireless communications system. The wireless communications system may be a <NUM> system, an evolved long term evolution (Evolved Long Term Evolution, eLTE) system, or a subsequent evolved communications system.

<FIG> is a structural diagram of a network system to which an embodiment of this disclosure may be applied. As shown in <FIG>, the network system includes a terminal <NUM> and at least one base station <NUM>. The terminal <NUM> may be user equipment (User Equipment, UE) or another terminal side device, for example, a terminal side device such as a mobile phone, a tablet personal computer (Tablet Personal Computer), a laptop computer (Laptop Computer), a personal digital assistant (personal digital assistant, PDA), a mobile internet device (Mobile Internet Device, MID), or a wearable device (Wearable Device). It should be noted that a specific type of the terminal <NUM> is not limited in the embodiments of this disclosure. The base station <NUM> may be a <NUM> base station, a <NUM> base station, a base station of a later release, or a base station in another communications system, or may be referred to as a NodeB, an evolved NodeB, or another term in the art. Provided that a same technical effect is achieved, the base station is not limited to a specific technical term. In addition, the base station <NUM> may be a master node (Master Node, MN) or a secondary node (Secondary Node, SN). It should be noted that the <NUM> base station is merely used as an example in the embodiments of this disclosure, rather than limiting a specific type of the base station.

The invention provides a method for PH calculation, as set out in the appended set of claims. <FIG> is a flowchart of a method for PH calculation according to an embodiment of this disclosure. The method is applied to a terminal, and as shown in <FIG>, includes the following steps.

Step <NUM>: Receive a path loss reference change indication (Change of path loss reference).

The terminal may receive the path loss reference change indication sent by a base station. Certainly, the possibility that the path loss reference change indication is sent by other devices is not excluded, for example, the path loss reference change indication is sent by another terminal.

In addition, the path loss reference change indication is used to indicate changing a first path loss reference to a second path loss reference, where the first path loss reference may be understood as a path loss reference before receiving the path loss reference change indication, and the second path loss reference may be understood as a changed path loss reference indicated by the path loss reference change indication.

It should be noted that the first path loss reference herein may be one or more path loss references. Likewise, the second path loss reference may also be one or more path loss references. For example, the first path loss reference may include one or more of a path loss reference corresponding to a synchronization signal block (Synchronous Signal Block, SSB) <NUM>, a path loss reference corresponding to an SSB <NUM>, a path loss reference for a physical uplink shared channel (Physical Uplink Shared Channel, PUSCH), a path loss reference for a physical uplink control channel (Physical Uplink Control Channel, PUCCH), a path loss reference for a sounding reference signal (Sounding Reference Signal, SRS), and the like. Then the path loss reference change indication may be used to change these path loss references to other path loss references.

In addition, the path loss reference change indication may be indicated by using a medium access control control element (Medium Access Control Control Element, MAC CE) or a physical downlink control channel (Physical Downlink Control Channel, PDCCH) or the like, so as to indicate a change of a path loss reference currently used by the terminal.

Further, after receiving the path loss reference change indication, the terminal may perform the change of the path loss reference, for example, changes the first path loss reference to the second path loss reference.

Step <NUM>: Calculate a PH by using a specific path loss reference, where the specific path loss reference includes a path loss reference before receiving the path loss reference change indication, or a changed path loss reference indicated by the path loss reference change indication.

The specific path loss reference may be determined according to a time of PH calculation, a time of triggering PHR reporting, or a time at which a protocol data unit (Protocol Data Unit, PDU) including a PHR is generated. For example, depending on different situations, a determined specific path loss reference may include the path loss reference before receiving the path loss reference change indication, or the changed path loss reference indicated by the path loss reference change indication. The PDU may be a medium access control (Medium Access Control, MAC) PDU.

In addition, the PH may include one or more of the following:.

In the foregoing steps, the path loss reference change indication is received, and therefore the path loss reference before receiving the path loss reference change indication or the changed path loss reference indicated by the path loss reference change indication may be selected for PH calculation, so as to improve performance of PH reporting by the terminal. This is because the terminal can select an appropriate path loss reference for the PH calculation according to factors such as different scenario requirements or a receiving time of the path loss reference change indication. It should be noted that, in this embodiment of this disclosure, the sequence of performing step <NUM> and step <NUM> is not limited. For example, when the receiving time of the path loss reference change indication is after generation of the PHR PDU, step <NUM> may be performed after step <NUM>; or when the receiving time of the path loss reference change indication is before generation of the PHR PDU, step <NUM> may be performed before step <NUM>, and this case is used as an example in the figure for description.

The invention provides a method for PH calculation, as set out in the appended set of claims. <FIG> is a flowchart of a method for PH calculation according to another embodiment of this disclosure. The method is applied to a terminal, and as shown in <FIG>, includes the following steps.

Step <NUM>: Receive a path loss reference change indication.

In some non-claimed embodiments, the specific path loss reference includes:
a latest used path loss reference.

The latest used path loss reference may be a path loss reference used by the terminal the last time. For example, when the path loss reference change indication is not received, the latest used path loss reference is the path loss reference before receiving the path loss reference change indication; or if the path loss reference change indication is received, the latest used path loss reference is the changed path loss reference indicated by the path loss reference change indication. This is because after the terminal receives the path loss reference change indication, the terminal may change the path loss reference.

By using the latest used path loss reference for the PH calculation, it can be ensured that a PH in a PHR reported by the terminal to a base station keeps consistent with a path loss reference used by the base station to calculate the PH, so as to improve reporting accuracy.

In an optional implementation, if a receiving time of the path loss reference change indication is before a second time, the latest used path loss reference includes: the changed path loss reference indicated by the path loss reference change indication; or
if the receiving time of the path loss reference change indication is after the second time, or the receiving time of the path loss reference change indication overlaps with the second time, the latest used path loss reference includes: the changed path loss reference indicated by the path loss reference change indication, wherein the terminal changes a PH value in the PHR to a PH calculated by using the changed path loss reference.

The second time is a time at which the terminal generates a PDU including the PHR or a specific time before a reporting moment of the power headroom report PHR. That the receiving time of the path loss reference change indication overlaps with the second time may mean that the path loss reference change indication is received while the PDU including the PHR is generated.

In this implementation, if the receiving time of the path loss reference change indication is before the second time, the PH may be calculated by using the changed path loss reference indicated by the path loss reference change indication; or if the receiving time of the path loss reference change indication is after the second time or the receiving time of the path loss reference change indication overlaps with the second time, the PH is calculated by using the changed path loss reference indicated by the path loss reference change indication, and the PH value in the PHR to the PH calculated by using the changed path loss reference. In this way, it can be ensured that the PH in the PHR reported by the terminal to the base station keeps consistent with the path loss reference used by the base station to calculate the PH, so as to improve reporting accuracy.

The specific path loss reference includes:
a path loss reference corresponding to a first time (in some non-claimed embodiments) or a second time, where the first time is a time at which the terminal triggers PHR reporting (PHR trigger), and the second time is a time at which the terminal generates a PDU including a PHR or a specified time before a reporting moment of the power headroom report PHR.

The time at which the PDU including the PHR is generated may be a time at which a MAC PDU (PHR MAC PDU Assembly) including the PHR is generated.

The path loss reference corresponding to the first time may be a path loss reference determined according to the first time and having a specific relationship with the first time. For example, the path loss reference corresponding to the first time includes: a path loss reference used at the first time. When the path loss reference is not changed at the first time, the path loss reference used at the first time may include: a path loss reference used before the first time; and when the path loss reference is changed at the first time (for example, the path loss change reference indication is received at the first time), the path loss reference used at the first time may include: a currently changed path loss reference.

Because the path loss reference used at the first time is used for the PH calculation, it can be ensured that the PH in the PHR reported by the terminal to the base station keeps consistent with the path loss reference used by the base station to calculate the PH, so as to improve reporting accuracy.

Certainly, in some embodiments, the path loss reference having a specific relationship with the first time may also be a path loss reference used before the first time. In this case, it may not be considered whether the path loss reference change indication is received at the first time.

The path loss reference corresponding to the second time may be a path loss reference determined according to the second time and having a specific relationship with the second time. For example, the path loss reference corresponding to the second time includes: a path loss reference used at the second time or a latest used path loss reference before the second time.

The latest used path loss reference before the second time may be a path loss reference used by the terminal the last time before the second time. For example, when the path loss reference change indication is received at or after the second time, the path loss reference used by the terminal the last time before the second time is the path loss reference before receiving the path loss reference change indication.

Because the path loss reference used at the second time or the latest used path loss reference before the second time is used, it can be ensured that the PH in the PHR reported by the terminal to the base station keeps consistent with the path loss reference used by the base station to calculate the PH, so as to improve reporting accuracy.

If a receiving time of the path loss reference change indication is before the second time, the path loss reference corresponding to the second time includes: the changed path loss reference indicated by the path loss reference change indication; or.

In this implementation, if the receiving time of the path loss reference change indication is before the second time, the changed path loss reference indicated by the path loss reference change indication is used for the PH calculation, and it can be ensured that the PH in the PHR reported by the terminal to the base station keeps consistent with the path loss reference used by the base station to calculate the PH, so as to improve reporting accuracy.

In addition, if the receiving time of the path loss reference change indication is after the second time, the path loss reference before receiving the path loss reference change indication is used for the PH calculation. Because there is no need to use the changed path loss reference to calculate the PH again, this can improve efficiency of PHR reporting.

Moreover, when the receiving time overlaps with the second time, the path loss reference before receiving the path loss reference change indication or the changed path loss reference indicated by the path loss reference change indication may be used for the PH calculation, so as to improve flexibility of the PH calculation and adapt to requirements of different scenarios or services.

In some non-claimed embodiments, if a receiving time of the path loss reference change indication is before the first time, the path loss reference used at the first time includes: the changed path loss reference indicated by the path loss reference change indication; or.

In this implementation, if the receiving time of the path loss reference change indication is before the first time, the changed path loss reference indicated by the path loss reference change indication is used for the PH calculation, and it can be ensured that the PH in the PHR reported by the terminal to the base station keeps consistent with the path loss reference used by the base station to calculate the PH, so as to improve reporting accuracy.

In addition, if the receiving time of the path loss reference change indication is after the first time, the path loss reference before receiving the path loss reference change indication is used for the PH calculation. Because there is no need to use the changed path loss reference to calculate the PH again, this can improve efficiency of PHR reporting.

Moreover, when the receiving time overlaps with the first time, the path loss reference before receiving the path loss reference change indication or the changed path loss reference indicated by the path loss reference change indication may be used for the PH calculation, so as to improve flexibility of the PH calculation and adapt to requirements of different scenarios or services. Certainly, in this embodiment, the following step may further be included:
Step <NUM>: Report the PHR, where the PHR includes the PH calculated by using the specific path loss reference.

Certainly, the PHR may further include: a maximum transmission power for a cell. The reporting may be reporting the PHR to the base station, or is referred to as reporting the PHR to a network side.

In this embodiment, through the various optional implementations described above, the terminal can flexibly uses different path loss references to calculate the PH, so as to improve performance of the PH reporting by the terminal.

The plurality of optional implementations described above are described below in <FIG> by using an example.

As shown in <FIG>, in a first step, UE triggers PHR reporting (PHR trigger) at time t1 shown in <FIG>. In a second step, the UE generates a MAC PDU including the PHR (PHR MAC PDU Assembly) at time t2 shown in <FIG>, and in a third step, the UE reports the PHR (PHR Transmission) at time t3 shown in <FIG>. Three receiving times tx of the path loss reference change indication (Change of path loss reference) in <FIG> may indicate that sending of the path loss reference change indication may have three cases: tx is before t1; tx is after t1 and before t2; and tx is after t2 and before t3. Certainly, in this embodiment of this disclosure, it is not precluded that the terminal receives a plurality of path loss reference change indications within the time range shown in <FIG>.

In the case shown in <FIG>, a path loss reference used for a PH value in the PHR reported by the UE includes any one of the following:.

According to the method provided in this embodiment of this disclosure, if the path loss reference of the UE is changed after the PHR is triggered and before the PHR is reported, the path loss reference used by the UE to calculate the PH value is specified, so that the network side and the UE side keep a consistent path loss reference used in the PH value calculation.

The invention provides a terminal, as set out in the appended set of claims. <FIG> is a structural diagram of a terminal according to an embodiment of this disclosure. As shown in <FIG>, the terminal <NUM> includes:.

The specific path loss reference includes:.

In some non-claimed embodiments, the path loss reference corresponding to the first time includes:
a path loss reference used at the first time.

The path loss reference corresponding to the second time includes:
a path loss reference used at the second time, or a latest used path loss reference before the second time.

Optionally, if a receiving time of the path loss reference change indication is before the second time, the latest used path loss reference includes: the changed path loss reference indicated by the path loss reference change indication; or
if the receiving time of the path loss reference change indication is after the second time, or the receiving time of the path loss reference change indication overlaps with the second time, the latest used path loss reference includes: the changed path loss reference indicated by the path loss reference change indication, wherein the terminal changes a PH value in the PHR to a PH calculated by using the changed path loss reference.

The terminal device provided in the embodiments of this disclosure can implement the processes implemented by the terminal in the method embodiments of <FIG> and <FIG>, so as to improve performance of PH reporting by the terminal. To avoid repetition, details are not described herein again.

The invention provides a terminal, as set out in the appended set of claims. <FIG> is a schematic diagram of a hardware structure of a terminal according to an embodiment of this disclosure.

The terminal <NUM> includes, but is not limited to: a radio frequency unit <NUM>, a network module <NUM>, an audio output unit <NUM>, an input unit <NUM>, a sensor <NUM>, a display unit <NUM>, a user input unit <NUM>, an interface unit <NUM>, a memory <NUM>, a processor <NUM>, and a power supply <NUM>. A person skilled in the art may understand that the structure of the terminal shown in <FIG> does not constitute a limitation to the terminal. The terminal may include more or fewer components than those shown in the figure, or some components may be combined, or there may be a different component arrangement. In this embodiment of this disclosure, the terminal includes but is not limited to a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, a pedometer, or the like.

The radio frequency unit <NUM> is configured to receive a path loss reference change indication.

The processor <NUM> is configured to calculate a PH by using a specific path loss reference, where the specific path loss reference includes a path loss reference before receiving the path loss reference change indication, or a changed path loss reference indicated by the path loss reference change indication.

The foregoing terminal can improve performance of PH reporting by the terminal.

It should be understood that, in this embodiment of this disclosure, the radio frequency unit <NUM> may be configured to transmit and receive information, or transmit or receive signals during communication. Specifically, after receiving downlink data from a base station, the radio frequency unit sends the downlink data to the processor <NUM> for processing. In addition, the radio frequency unit sends the uplink data to the base station. Generally, the radio frequency unit <NUM> includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit <NUM> can also communicate with another device through a wireless communications system and network.

The terminal provides a user with wireless broadband Internet access through the network module <NUM>, for example, helps the user send and receive emails, browse web pages, and access streaming media.

The audio output unit <NUM> can convert audio data received by the radio frequency unit <NUM> or the network module <NUM> or stored in the memory <NUM> into an audio signal, and output the audio signal into sound. In addition, the audio output unit <NUM> can also provide audio output related to a specific function performed by the terminal <NUM> (for example, call signal receiving sound or message receiving sound). The audio output unit <NUM> includes a speaker, a buzzer, a receiver, and the like.

The input unit <NUM> is configured to receive audio or video signals. The input unit <NUM> may include a graphics processing unit (Graphics Processing Unit, GPU) <NUM> and a microphone <NUM>. The graphics processing unit <NUM> processes image data of a static image or video obtained by an image capture apparatus (such as, a camera) in a video capture mode or an image capture mode. A processed image frame can be displayed on the display unit <NUM>. The image frames processed by the GPU <NUM> can be stored in the memory <NUM> (or another storage medium) or sent by the radio frequency unit <NUM> or the network module <NUM>. The microphone <NUM> can receive sound and can process such sound into audio data. The processed audio data may be converted in a telephone call mode into a format that can be sent by the radio frequency unit <NUM> to a mobile communications base station for output.

The terminal <NUM> further includes at least one sensor <NUM>, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, where the ambient light sensor can adjust brightness of the display panel <NUM> based on brightness of ambient light, and the proximity sensor can turn off the display panel <NUM> and/or backlight when the terminal <NUM> moves towards the ear. As a motion sensor, an accelerometer sensor can detect magnitude of acceleration in various directions (usually three axes), can detect magnitude and the direction of gravity when stationary, can be configured to identify terminal postures (such as horizontal and vertical screen switch, related games, and magnetometer posture calibration), can perform functions related to vibration identification (such as a pedometer and a knock), and the like. The sensor <NUM> may further include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, or the like.

The display unit <NUM> is configured to display information entered by a user or information provided for the user. The display unit <NUM> may include a display panel <NUM>.

The user input unit <NUM> can be configured to receive input numeric or character information, and generate key signal inputs related to user settings and function control of the terminal. Specifically, the user input unit <NUM> includes a touch panel <NUM> and other input devices <NUM>. The touch panel <NUM> is also referred to as a touchscreen, and may collect a touch operation of the user on or near the touch panel <NUM> (for example, an operation performed on or near the touch panel <NUM> by the user by using any appropriate object or accessory such as a finger or a stylus). The touch panel <NUM> may include two parts: a touch detection apparatus and a touch controller. The touch detection apparatus detects a touch position of the user, detects a signal brought by the touch operation, and sends the signal to the touch controller. The touch controller receives touch information from the touch detection apparatus, converts the touch information into touch point coordinates, sends the touch point coordinates to a processor <NUM>, and receives and executes a command sent by the processor <NUM>. In addition, the touch panel <NUM> can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel <NUM>, the user input unit <NUM> may further include the other input devices <NUM>. Specifically, the other input devices <NUM> may include but are not limited to a physical keyboard, function keys (such as a volume control key and an on/off key), a trackball, a mouse, and a joystick.

Further, the touch panel <NUM> can be superposed on the display panel <NUM>. When the touch panel <NUM> detects touch operations thereon or nearby, the touch panel <NUM> transmits the touch operations to the processor <NUM> to determine the type of a touch event. Subsequently, the processor <NUM> provides corresponding visual output on the display panel <NUM> according to the type of the touch event. In <FIG>, the touch panel <NUM> and the display panel <NUM> are used as two independent components to implement input and output functions of the terminal. However, in some embodiments, the touch panel <NUM> and the display panel <NUM> may be integrated to implement the input and output functions of the terminal. This is not specifically limited herein.

The interface unit <NUM> is an interface connecting an external apparatus to the terminal <NUM>. For example, the external apparatus may include a wired or wireless headphone port, an external power supply (or a battery charger) port, a wired or wireless data port, a storage card port, a port used to connect to an apparatus having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit <NUM> may be configured to receive an input (for example, data information or power) from an external apparatus and transmit the received input to one or more elements in the terminal <NUM>, or transmit data between the terminal <NUM> and the external apparatus.

The memory <NUM> may be configured to store software programs and various data. The memory <NUM> may mainly include a program storage area and a data storage area. The program storage area may store an operating system, an application program required by at least one function (such as a sound playback function and an image playback function), and the like. The data storage area may store data (such as audio data and a phone book) created based on the use of the mobile phone, and the like. In addition, the memory <NUM> may include a highspeed random access memory or a nonvolatile memory, for example, at least one disk storage device, a flash memory, or another volatile solid-state storage device.

The processor <NUM> is a control center of the terminal, connects various parts of the entire terminal by using various interfaces and circuits, and performs various functions of the terminal and processes data by running or executing software programs and/or modules stored in the memory <NUM> and invoking data stored in the memory <NUM>, so as to monitor the terminal as a whole. The processor <NUM> may include one or more processing units. Optionally, the processor <NUM> may be integrated with an application processor and a modem processor. The application processor mainly processes the operating system, the user interface, applications, and the like. The modem processor mainly processes wireless communication. It may be understood that the foregoing modem processor may not be integrated into the processor <NUM>.

The terminal <NUM> may also include a power supply <NUM> (for example, a battery) that supplies power to various components. Optionally, the power supply <NUM> may be logically connected to the processor <NUM> through a power supply management system, to perform functions of managing charging, discharging, and power consumption through the power supply management system.

In addition, the terminal <NUM> includes some functional modules not shown.

Optionally, an embodiment of this disclosure further provides a terminal, including a processor <NUM>, a memory <NUM>, and a computer program stored in the memory <NUM> and capable of running on the processor <NUM>, where when the computer program is executed by the processor <NUM>, the processes in the embodiments of the method for PH calculation are implemented, and the same technical effect can be achieved. To avoid repetition, details are not described herein again.

The invention provides a computer-readable storage medium, as set out in the appended set of claims. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processes in the embodiments of the method for PH calculation provided in the embodiments of this disclosure are implemented, and the same technical effect can be achieved. To avoid repetition, details are not described herein again. The computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk, or an optical disc.

It should be noted that in this specification, the terms "comprise", "include" and any other variants thereof are intended to cover non-exclusive inclusion, so that a process, a method, an article, or an apparatus that includes a series of elements not only includes these very elements, but may also include other elements not expressly listed, or also include elements inherent to this process, method, article, or apparatus. In the absence of more limitations, an element defined by "including a. " does not preclude the existence of other identical elements in the process, method, article, or apparatus that includes the element.

Based on the foregoing descriptions of the implementations, a person skilled in the art may clearly understand that the method in the foregoing embodiment may be implemented by software in addition to a necessary universal hardware platform or by hardware only. In most circumstances, the former is a preferred implementation. Based on such an understanding, the technical solutions of the present disclosure essentially or the part contributing to the prior art may be implemented in a form of a software product. The computer software product is stored in a readable storage medium (such as a ROM/RAM, a magnetic disk, or a compact disc), and includes several instructions for instructing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, a network device, or the like) to perform the methods described in the embodiments of the present disclosure.

Claim 1:
A method for power headroom, PH, calculation, performed by a terminal, characterized in that the method comprises:
receiving (<NUM>,<NUM>) a path loss reference change indication, wherein the path loss reference change indication is used to indicate changing a first path loss reference to a second path loss reference; and
calculating (<NUM>,<NUM>) a PH by using a specific path loss reference;
wherein the specific path loss reference comprises:
a path loss reference corresponding to a second time, wherein the second time is a time at which the terminal generates a protocol data unit, PDU, comprising a power headroom report, PHR, or a specified time before a reporting moment of the power headroom report PHR, wherein the specified time is after the time at which the terminal generates the PDU comprising the PHR;
wherein if a receiving time of the path loss reference change indication is before the second time, the path loss reference corresponding to the second time comprises: a changed path loss reference indicated by the path loss reference change indication; or
if the receiving time of the path loss reference change indication overlaps with the second time, the path loss reference corresponding to the second time comprises: a path loss reference received before receiving the path loss reference change indication, or a changed path loss reference indicated by the path loss reference change indication.