Disclosure of Invention
The embodiment of the invention provides a method for scheduling a terminal and network equipment, which are used for improving the efficiency of scheduling the terminal.
In a first aspect, an embodiment of the present invention provides a method for scheduling a terminal, where the method includes:
when the first DRX timing in the discontinuous reception DRX timers of the network equipment is not activated, if any one first DRX timer in the first DRX timers is activated, the network equipment starts a monitoring timer; if the first DRX timer is not activated, the network equipment does not schedule the terminal;
the network equipment determines the timing duration of the monitoring timer according to the timing duration of the activated first DRX timer; the timing duration is used for indicating that a terminal accessed to the network equipment is in an activated state;
and before the monitoring timer is overtime, the network equipment dispatches the terminal.
Optionally, if the number of the activated DRX timers is at least two, and the starting time of the activated last DRX timer in any two consecutive activated DRX timers is earlier than the ending time of the activated last DRX timer;
the network device determines the timing duration of the monitoring timer according to the timing duration of the activated first DRX timer, and the determination comprises the following steps:
determining the time length between the earliest starting time in the activated first type timer and the latest ending time in the activated first type timer as the timing time length of the monitoring timer.
Optionally, after starting the monitoring timer, the method further includes:
turning off the monitoring timer when all first-class DRX timings of the network device are not activated.
Optionally, the DRX timer of the network device further includes a second DRX timer, and if only the second DRX timer is activated, the network device does not schedule the terminal;
optionally, the method further includes:
after the monitoring timer is started, if any one second DRX timer in the second DRX timers is activated, determining that the timing duration of the monitoring timer is kept unchanged.
Optionally, the first DRX timer includes at least one of an activation timer, a DRX inactivity timer, and a DRX retransmission timer; the second type of DRX timer comprises a hybrid automatic repeat request backhaul time timer.
Optionally, the method further includes:
and when the monitoring timer is over time, the network equipment stops scheduling the terminal.
In a second aspect, an embodiment of the present invention provides a network device, including:
a starting module, configured to, when none of first DRX timers in a DRX timer for discontinuous reception of network equipment is activated, start a monitoring timer by the network equipment if any one of the first DRX timers is activated; if the first DRX timer is not activated, the network equipment does not schedule the terminal;
a determining module, configured to determine a timing duration of the monitoring timer according to a timing duration of the activated first DRX timer; the timing duration is used for indicating that a terminal accessed to the network equipment is in an activated state;
and the scheduling module is used for scheduling the terminal before the monitoring timer is overtime.
Optionally, if the number of the activated DRX timers is at least two, and the starting time of the activated last DRX timer in any two consecutive activated DRX timers is earlier than the ending time of the activated last DRX timer;
the determining module determines the timing duration of the monitoring timer according to the timing duration of the activated DRX timer, and the determining module comprises:
determining the time length between the earliest starting time in the activated first type timer and the latest ending time in the activated first type timer as the timing time length of the monitoring timer.
Optionally, the method further includes:
a closing module, configured to close the monitoring timer when all first-class DRX timings of the network device are not activated after the monitoring timer is started.
Optionally, the DRX timer of the network device further includes a second DRX timer, and if only the second DRX timer is activated, the network device does not schedule the terminal;
the determination module is further to: after the monitoring timer is started, if only any one second DRX timer in the second DRX timers is activated, determining that the timing duration of the monitoring timer is kept unchanged.
Optionally, the first DRX timer includes at least one of an activation timer, a DRX inactivity timer, and a DRX retransmission timer, and the second DRX timer includes a harq backhaul time timer.
Optionally, the scheduling module is further configured to:
and when the monitoring timer is overtime, stopping scheduling the terminal.
In the embodiment of the present invention, it is considered that, although the terminal is provided with a plurality of DRX timers, the activation duration of the terminal generally depends on the timing duration of the first DRX timer activated in the terminal, and the DRX timer in the terminal and the DRX timer in the network device are synchronized, so the activation duration of the terminal generally depends on the timing duration of the first DRX timer activated in the network device, and therefore, the network device in the embodiment of the present invention monitors the timing duration of the first DRX timer activated, and does not need to monitor the first DRX timer not activated in the network device, which obviously improves the efficiency of scheduling the terminal, and can reduce the operation overhead of the network device and reduce the workload of the network device.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more clearly and completely apparent, the technical solutions in the embodiments of the present invention will be described below with reference to the accompanying drawings in the embodiments of the present invention.
In the embodiment of the present invention, the network device may be a base station, and the terminal may be a mobile terminal, such as a mobile phone, a tablet computer (PAD), and the like.
First, an implementation procedure of the existing DRX function is described.
The DRX function is to enable the terminal to enter a DRX sleep period when no data is transmitted, and to re-enter a DRX active period when data needs to be transmitted, so as to reduce power consumption of the terminal. After the terminal accesses the base station, the base station sends a Radio Resource Control (RRC) message to the terminal, and after the terminal receives the RRC message sent by the network equipment, the terminal reads a DRX parameter carried by the RRC message, maintains a DRX timer according to the read DRX parameter, and periodically monitors the PDCCH according to the regulation of a protocol. The network equipment is provided with a plurality of DRX timers, and the DRX timers configured by the network equipment are divided into two types, namely a first type DRX timer and a second type DRX timer, wherein when all the first type DRX timers are not activated, the network equipment does not schedule the terminal, and when any one first type DRX timer is in an activated state, the network equipment schedules the terminal. When only the second DRX timer is activated, that is, when only the second DRX timer is in an active state, the network device does not schedule the terminal. Since the terminal is in the dormant state when the DRX timer of the second type is activated, the activation duration of the terminal is generally determined by the timing duration of the activated DRX timer of the first type in the terminal, and the DRX timer of the terminal and the DRX timer of the network device are synchronized, so the activation duration of the terminal may also be determined by the timing duration of the activated DRX timer of the first type in the network device.
Wherein the first DRX timer configured by the network equipment comprises:
activation Timer (On Duration Timer): it specifies the number of subframes that the terminal continuously monitors the PDCCH when each DRX period starts;
discontinuous reception Inactivity Timer (DRX Inactivity Timer): the method comprises the steps that during an activation period, after a terminal successfully decodes a PDCCH used for indicating initial transmission of uplink data or downlink data, the number of subframes of continuous PDCCHs which are continuously in a DRX activation period is appointed;
discontinuous reception Retransmission Timer (DRX Retransmission Timer): it specifies the number of subframes of the PDCCH that the terminal is expected to monitor continuously from the subframe in which the terminal expects to receive the downlink retransmission.
The second DRX timer of network equipment configuration comprises: hybrid automatic repeat reQuest (HARQ) Round-Trip Time (RTT) Timer (Timer): the terminal is allowed to monitor the number of subframes of the PDCCH of the downlink retransmission only after the timing duration of the timer is continued from the previous downlink data transmission. When the HARQ RTT Timer expires and data received by the corresponding HARQ process is not successfully decoded, the terminal activates a DRX Retransmission Timer for the HARQ process, and when the DRX Retransmission Timer runs, the terminal monitors the number of subframes of the PDCCH used for HARQ Retransmission.
Generally, the network device configures 1 On Duration Timer, 1 DRX Inactivity Timer, 8 DRX Retransmission timers, and 8 HARQ RTT timers, for a total of 18 DRX timers. The terminal is in an active state as long as one first-class DRX timer of the 18 DRX timers is activated into an active state. If all the first-type DRX timers of the 18 DRX timers are in a stopped state, i.e., in an inactive state, the terminal enters a sleep state. The network device schedules the terminal only when the terminal is in an active state.
Currently, before scheduling the terminal, the network device needs to traverse the 18 DRX timers to determine the duration of the terminal in the active state. Wherein, the duration of the terminal in the active state is a time difference between the earliest starting time of the activated first-class DRX timers in the 18 DRX timers and the latest ending time of the activated first-class DRX timers in the 18 DRX timers. It can be seen that the duration that the terminal is in the active state depends only on the timing duration of the activated DRX timer of the first type, and is independent of the DRX timers of the first type that are not activated and the DRX timers of the second type that are activated. However, a terminal usually sets a plurality of DRX timers, and not all DRX timers are activated within one TTI, and when a network device traverses the DRX timers of the network device, the network device needs to traverse all DRX timers of the network device, and the number of the DRX timers to be traversed is large, which results in low efficiency.
The embodiment of the present invention considers that although the terminal sets a plurality of DRX timers, the activation duration of the terminal generally depends on the timing duration of the activated first-type DRX timer in the network device. And the DRX timers in the terminal and the network equipment are synchronous, so the activation duration of the terminal also depends on the timing duration of the activated DRX timer in the network equipment. Therefore, the method for scheduling a terminal provided in the embodiments of the present invention only needs to monitor the timing duration of the activated DRX timer of the first type, and does not need to monitor the DRX timer of the first type that is not activated in the network device, which obviously improves the efficiency of scheduling the terminal, and can reduce the operation overhead of the network device and reduce the workload of the network device.
The technical scheme provided by the embodiment of the invention is described in the following with the accompanying drawings of the specification.
Referring to fig. 1, an embodiment of the present invention provides a method for scheduling a terminal, where the method is executed by a network device. The process of the method is described as follows:
s101: when the first DRX timing in the discontinuous reception DRX timers of the network equipment is not activated, if any one first DRX timer in the first DRX timers is activated, the network equipment starts a monitoring timer; if the first DRX timer is not activated, the network equipment does not schedule the terminal;
s102: the network equipment determines the timing duration of the monitoring timer according to the timing duration of the activated first DRX timer; the timing duration is used for indicating that a terminal accessed to the network equipment is in an activated state;
s103: and before the monitoring timer is overtime, the network equipment dispatches the terminal.
Before the network device schedules the terminal, it needs to know whether the terminal is in an active state, and a duration of the terminal in the active state may depend on a timing duration of a first DRX timer activated in the network device. Therefore, the network device only needs to monitor the timing duration of the activated first-class DRX timer in the network device. Therefore, in the embodiment of the present invention, the network device sets the monitoring timer to monitor the timing duration of the activated DRX first timer in the network device, without monitoring the timing duration of the inactivated DRX first timer in the network device. Therefore, the number of DRX timers to be monitored by the network equipment is reduced, the working efficiency can be effectively improved, and the workload of the network equipment can be reduced.
The activation of each first-type DRX timer or second-type DRX timer in the terminal depends on whether a corresponding activation event occurs. And if the activation event is generated, activating the corresponding first DRX timer or second DRX timer.
For example, for the On Duration Timer, the On Duration Timer may be activated only at the beginning of each DRX cycle if a corresponding activation event occurs. The On Duration Timer is activated only when the DRX cycle currently used by the terminal and the current System Frame Number (SFN) satisfy formula (1) or formula (2) to be described below, that is, the event satisfying formula (1) may be an activation event activating the On Duration Timer, or the event satisfying formula (2) may also be an activation event activating the On Duration Timer.
Specifically, if the DRX cycle currently used by the terminal is a short DRX cycle, the OnDuration Timer is activated when formula (1) is satisfied. Equation (1) is as follows:
[(SFN*10)+subframe number]modulo(shortDRX-Cycle)=
(drxStartOffset)modulo(short DRX-Cycle) (1)
in formula (1), subframe number represents the current system subframe, and modulo represents modulo operation. drxStartOffset indicates the subframe number of the starting subframe of the DRX cycle, i.e., indicates that the On Duration Timer is activated for the next subframe in one DRX cycle.
Or, if the DRX cycle currently used by the terminal is a long DRX cycle, the OnDuration Timer is activated when equation (2) is satisfied. Equation (2) is as follows:
[(SFN*10)+subframe number]modulo(longDRX-Cycle)=
drxStartOffset (2)
for another example, for the DRX Inactivity Timer, if the terminal receives a PDCCH indicating initial transmission of uplink data or downlink data, the terminal activates the DRX Inactivity Timer, and monitors the PDCCH in each subframe transmitting the downlink data during the DRX Inactivity Timer operation period. That is, an event of receiving a PDCCH indicating initial transmission of uplink data or downlink data may be considered as an activation event for activating a DRX Inactivity Timer. Or, when the terminal receives the PDCCH indicating initial transmission of downlink data during the DRX Inactivity Timer operation period, the terminal reactivates the DRX Inactivity Timer, and when the DRX Inactivity Timer times out, the terminal enters a dormant state. That is, the event that the terminal receives the PDCCH indicating initial downlink data transmission during the DRX Inactivity Timer operation period may also be an activation event for activating the DRX Inactivity Timer.
The generation times of the different activation events may be the same or different. If the generation time of different activation events is the same, different DRX timers of the first type or the second type may be activated at the same time. If the generation times of different activation events are different, different DRX timers of the first type or the second type may be activated at different times. That is, the time at which the DRX timers are activated may be the same or different. And the timing duration of different DRX timers may be the same or different, which results in the ending time of the activated first type DRX timer being the same or different.
In case the starting times of the activated DRX timers are different, the starting time of one activated DRX timer may be later than the ending times of the activated DRX timers, and the active DRX timers have no overlap with the active DRX timers. The terminal is actually in a dormant state between the starting time of the activated first DRX timer and the ending time of the other activated first DRX timers. When the first DRX timer in the terminal is activated, the corresponding first DRX timer in the network device is also activated at the same time, the first DRX timer in the terminal is overtime, and the corresponding first DRX timer in the network device is also overtime at the same time, so that whether the terminal is in an active state or a dormant state may depend on the activation duration of the activated first DRX timer in the network device. For example, there are two first DRX timers activated in the network device, the starting time of the first activated DRX timer is time t1, the ending time is time t2, the starting time of the second activated DRX timer is time t3, and the ending time is time t4, where time t3 is later than time t 2. During the time period between the time t2 and the time t3, all the DRX timers of the first class of the network device are not activated, and the terminal is in a sleep state. Then at time t2 the network device may turn off the watchdog timer to reduce the operational overhead of the network device. And after the monitoring timer is turned off, if the first DRX timer is activated again, for example, the monitoring timer is turned off at time t2, and the second DRX timer is activated at time t3, the network device may turn back on the monitoring timer at time t3 to continue monitoring the activated DRX timer. That is, when none of the first DRX timers of the terminal is activated, none of the first DRX timers of the network device is activated, and the network device may turn off the monitoring timer. After the monitoring timer is closed, the network device may restart the monitoring timer as long as any one of the first DRX timers of the network device is activated. This avoids both dropping the first DRX timer that should be monitored and avoiding unnecessary operation overhead for the network device.
In the embodiment of the invention, after the network equipment starts the monitoring timer, the timing duration of the monitoring timer can be determined according to the timing duration of the activated first-class DRX timer in the DRX timers of the network equipment, and the terminal is in an activated state within the timing duration of the monitoring timer. The network device may determine the timing duration of the activated first DRX timer when the first DRX timer is activated in the DRX timers of the network device, and then determine the timing duration of the monitoring timer according to the timing duration of the activated first DRX timer. The activated first DRX timer may be one or more, and if the activated first DRX timer is more than one, the timing duration of each activated first DRX timer may be the same or different, and it is possible that during the activation of one first DRX timer, another first DRX timer is activated. Therefore, the manner of determining the timing duration of the monitoring timer by the network device is different according to the number of the activated DRX timers in the network device and the timing duration of the activated timers, which are respectively described below
In the first case: if the number of activated DRX timers in the network device is one, it may be determined that the duration that the terminal is in the activated state is the timing duration of the activated DRX timers, and is independent of other non-activated DRX timers in the network device. At this time, the network device may start the monitoring timer when the activated first DRX timer is activated, and determine the timing duration of the activated first DRX timer as the timing duration of the monitoring timer. That is, the start time of the monitoring timer is the same as the start time of the activated first DRX timer, and the end time of the monitoring timer is also the same as the end time of the activated first DRX timer.
In the second case: if the number of the activated first DRX timers in the network device is multiple, the duration of the terminal in the active state is determined according to the timing durations of the multiple activated first DRX timers.
The starting time of the activated first-type DRX timers may be the same or different. If the starting time of the plurality of activated DRX timers is the same, the network device may start the monitoring timer when any one of the plurality of activated DRX timers is activated. The starting time of the monitoring timer is the starting time of any one of the activated first-type DRX timers. If the starting times of the plurality of activated first-type DRX timers are not the same, the network device may start the monitoring timer when a first activated first-type DRX timer of the plurality of activated first-type DRX timers is activated. The start time of the monitoring timer is the start time of the first activated DRX timer of the plurality of activated DRX timers, so as to avoid missing monitoring of the activated DRX timers as much as possible.
Likewise, the ending time of the activated first DRX timers may be the same or different. If the starting times of the plurality of activated first DRX timers are the same and the ending times of the plurality of activated first DRX timers are the same, the network device may determine any one of the ending times of the plurality of activated first DRX timers as the ending time of the monitoring timer.
If the starting times of the plurality of activated first DRX timers are the same and the ending times of the plurality of activated first DRX timers are different, the network device may determine the latest ending time of the ending times of the plurality of activated first DRX timers as the ending time of the monitoring timer.
If the starting time of the plurality of activated first-type DRX timers is different, the network equipment determines the ending time of the first-type DRX timer as the ending time of the monitoring timer when the first-type DRX timer is activated. After the network equipment determines the end time of the monitoring timer for the first time, if no other first-class DRX timer is activated when the monitoring timer is overtime, the monitoring timer is closed, and after the monitoring timer is closed, if the other first-class DRX timer is activated, the network equipment restarts the monitoring timer; or before the monitoring timer is overtime, if other first-class DRX timers are activated, the network equipment compares the end time of the later activated first-class DRX timer with the end time of the monitoring timer, and if the end time of the later activated first-class DRX timer is later than the end time of the monitoring timer, the network equipment updates the end time of the later activated first-class DRX timer to the end time of the monitoring timer. By analogy, the network device may update the final end time of the monitoring timer according to the state of the first-class DRX timer.
In summary, in the second case, when there is an overlap in the activation durations of the activated first-type DRX timers, for example, the starting time of the next activated first-type DRX timer of any two consecutive activated first-type DRX timers is earlier than the ending time of the previous activated first-type timer, the network device may determine the duration between the earliest starting time of the activated first-type timers and the latest ending time of the activated first-type timers as the timing duration of the monitoring timer.
If any one of the second DRX timers is activated after the monitoring timer is started, because the activation duration of the terminal depends on the timing duration of the activated first DRX timer in the network device, at this time, the timing duration of the monitoring timer remains unchanged, that is, the monitoring timer does not recalculate the timing duration.
For better understanding, the determination of the timing duration of the monitoring timer is described by taking the activated DRX timer as two DRX timers of the first type. If the activated DRX timer in the network device has two first-type DRX timers, the starting time of the first-type DRX timer is t1 time, the ending time is t2 time, the starting time of the second first-type DRX timer is t3 time, and the ending time is t4 time, wherein the t1 time is earlier than the t3 time, the network device can start the monitoring timer when the first-type DRX timer is activated, namely, the t1 time. If the time t3 is earlier than the time t2, and the time t4 is later than the time t2, then the time t4 is the latest ending time of the ending times of the activated first DRX timer and the activated second DRX timer, and the network device may determine the time t4 as the ending time of the monitoring timer.
If the time t4 is earlier than the time t2, the time t2 is the latest end time of the end times of the activated first DRX timer of the first type and the activated second DRX timer of the first type, and the network device may determine the time t2 as the end time of the monitoring timer.
If the time t3 is later than the time t2, the terminal is in a sleep state for a period of time between the time t2 and the time t 3. Then at time t2 the network device may turn off the watchdog timer. And at time t3, the second DRX timer of the first type is activated, then at time t3, the network device may restart the supervision timer.
For another example, the activated DRX timers are three first-type DRX timers, and there is a third first-type DRX timer activated on the basis that the activated DRX timers are two first-type DRX timers. The starting time of the third DRX timer of the first type is time t5, and the ending time is time t 6. If the time t3 is earlier than the time t2, the time t4 is later than the time t2, the time t5 is earlier than the time t4, and if the time t6 is later than the time t4, the time t6 is the latest end time of the end times of the 3 activated DRX timers, so the network device can update the time t6 to the end time of the monitoring timer.
If the time t3 is earlier than the time t2, the time t4 is later than the time t2, and if the time t5 is later than the time t4, the terminal is in a dormant state between the time t4 and the time t5, the network device may close the monitoring timer at the time t4, and restart the monitoring timer at the time t 5.
The above number of activated DRX timers is two or three DRX timers of the first type, which is only an example, and so on if the activated DRX timers of the first type are more than three. And the network equipment updates the latest ending time in the ending times of the activated first-class DRX timers to the ending time of the monitoring timer. As long as the starting time of the next activated DRX first-class timer is later than the latest ending time of the previous activated DRX first-class timers, the network device may close the monitoring timer at the latest ending time of the previous activated DRX first-class timers, and restart the monitoring timer until the next activated DRX first-class timer is activated.
The monitoring timer only monitors the activated DRX timer, and does not need to monitor the inactivated DRX timer, and the number of the monitored DRX timers is less, so that the workload of the network equipment is reduced.
For better understanding, please refer to fig. 2, fig. 2 is a schematic diagram of a process for determining a timing length of a monitoring timer. The activation time is the timing length of the monitoring timer. Typically, the DRX timer records the start time and the end time in the form of a frame number and a subframe number. As shown in the first row of fig. 2, 10 subframes are included in one frame, and both the frame number and the subframe number start from 0. The first frame is from 0/0-0/9, the frame number is 0, the subframe number is from 0-9, the second frame is from 1/0-1/9, the frame number is 1, the subframe number is from 0-9. If the current time is later than the end time, the network device may determine that the DRX timer is out of time.
When an activation event 1 arrives, for example, the activation event 1 is that the current system frame number SFN satisfies formula (1), then at 0/0 subframe, the terminal activates the On Duration Timer, and at this time, the network device activates the monitoring Timer. That is, the start time of the watchdog Timer coincides with the start time of the On Duration Timer. As shown in the second row of fig. 2, the On Duration Timer is in the active period from 0/0 subframes to 0/4 subframes, and the network device records the start time, i.e., 0/0 subframe, and the end time, i.e., 0/4 subframe, of the On Duration Timer. If only the On Duration Timer is activated currently, the network device determines the timing Duration of the On Duration Timer as the timing Duration of the monitoring Timer, that is, the Duration of the terminal in the activated state.
If an activation event 2 arrives after the activation event 1, for example, the activation event 2 is that the network device sends a PDCCH for initial transmission of downlink data, then at 0/1 subframe, the terminal activates a DRX Inactivity Timer. As shown in the third line of fig. 2, if the end time of the DRX Inactivity Timer is later than the end time of the On Duration Timer, the network device may update the end time of the DRX Inactivity Timer to the end time of the supervision Timer.
If an activation event 3 arrives after the activation event 2, for example, the activation event 3 is that the terminal receives a PDCCH indicating downlink data transmission, then at 0/1 subframe, the terminal activates the HARQ RTT Timer. As shown in the fourth row of fig. 2, HARQ RTTTimer activation indicates that the terminal is in the sleep period, and since the end time of the HARQ RTT Timer is later than the end time of the DRX Inactivity Timer, the network device determines that the end time of the supervision Timer is the end time of the DRX Inactivity Timer. If the end time of the HARQ RTT Timer is earlier than the end time of the DRX Inactivity Timer, the network device determines that the end time of the monitoring Timer is the end time of the DRX Inactivity Timer.
If an activation event 4 arrives after activation event 3, e.g., activation event 4 is HARQ RTT Timer timeout and the related HARQ process decoding fails, the terminal activates DRX Retransmission Timer at 0/8 subframe. As shown in the fifth line of fig. 2, since the end time of the DRX Retransmission Timer is later than the end time of the HARQ RTT Timer, the network device determines the end time of the monitoring Timer to be the DRX Retransmission Timer. However, before the drxrettransmission Timer is activated, the terminal is in a sleep state, as shown in fig. 2, so the network device may close the monitoring Timer after the drxinavity Timer is stopped, and restart the monitoring Timer when the DRX Retransmission Timer is activated.
After the DRX Retransmission Timer is stopped, the On Duration Timer and the DRX inactivity Timer are both in a stopped state, and then the terminal is in a dormant state at this time. When the DRX Retransmission Timer is stopped, the network device may close the monitoring Timer until a new DRX Timer of the first type is activated, so as to reduce the operation overhead of the network device and reduce the workload of the network device.
In the embodiment of the invention, the network equipment continuously compares the end time of the newly activated first DRX timer only when the new first DRX timer is activated, updates the end time of the monitoring timer without traversing the inactivated first DRX timer, so that the number of the timers needing to be traversed is less, obviously improves the efficiency of dispatching the terminal, can reduce the operation cost of the network equipment and lightens the workload of the network equipment.
In the embodiment of the invention, the network equipment can stop dispatching the terminal when the monitoring timer is overtime, and the terminal can be in a dormant period, so that the electric quantity is saved.
The following describes the apparatus provided by the embodiment of the present invention with reference to the drawings.
Referring to fig. 3, based on the same inventive concept, an embodiment of the present invention provides a network device, which may include a starting module 301, a determining module 302, and a scheduling module 303.
The starting module 301 may be configured to, when none of the DRX timers of the network device are activated, start a monitoring timer by the network device if any one of the DRX timers of the first class is activated, where the network device does not schedule the terminal if none of the DRX timers of the first class is activated. The determining module 302 may be configured to determine a timing duration of the monitoring timer according to a timing duration of the activated first DRX timer, where the timing duration is used to indicate that the terminal of the access network device is in an active state. The scheduling module 303 may be configured to schedule the terminal before the monitoring timer expires.
Optionally, if the number of the activated DRX timers is at least two, and the starting time of the activated last DRX timer in any two consecutive activated DRX timers is earlier than the ending time of the activated last DRX timer;
the determining module 302 determines the timing duration of the monitoring timer according to the timing duration of the activated DRX timer, including:
and determining the time length between the earliest starting time in the activated first type timer and the latest ending time in the activated first type timer as the timing time length of the monitoring timer.
Optionally, the network device further includes:
and the closing module is used for closing the monitoring timer when all the first DRX timing of the network equipment is not activated after the monitoring timer is started.
Optionally, the DRX timer of the network device further includes a second DRX timer, and if only the second DRX timer is activated, the network device does not schedule the terminal;
the determination module 302 is further configured to: after the monitoring timer is started, if any one second type timer in the second type DRX timers is activated, the timing duration of the monitoring timer is determined to be kept unchanged.
Optionally, the DRX timer of the first type includes at least one of an activation timer, a DRX inactivity timer, and a DRX retransmission timer of the discontinuous reception, and the DRX timer of the second type includes a harq backhaul time timer.
Optionally, the scheduling module 303 is further configured to:
and when the monitoring timer is overtime, stopping scheduling the terminal.
The starting module 301, the determining module 302, and the scheduling module 303 may be implemented by a base station. The network device may be configured to perform the method provided by the embodiment shown in fig. 1. Therefore, regarding the functions that can be realized by each functional module in the network device, reference may be made to the corresponding description in the embodiment shown in fig. 1, which is not repeated herein.
In the embodiment of the present invention, it is considered that, although the terminal is provided with a plurality of DRX timers, the activation duration of the terminal generally depends on the timing duration of the activated DRX timer in the terminal, and the DRX timer in the terminal and the DRX timer in the network device are synchronized, so the activation duration of the terminal also generally depends on the timing duration of the activated DRX timer in the network device.
It will be clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to perform all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a Universal Serial Bus flash disk (usb flash disk), a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.