[go: nahoru, domu]

WO2014106341A1 - Resource allocation method and device - Google Patents

Resource allocation method and device Download PDF

Info

Publication number
WO2014106341A1
WO2014106341A1 PCT/CN2013/070131 CN2013070131W WO2014106341A1 WO 2014106341 A1 WO2014106341 A1 WO 2014106341A1 CN 2013070131 W CN2013070131 W CN 2013070131W WO 2014106341 A1 WO2014106341 A1 WO 2014106341A1
Authority
WO
WIPO (PCT)
Prior art keywords
resource
terminal
dedicated
message
service
Prior art date
Application number
PCT/CN2013/070131
Other languages
French (fr)
Chinese (zh)
Inventor
胡振兴
熊新
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201380001405.0A priority Critical patent/CN104041167B/en
Priority to JP2015551094A priority patent/JP6128451B2/en
Priority to PCT/CN2013/070131 priority patent/WO2014106341A1/en
Publication of WO2014106341A1 publication Critical patent/WO2014106341A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a resource allocation method and apparatus.
  • ETWS Earthquake and Tsunami Warning System
  • the network side carries the ETWS indication in the paging message and sends it to the user terminal.
  • the user terminal obtains the ETWS indication in the paging message, it reads the broadcast message sent by the network side. And get the ETWS information carried from it.
  • the user terminal obtains the ETWS information, it will trigger a large number of voice or data services, for example, calling and texting friends, sending microblogs, etc., which can make emergency calls or high priority calls. Unable to access.
  • an emergency service-specific access resource is allocated for an emergency service, so that when the ETWS information causes a large number of access services to occur, the network can preferentially permit the emergency service connection using the dedicated access resource based on the judgment of the access resource.
  • ETWS is only an incident, and always occupying dedicated access resources will reduce the utilization efficiency of resources in the network.
  • Embodiments of the present invention provide a resource allocation method and apparatus, which improve resource utilization efficiency.
  • the embodiment of the present invention uses the following technical solutions:
  • the present invention provides a resource allocation method, including: When the resource usage in the network exceeds the first threshold, the first message is sent to the terminal, where the first message carries a dedicated resource of the specified service, where the dedicated resource is selected when the specified service is initiated in the terminal. The occupied resource, so that the terminal determines the resource allocation of the specified service in the terminal according to the dedicated resource.
  • the determining, by the terminal, the resource allocation of the specified service in the terminal according to the dedicated resource includes:
  • the dedicated resource is set to an active state, so that when the initial access instruction of the specified service is received, the occupied resource is selected from the dedicated resource.
  • the first message is a paging message or a broadcast message.
  • the method when the first message is the first broadcast message, after the sending the first message to the terminal, the method also includes:
  • the method when the first message is a third broadcast message, and the dedicated resource carried in the third broadcast message is a list of specified service-specific resource configurations,
  • the specified service-specific resource configuration includes the identifier corresponding to the specified service and the dedicated resource corresponding to the specified service, after the sending the first message to the terminal, the method further includes:
  • the method further includes:
  • the terminal is Setting the dedicated resource to an active state includes:
  • the terminal sets the dedicated resource to an active state according to a preset effective time, where the preset effective time is a duration of activation of the dedicated resource.
  • the method further includes:
  • the method further includes:
  • the fourth broadcast message further includes a resource effective time, where the resource effective time is a duration of the dedicated resource activation Time, so that the terminal acquires and saves the resource effective time, and uses the resource effective time as the preset effective time.
  • the first message further includes a resource effective time, where the resource effective time is a duration of the dedicated resource activation And the terminal obtains and saves the resource effective time, and uses the resource effective time as the preset effective time.
  • the method further includes: when detecting that the resource usage in the network is lower than the second threshold, sending a second message to the terminal, where the second message carries a revocation instruction, where the revocation instruction is used to indicate the terminal
  • the allocation instruction for the dedicated resource of the specified service is revoked.
  • the present invention provides a resource allocation method, including:
  • the determining, by the dedicated resource, the resource allocation of the specified service in the terminal includes:
  • the dedicated resource is set to an active state, so that when the initial access instruction of the specified service is received, the occupied resource is selected from the dedicated resource.
  • the first message is a paging message or a broadcast message.
  • the method when the first message is the first broadcast message, after the dedicated resource is set to an active state, the method also includes:
  • the second broadcast message carries a dedicated resource of the second designated service, when receiving the first paging message that is sent by the network side and carrying the modification indication; Obtaining and saving the dedicated resource of the second designated service from the second broadcast message;
  • the dedicated resource of the specified service is set to a deactivated state, and the dedicated resource of the second designated service is set to an activated state.
  • the method when the first message is a third broadcast message, and the dedicated resource carried in the third broadcast message is a list of specified service-specific resource configurations, After the specified service-specific resource configuration includes the identifier corresponding to the specified service and the dedicated resource corresponding to the specified service, after the acquiring and saving the dedicated resource from the first message, the method further includes:
  • the method further includes:
  • the setting the dedicated resource to an active state includes:
  • the dedicated resource is set to an active state according to a preset effective time, and the preset effective time is a duration of activation of the dedicated resource.
  • a seventh possible implementation manner when the preset effective time is a preset time of a timer preset on the terminal And setting the dedicated resource to an active state according to the preset effective time includes: starting the timer, and activating the dedicated resource;
  • the timer when receiving the fourth paging message that is sent by the network side and carrying the specified service early warning indication, the timer is restarted, and the working state of the dedicated resource is activated. status.
  • the method before the setting the dedicated resource to the active state according to the preset effective time, the method further includes:
  • the resource effective time is activated by the dedicated resource.
  • the method further includes:
  • the first message further includes a resource effective time, where the resource effective time is a duration of the dedicated resource activation
  • the method further includes:
  • the method further includes:
  • the resources occupied by the service are selected from other resources, and the other resources do not include the dedicated resources;
  • the dedicated resource is set to the deactivated state.
  • the method further includes:
  • the present invention provides a network device, including:
  • a sending unit configured to send a first message to the terminal when the resource usage in the network exceeds a first threshold, where the first message carries a dedicated resource of a specified service, where the dedicated resource is in the terminal
  • the resource that is occupied by the designated service is selected, so that the terminal determines the resource allocation of the specified service in the terminal according to the dedicated resource.
  • the first message sent by the sending unit is a paging message or a broadcast message.
  • the sending unit is further configured to send, to the terminal, a first paging message that carries a modification indication, and is further configured to send a second broadcast message to the terminal, where the second broadcast
  • the information carries a dedicated resource of the second designated service, so that the terminal sets the dedicated resource of the specified service to a deactivated state, and the dedicated resource of the second designated service is set to an activated state.
  • the dedicated resource carried in the third broadcast message is a list of specified service-specific resource configurations
  • the list of the specified service-specific resource configuration includes the identifier corresponding to the specified service and the dedicated resource corresponding to the specified service
  • the sending unit is further configured to send, to the terminal, a second paging message that carries the first identifier, so that the terminal searches for a corresponding dedicated resource according to the first identifier, and sets the dedicated resource as In the active state, when the terminal receives the initiated access instruction of the specified service corresponding to the first identifier, the occupied resource is selected from the dedicated resource.
  • the sending unit is further configured to send, to the terminal, a third paging message that carries the specified service early warning indication, so that the terminal uses the dedicated resource
  • the terminal receives the initiated access instruction of the specified service, the terminal selects an occupied resource from the dedicated resource.
  • the sending unit is further configured to send, to the terminal, a fourth paging message that carries the specified service early warning indication, so that the terminal restarts the timer.
  • the sending unit is further configured to send, to the terminal, a fourth broadcast message that carries the specified service early warning information, so that the terminal acquires the specified service early warning information.
  • the fourth broadcast message sent by the sending unit further includes a resource effective time, where the resource effective time is a duration of activation of the dedicated resource, so that the terminal acquires and saves the resource effective time. And the resource effective time is taken as the preset effective time.
  • the first message sent by the sending unit further carries a resource effective time, where the resource effective time is a duration of activation of the dedicated resource, so that the terminal acquires and saves the resource effective time, and The resource effective time is taken as the preset effective time.
  • the sending unit is further configured to detect that the resource usage in the network is low, in a ninth possible implementation manner.
  • the second message is sent to the terminal, where the second message carries a revocation instruction, where the revocation instruction is used to instruct the terminal to cancel the allocation instruction of the dedicated resource of the specified service.
  • the present invention provides a terminal, including:
  • a receiving unit configured to receive a first message sent by the network side, where the first message carries a dedicated resource of a specified service, where the dedicated resource is a resource selected when the specified service is initiated in the terminal;
  • a processing unit configured to acquire and save the dedicated resource from the first message received by the receiving unit, to determine, according to the dedicated resource, a resource allocation of the specified service in the terminal.
  • the processing unit is configured to
  • the dedicated resource is set to an active state, so that when the initiated access instruction of the specified service is received, the occupied resource is selected from the dedicated resource.
  • the first message received by the receiving unit is a paging message or a broadcast message.
  • the processing unit is further configured to: when the receiving unit receives the first paging message that is sent by the network side and carries the modification indication, acquire the second broadcast message, where the second broadcast message carries the second a dedicated resource for the specified business;
  • the terminal further includes:
  • An obtaining unit configured to acquire and save a dedicated resource of the second specified service from the second broadcast message
  • the processing unit is further configured to set the dedicated resource of the specified service to a deactivated state, and the dedicated resource of the second designated service is set to an activated state.
  • the first message received by the receiving unit is a third broadcast message
  • the dedicated resource carried in the third broadcast message is configured for a specified service-specific resource.
  • the terminal further includes: when the list of the specified service-specific resource configuration includes the identifier corresponding to the specified service and the dedicated resource corresponding to the specified service, the terminal further includes:
  • a searching unit configured to: when the receiving unit receives the second paging message that is sent by the network side and that carries the first identifier, the dedicated resource corresponding to the first identifier is used; And setting the dedicated resource to an active state, so that when the initial access instruction of the specified service corresponding to the first identifier is received, the occupied resource is selected from the dedicated resource.
  • the processing unit is further configured to: when the receiving unit receives the third paging message that is sent by the network side and carries the specified service early warning indication, The dedicated resource is set to an active state so as to be received When the specified service initiates an access instruction, the occupied resource is selected from the dedicated resources.
  • the processing unit is further configured to set the dedicated resource to an active state according to a preset effective time, where the preset effective time is a duration of activation of the dedicated resource.
  • a seventh possible implementation manner when the preset effective time is a preset time of a timer preset on the terminal,
  • the processing unit is further configured to start the timer, and activate the dedicated resource; and is further configured to: when the timer is timed, when the receiving unit receives the carrying When the fourth paging message is indicated by the service alert, the timer is restarted, and the working state of the dedicated resource is in an active state.
  • the receiving unit is further configured to: when the processing unit sets the specified service dedicated resource according to a preset effective time, Before the activation state, the fourth broadcast message that is sent by the network side and carries the specified service early warning information is received, and the specified service early warning information is obtained.
  • the processing unit is further configured to acquire and save the resource effective time from the fourth broadcast message, and use the resource effective time as the preset effective time.
  • the resource effective time is When the dedicated resource is activated for a duration
  • the processing unit is further configured to acquire and save the resource from the first message
  • the effective time, and the resource effective time is taken as the preset effective time.
  • a determining unit configured to: when the receiving unit receives the service initiation instruction, determine whether the service is a designated service
  • the processing unit is further configured to: when the determining unit determines that the service is the specified service, and the working state of the dedicated resource is in an active state, select a resource occupied by the service from the dedicated resource;
  • the processing unit is further configured to: when the determining unit determines that the service is a non-designated service, and the working state of the dedicated resource is in an active state, select resources occupied by the service from other resources, where the other The resource does not include the dedicated resource; the processing unit is further configured to set the dedicated resource to a deactivated state when the preset effective time ends.
  • the receiving unit is further configured to receive the second message sent by the network side, where the second message carries a revocation instruction, where the revocation instruction is used to instruct the terminal to revoke An allocation instruction for the dedicated resource of the specified service;
  • the processing unit is further configured to obtain the revocation instruction from the second message, and release the dedicated resource.
  • the present invention provides a network device, including:
  • a memory for storing software programs and data
  • a wireless communication module configured to send a message to the terminal
  • a processor configured to execute a software program in the memory, specifically executing:
  • the first message is sent to the terminal by using the wireless communication module, where the first message carries a dedicated resource of a specified service, where the dedicated resource is in the terminal.
  • the resource that is occupied is selected when the specified service is initiated, so that the terminal determines the resource allocation of the specified service in the terminal according to the dedicated resource.
  • the first message that is sent by the wireless communications module to the terminal is a paging message or a broadcast message.
  • the processor when the first message is a first broadcast message, after the sending the first message to the terminal, the processor is also used to execute:
  • the wireless communication module Sending, by the wireless communication module, a second broadcast message to the terminal, where the second broadcast message carries a dedicated resource of the second designated service, so that the terminal sets the dedicated resource of the specified service to be deactivated.
  • Status, the dedicated resource of the second designated service is set to an active state.
  • the processor is further configured to:
  • the processor is further configured to:
  • the terminal sets the dedicated resource to an active state, when the terminal receives the specified service When the access instruction is initiated, the occupied resources are selected from the dedicated resources.
  • the processor is further configured to:
  • the processor is further configured to:
  • the fourth broadcast message sent by the wireless communication module to the terminal further includes a resource effective time, where The resource effective time is the duration of activation of the dedicated resource, so that the terminal acquires and saves the resource effective time, and uses the resource effective time as the preset effective time.
  • the first message sent by the wireless communication module to the terminal further includes a resource effective time, where the resource effective time is a duration of activation of the dedicated resource, so that the terminal acquires And saving the resource effective time, and using the resource effective time as the preset effective time.
  • the processor is further configured to:
  • the second message is sent to the terminal by using the wireless communication module, where the second message carries a revocation command, where the revocation instruction is used to indicate the terminal.
  • the allocation instruction for the dedicated resource of the specified service is revoked.
  • the present invention provides a terminal, including:
  • a memory for storing software programs and data
  • a wireless communication module configured to receive a message, and send a message sent by the network side to the processor for processing
  • a processor configured to execute a software program in the memory, specifically executing:
  • the processor is further configured to:
  • the dedicated resource is set to an active state, so that when the initial access instruction of the specified service is received, the occupied resource is selected from the dedicated resource.
  • the first message that is received by the wireless communications module is a paging message or a broadcast message.
  • the processor is further configured to execute:
  • the second broadcast message carries a dedicated resource of the second designated service, when receiving the first paging message that is sent by the network side and carrying the modification indication;
  • the dedicated resource of the specified service is set to a deactivated state, and the dedicated resource of the second designated service is set to an activated state.
  • the dedicated resource carried in the third broadcast message is a list of specified service-specific resource configurations
  • the list of the specified service-specific resource configuration includes the identifier corresponding to the specified service and the dedicated resource corresponding to the specified service
  • the processor is further configured to execute:
  • the processor is further configured to:
  • the processor is further configured to: set the dedicated resource to an active state according to a preset effective time, where the preset effective time is a duration of activation of the dedicated resource.
  • a seventh possible implementation manner when the preset effective time is a preset time of a timer preset on the terminal,
  • the processor is further configured to execute:
  • the timer when receiving the fourth paging message that is sent by the network side and carrying the specified service early warning indication, the timer is restarted, and the working state of the dedicated resource is activated. status.
  • the processor before the setting the dedicated resource to an active state according to a preset effective time, the processor is further configured to: carried out:
  • the resource effective time is activated by the dedicated resource Duration
  • the processor is further configured to execute:
  • the processor is further configured to execute:
  • the processor is further configured to: when receiving a service initiation instruction, determine whether the service is a specified service; when the service is the specified service, and the dedicated resource works When the state is in an active state, the resources occupied by the service are selected from the dedicated resources;
  • the resource occupied by the service is selected from other resources, and the other resource does not include the dedicated resource;
  • the dedicated resource is set to the deactivated state.
  • the processor is further configured to:
  • a resource allocation method and apparatus provided by the embodiment of the present invention, when the network side detects that the resource usage in the network exceeds the first threshold, sending a first message to the terminal, where The first message carries a dedicated resource of the specified service, where the dedicated resource is used to select the occupied resource when the specified service is initiated in the terminal, so that the terminal determines the resource of the specified service in the terminal according to the dedicated resource. distribution.
  • the embodiment of the present invention solves the problem of allocating dedicated resources for a specified service related to an incident event in the prior art, the dedicated resource is always occupied, thereby reducing the problem of resource utilization efficiency in the network, and improving resource utilization efficiency.
  • FIG. 1 is a flowchart of a resource allocation method according to Embodiment 1 of the present invention
  • FIG. 2 is a flowchart of still another resource allocation method according to Embodiment 1 of the present invention
  • FIG. 3 is another flowchart provided by Embodiment 1 of the present invention
  • FIG. 4 is a flowchart of a resource allocation method when the first message is a first broadcast message according to Embodiment 1 of the present invention
  • FIG. 5 is a flowchart of still another resource allocation method according to Embodiment 1 of the present invention
  • FIG. 6 is a flowchart of still another resource allocation method according to Embodiment 1 of the present invention
  • FIG. 8 is a flowchart of a method for allocating services, implementing resource selection, and occupying resources in a terminal according to Embodiment 1 of the present invention
  • FIG. 9 is a flowchart of a method for releasing a dedicated resource according to Embodiment 1 of the present invention.
  • FIG. 10 is a structural diagram of a network device according to Embodiment 2 of the present invention;
  • FIG. 1 is a schematic diagram of Embodiment 1 of the present invention; a structural diagram of the terminal;
  • FIG. 12 is a structural diagram of another terminal according to Embodiment 2 of the present invention
  • FIG. FIG. 13 is a structural diagram of still another terminal according to Embodiment 2 of the present invention
  • FIG. 14 is a structural diagram of still another terminal according to Embodiment 2 of the present invention
  • FIG. 15 is a structural diagram of a network device according to Embodiment 3 of the present invention
  • FIG. 16 is a structural diagram of a terminal according to Embodiment 3 of the present invention.
  • a resource allocation method is provided by the embodiment of the present invention.
  • the executor of the embodiment of the present invention is a network side. As shown in FIG. 1, the method includes the following steps:
  • the first message is sent to the terminal, where the first message carries a dedicated resource of the specified service, where the dedicated resource is initiated by the specified service in the terminal.
  • the occupied resource is selected, so that the terminal determines the resource allocation of the specified service in the terminal according to the dedicated resource.
  • the network side may be a base station or other network device, which is not limited herein.
  • the first message is a paging message or a broadcast message.
  • the network side periodically sends the broadcast message in the prior art.
  • the broadcast message is the SIB2 (system information block 2)
  • the radio resource Config Common of the SIB2 in the embodiment the random access information
  • the public hexagram A dedicated resource is carried in the rach-Config Common, for example, the dedicated resource is an access channel resource and/or an access codeword resource.
  • the designated service may be an emergency service, such as 110, 120, 119, etc. It is considered that a high-priority service, for example, a service with a higher access level preset by the terminal, does not limit the specific range of the specified service.
  • the network side always detects the resource occupation in the network.
  • the resource occupancy in the network exceeds the first threshold, for example, the first threshold is 70% of the resources in the network
  • the network side allocates a dedicated resource for the specified service.
  • the specified service is an emergency service
  • the problem that the emergency service cannot be accessed can be avoided by using the embodiment.
  • the network side When the network side detects that the resource usage in the network exceeds the first threshold, the network sends a first message to the terminal, where the first message carries the dedicated resource of the specified service.
  • the dedicated resource is used to select the occupied resource when the specified service is initiated in the terminal, so that the terminal determines the resource allocation of the specified service in the terminal according to the dedicated resource.
  • the embodiment of the present invention further provides a resource allocation method.
  • the execution subject of the embodiment of the present invention is a terminal. As shown in FIG. 2, the method includes the following steps:
  • the first message sent by the network side is received, where the first message carries a dedicated resource of a specified service, where the dedicated resource is a resource that is selected when the specified service is initiated in the terminal.
  • the network side may be a base station or other network device, which is not limited herein.
  • the first message is a paging message or a broadcast message.
  • the network side periodically sends the broadcast message in the prior art.
  • the broadcast message is the SIB2 (system information block 2)
  • the radio resource Config Common of the SIB2 in the embodiment the random access information
  • the public hexagram A dedicated resource is carried in the rach-Config Common, for example, the dedicated resource To access channel resources and/or access codeword resources.
  • the specified service may be an emergency service, for example, 110, 120, 119, etc., or may be a high-priority service, for example, a service with a higher access level preset by the terminal, where the specific range of the specified service is not limited.
  • the terminal receives the first message sent by the network side, where the first message carries the dedicated resource of the specified service, and the dedicated resource is selected when the designated service in the terminal is initiated.
  • the occupied resource obtains and saves the dedicated resource from the first message, so as to determine a resource allocation of the specified service in the terminal according to the dedicated resource.
  • the dedicated resource is always occupied, thereby reducing the utilization efficiency of resources in the network and improving the utilization efficiency of resources.
  • a resource allocation method is provided, where the terminal and the network side are used as a base station. As shown in FIG. 3, the method includes the following steps:
  • the base station when the base station detects that the resource usage in the network exceeds the first threshold, the first message is sent to the terminal, where the first message carries a dedicated resource of the specified service, where the dedicated resource is the specified service in the terminal.
  • the resource that is occupied is selected at the time of initiation, so that the terminal determines the resource allocation of the specified service in the terminal according to the dedicated resource.
  • the terminal receives the first message.
  • the first message is a paging message or a broadcast message.
  • the network side periodically sends the broadcast message in the prior art.
  • the broadcast message is SIB2 (system information block 2)
  • the public radio resource configuration of the SIB2 in this embodiment is used.
  • the private resource carrying the specified service in the rach-Conf ig Common for example, the dedicated resource is an access channel resource and/or an access codeword. Resources.
  • the specified service may be an emergency service, for example, 110, 120, 119, etc., or may be a high-priority service, for example, a service with a higher access level preset by the terminal, where the specific range of the specified service is not limited.
  • the terminal acquires and saves the dedicated resource from the first message.
  • the terminal sets the dedicated resource to an active state, so as to select an occupied resource from the dedicated resource when receiving the initiated access instruction of the specified service.
  • the existing technology is used to select and occupy the resource from the saved dedicated resource.
  • the terminal When the terminal receives the initiating instruction of the non-designated service, the terminal selects and occupies resources from other resources, and the other resources do not include the dedicated resource.
  • the terminal determines, according to the dedicated resource of the specified service carried in the paging message, resource allocation of the specified service in the terminal; when the terminal receives another When an updated paging message carries the dedicated resource of the second designated service, the terminal determines the second of the terminal according to the dedicated resource of the second designated service. The resource allocation of the specified service, replacing the dedicated resource of the specified service in the previous first message.
  • the method further includes the following steps:
  • the base station sends, to the terminal, a first paging message that carries a modification indication, where the modification indication is used to instruct the terminal to modify a dedicated resource of a specified service.
  • the terminal When the terminal receives the first paging message that is sent by the base station and carries the modification indication, the second broadcast message sent by the base station to the terminal is obtained, where the second broadcast message carries the first 2.
  • the base station determines the current capital by statistical traffic or business intensity, and the like
  • the first paging message carrying the modification indication is sent, the terminal is notified to modify the resource configuration, and the second broadcast message is obtained to obtain the dedicated resource of the second designated service.
  • the terminal acquires and saves a dedicated resource of the second designated service from the second broadcast message.
  • the terminal sets the dedicated resource of the specified service to a deactivated state, and the dedicated resource of the second designated service is set to an activated state.
  • the dedicated resource of the specified service that is set before is used to stop the specified service, that is, after the deactivation, other non-designated services may occupy the dedicated resource of the specified service after initiating the access instruction.
  • a resource allocation method is provided, where the terminal and the network side are used as a base station. As shown in FIG. 5, the method includes the following steps:
  • the base station when the base station detects that the resource usage in the network exceeds a first threshold, sending a third broadcast message to the terminal, where the third broadcast message carries a list of specified service-specific resource configurations, where the specified
  • the service-specific resource configuration list includes an identifier corresponding to the specified service and a dedicated resource corresponding to the specified service;
  • the terminal receives the third broadcast message.
  • the terminal acquires and saves a list of the specified service-specific resource configurations from the third broadcast message.
  • the network side periodically sends a broadcast message.
  • the third broadcast message is SIB2 (system information block 2)
  • the public radio resource configuration of the SIB2 radio
  • the rach-Conf ig Common carries a list of specific service-specific resource configurations, for example, the dedicated resources are access channel resources and/or access codes. Word resource.
  • the specified service may be an emergency service, for example, 110, 120, 119, etc., or may be a high-priority service, for example, a service with a higher access level preset by the terminal, where the specific range of the specified service is not limited.
  • the list of the specified service-specific resource configuration includes the identifier corresponding to the specified service and the dedicated resource corresponding to the specified service, for example, the identifier corresponding to the emergency service is 1, and the identifier corresponding to the high-priority service is 2, the emergency service and the high Priority services have corresponding dedicated resources.
  • the number of specified services in the list is not limited here.
  • the second paging message that is sent by the base station to the terminal and that carries the first identifier.
  • the terminal When the terminal receives the second paging message that is sent by the base station and carries the first identifier, the terminal searches for a dedicated resource corresponding to the first identifier.
  • a resource allocation method is provided, where the terminal and the network side are used as a base station. As shown in FIG. 6, the method includes the following steps:
  • the base station detects that the resource usage in the network exceeds a first threshold, the first message is sent to the terminal, where the first message carries a dedicated resource of a specified service, where the dedicated resource is Selecting the occupied resources when the specified service is initiated in the terminal; 602.
  • the terminal receives the first message.
  • the first message is a paging message or a broadcast message.
  • the network side periodically sends the broadcast message in the prior art.
  • the broadcast message is the SIB2 (system information block 2)
  • the radio resource Config Common of the SIB2 in the embodiment the random access information
  • the public hexagram A dedicated resource carrying a specified service is carried in the rach-Conf ig Common, for example, the dedicated resource is an access channel resource and/or an access codeword resource.
  • the specified service may be an emergency service, for example, 110, 120, 119, etc., or may be a high-priority service, for example, a service with a higher access level preset by the terminal, where the specific range of the specified service is not limited.
  • the terminal acquires and saves the dedicated resource from the first message.
  • the base station sends, to the terminal, a third paging message that carries a specified service early warning indication.
  • the terminal When the terminal receives the third paging message that carries the specified service early warning indication, set the dedicated resource to an active state, so that when the initiated access command of the specified service is received, The occupied resources are selected in the dedicated resources.
  • the base station When there is a specified service early warning indication in the base station, such as an emergency service warning indication, an earthquake, a tsunami warning indication, etc., the base station sends a third paging message carrying the specified service early warning indication, so that Notify the terminal.
  • a resource allocation method is provided, where the terminal and the network side are used as a base station, and in this implementation manner, the duration of the dedicated resource activation may be set by using a preset effective time, so that During the preset effective time, the specified service can be successfully accessed. As shown in FIG. 7, the method includes the following steps:
  • the base station detects that the resource usage in the network exceeds the first threshold, the first message is sent to the terminal, where the first message carries a dedicated resource of the specified service, where The dedicated resource is a resource selected when the specified service in the terminal is initiated;
  • the terminal receives the first message.
  • the first message is a paging message or a broadcast message.
  • the network side periodically sends the broadcast message in the prior art.
  • the broadcast message is the SIB2 (system information block 2)
  • the radio resource Config Common of the SIB2 in the embodiment the random access information
  • the public hexagram A dedicated resource carrying a specified service is carried in the rach-Conf ig Common, for example, the dedicated resource is an access channel resource and/or an access codeword resource.
  • the specified service may be an emergency service, for example, 110, 120, 119, etc., or may be a high-priority service, for example, a service with a higher access level preset by the terminal, where the specific range of the specified service is not limited.
  • the terminal acquires and saves the dedicated resource from the first message.
  • the terminal sets the dedicated resource to an active state according to a preset effective time, where the preset effective time is a duration of activation of the dedicated resource.
  • the preset effective time can be set by a fixed value or a variable, and the specific implementation manner is as follows:
  • Al starting a timer on the terminal, and activating the dedicated resource
  • the timer is set in the terminal, and the setting time of the timer is the preset effective time, for example, 2 seconds.
  • the function of the timer is that, when the dedicated resource is in the active state, the dedicated resource can be occupied only when the specified service is initiated, and the other non-designated service cannot occupy the Dedicated resources.
  • the timer when receiving the fourth paging message that is sent by the base station and carrying the specified service early warning indication, the timer is restarted, and the working state of the dedicated resource is Activation status.
  • the fourth paging message carrying the specified service early warning indication is received again during the timer counting, the timer is restarted, and the working state of the dedicated resource is maintained in an active state.
  • the terminal Before the setting the dedicated resource to the active state according to the preset effective time, the terminal receives the fourth broadcast message that is sent by the base station and carries the specified service early warning information, and obtains the specified service early warning information.
  • the fourth broadcast message further carries a resource effective time, where the resource effective time is a duration of activation of the dedicated resource.
  • the preset effective time may be set in a message sent by the base station, and the fixed value of the timer set on the terminal is not necessarily used, but the use of the dedicated resource is dynamically controlled according to the variable in the message.
  • the first message sent by the base station to the terminal carries a resource effective time, and the resource effective time is obtained and saved from the first message, and the resource activation time is used as the preset effective time.
  • the terminal When the terminal receives the service initiation instruction, it determines whether the service is a designated service.
  • the terminal first determines whether the service initiating the command is a specified service. For example, when the specified service is an emergency service, the terminal may use the existing technology to perform the emergency service.
  • the resource occupied by the service is selected from the dedicated resource.
  • the terminal determines that the service is a specified service, and the working state of the specified service-specific resource is in an active state, the resource is selected in the dedicated resource by using the prior art, and the connection is established for the specified service.
  • the access occupancy in the process is the case where the service is the specified service, and the working state of the dedicated resource is in an active state.
  • the resource occupied by the service is selected from other resources, and the other resource does not include the dedicated resource.
  • the terminal determines that the service is a non-designated service, and the working state of the dedicated resource is in an active state, selecting from other resources, that is, resources not including the dedicated resource, using a prior art
  • the resources that the non-designated service can access and occupy during the process of establishing a connection so that when the terminal has a specified service to be initiated, the resource is selected for access, and other non-designated services may also select the same resource.
  • the access causes the specified service to collide with the non-designated service, so that the non-designated service affects the specified service.
  • the dedicated resource is set to a deactivated state.
  • the non-designated service can arbitrarily select the resource to occupy.
  • the usage time of the dedicated resource may be limited by the preset effective time, or the preset effective time may not be limited, and the base station is received by the terminal.
  • the message is activated by a dedicated resource.
  • a resource allocation method is provided, where the terminal and the network side are used as a base station. As shown in FIG. 9, the method further includes: When the resource occupancy in the network is lower than the second threshold, The terminal sends a second message, where the second message carries a revocation instruction, where the revocation instruction is used to instruct the terminal to revoke an allocation instruction for the dedicated resource of the specified service.
  • the base station always detects the resource occupation in the network, and when it is detected that the resource occupancy in the network is lower than the second threshold, for example, the second threshold is 30% of the resources in the network, The base station will no longer allocate dedicated resources for the designated service.
  • the terminal receives a second message sent by the network side.
  • the terminal acquires the revocation instruction from the second message, and releases the dedicated resource.
  • the dedicated resource After the dedicated resource is released, the dedicated resource is no longer occupied by the designated service, and other services may also be selected and occupied.
  • This implementation manner can be applied to the foregoing four implementation manners, that is, a dedicated resource may be allocated for the specified service, or the dedicated resource may be released.
  • the embodiments of the present invention can be applied to LTE (Long Term Evolution) and WCDMA (Wideband Code Division Multiple Access).
  • LTE Long Term Evolution
  • WCDMA Wideband Code Division Multiple Access
  • a network device 10 is provided in the embodiment of the present invention. As shown in FIG. 10, the network device includes a sending unit 1001.
  • the sending unit 1001 is configured to: when detecting that the resource usage in the network exceeds a first threshold, send a first message to the terminal, where the first message carries a dedicated resource of a specified service, where the dedicated resource is a terminal When the specified service is initiated, the occupied resource is selected, so that the terminal determines the resource allocation of the specified service in the terminal according to the dedicated resource.
  • the network device When the network side detects that the resource usage in the network exceeds the first threshold, the network device sends a first message to the terminal, where the first message is included in the first message.
  • a dedicated resource carrying a specified service where the dedicated resource selects a resource that is occupied when the specified service is initiated in the terminal, so that the terminal determines the resource allocation of the specified service in the terminal according to the dedicated resource.
  • the first message sent by the sending unit is a paging message or a broadcast message.
  • the first message is the first broadcast message
  • the sending unit is further configured to send, to the terminal, a first paging message that carries a modification indication, and is further configured to send a second broadcast message to the terminal, where the second broadcast message carries a second designated service. a dedicated resource, so that the terminal sets the dedicated resource of the specified service to a deactivated state, and the dedicated resource of the second designated service is set to an activated state.
  • the dedicated resource carried in the third broadcast message is a list configured by a specified service-specific resource, including a specified in the list of the specified service-specific resource configuration
  • the service corresponds to the identifier and the dedicated resource corresponding to the specified service
  • the sending unit is further configured to send, to the terminal, a second paging message that carries the first identifier, so that the terminal searches for a corresponding dedicated resource according to the first identifier, and sets the dedicated resource as In the active state, when the terminal receives the initiated access instruction of the specified service corresponding to the first identifier, the occupied resource is selected from the dedicated resource.
  • the sending unit is further configured to: when the third paging message carrying the specified service early warning indication is sent to the terminal, so that the terminal sets the dedicated resource to an active state, when the terminal receives When the access instruction of the specified service is initiated, the occupied resource is selected from the dedicated resources.
  • the sending unit is further configured to send, to the terminal, a fourth paging message that carries the specified service early warning indication, so that the terminal restarts the timer.
  • the sending unit is further configured to send, to the terminal, a fourth broadcast message carrying the specified service early warning information, so that the terminal acquires the specified service early warning information.
  • the fourth broadcast message sent by the sending unit further includes a resource effective time, where the resource effective time is a duration of activation of the dedicated resource, so that the terminal obtains and saves the resource to take effect. Time, and the resource effective time is taken as the preset effective time.
  • the first message sent by the sending unit further includes a resource effective time, where the resource effective time is a duration of activation of the dedicated resource, so that the terminal acquires and saves the resource effective time. And the resource effective time is taken as the preset effective time.
  • the sending unit is further configured to: when detecting that the resource usage in the network is lower than the second threshold, sending a second message to the terminal, where the second message carries a revocation instruction, where the revocation instruction And an instruction for instructing the terminal to revoke the dedicated resource of the specified service.
  • the embodiment of the present invention further provides a terminal 1 1 , as shown in FIG. 1 , the terminal includes a receiving unit 1 1 1 and a processing unit 1 1 2 .
  • the receiving unit 1 1 1 is configured to receive a first message sent by the network side, where the first message carries a dedicated resource of a specified service, where the dedicated resource is selected when the specified service is initiated in the terminal. resource of;
  • the processing unit 1 1 2 is configured to acquire and save the dedicated resource from the first message received by the receiving unit, to determine the finger in the terminal according to the dedicated resource.
  • the resource allocation of the business is configured to acquire and save the dedicated resource from the first message received by the receiving unit, to determine the finger in the terminal according to the dedicated resource.
  • the terminal provided by the embodiment of the present invention, the terminal receives the first message sent by the network side, where the first message carries a dedicated resource of the specified service, and the dedicated resource is selected when the designated service in the terminal is initiated. And obtaining, by the resource, the dedicated resource from the first message, to determine, according to the dedicated resource, a resource allocation of the specified service in the terminal.
  • the embodiment of the present invention solves the problem of allocating dedicated resources for a specified service related to an incident in the prior art, the dedicated resource is always occupied, thereby reducing the utilization efficiency of resources in the network, and improving resource utilization efficiency.
  • the processing unit is configured to set the dedicated resource to an active state, so that when the initial access instruction of the specified service is received, the occupied resource is selected from the dedicated resource.
  • the first message received by the receiving unit is a paging message or a broadcast message.
  • the processing unit is further configured to: when the receiving unit receives the first that is sent by the network side and carries the modification indication Obtaining a second broadcast message, where the second broadcast message carries a dedicated resource of the second designated service;
  • the terminal further includes:
  • the obtaining unit 1 1 3 is configured to acquire and save the dedicated resource of the second designated service from the second broadcast message;
  • the processing unit is further configured to set the dedicated resource of the specified service to a deactivated state, and the dedicated resource of the second designated service is set to an activated state.
  • the terminal when the first message received by the receiving unit is a third broadcast message, and the dedicated resource carried in the third broadcast message is a list of specified service-specific resource configurations, where the specified service-specific resource is configured.
  • the terminal further includes:
  • the searching unit 1 1 4 is configured to: when the receiving unit receives the second paging message that is sent by the network side and carries the first identifier, search for a dedicated resource corresponding to the first identifier;
  • the processing unit is further configured to set the dedicated resource to an active state, so that when the initial access instruction of the specified service corresponding to the first identifier is received, the occupied resource is selected from the dedicated resource.
  • the processing unit is further configured to: when the receiving unit receives the third paging message that is sent by the network side and carries the specified service early warning indication, set the dedicated resource to an active state, so that When receiving the initiated access instruction of the specified service, the occupied resource is selected from the dedicated resource.
  • the processing unit is further configured to set the dedicated resource to an active state according to a preset effective time, where the preset effective time is a duration of the dedicated resource activation.
  • the processing unit is further configured to start the timer, and activate the dedicated resource;
  • the timing of the timer when the receiving unit receives the fourth paging message that is sent by the network side and carries the specified service early warning indication, the timer is restarted, and the dedicated resource is used.
  • the working status is active.
  • the receiving unit is further configured to: before the processing unit sets the specified service dedicated resource to an active state according to a preset effective time, receive, by the network side, the first information that carries the specified service early warning information. Four broadcast messages, and obtain the specified service warning information.
  • the processing unit when the fourth broadcast message received by the receiving unit further includes a resource effective time, where the resource effective time is the duration of the dedicated resource activation, the processing unit is further configured to: Obtaining and saving the resource effective time from the fourth broadcast message, and using the resource effective time as the preset effective time.
  • the processing unit when the first message received by the receiving unit further carries a resource effective time, where the resource effective time is the duration of the dedicated resource activation, the processing unit is further configured to use Obtaining and saving the resource effective time in the first message, and using the resource effective time as the preset effective time.
  • the terminal further includes:
  • the determining unit 115 is configured to determine, when the receiving unit receives the service initiation instruction, whether the service is a designated service;
  • the processing unit is further configured to: when the determining unit determines that the service is the specified service, and the working state of the dedicated resource is in an active state, select a resource occupied by the service from the dedicated resource;
  • the processing unit is further configured to: when the determining unit determines that the service is a non-designated service, and the working state of the dedicated resource is in an active state, select resources occupied by the service from other resources, where the other Resources do not include the dedicated resources;
  • the processing unit is further configured to set the dedicated resource to a deactivated state when the preset effective time ends.
  • the receiving unit is further configured to receive a second message that is sent by the network, where the second message carries a revocation instruction, where the revocation instruction is used to instruct the terminal to revoke the designated service.
  • the allocation instruction of the dedicated resource
  • the processing unit is further configured to obtain the revocation instruction from the second message, and release the dedicated resource.
  • the embodiment of the present invention provides a network device 15.
  • the network device includes a memory 151, a wireless communication module 152, and a processor 153.
  • the memory 151 is configured to store software programs and data; a wireless communication module 1 5 2, configured to send a message to the terminal;
  • the processor 1 5 3 is configured to execute a software program in the memory, where: executing, when detecting that the resource usage in the network exceeds a first threshold, sending, by the wireless communication module, a first message to the terminal, where the first The message carries the dedicated resource of the specified service, and the dedicated resource is used to select the resource that is occupied when the specified service is initiated in the terminal, so that the terminal determines the resource allocation of the specified service in the terminal according to the dedicated resource.
  • the network side sends a first message to the terminal, where the first message carries a dedicated resource for the specified service.
  • the dedicated resource is used to select the occupied resource when the specified service is initiated in the terminal, so that the terminal determines the resource allocation of the specified service in the terminal according to the dedicated resource.
  • the first message sent by the wireless communications module to the terminal is a paging message or a broadcast message.
  • the processor is further configured to:
  • the wireless communication module Sending, by the wireless communication module, a second broadcast message to the terminal, where the second broadcast message carries a dedicated resource of the second designated service, so that the terminal sets the dedicated resource of the specified service to be deactivated.
  • Status, the dedicated resource of the second designated service is set to an active state.
  • the processor is further configured to:
  • the wireless communication module Transmitting, by the wireless communication module, a second paging message carrying the first identifier to the terminal, so that the terminal searches for a corresponding dedicated resource according to the first identifier, and sets the dedicated resource to an active state.
  • the terminal receives the initiated access instruction of the specified service corresponding to the first identifier, the occupied resource is selected from the dedicated resource.
  • the processor is further configured to:
  • the terminal sets the dedicated resource to an active state, when the terminal receives the specified service When the access instruction is initiated, the occupied resources are selected from the dedicated resources.
  • the processor is further configured to:
  • the processor is further configured to:
  • the fourth broadcast message sent by the wireless communication module to the terminal further includes a resource effective time, where the resource effective time is a duration of activation of the dedicated resource, so that the terminal acquires The resource effective time is saved, and the resource effective time is taken as the preset effective time.
  • the first message sent by the wireless communication module to the terminal further includes a resource effective time, where the resource effective time is a duration of activation of the dedicated resource, so that the terminal acquires and saves The resource takes effect time, and the resource effective time is taken as the preset effective time.
  • the processor is further configured to:
  • the embodiment of the present invention further provides a terminal 16, as shown in FIG. 16, the terminal includes a memory 161, a wireless communication module 162, and a processor 163.
  • the memory 161 is configured to store software programs and data
  • a wireless communication module 162 configured to receive a message, and send a message sent by the network side to the processor for processing
  • the processor 163 is configured to execute a software program in the memory, and specifically: receiving a first message sent by the network side, where the first message carries a dedicated resource of a specified service, where the dedicated resource is the specified service in the terminal Select the occupied resources when initiating;
  • the terminal provided by the embodiment of the present invention, the terminal receives the first message sent by the network side, where the first message carries a dedicated resource of the specified service, and the dedicated resource is selected when the designated service in the terminal is initiated. And obtaining, by the resource, the dedicated resource from the first message, to determine, according to the dedicated resource, a resource allocation of the specified service in the terminal.
  • the processor is further configured to:
  • the dedicated resource is set to an active state, so that when the initial access instruction of the specified service is received, the occupied resource is selected from the dedicated resource.
  • the first message received by the wireless communication module is a paging cancellation, a packet, or a broadcast message.
  • the processor is further configured to:
  • the second broadcast message carries a dedicated resource of the second designated service, when receiving the first paging message that is sent by the network side and carrying the modification indication;
  • the dedicated resource of the specified service is set to a deactivated state, and the dedicated resource of the second designated service is set to an activated state.
  • the processor is further configured to:
  • the processor is further configured to:
  • the processor is further configured to:
  • the dedicated resource is set to an active state according to a preset effective time, and the preset effective time is a duration of activation of the dedicated resource.
  • the processor is further configured to:
  • the timer when receiving the fourth paging message that is sent by the network side and carrying the specified service early warning indication, the timer is restarted, and the working state of the dedicated resource is activated. status.
  • the processor before the setting the dedicated resource to the active state according to the preset effective time, the processor is further configured to:
  • the processor is further configured to:
  • the processor is further configured to:
  • the processor is further configured to:
  • the service initiation instruction When the service initiation instruction is received, determining whether the service is a specified service; when the service is the specified service, and the working state of the dedicated resource is When the state is activated, the resources occupied by the service are selected from the dedicated resources;
  • the resource occupied by the service is selected from other resources, and the other resource does not include the dedicated resource;
  • the dedicated resource is set to the deactivated state.
  • the processor is further configured to:
  • Obtaining the revocation instruction from the second message and releasing the dedicated resource For the operation process of the terminal 16 described above, refer to the processing procedure of the resource allocation method described above.
  • the embodiments of the present invention can be applied to L TE and WC DMA.
  • the disclosed systems, devices, and methods may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the modules or units is only a logical function division.
  • there may be another division manner for example, multiple units or components may be used. Combined or can be integrated into another system, or some features can be ignored, or not executed.
  • the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical, mechanical or otherwise.
  • the units described as separate components may or may not be physically separate,
  • the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the 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 standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may contribute to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium.
  • the instructions include a plurality of instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (p roce ss or ) to perform all or part of the steps of the methods of the various embodiments of the present invention.
  • the foregoing storage medium includes: a USB flash drive, a removable hard disk, a read-only memory (ROM), a random access memory (RAM, Random Acce ss Memory), a magnetic disk or an optical disk, and the like.
  • ROM read-only memory
  • RAM random access memory
  • magnetic disk or an optical disk and the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

Disclosed are a resource allocation method and device, which relate to the technical field of communications, and solve the problem in the prior art that when a dedicated resource is allocated to a designated service related to an accidental event, the dedicated resource will be occupied all the time, so the utilization efficiency of the resource in the network is reduced. When detecting that the occupation of a resource in the network exceeds a first threshold value, a network side sends a first message to a terminal, with the first message carrying a dedicated resource for a designated service. The embodiments of the present invention are applicable in the processing procedure of resource allocation.

Description

一种资源分配方法和装置 技术领域  Resource allocation method and device
本发明涉及通信技术领域, 尤其涉及一种资源分配方法和装置。  The present invention relates to the field of communications technologies, and in particular, to a resource allocation method and apparatus.
背景技术 Background technique
ETWS ( Earthquake and Tsunami Warning System, 地震海喷予贞 警系统) 是用于发布地震海嘯信息的系统。 当需要广播地震海嘯预 警信息时,由网络侧在寻呼消息中携带 ETWS指示并发送给用户终端, 当用户终端获取到寻呼消息中的 ETWS指示后, 会读取网络侧发送的 广播消息, 并从中获取携带的 ETWS 信息。 当用户终端获取到 ETWS 信息后, 将会触发大量的语音或者数据业务, 例如, 给亲友打电话、 发短信、 发微博等等, 这些大量的接入业务会使得紧急呼叫或者高 优先级呼叫无法接入进来。  ETWS (Earthquake and Tsunami Warning System) is a system for distributing earthquake tsunami information. When the earthquake tsunami warning information needs to be broadcast, the network side carries the ETWS indication in the paging message and sends it to the user terminal. When the user terminal obtains the ETWS indication in the paging message, it reads the broadcast message sent by the network side. And get the ETWS information carried from it. When the user terminal obtains the ETWS information, it will trigger a large number of voice or data services, for example, calling and texting friends, sending microblogs, etc., which can make emergency calls or high priority calls. Unable to access.
在现有技术中为紧急业务分配紧急业务专用的接入资源, 以便 在 ETWS信息导致大量接入业务发生时, 网络可以基于对接入资源的 判断, 优先准许使用专用接入资源的紧急业务接入。 但是在为紧急 业务分配紧急业务专用的接入资源的过程中, 发明人发现 ETWS只是 偶发事件, 一直占用专用接入资源会降低网络中资源的利用效率。  In the prior art, an emergency service-specific access resource is allocated for an emergency service, so that when the ETWS information causes a large number of access services to occur, the network can preferentially permit the emergency service connection using the dedicated access resource based on the judgment of the access resource. In. However, in the process of allocating emergency service-specific access resources for emergency services, the inventors found that ETWS is only an incident, and always occupying dedicated access resources will reduce the utilization efficiency of resources in the network.
发明内容 Summary of the invention
本发明的实施例提供一种资源分配方法和装置, 提高了资源的 利用效率。  Embodiments of the present invention provide a resource allocation method and apparatus, which improve resource utilization efficiency.
为达到上述目 的, 本发明的实施例釆用如下技术方案:  In order to achieve the above object, the embodiment of the present invention uses the following technical solutions:
第一方面, 本发明提供一种资源分配方法, 包括: 当检测到网络中的资源占用超过第一阔值时, 向终端发送第一 消息, 所述第一消息中携带有指定业务的专用资源, 所述专用资源 为终端中所述指定业务发起时选取占用的资源, 以便所述终端根据 所述专用资源确定所述终端中所述指定业务的资源分配。 In a first aspect, the present invention provides a resource allocation method, including: When the resource usage in the network exceeds the first threshold, the first message is sent to the terminal, where the first message carries a dedicated resource of the specified service, where the dedicated resource is selected when the specified service is initiated in the terminal. The occupied resource, so that the terminal determines the resource allocation of the specified service in the terminal according to the dedicated resource.
在第一方面的第一种可能的实现方式中, 所述终端根据所述专用资 源确定所述终端中所述指定业务的资源分配包括:  In a first possible implementation manner of the first aspect, the determining, by the terminal, the resource allocation of the specified service in the terminal according to the dedicated resource includes:
将所述专用资源设置为激活状态, 以便当接收到所述指定业务 的发起接入指令时, 从所述专用资源中选取占用资源。  The dedicated resource is set to an active state, so that when the initial access instruction of the specified service is received, the occupied resource is selected from the dedicated resource.
结合第一方面的第一种可能的实现方式, 在第二种可能的实现方式 中, 所述第一消息为寻呼消息或者广播消息。  In conjunction with the first possible implementation of the first aspect, in a second possible implementation, the first message is a paging message or a broadcast message.
结合第一方面的第二种可能的实现方式, 在第三种可能的实现方式 中, 当所述第一消息为第一广播消息时, 所述向所述终端发送第一 消息之后, 所述方法还包括:  With reference to the second possible implementation manner of the first aspect, in a third possible implementation manner, when the first message is the first broadcast message, after the sending the first message to the terminal, The method also includes:
向所述终端发送携带有修改指示的第一寻呼消息;  Sending, to the terminal, a first paging message carrying a modification indication;
向所述终端发送第二广播消息, 所述第二广播消息中携带有第 二指定业务的专用资源, 以便所述终端将将所述指定业务的专用资 源设置为去激活状态, 所述第二指定业务的专用资源设置为激活状 态。  Transmitting, by the terminal, a second broadcast message, where the second broadcast message carries a dedicated resource of the second designated service, so that the terminal sets the dedicated resource of the specified service to a deactivated state, where the second The dedicated resource for the specified service is set to the active state.
在第一方面的第四种可能的实现方式中, 当所述第一消息为第三广 播消息, 且所述第三广播消息中携带的专用资源为指定业务专用资 源配置的列表, 在所述指定业务专用资源配置的列表中包括指定业 务对应的标识和所述指定业务对应的专用资源时, 所述向所述终端 发送第一消息之后, 所述方法还包括:  In a fourth possible implementation manner of the first aspect, when the first message is a third broadcast message, and the dedicated resource carried in the third broadcast message is a list of specified service-specific resource configurations, When the specified service-specific resource configuration includes the identifier corresponding to the specified service and the dedicated resource corresponding to the specified service, after the sending the first message to the terminal, the method further includes:
向所述终端发送携带有第一标识的第二寻呼消息, 以便所述终 端根据所述第一标识查找到对应的专用资源, 并将所述专用资源设 置为激活状态, 当所述终端接收到所述第一标识对应的指定业务的 发起接入指令时, 从所述专用资源中选取占用资源。 在第一方面的第五种可能的实现方式中, 所述向所述终端发送第一 消息之后, 所述方法还包括: Sending, by the terminal, a second paging message carrying the first identifier, so that the terminal searches for a corresponding dedicated resource according to the first identifier, and sets the dedicated resource to an active state, when the terminal receives When the access request is initiated to the specified service corresponding to the first identifier, the occupied resource is selected from the dedicated resource. In a fifth possible implementation manner of the foregoing aspect, after the sending the first message to the terminal, the method further includes:
向所述终端发送携带有指定业务预警指示的第三寻呼消息时, 以便所述终端将所述专用资源设置为激活状态, 当所述终端接收到 所述指定业务的发起接入指令时, 从所述专用资源中选取占用资源。  Sending, to the terminal, a third paging message carrying the specified service early warning indication, so that the terminal sets the dedicated resource to an active state, and when the terminal receives the initiated access instruction of the specified service, The occupied resources are selected from the dedicated resources.
结合第一方面的第一种可能的实现方式或者第二种可能的实现方式 或者第三种可能的实现方式或者第四种可能的实现方式,在第六种可能的 实现方式中, 所述终端将所述专用资源设置为激活状态包括:  With reference to the first possible implementation of the first aspect, or the second possible implementation manner, or the third possible implementation manner, or the fourth possible implementation manner, in the sixth possible implementation manner, the terminal is Setting the dedicated resource to an active state includes:
所述终端根据预设生效时间将所述专用资源设置为激活状态, 所述预设生效时间为所述专用资源激活的持续时间。  The terminal sets the dedicated resource to an active state according to a preset effective time, where the preset effective time is a duration of activation of the dedicated resource.
结合第一方面的第六种可能的实现方式, 在第七种可能的实现方式 中, 当所述预设生效时间为预设在所述终端上的定时器的设置时间 时, 所述向所述终端发送第一消息之后, 所述方法还包括:  With reference to the sixth possible implementation manner of the foregoing aspect, in a seventh possible implementation manner, when the preset effective time is a preset time of a timer preset on the terminal, the After the terminal sends the first message, the method further includes:
向所述终端发送携带有指定业务预警指示的第四寻呼消息, 以 便所述终端重新启动所述定时器。  And transmitting, by the terminal, a fourth paging message carrying the specified service early warning indication, so that the terminal restarts the timer.
结合第一方面的第六种可能的实现方式, 在第八种可能的实现方式 中, 所述向所述终端发送第一消息之后, 所述方法还包括:  With the sixth possible implementation of the first aspect, in an eighth possible implementation, after the sending the first message to the terminal, the method further includes:
向所述终端发送携带有指定业务预警信息的第四广播消息, 以 便所述终端获取所述指定业务预警信息。  Sending, by the terminal, a fourth broadcast message carrying the specified service early warning information, so that the terminal acquires the specified service early warning information.
结合第一方面的第八种可能的实现方式, 在第九种可能的实现方式 中, 所述第四广播消息中还携带有资源生效时间, 所述资源生效时 间为所述专用资源激活的持续时间, 以便所述终端获取并保存所述 资源生效时间, 并将所述资源生效时间作为所述预设生效时间。  With reference to the eighth possible implementation manner of the foregoing aspect, in a ninth possible implementation manner, the fourth broadcast message further includes a resource effective time, where the resource effective time is a duration of the dedicated resource activation Time, so that the terminal acquires and saves the resource effective time, and uses the resource effective time as the preset effective time.
结合第一方面的第六种可能的实现方式, 在第十种可能的实现方式 中, 所述第一消息中还携带有资源生效时间, 所述资源生效时间为 所述专用资源激活的持续时间, 以便所述终端获取并保存所述资源 生效时间, 并将所述资源生效时间作为所述预设生效时间。 结合第一方面或者第一方面的第一种可能的实现方式或者第二种可 能的实现方式或者第三种可能的实现方式或者第四种可能的实现方式或 者第五种可能的实现方式或者第六种可能的实现方式或者第七种可能的 实现方式或者第八种可能的实现方式或者第九种可能的实现方式或者第 十种可能的实现方式,在第十一种可能的实现方式中, 所述方法还包括: 当检测到网络中的资源占用低于第二阔值时, 向终端发送第二 消息, 所述第二消息中携带有撤销指令, 所述撤销指令用于指示所 述终端撤销对所述指定业务的所述专用资源的分配指令。 第二方面, 本发明提供一种资源分配方法, 包括: With reference to the sixth possible implementation manner of the foregoing aspect, in a tenth possible implementation manner, the first message further includes a resource effective time, where the resource effective time is a duration of the dedicated resource activation And the terminal obtains and saves the resource effective time, and uses the resource effective time as the preset effective time. The first aspect or the first possible implementation of the first aspect or the second possible implementation or the third possible implementation or the fourth possible implementation or the fifth possible implementation or the The sixth possible implementation manner, the seventh possible implementation manner, the eighth possible implementation manner, the ninth possible implementation manner, or the tenth possible implementation manner, in the eleventh possible implementation manner, The method further includes: when detecting that the resource usage in the network is lower than the second threshold, sending a second message to the terminal, where the second message carries a revocation instruction, where the revocation instruction is used to indicate the terminal The allocation instruction for the dedicated resource of the specified service is revoked. In a second aspect, the present invention provides a resource allocation method, including:
接收网络侧发送的第一消息, 所述第一消息中携带有指定业务 的专用资源, 所述专用资源为终端中所述指定业务发起时选取占用 的资源;  Receiving a first message sent by the network side, where the first message carries a dedicated resource of a specified service, where the dedicated resource is a resource selected by the terminal when the specified service is initiated;
从所述第一消息中获取并保存所述专用资源, 以便根据所述专 用资源确定所述终端中所述指定业务的资源分配。  And acquiring, by the first message, the dedicated resource, to determine, according to the dedicated resource, a resource allocation of the specified service in the terminal.
在第二方面的第一种可能的实现方式中, 所述根据所述专用资源确 定所述终端中所述指定业务的资源分配包括:  In a first possible implementation manner of the second aspect, the determining, by the dedicated resource, the resource allocation of the specified service in the terminal includes:
将所述专用资源设置为激活状态, 以便当接收到所述指定业务 的发起接入指令时, 从所述专用资源中选取占用资源。  The dedicated resource is set to an active state, so that when the initial access instruction of the specified service is received, the occupied resource is selected from the dedicated resource.
结合第二方面的第一种可能的实现方式, 在第二种可能的实现方式 中, 所述第一消息为寻呼消息或者广播消息。  In conjunction with the first possible implementation of the second aspect, in a second possible implementation, the first message is a paging message or a broadcast message.
结合第二方面的第二种可能的实现方式, 在第三种可能的实现方式 中, 当所述第一消息为第一广播消息时, 所述将所述专用资源设置 为激活状态之后, 所述方法还包括:  With the second possible implementation of the second aspect, in a third possible implementation, when the first message is the first broadcast message, after the dedicated resource is set to an active state, The method also includes:
当接收到所述网络侧发送的携带有修改指示的第一寻呼消息 时, 获取第二广播消息, 所述第二广播消息中携带有第二指定业务 的专用资源; 从所述第二广播消息中获取并保存所述第二指定业务的专用资 源; Obtaining a second broadcast message, where the second broadcast message carries a dedicated resource of the second designated service, when receiving the first paging message that is sent by the network side and carrying the modification indication; Obtaining and saving the dedicated resource of the second designated service from the second broadcast message;
将所述指定业务的专用资源设置为去激活状态, 所述第二指定 业务的专用资源设置为激活状态。  The dedicated resource of the specified service is set to a deactivated state, and the dedicated resource of the second designated service is set to an activated state.
在第二方面的第四种可能的实现方式中, 当所述第一消息为第三广 播消息, 且所述第三广播消息中携带的专用资源为指定业务专用资 源配置的列表, 在所述指定业务专用资源配置的列表中包括指定业 务对应的标识和所述指定业务对应的专用资源时, 在所述从所述第 一消息中获取并保存所述专用资源之后, 所述方法还包括:  In a fourth possible implementation manner of the second aspect, when the first message is a third broadcast message, and the dedicated resource carried in the third broadcast message is a list of specified service-specific resource configurations, After the specified service-specific resource configuration includes the identifier corresponding to the specified service and the dedicated resource corresponding to the specified service, after the acquiring and saving the dedicated resource from the first message, the method further includes:
当接收到所述网络侧发送的携带有第一标识的第二寻呼消息 时, 查找所述第一标识对应的专用资源;  When receiving the second paging message that is sent by the network side and carrying the first identifier, searching for the dedicated resource corresponding to the first identifier;
将所述专用资源设置为激活状态, 以便当接收到所述第一标识 对应的指定业务的发起接入指令时, 从所述专用资源中选取占用资 源。  And setting the dedicated resource to an active state, so that when the initial access instruction of the specified service corresponding to the first identifier is received, the occupied resource is selected from the dedicated resource.
在第二方面的第五种可能的实现方式中,在所述从所述第一消息中 获取并保存所述专用资源之后, 所述方法还包括:  In a fifth possible implementation manner of the second aspect, after the acquiring, by the first message, the dedicated resource, the method further includes:
当接收到所述网络侧发送的携带有指定业务预警指示的第三寻 呼消息时, 将所述专用资源设置为激活状态, 以便当接收到所述指 定业务的发起接入指令时, 从所述专用资源中选取占用资源。  When receiving the third paging message that is sent by the network side and carrying the specified service early warning indication, setting the dedicated resource to an active state, so that when receiving the initiated access instruction of the specified service, The occupied resources are selected in the dedicated resources.
结合第二方面的第一种可能的实现方式或者第二种可能的实现方式 或者第三种可能的实现方式或者第四种可能的实现方式或者第五种可能 的实现方式, 在第六种可能的实现方式中, 所述将所述专用资源设置为 激活状态包括:  In combination with the first possible implementation of the second aspect or the second possible implementation or the third possible implementation or the fourth possible implementation or the fifth possible implementation, in the sixth possibility In the implementation manner, the setting the dedicated resource to an active state includes:
根据预设生效时间将所述专用资源设置为激活状态, 所述预设 生效时间为所述专用资源激活的持续时间。  The dedicated resource is set to an active state according to a preset effective time, and the preset effective time is a duration of activation of the dedicated resource.
结合第二方面的第六种可能的实现方式, 在第七种可能的实现方式 中, 当所述预设生效时间为预设在所述终端上的定时器的设置时间 时, 所述根据预设生效时间将所述专用资源设置为激活状态包括: 启动所述定时器, 并激活所述专用资源; With reference to the sixth possible implementation manner of the second aspect, in a seventh possible implementation manner, when the preset effective time is a preset time of a timer preset on the terminal And setting the dedicated resource to an active state according to the preset effective time includes: starting the timer, and activating the dedicated resource;
在所述定时器计时的过程中, 当接收到所述网络侧发送的携带 有指定业务预警指示的第四寻呼消息时, 重新启动所述定时器, 且 所述专用资源的工作状态处于激活状态。  During the timing of the timer, when receiving the fourth paging message that is sent by the network side and carrying the specified service early warning indication, the timer is restarted, and the working state of the dedicated resource is activated. status.
结合第二方面的第六种可能的实现方式, 在第八种可能的实现方式 中, 在所述根据预设生效时间将所述专用资源设置为激活状态之前, 所述方法还包括:  With the sixth possible implementation of the second aspect, in the eighth possible implementation, before the setting the dedicated resource to the active state according to the preset effective time, the method further includes:
接收所述网络侧发送的携带有指定业务预警信息的第四广播消 息, 并获取所述指定业务预警信息。  Receiving, by the network side, a fourth broadcast message carrying the specified service early warning information, and acquiring the specified service early warning information.
结合第二方面的第八种可能的实现方式, 在第九种可能的实现方式 中, 当所述第四广播消息中还携带有资源生效时间, 所述资源生效 时间为所述专用资源激活的持续时间时, 所述方法还包括:  With the eighth possible implementation of the second aspect, in a ninth possible implementation manner, when the fourth broadcast message further carries a resource effective time, the resource effective time is activated by the dedicated resource. The method further includes:
从所述第四广播消息中获取并保存所述资源生效时间, 并将所 述资源生效时间作为所述预设生效时间。  Obtaining and saving the resource effective time from the fourth broadcast message, and using the resource effective time as the preset effective time.
结合第二方面的第六种可能的实现方式, 在第十种可能的实现方式 中, 所述第一消息中还携带有资源生效时间, 所述资源生效时间为 所述专用资源激活的持续时间, 所述方法还包括:  With the sixth possible implementation of the second aspect, in a tenth possible implementation manner, the first message further includes a resource effective time, where the resource effective time is a duration of the dedicated resource activation The method further includes:
从所述第一消息中获取并保存所述资源生效时间, 并将所述资 源生效时间作为所述预设生效时间。  Obtaining and saving the resource effective time from the first message, and using the resource effective time as the preset effective time.
结合第二方面的第六种可能的实现方式或者第七种可能的实现方式 或者第八种可能的实现方式或者第九种可能的实现方式或者第十种可能 的实现方式, 在第十一种可能的实现方式中, 所述方法还包括:  With reference to the sixth possible implementation manner of the second aspect, or the seventh possible implementation manner, or the eighth possible implementation manner, or the ninth possible implementation manner, or the tenth possible implementation manner, In a possible implementation manner, the method further includes:
当接收到业务发起指令时, 判断所述业务是否为指定业务; 当所述业务为所述指定业务, 且所述专用资源的工作状态处于 激活状态时, 从所述专用资源中选取所述业务占用的资源;  When the service initiation instruction is received, determining whether the service is a specified service; when the service is the specified service, and the working state of the dedicated resource is in an active state, selecting the service from the dedicated resource Occupied resources;
当所述业务为非指定业务, 且所述专用资源的工作状态处于激 活状态时, 从其他资源中选取所述业务占用的资源, 所述其他资源 不包括所述专用资源; When the service is a non-designated service, and the working state of the dedicated resource is in a state of In a live state, the resources occupied by the service are selected from other resources, and the other resources do not include the dedicated resources;
当所述预设生效时间结束时, 将所述专用资源设置为去激活状 态。  When the preset effective time ends, the dedicated resource is set to the deactivated state.
结合第二方面或者第二方面的第一种可能的实现方式或者第二种可 能的实现方式或者第三种可能的实现方式或者第四种可能的实现方式或 者第五种可能的实现方式或者第六种可能的实现方式或者第七种可能的 实现方式或者第八种可能的实现方式或者第九种可能的实现方式或者第 十种可能的实现方式或者第十一种可能的实现方式,在第十二种可能的实 现方式中, 所述方法还包括:  Combining the second aspect or the first possible implementation of the second aspect or the second possible implementation manner or the third possible implementation manner or the fourth possible implementation manner or the fifth possible implementation manner or the Six possible implementations or a seventh possible implementation or an eighth possible implementation or a ninth possible implementation or a tenth possible implementation or an eleventh possible implementation manner In the twelve possible implementation manners, the method further includes:
接收所述网络侧发送的第二消息, 所述第二消息中携带有撤销 指令, 所述撤销指令用于指示所述终端撤销对所述指定业务的所述 专用资源的分配指令;  And receiving, by the network side, a second message, where the second message carries a revocation instruction, where the revocation instruction is used to instruct the terminal to revoke an allocation instruction for the dedicated resource of the specified service;
从所述第二消息中获取所述撤销指令, 并释放所述专用资源。 第三方面, 本发明提供一种网络设备, 包括:  Obtaining the revocation instruction from the second message and releasing the dedicated resource. In a third aspect, the present invention provides a network device, including:
发送单元, 用于当检测到网络中的资源占用超过第一阔值时, 向终端发送第一消息, 所述第一消息中携带有指定业务的专用资源, 所述专用资源为终端中所述指定业务发起时选取占用的资源, 以便 所述终端根据所述专用资源确定所述终端中所述指定业务的资源分 配。  a sending unit, configured to send a first message to the terminal when the resource usage in the network exceeds a first threshold, where the first message carries a dedicated resource of a specified service, where the dedicated resource is in the terminal The resource that is occupied by the designated service is selected, so that the terminal determines the resource allocation of the specified service in the terminal according to the dedicated resource.
在第三方面的第一种可能的实现方式中, 所述发送单元发送的第一 消息为寻呼消息或者广播消息。  In a first possible implementation manner of the third aspect, the first message sent by the sending unit is a paging message or a broadcast message.
结合第三方面的第一种可能的实现方式, 在第二种可能的实现方式 中, 当所述第一消息为第一广播消息时,  With the first possible implementation of the third aspect, in a second possible implementation manner, when the first message is the first broadcast message,
所述发送单元, 还用于向所述终端发送携带有修改指示的第一 寻呼消息; 还用于向所述终端发送第二广播消息, 所述第二广播消 息中携带有第二指定业务的专用资源, 以便所述终端将将所述指定 业务的专用资源设置为去激活状态, 所述第二指定业务的专用资源 设置为激活状态。 The sending unit is further configured to send, to the terminal, a first paging message that carries a modification indication, and is further configured to send a second broadcast message to the terminal, where the second broadcast The information carries a dedicated resource of the second designated service, so that the terminal sets the dedicated resource of the specified service to a deactivated state, and the dedicated resource of the second designated service is set to an activated state.
在第三方面的第三种可能的实现方式中, 当所述第一消息为第三广 播消息, 且所述第三广播消息中携带的专用资源为指定业务专用资 源配置的列表, 在所述指定业务专用资源配置的列表中包括指定业 务对应的标识和所述指定业务对应的专用资源时,  In a third possible implementation manner of the third aspect, when the first message is a third broadcast message, and the dedicated resource carried in the third broadcast message is a list of specified service-specific resource configurations, When the list of the specified service-specific resource configuration includes the identifier corresponding to the specified service and the dedicated resource corresponding to the specified service,
所述发送单元, 还用于向所述终端发送携带有第一标识的第二 寻呼消息, 以便所述终端根据所述第一标识查找到对应的专用资源, 并将所述专用资源设置为激活状态, 当所述终端接收到所述第一标 识对应的指定业务的发起接入指令时, 从所述专用资源中选取占用 资源。  The sending unit is further configured to send, to the terminal, a second paging message that carries the first identifier, so that the terminal searches for a corresponding dedicated resource according to the first identifier, and sets the dedicated resource as In the active state, when the terminal receives the initiated access instruction of the specified service corresponding to the first identifier, the occupied resource is selected from the dedicated resource.
在第三方面的第四种可能的实现方式中, 所述发送单元, 还用于向 所述终端发送携带有指定业务预警指示的第三寻呼消息时, 以便所 述终端将所述专用资源设置为激活状态, 当所述终端接收到所述指 定业务的发起接入指令时, 从所述专用资源中选取占用资源。  In a fourth possible implementation manner of the third aspect, the sending unit is further configured to send, to the terminal, a third paging message that carries the specified service early warning indication, so that the terminal uses the dedicated resource When the terminal receives the initiated access instruction of the specified service, the terminal selects an occupied resource from the dedicated resource.
结合第三方面或者第三方面的第一种可能的实现方式或者第二种可 能的实现方式或者第三种可能的实现方式或者第四种可能的实现方式,在 第五种可能的实现方式中, 所述发送单元, 还用于向所述终端发送携 带有指定业务预警指示的第四寻呼消息, 以便所述终端重新启动所 述定时器。  In combination with the third aspect or the first possible implementation or the second possible implementation or the third possible implementation or the fourth possible implementation of the third aspect, in a fifth possible implementation manner The sending unit is further configured to send, to the terminal, a fourth paging message that carries the specified service early warning indication, so that the terminal restarts the timer.
结合第三方面或者第三方面的第一种可能的实现方式或者第二种可 能的实现方式或者第三种可能的实现方式或者第四种可能的实现方式,在 第六种可能的实现方式中, 所述发送单元, 还用于向所述终端发送携 带有指定业务预警信息的第四广播消息, 以便所述终端获取所述指 定业务预警信息。  In combination with the third aspect or the first possible implementation manner of the third aspect or the second possible implementation manner, or the third possible implementation manner, or the fourth possible implementation manner, in the sixth possible implementation manner The sending unit is further configured to send, to the terminal, a fourth broadcast message that carries the specified service early warning information, so that the terminal acquires the specified service early warning information.
结合第三方面的第六种可能的实现方式, 在第七种可能的实现方式 中, 所述发送单元发送的所述第四广播消息中还携带有资源生效时 间, 所述资源生效时间为所述专用资源激活的持续时间, 以便所述 终端获取并保存所述资源生效时间, 并将所述资源生效时间作为所 述预设生效时间。 In combination with the sixth possible implementation of the third aspect, in a seventh possible implementation The fourth broadcast message sent by the sending unit further includes a resource effective time, where the resource effective time is a duration of activation of the dedicated resource, so that the terminal acquires and saves the resource effective time. And the resource effective time is taken as the preset effective time.
结合第三方面或者第三方面的第一种可能的实现方式或者第二种可 能的实现方式或者第三种可能的实现方式或者第四种可能的实现方式,在 第八种可能的实现方式中, 所述发送单元发送的所述第一消息中还携 带有资源生效时间, 所述资源生效时间为所述专用资源激活的持续 时间, 以便所述终端获取并保存所述资源生效时间, 并将所述资源 生效时间作为所述预设生效时间。  With reference to the third aspect or the first possible implementation manner of the third aspect or the second possible implementation manner, or the third possible implementation manner, or the fourth possible implementation manner, in the eighth possible implementation manner The first message sent by the sending unit further carries a resource effective time, where the resource effective time is a duration of activation of the dedicated resource, so that the terminal acquires and saves the resource effective time, and The resource effective time is taken as the preset effective time.
结合第三方面或者第三方面的第一种可能的实现方式或者第二种可 能的实现方式或者第三种可能的实现方式或者第四种可能的实现方式或 者第五种可能的实现方式或者第六种可能的实现方式或者第七种可能的 实现方式或者第八种可能的实现方式, 在第九种可能的实现方式中, 所 述发送单元, 还用于当检测到网络中的资源占用低于第二阔值时, 向终端发送第二消息, 所述第二消息中携带有撤销指令, 所述撤销 指令用于指示所述终端撤销对所述指定业务的所述专用资源的分配 指令。 第四方面, 本发明提供一种终端, 包括:  Combining the third aspect or the first possible implementation manner of the third aspect or the second possible implementation manner or the third possible implementation manner or the fourth possible implementation manner or the fifth possible implementation manner or the In a ninth possible implementation manner, the sending unit is further configured to detect that the resource usage in the network is low, in a ninth possible implementation manner. The second message is sent to the terminal, where the second message carries a revocation instruction, where the revocation instruction is used to instruct the terminal to cancel the allocation instruction of the dedicated resource of the specified service. In a fourth aspect, the present invention provides a terminal, including:
接收单元, 用于接收网络侧发送的第一消息, 所述第一消息中 携带有指定业务的专用资源, 所述专用资源为终端中所述指定业务 发起时选取占用的资源;  a receiving unit, configured to receive a first message sent by the network side, where the first message carries a dedicated resource of a specified service, where the dedicated resource is a resource selected when the specified service is initiated in the terminal;
处理单元, 用于从所述接收单元接收到的第一消息中获取并保 存所述专用资源, 以便根据所述专用资源确定所述终端中所述指定 业务的资源分配。  And a processing unit, configured to acquire and save the dedicated resource from the first message received by the receiving unit, to determine, according to the dedicated resource, a resource allocation of the specified service in the terminal.
在第四方面的第一种可能的实现方式中, 所述处理单元, 用于将所 述专用资源设置为激活状态, 以便当接收到所述指定业务的发起接 入指令时, 从所述专用资源中选取占用资源。 In a first possible implementation manner of the fourth aspect, the processing unit is configured to The dedicated resource is set to an active state, so that when the initiated access instruction of the specified service is received, the occupied resource is selected from the dedicated resource.
结合第四方面的第一种可能的实现方式, 在第二种可能的实现方式 中, 所述接收单元接收到的第一消息为寻呼消息或者广播消息。  With reference to the first possible implementation manner of the fourth aspect, in a second possible implementation manner, the first message received by the receiving unit is a paging message or a broadcast message.
结合第四方面的第二种可能的实现方式, 在第三种可能的实现方式 中, 当所述接收单元接收到的第一消息为第一广播消息时,  With the second possible implementation of the fourth aspect, in a third possible implementation, when the first message received by the receiving unit is the first broadcast message,
所述处理单元, 还用于当所述接收单元接收到所述网络侧发送 的携带有修改指示的第一寻呼消息时, 获取第二广播消息, 所述第 二广播消息中携带有第二指定业务的专用资源;  The processing unit is further configured to: when the receiving unit receives the first paging message that is sent by the network side and carries the modification indication, acquire the second broadcast message, where the second broadcast message carries the second a dedicated resource for the specified business;
所述终端还包括:  The terminal further includes:
获取单元, 用于从所述第二广播消息中获取并保存所述第二指 定业务的专用资源;  An obtaining unit, configured to acquire and save a dedicated resource of the second specified service from the second broadcast message;
所述处理单元, 还用于将所述指定业务的专用资源设置为去激 活状态, 所述第二指定业务的专用资源设置为激活状态。  The processing unit is further configured to set the dedicated resource of the specified service to a deactivated state, and the dedicated resource of the second designated service is set to an activated state.
在第四方面的第四种可能的实现方式中, 当所述接收单元接收到的 第一消息为第三广播消息, 且所述第三广播消息中携带的专用资源 为指定业务专用资源配置的列表, 在所述指定业务专用资源配置的 列表中包括指定业务对应的标识和所述指定业务对应的专用资源 时, 所述终端还包括:  In a fourth possible implementation manner of the fourth aspect, the first message received by the receiving unit is a third broadcast message, and the dedicated resource carried in the third broadcast message is configured for a specified service-specific resource. And the terminal further includes: when the list of the specified service-specific resource configuration includes the identifier corresponding to the specified service and the dedicated resource corresponding to the specified service, the terminal further includes:
查找单元, 用于当所述接收单元接收到所述网络侧发送的携带 有第一标识的第二寻呼消息时, 查找所述第一标识对应的专用资源; 所述处理单元, 还用于将所述专用资源设置为激活状态, 以便 当接收到所述第一标识对应的指定业务的发起接入指令时, 从所述 专用资源中选取占用资源。  a searching unit, configured to: when the receiving unit receives the second paging message that is sent by the network side and that carries the first identifier, the dedicated resource corresponding to the first identifier is used; And setting the dedicated resource to an active state, so that when the initial access instruction of the specified service corresponding to the first identifier is received, the occupied resource is selected from the dedicated resource.
在第四方面的第五种可能的实现方式中, 所述处理单元, 还用于当 所述接收单元接收到所述网络侧发送的携带有指定业务预警指示的 第三寻呼消息时, 将所述专用资源设置为激活状态, 以便当接收到 所述指定业务的发起接入指令时, 从所述专用资源中选取占用资源。 结合第四方面的第一种可能的实现方式或者第二种可能的实现方式 或者第三种可能的实现方式或者第四种可能的实现方式或者第五种可能 的实现方式, 在第六种可能的实现方式中, 所述处理单元, 还用于根据 预设生效时间将所述专用资源设置为激活状态, 所述预设生效时间 为所述专用资源激活的持续时间。 In a fifth possible implementation manner of the fourth aspect, the processing unit is further configured to: when the receiving unit receives the third paging message that is sent by the network side and carries the specified service early warning indication, The dedicated resource is set to an active state so as to be received When the specified service initiates an access instruction, the occupied resource is selected from the dedicated resources. Combining the first possible implementation of the fourth aspect or the second possible implementation manner or the third possible implementation manner or the fourth possible implementation manner or the fifth possible implementation manner, in the sixth possibility In the implementation manner, the processing unit is further configured to set the dedicated resource to an active state according to a preset effective time, where the preset effective time is a duration of activation of the dedicated resource.
结合第四方面的第六种可能的实现方式, 在第七种可能的实现方式 中, 当所述预设生效时间为预设在所述终端上的定时器的设置时间 时,  With reference to the sixth possible implementation manner of the foregoing aspect, in a seventh possible implementation manner, when the preset effective time is a preset time of a timer preset on the terminal,
所述处理单元, 还用于启动所述定时器, 并激活所述专用资源; 还用于在所述定时器计时的过程中, 当所述接收单元接收到所述网 络侧发送的携带有指定业务预警指示的第四寻呼消息时, 重新启动 所述定时器, 且所述专用资源的工作状态处于激活状态。  The processing unit is further configured to start the timer, and activate the dedicated resource; and is further configured to: when the timer is timed, when the receiving unit receives the carrying When the fourth paging message is indicated by the service alert, the timer is restarted, and the working state of the dedicated resource is in an active state.
结合第四方面的第六种可能的实现方式, 在第八种可能的实现方式 中, 所述接收单元, 还用于当所述处理单元根据预设生效时间将所 述指定业务专用资源设置为激活状态之前, 接收所述网络侧发送的 携带有指定业务预警信息的第四广播消息, 并获取所述指定业务预 警信息。  With reference to the sixth possible implementation manner of the foregoing aspect, in a eighth possible implementation, the receiving unit is further configured to: when the processing unit sets the specified service dedicated resource according to a preset effective time, Before the activation state, the fourth broadcast message that is sent by the network side and carries the specified service early warning information is received, and the specified service early warning information is obtained.
结合第四方面的第八种可能的实现方式, 在第九种可能的实现方式 中, 当所述接收单元接收到的所述第四广播消息中还携带有资源生 效时间, 所述资源生效时间为所述专用资源激活的持续时间时,  With reference to the eighth possible implementation manner of the foregoing aspect, in a ninth possible implementation manner, when the fourth broadcast message received by the receiving unit further carries a resource effective time, the resource effective time When the duration of activation of the dedicated resource is
所述处理单元, 还用于从所述第四广播消息中获取并保存所述 资源生效时间, 并将所述资源生效时间作为所述预设生效时间。  The processing unit is further configured to acquire and save the resource effective time from the fourth broadcast message, and use the resource effective time as the preset effective time.
结合第四方面的第六种可能的实现方式, 在第十种可能的实现方式 中, 当所述接收单元接收到的所述第一消息中还携带有资源生效时 间, 所述资源生效时间为所述专用资源激活的持续时间时,  With reference to the sixth possible implementation manner of the fourth aspect, in a tenth possible implementation manner, when the first message received by the receiving unit further carries a resource effective time, the resource effective time is When the dedicated resource is activated for a duration,
所述处理单元, 还用于从所述第一消息中获取并保存所述资源 生效时间, 并将所述资源生效时间作为所述预设生效时间。 结合第四方面的第六种可能的实现方式或者第七种可能的实现方式 或者第八种可能的实现方式或者第九种可能的实现方式或者第十种可能 的实现方式, 在第十一种可能的实现方式中, 所述终端还包括: The processing unit is further configured to acquire and save the resource from the first message The effective time, and the resource effective time is taken as the preset effective time. With reference to the sixth possible implementation manner of the fourth aspect, or the seventh possible implementation manner, or the eighth possible implementation manner, or the ninth possible implementation manner, or the tenth possible implementation manner, In a possible implementation manner, the terminal further includes:
判断单元, 用于当所述接收单元接收到业务发起指令时, 判断 所述业务是否为指定业务;  a determining unit, configured to: when the receiving unit receives the service initiation instruction, determine whether the service is a designated service;
所述处理单元, 还用于当所述判断单元判断所述业务为所述指 定业务, 且所述专用资源的工作状态处于激活状态时, 从所述专用 资源中选取所述业务占用的资源;  The processing unit is further configured to: when the determining unit determines that the service is the specified service, and the working state of the dedicated resource is in an active state, select a resource occupied by the service from the dedicated resource;
所述处理单元, 还用于当所述判断单元判断所述业务为非指定 业务, 且所述专用资源的工作状态处于激活状态时, 从其他资源中 选取所述业务占用的资源, 所述其他资源不包括所述专用资源; 所述处理单元, 还用于当所述预设生效时间结束时, 将所述专 用资源设置为去激活状态。  The processing unit is further configured to: when the determining unit determines that the service is a non-designated service, and the working state of the dedicated resource is in an active state, select resources occupied by the service from other resources, where the other The resource does not include the dedicated resource; the processing unit is further configured to set the dedicated resource to a deactivated state when the preset effective time ends.
结合第四方面或者第四方面的第一种可能的实现方式或者第二种可 能的实现方式或者第三种可能的实现方式或者第四种可能的实现方式或 者第五种可能的实现方式或者第六种可能的实现方式或者第七种可能的 实现方式或者第八种可能的实现方式或者第九种可能的实现方式或者第 十种可能的实现方式或者第十一种可能的实现方式,在第十二种可能的实 现方式中, 所述接收单元, 还用于接收所述网络侧发送的第二消息, 所述第二消息中携带有撤销指令, 所述撤销指令用于指示所述终端 撤销对所述指定业务的所述专用资源的分配指令;  The fourth possible aspect or the first possible implementation of the fourth aspect or the second possible implementation manner or the third possible implementation manner or the fourth possible implementation manner or the fifth possible implementation manner or the Six possible implementations or a seventh possible implementation or an eighth possible implementation or a ninth possible implementation or a tenth possible implementation or an eleventh possible implementation manner The receiving unit is further configured to receive the second message sent by the network side, where the second message carries a revocation instruction, where the revocation instruction is used to instruct the terminal to revoke An allocation instruction for the dedicated resource of the specified service;
所述处理单元, 还用于从所述第二消息中获取所述撤销指令, 并释放所述专用资源。 第五方面, 本发明提供一种网络设备, 包括:  The processing unit is further configured to obtain the revocation instruction from the second message, and release the dedicated resource. In a fifth aspect, the present invention provides a network device, including:
存储器, 用于存储软件程序和数据; 无线通信模块, 用于向终端发送消息; a memory for storing software programs and data; a wireless communication module, configured to send a message to the terminal;
处理器, 用于执行存储器中的软件程序, 具体执行:  a processor, configured to execute a software program in the memory, specifically executing:
当检测到网络中的资源占用超过第一阔值时, 通过所述无线通 信模块向终端发送第一消息, 所述第一消息中携带有指定业务的专 用资源, 所述专用资源为终端中所述指定业务发起时选取占用的资 源, 以便所述终端根据所述专用资源确定所述终端中所述指定业务 的资源分配。  When detecting that the resource usage in the network exceeds the first threshold, the first message is sent to the terminal by using the wireless communication module, where the first message carries a dedicated resource of a specified service, where the dedicated resource is in the terminal. The resource that is occupied is selected when the specified service is initiated, so that the terminal determines the resource allocation of the specified service in the terminal according to the dedicated resource.
在第五方面的第一种可能的实现方式中, 所述无线通信模块向 终端发送的第一消息为寻呼消息或者广播消息。  In a first possible implementation manner of the fifth aspect, the first message that is sent by the wireless communications module to the terminal is a paging message or a broadcast message.
结合第五方面的第一种可能的实现方式, 在第二种可能的实现 方式中, 当所述第一消息为第一广播消息时, 所述向所述终端发送 第一消息之后, 所述处理器, 还用于执行:  With reference to the first possible implementation manner of the fifth aspect, in a second possible implementation manner, when the first message is a first broadcast message, after the sending the first message to the terminal, The processor is also used to execute:
通过所述无线通信模块向所述终端发送携带有修改指示的第一 寻呼消息;  Transmitting, by the wireless communication module, a first paging message carrying a modification indication to the terminal;
通过所述无线通信模块向所述终端发送第二广播消息, 所述第 二广播消息中携带有第二指定业务的专用资源, 以便所述终端将将 所述指定业务的专用资源设置为去激活状态, 所述第二指定业务的 专用资源设置为激活状态。  Sending, by the wireless communication module, a second broadcast message to the terminal, where the second broadcast message carries a dedicated resource of the second designated service, so that the terminal sets the dedicated resource of the specified service to be deactivated. Status, the dedicated resource of the second designated service is set to an active state.
在第五方面的第三种可能的实现方式中, 当所述第一消息为第 三广播消息, 且所述第三广播消息中携带的专用资源为指定业务专 用资源配置的列表, 在所述指定业务专用资源配置的列表中包括指 定业务对应的标识和所述指定业务对应的专用资源时, 所述向所述 终端发送第一消息之后, 所述处理器, 还用于执行:  In a third possible implementation manner of the fifth aspect, when the first message is a third broadcast message, and the dedicated resource carried in the third broadcast message is a list of specified service-specific resource configurations, When the specified service-specific resource configuration includes the identifier corresponding to the specified service and the dedicated resource corresponding to the specified service, after the sending the first message to the terminal, the processor is further configured to:
通过所述无线通信模块向所述终端发送携带有第一标识的第二 寻呼消息, 以便所述终端根据所述第一标识查找到对应的专用资源, 并将所述专用资源设置为激活状态, 当所述终端接收到所述第一标 识对应的指定业务的发起接入指令时, 从所述专用资源中选取占用 资源。 Transmitting, by the wireless communication module, a second paging message carrying the first identifier to the terminal, so that the terminal searches for a corresponding dedicated resource according to the first identifier, and sets the dedicated resource to an active state. When the terminal receives the originating access instruction of the specified service corresponding to the first identifier, selecting an occupation from the dedicated resource Resources.
在第五方面的第四种可能的实现方式中, 所述向所述终端发送 第一消息之后, 所述处理器, 还用于执行:  In a fourth possible implementation manner of the fifth aspect, after the sending the first message to the terminal, the processor is further configured to:
通过所述无线通信模块向所述终端发送携带有指定业务预警指 示的第三寻呼消息时, 以便所述终端将所述专用资源设置为激活状 态, 当所述终端接收到所述指定业务的发起接入指令时, 从所述专 用资源中选取占用资源。  When the third paging message carrying the specified service early warning indication is sent to the terminal by the wireless communication module, so that the terminal sets the dedicated resource to an active state, when the terminal receives the specified service When the access instruction is initiated, the occupied resources are selected from the dedicated resources.
结合第五方面的第一种可能的实现方式或者第二种可能的实现 方式或者第三种可能的实现方式或者第四种可能的实现方式, 在第五种 可能的实现方式中, 当所述预设生效时间为预设在所述终端上的定 时器的设置时间时, 所述向所述终端发送第一消息之后, 所述处理 器, 还用于执行:  With reference to the first possible implementation manner of the fifth aspect, or the second possible implementation manner, or the third possible implementation manner, or the fourth possible implementation manner, in the fifth possible implementation manner, When the preset effective time is the preset time of the timer on the terminal, after the sending the first message to the terminal, the processor is further configured to:
通过所述无线通信模块向所述终端发送携带有指定业务预警指 示的第四寻呼消息, 以便所述终端重新启动所述定时器。  And transmitting, by the wireless communication module, a fourth paging message carrying the specified service early warning indication to the terminal, so that the terminal restarts the timer.
结合第五方面的第一种可能的实现方式或者第二种可能的实现 方式或者第三种可能的实现方式或者第四种可能的实现方式, 在第六种 可能的实现方式中, 所述向所述终端发送第一消息之后, 所述处理 器, 还用于执行:  With reference to the first possible implementation manner of the fifth aspect, or the second possible implementation manner, or the third possible implementation manner, or the fourth possible implementation manner, in the sixth possible implementation manner, the foregoing After the terminal sends the first message, the processor is further configured to:
通过所述无线通信模块向所述终端发送携带有指定业务预警信 息的第四广播消息, 以便所述终端获取所述指定业务预警信息。  And transmitting, by the wireless communication module, a fourth broadcast message carrying the specified service early warning information to the terminal, so that the terminal acquires the specified service early warning information.
结合第五方面的第六种可能的实现方式, 在第七种可能的实现 方式中, 所述无线通信模块向所述终端发送的所述第四广播消息中 还携带有资源生效时间, 所述资源生效时间为所述专用资源激活的 持续时间, 以便所述终端获取并保存所述资源生效时间, 并将所述 资源生效时间作为所述预设生效时间。  With reference to the sixth possible implementation manner of the fifth aspect, in a seventh possible implementation, the fourth broadcast message sent by the wireless communication module to the terminal further includes a resource effective time, where The resource effective time is the duration of activation of the dedicated resource, so that the terminal acquires and saves the resource effective time, and uses the resource effective time as the preset effective time.
结合第五方面的第一种可能的实现方式或者第二种可能的实现 方式或者第三种可能的实现方式或者第四种可能的实现方式, 在第八种 可能的实现方式中, 所述无线通信模块向所述终端发送的所述第一 消息中还携带有资源生效时间, 所述资源生效时间为所述专用资源 激活的持续时间, 以便所述终端获取并保存所述资源生效时间, 并 将所述资源生效时间作为所述预设生效时间。 Combining the first possible implementation of the fifth aspect or the second possible implementation manner or the third possible implementation manner or the fourth possible implementation manner, in the eighth In a possible implementation manner, the first message sent by the wireless communication module to the terminal further includes a resource effective time, where the resource effective time is a duration of activation of the dedicated resource, so that the terminal acquires And saving the resource effective time, and using the resource effective time as the preset effective time.
结合第五方面或者第五方面的第一种可能的实现方式或者第二 种可能的实现方式或者第三种可能的实现方式或者第四种可能的实现 方式或者第五种可能的实现方式或者第六种可能的实现方式或者第七种 可能的实现方式或者第八种可能的实现方式, 在第九种可能的实现方式 中, 所述处理器, 还用于执行:  The fifth possible aspect or the first possible implementation of the fifth aspect or the second possible implementation manner or the third possible implementation manner or the fourth possible implementation manner or the fifth possible implementation manner or the The sixth possible implementation or the seventh possible implementation or the eighth possible implementation. In a ninth possible implementation manner, the processor is further configured to:
当检测到网络中的资源占用低于第二阔值时, 通过所述无线通 信模块向终端发送第二消息, 所述第二消息中携带有撤销指令, 所 述撤销指令用于指示所述终端撤销对所述指定业务的所述专用资源 的分配指令。  When the resource usage in the network is lower than the second threshold, the second message is sent to the terminal by using the wireless communication module, where the second message carries a revocation command, where the revocation instruction is used to indicate the terminal. The allocation instruction for the dedicated resource of the specified service is revoked.
第六方面, 本发明提供一种终端, 包括:  In a sixth aspect, the present invention provides a terminal, including:
存储器, 用于存储软件程序和数据;  a memory for storing software programs and data;
无线通信模块, 用于接收消息, 将网络侧发送的消息给处理器 进行处理;  a wireless communication module, configured to receive a message, and send a message sent by the network side to the processor for processing;
处理器, 用于执行存储器中的软件程序, 具体执行:  a processor, configured to execute a software program in the memory, specifically executing:
接收网络侧发送的第一消息, 所述第一消息中携带有指定业务 的专用资源, 所述专用资源为终端中所述指定业务发起时选取占用 的资源;  Receiving a first message sent by the network side, where the first message carries a dedicated resource of a specified service, where the dedicated resource is a resource selected by the terminal when the specified service is initiated;
从所述第一消息中获取并保存所述专用资源, 以便根据所述专 用资源确定所述终端中所述指定业务的资源分配。  And acquiring, by the first message, the dedicated resource, to determine, according to the dedicated resource, a resource allocation of the specified service in the terminal.
在第六方面的第一种可能的实现方式中, 所述处理器, 还用于 执行:  In a first possible implementation manner of the sixth aspect, the processor is further configured to:
将所述专用资源设置为激活状态, 以便当接收到所述指定业务 的发起接入指令时, 从所述专用资源中选取占用资源。 结合第六方面的第一种可能的实现方式, 在第二种可能的实现 方式中, 所述无线通信模块接收的所述第一消息为寻呼消息或者广 播消息。 The dedicated resource is set to an active state, so that when the initial access instruction of the specified service is received, the occupied resource is selected from the dedicated resource. With reference to the first possible implementation manner of the sixth aspect, in a second possible implementation manner, the first message that is received by the wireless communications module is a paging message or a broadcast message.
结合第六方面的第二种可能的实现方式, 在第三种可能的实现 方式中, 当所述第一消息为第一广播消息时,  With reference to the second possible implementation manner of the sixth aspect, in a third possible implementation manner, when the first message is the first broadcast message,
所述处理器, 还用于执行:  The processor is further configured to execute:
当接收到所述网络侧发送的携带有修改指示的第一寻呼消息 时, 获取第二广播消息, 所述第二广播消息中携带有第二指定业务 的专用资源;  Obtaining a second broadcast message, where the second broadcast message carries a dedicated resource of the second designated service, when receiving the first paging message that is sent by the network side and carrying the modification indication;
从所述第二广播消息中获取并保存所述第二指定业务的专用资 源;  Obtaining and saving the dedicated resource of the second designated service from the second broadcast message;
将所述指定业务的专用资源设置为去激活状态, 所述第二指定 业务的专用资源设置为激活状态。  The dedicated resource of the specified service is set to a deactivated state, and the dedicated resource of the second designated service is set to an activated state.
在第六方面的第四种可能的实现方式中, 当所述第一消息为第 三广播消息, 且所述第三广播消息中携带的专用资源为指定业务专 用资源配置的列表, 在所述指定业务专用资源配置的列表中包括指 定业务对应的标识和所述指定业务对应的专用资源时,  In a fourth possible implementation manner of the sixth aspect, when the first message is a third broadcast message, and the dedicated resource carried in the third broadcast message is a list of specified service-specific resource configurations, When the list of the specified service-specific resource configuration includes the identifier corresponding to the specified service and the dedicated resource corresponding to the specified service,
所述处理器, 还用于执行:  The processor is further configured to execute:
当接收到所述网络侧发送的携带有第一标识的第二寻呼消息 时, 查找所述第一标识对应的专用资源;  When receiving the second paging message that is sent by the network side and carrying the first identifier, searching for the dedicated resource corresponding to the first identifier;
将所述专用资源设置为激活状态, 以便当接收到所述第一标识 对应的指定业务的发起接入指令时, 从所述专用资源中选取占用资 源。  And setting the dedicated resource to an active state, so that when the initial access instruction of the specified service corresponding to the first identifier is received, the occupied resource is selected from the dedicated resource.
在第六方面的第五种可能的实现方式中, 所述处理器, 还用于 执行:  In a fifth possible implementation manner of the sixth aspect, the processor is further configured to:
当接收到所述网络侧发送的携带有指定业务预警指示的第三寻 呼消息时, 将所述专用资源设置为激活状态, 以便当接收到所述指 定业务的发起接入指令时, 从所述专用资源中选取占用资源。 When receiving the third paging message that is sent by the network side and carrying the specified service early warning indication, setting the dedicated resource to an active state, so that when the finger is received When the service initiates an access instruction, the occupied resource is selected from the dedicated resources.
结合第六方面的第一种可能的实现方式或者第二种可能的实现方式 或者第三种可能的实现方式或者第四种可能的实现方式或者第五种可能 的实现方式, 在第六种可能的实现方式中, 所述处理器, 还用于执行: 根据预设生效时间将所述专用资源设置为激活状态, 所述预设 生效时间为所述专用资源激活的持续时间。  In combination with the first possible implementation of the sixth aspect or the second possible implementation or the third possible implementation or the fourth possible implementation or the fifth possible implementation, in the sixth possibility In the implementation manner, the processor is further configured to: set the dedicated resource to an active state according to a preset effective time, where the preset effective time is a duration of activation of the dedicated resource.
结合第六方面的第六种可能的实现方式, 在第七种可能的实现方式 中, 当所述预设生效时间为预设在所述终端上的定时器的设置时间 时,  With reference to the sixth possible implementation manner of the sixth aspect, in a seventh possible implementation manner, when the preset effective time is a preset time of a timer preset on the terminal,
所述处理器, 还用于执行:  The processor is further configured to execute:
启动所述定时器, 并激活所述专用资源;  Starting the timer and activating the dedicated resource;
在所述定时器计时的过程中, 当接收到所述网络侧发送的携带 有指定业务预警指示的第四寻呼消息时, 重新启动所述定时器, 且 所述专用资源的工作状态处于激活状态。  During the timing of the timer, when receiving the fourth paging message that is sent by the network side and carrying the specified service early warning indication, the timer is restarted, and the working state of the dedicated resource is activated. status.
结合第六方面的第六种可能的实现方式, 在第八种可能的实现方式 中, 在所述根据预设生效时间将所述专用资源设置为激活状态之前, 所述处理器, 还用于执行:  With reference to the sixth possible implementation manner of the sixth aspect, in an eighth possible implementation manner, before the setting the dedicated resource to an active state according to a preset effective time, the processor is further configured to: carried out:
接收所述网络侧发送的携带有指定业务预警信息的第四广播消 息, 并获取所述指定业务预警信息。  Receiving, by the network side, a fourth broadcast message carrying the specified service early warning information, and acquiring the specified service early warning information.
结合第六方面的第八种可能的实现方式, 在第九种可能的实现方式 中, 当所述第四广播消息中还携带有资源生效时间, 所述资源生效 时间为所述专用资源激活的持续时间时,  With reference to the eighth possible implementation manner of the sixth aspect, in a ninth possible implementation manner, when the fourth broadcast message further carries a resource effective time, the resource effective time is activated by the dedicated resource Duration,
所述处理器, 还用于执行:  The processor is further configured to execute:
从所述第四广播消息中获取并保存所述资源生效时间, 并将所 述资源生效时间作为所述预设生效时间。  Obtaining and saving the resource effective time from the fourth broadcast message, and using the resource effective time as the preset effective time.
结合第六方面的第六种可能的实现方式, 在第十种可能的实现方式 中, 当所述第一消息中还携带有资源生效时间, 所述资源生效时间 为所述专用资源激活的持续时间时, With reference to the sixth possible implementation manner of the sixth aspect, in a tenth possible implementation manner, when the first message further carries a resource effective time, the resource effective time When the duration of activation of the dedicated resource is
所述处理器, 还用于执行:  The processor is further configured to execute:
从所述第一消息中获取并保存所述资源生效时间, 并将所述资 源生效时间作为所述预设生效时间。  Obtaining and saving the resource effective time from the first message, and using the resource effective time as the preset effective time.
结合第六方面的第六种可能的实现方式或者第七种可能的实现方式 或者第八种可能的实现方式或者第九种可能的实现方式或者第十种可能 的实现方式,在第十一种可能的实现方式中, 所述处理器, 还用于执行: 当接收到业务发起指令时, 判断所述业务是否为指定业务; 当所述业务为所述指定业务, 且所述专用资源的工作状态处于 激活状态时, 从所述专用资源中选取所述业务占用的资源;  With reference to the sixth possible implementation manner of the sixth aspect, or the seventh possible implementation manner, or the eighth possible implementation manner, or the ninth possible implementation manner, or the tenth possible implementation manner, in the eleventh In a possible implementation manner, the processor is further configured to: when receiving a service initiation instruction, determine whether the service is a specified service; when the service is the specified service, and the dedicated resource works When the state is in an active state, the resources occupied by the service are selected from the dedicated resources;
当所述业务为非指定业务, 且所述专用资源的工作状态处于激 活状态时, 从其他资源中选取所述业务占用的资源, 所述其他资源 不包括所述专用资源;  When the service is a non-designated service, and the working state of the dedicated resource is in an active state, the resource occupied by the service is selected from other resources, and the other resource does not include the dedicated resource;
当所述预设生效时间结束时, 将所述专用资源设置为去激活状 态。  When the preset effective time ends, the dedicated resource is set to the deactivated state.
结合第六方面或者第六方面的第一种可能的实现方式或者第二种可 能的实现方式或者第三种可能的实现方式或者第四种可能的实现方式或 者第五种可能的实现方式或者第六种可能的实现方式或者第七种可能的 实现方式或者第八种可能的实现方式或者第九种可能的实现方式或者第 十种可能的实现方式或者第十一种可能的实现方式,在第十二种可能的实 现方式中, 所述处理器, 还用于执行:  The sixth possible aspect or the first possible implementation manner of the sixth aspect or the second possible implementation manner or the third possible implementation manner or the fourth possible implementation manner or the fifth possible implementation manner or the Six possible implementations or a seventh possible implementation or an eighth possible implementation or a ninth possible implementation or a tenth possible implementation or an eleventh possible implementation manner In the twelve possible implementation manners, the processor is further configured to:
接收所述网络侧发送的第二消息, 所述第二消息中携带有撤销 指令, 所述撤销指令用于指示所述终端撤销对所述指定业务的所述 专用资源的分配指令;  And receiving, by the network side, a second message, where the second message carries a revocation instruction, where the revocation instruction is used to instruct the terminal to revoke an allocation instruction for the dedicated resource of the specified service;
从所述第二消息中获取所述撤销指令, 并释放所述专用资源。 本发明实施例提供的一种资源分配方法和装置, 当网络侧检测 到网络中的资源占用超过第一阔值时, 向终端发送第一消息, 所述 第一消息中携带有指定业务的专用资源, 所述专用资源为终端中所 述指定业务发起时选取占用的资源, 以便所述终端根据所述专用资 源确定所述终端中所述指定业务的资源分配。 本发明实施例解决了 现有技术中为偶发事件相关的指定业务分配专用资源时, 所述专用 资源会被一直占用, 从而降低网络中资源的利用效率的问题, 提高 了资源的利用效率。 Obtaining the revocation instruction from the second message and releasing the dedicated resource. A resource allocation method and apparatus provided by the embodiment of the present invention, when the network side detects that the resource usage in the network exceeds the first threshold, sending a first message to the terminal, where The first message carries a dedicated resource of the specified service, where the dedicated resource is used to select the occupied resource when the specified service is initiated in the terminal, so that the terminal determines the resource of the specified service in the terminal according to the dedicated resource. distribution. When the embodiment of the present invention solves the problem of allocating dedicated resources for a specified service related to an incident event in the prior art, the dedicated resource is always occupied, thereby reducing the problem of resource utilization efficiency in the network, and improving resource utilization efficiency.
附图说明 DRAWINGS
为了更清楚地说明本发明实施例的技术方案, 下面将对本发明 实施例中所需要使用的附图作简单地介绍, 显而易见地, 下面所描 述的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来 讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他 的附图。  In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings to be used in the embodiments of the present invention will be briefly described below. It is obvious that the drawings described below are only some embodiments of the present invention, Those skilled in the art can also obtain other drawings based on these drawings without paying any creative work.
图 1 为本发明实施例 1提供的一种资源分配方法的流程图; 图 2为本发明实施例 1提供的又一种资源分配方法的流程图; 图 3为本发明实施例 1提供的另一种资源分配方法的流程图; 图 4 为本发明实施例 1 提供的当所述第一消息为第一广播消息 时资源分配方法的流程图;  1 is a flowchart of a resource allocation method according to Embodiment 1 of the present invention; FIG. 2 is a flowchart of still another resource allocation method according to Embodiment 1 of the present invention; FIG. 3 is another flowchart provided by Embodiment 1 of the present invention; A flowchart of a resource allocation method; FIG. 4 is a flowchart of a resource allocation method when the first message is a first broadcast message according to Embodiment 1 of the present invention;
图 5为本发明实施例 1提供的还一种资源分配方法的流程图; 图 6为本发明实施例 1提供的再一种资源分配方法的流程图; 图 7为本发明实施例 1提供的再又一种资源分配方法的流程图; 图 8 为本发明实施例 1 提供的终端中有业务发起, 实现资源的 选择和占用的资源分配方法的流程图;  FIG. 5 is a flowchart of still another resource allocation method according to Embodiment 1 of the present invention; FIG. 6 is a flowchart of still another resource allocation method according to Embodiment 1 of the present invention; A flowchart of a method for allocating resources; FIG. 8 is a flowchart of a method for allocating services, implementing resource selection, and occupying resources in a terminal according to Embodiment 1 of the present invention;
图 9为本发明实施例 1提供的释放专用资源的方法流程图; 图 1 0为本发明实施例 2提供的一种网络设备的结构图; 图 1 1 为本发明实施例 1提供的一种终端的结构图;  FIG. 9 is a flowchart of a method for releasing a dedicated resource according to Embodiment 1 of the present invention; FIG. 10 is a structural diagram of a network device according to Embodiment 2 of the present invention; FIG. 1 is a schematic diagram of Embodiment 1 of the present invention; a structural diagram of the terminal;
图 1 2为本发明实施例 2提供的另一种终端的结构图; 图 13为本发明实施例 2提供的再一种终端的结构图; 图 14为本发明实施例 2提供的还一种终端的结构图; FIG. 12 is a structural diagram of another terminal according to Embodiment 2 of the present invention; FIG. FIG. 13 is a structural diagram of still another terminal according to Embodiment 2 of the present invention; FIG. 14 is a structural diagram of still another terminal according to Embodiment 2 of the present invention;
图 15为本发明实施例 3提供的一种网络设备的结构图; 图 16为本发明实施例 3提供的一种终端的结构图。  FIG. 15 is a structural diagram of a network device according to Embodiment 3 of the present invention; FIG. 16 is a structural diagram of a terminal according to Embodiment 3 of the present invention.
具体实施方式 detailed description
下面将结合本发明实施例中的附图, 对本发明实施例中的技术 方案进行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明 一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本 领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他 实施例, 都属于本发明保护的范围。  The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
实施例 1  Example 1
本发明实施例提供的一种资源分配方法, 本发明实施例的执行 主体为网络侧, 如图 1 所示, 所述方法包括如下步骤:  A resource allocation method is provided by the embodiment of the present invention. The executor of the embodiment of the present invention is a network side. As shown in FIG. 1, the method includes the following steps:
101、 当检测到网络中的资源占用超过第一阔值时, 向终端发送 第一消息, 所述第一消息中携带有指定业务的专用资源, 所述专用 资源为终端中所述指定业务发起时选取占用的资源, 以便所述终端 根据所述专用资源确定所述终端中所述指定业务的资源分配。  101. When it is detected that the resource usage in the network exceeds the first threshold, the first message is sent to the terminal, where the first message carries a dedicated resource of the specified service, where the dedicated resource is initiated by the specified service in the terminal. The occupied resource is selected, so that the terminal determines the resource allocation of the specified service in the terminal according to the dedicated resource.
所述网络侧可以为基站或者其他网络设备, 在这里不做限定。 所述第一消息为寻呼消息或者广播消息。 其中, 当所述第一消 息为广播消息时, 在现有技术中所述网络侧会周期性地发送所述广 播消息。 例如, 当所述广播消息为 SIB2 ( system information block 2, 系统信息块 2 ) 时, 在本实施例中所述 SIB2 的公共无线资源配置 ( radio Resource Config Common ) 中 々随机接人信息、公共西己置 ( rach-Config Common ) 中携带有专用资源, 例如, 所述专用资源 为接入信道资源和 /或者接入码字资源。  The network side may be a base station or other network device, which is not limited herein. The first message is a paging message or a broadcast message. When the first message is a broadcast message, the network side periodically sends the broadcast message in the prior art. For example, when the broadcast message is the SIB2 (system information block 2), in the radio resource Config Common of the SIB2 in the embodiment, the random access information, the public hexagram A dedicated resource is carried in the rach-Config Common, for example, the dedicated resource is an access channel resource and/or an access codeword resource.
所述指定业务可以为紧急业务, 例如 110、 120、 119 等, 也可 以为高优先级业务, 例如, 终端预设的接入等级较高的业务, 在这 里不限定指定业务的具体范围。 The designated service may be an emergency service, such as 110, 120, 119, etc. It is considered that a high-priority service, for example, a service with a higher access level preset by the terminal, does not limit the specific range of the specified service.
所述网络侧会一直检测网络中的资源占用, 当检测到网络中的 资源占用超过第一阔值时, 例如所述第一阔值为所述网络中的资源 占用为 70%, 则所述网络侧为所述指定业务分配专用资源, 例如, 所 述指定业务为紧急业务时, 通过本实施例可以避免紧急业务无法接 入的问题。  The network side always detects the resource occupation in the network. When the resource occupancy in the network exceeds the first threshold, for example, the first threshold is 70% of the resources in the network, The network side allocates a dedicated resource for the specified service. For example, when the specified service is an emergency service, the problem that the emergency service cannot be accessed can be avoided by using the embodiment.
本发明实施例提供的一种资源分配方法, 当网络侧检测到网络 中的资源占用超过第一阔值时, 向终端发送第一消息, 所述第一消 息中携带有指定业务的专用资源, 所述专用资源为终端中所述指定 业务发起时选取占用的资源, 以便所述终端根据所述专用资源确定 所述终端中所述指定业务的资源分配。 本发明实施例解决了现有技 术中为偶发事件相关的指定业务分配专用资源时, 所述专用资源会 被一直占用, 从而降低网络中资源的利用效率的问题, 提高了资源 的利用效率。  When the network side detects that the resource usage in the network exceeds the first threshold, the network sends a first message to the terminal, where the first message carries the dedicated resource of the specified service. The dedicated resource is used to select the occupied resource when the specified service is initiated in the terminal, so that the terminal determines the resource allocation of the specified service in the terminal according to the dedicated resource. When the embodiment of the present invention solves the problem of allocating dedicated resources for a specified service related to an infrequent event in the prior art, the dedicated resource is always occupied, thereby reducing the problem of resource utilization efficiency in the network and improving resource utilization efficiency.
相应地, 本发明实施例还提供一种资源分配方法, 本发明实施 例的执行主体为终端, 如图 2所示, 所述方法包括如下步骤:  Correspondingly, the embodiment of the present invention further provides a resource allocation method. The execution subject of the embodiment of the present invention is a terminal. As shown in FIG. 2, the method includes the following steps:
201、 接收网络侧发送的第一消息, 所述第一消息中携带有指定 业务的专用资源, 所述专用资源为终端中所述指定业务发起时选取 占用的资源。  201. The first message sent by the network side is received, where the first message carries a dedicated resource of a specified service, where the dedicated resource is a resource that is selected when the specified service is initiated in the terminal.
所述网络侧可以为基站或者其他网络设备, 在这里不做限定。 所述第一消息为寻呼消息或者广播消息。 其中, 当所述第一消 息为广播消息时, 在现有技术中所述网络侧会周期性地发送所述广 播消息。 例如, 当所述广播消息为 SIB2 ( system information block 2, 系统信息块 2 ) 时, 在本实施例中所述 SIB2 的公共无线资源配置 ( radio Resource Config Common ) 中 々随机接人信息、公共西己置 ( rach-Config Common ) 中携带有专用资源, 例如, 所述专用资源 为接入信道资源和 /或者接入码字资源。 The network side may be a base station or other network device, which is not limited herein. The first message is a paging message or a broadcast message. When the first message is a broadcast message, the network side periodically sends the broadcast message in the prior art. For example, when the broadcast message is the SIB2 (system information block 2), in the radio resource Config Common of the SIB2 in the embodiment, the random access information, the public hexagram A dedicated resource is carried in the rach-Config Common, for example, the dedicated resource To access channel resources and/or access codeword resources.
所述指定业务可以为紧急业务, 例如 110、 120、 119 等, 也可 以为高优先级业务, 例如, 终端预设的接入等级较高的业务, 在这 里不限定指定业务的具体范围。  The specified service may be an emergency service, for example, 110, 120, 119, etc., or may be a high-priority service, for example, a service with a higher access level preset by the terminal, where the specific range of the specified service is not limited.
202、 从所述第一消息中获取并保存所述专用资源, 以便根据所 述专用资源确定所述终端中所述指定业务的资源分配。  202. Acquire and save the dedicated resource from the first message, to determine, according to the dedicated resource, a resource allocation of the specified service in the terminal.
本发明实施例提供的一种资源分配方法, 终端接收网络侧发送 的第一消息, 在所述第一消息中携带有指定业务的专用资源, 且所 述专用资源为终端中指定业务发起时选取占用的资源, 从所述第一 消息中获取并保存所述专用资源, 以便根据所述专用资源确定所述 终端中所述指定业务的资源分配。 本发明实施例解决了现有技术中 为偶发事件相关的指定业务分配专用资源时, 所述专用资源会被一 直占用, 从而降低网络中资源的利用效率的问题, 提高了资源的利 用效率。 在本发明实施例的第一种实现方式中, 提供一种资源分配方法, 以终端和网络侧为基站进行说明, 如图 3 所示, 所述方法包括如下 步骤:  According to the method for allocating resources in the embodiment of the present invention, the terminal receives the first message sent by the network side, where the first message carries the dedicated resource of the specified service, and the dedicated resource is selected when the designated service in the terminal is initiated. The occupied resource obtains and saves the dedicated resource from the first message, so as to determine a resource allocation of the specified service in the terminal according to the dedicated resource. When the embodiment of the present invention solves the problem of allocating dedicated resources for a specified service related to an incident event in the prior art, the dedicated resource is always occupied, thereby reducing the utilization efficiency of resources in the network and improving the utilization efficiency of resources. In the first implementation manner of the embodiment of the present invention, a resource allocation method is provided, where the terminal and the network side are used as a base station. As shown in FIG. 3, the method includes the following steps:
301、 当基站检测到网络中的资源占用超过第一阔值时, 向终端 发送第一消息, 所述第一消息中携带有指定业务的专用资源, 所述 专用资源为终端中所述指定业务发起时选取占用的资源, 以便所述 终端根据所述专用资源确定所述终端中所述指定业务的资源分配。  301, when the base station detects that the resource usage in the network exceeds the first threshold, the first message is sent to the terminal, where the first message carries a dedicated resource of the specified service, where the dedicated resource is the specified service in the terminal. The resource that is occupied is selected at the time of initiation, so that the terminal determines the resource allocation of the specified service in the terminal according to the dedicated resource.
302、 所述终端接收所述第一消息。  302. The terminal receives the first message.
所述第一消息为寻呼消息或者广播消息。 其中, 当所述第一消 息为广播消息时, 在现有技术中所述网络侧会周期性地发送所述广 播消息。 例如, 当所述广播消息为 SIB2 ( system information block 2, 系统信息块 2 ) 时, 在本实施例中所述 SIB2 的公共无线资源配置 ( radio Resource Config Common ) 中 々随机接人信息、公共西己置 ( rach-Conf ig Common ) 中携带有指定业务的专用资源, 例如, 所 述专用资源为接入信道资源和 /或者接入码字资源。 The first message is a paging message or a broadcast message. When the first message is a broadcast message, the network side periodically sends the broadcast message in the prior art. For example, when the broadcast message is SIB2 (system information block 2), the public radio resource configuration of the SIB2 in this embodiment is used. (radio Resource Config Common), the private resource carrying the specified service in the rach-Conf ig Common, for example, the dedicated resource is an access channel resource and/or an access codeword. Resources.
所述指定业务可以为紧急业务, 例如 110、 120、 119 等, 也可 以为高优先级业务, 例如, 终端预设的接入等级较高的业务, 在这 里不限定指定业务的具体范围。  The specified service may be an emergency service, for example, 110, 120, 119, etc., or may be a high-priority service, for example, a service with a higher access level preset by the terminal, where the specific range of the specified service is not limited.
303、 所述终端从所述第一消息中获取并保存所述专用资源; 303. The terminal acquires and saves the dedicated resource from the first message.
304、 所述终端将所述专用资源设置为激活状态, 以便当接收到 所述指定业务的发起接入指令时, 从所述专用资源中选取占用资源。 304. The terminal sets the dedicated resource to an active state, so as to select an occupied resource from the dedicated resource when receiving the initiated access instruction of the specified service.
当在所述终端中有所述指定业务发起时, 利用现有技术从保存 的所述专用资源中选取并占用资源。  When the specified service is initiated in the terminal, the existing technology is used to select and occupy the resource from the saved dedicated resource.
而当所述终端接收到非指定业务的发起指令时, 所述终端从其 他资源中选取并占用资源, 所述其他资源不包括所述专用资源。  When the terminal receives the initiating instruction of the non-designated service, the terminal selects and occupies resources from other resources, and the other resources do not include the dedicated resource.
另外, 当所述第一消息为寻呼消息时, 根据所述寻呼消息中携 带的指定业务的专用资源, 确定所述终端中所述指定业务的资源分 配; 当所述终端再次接收到另一个更新的寻呼消息, 且所述更新的 寻呼消息中携带第二指定业务的专用资源时, 则所述终端根据所述 第二指定业务的专用资源, 确定所述终端中所述第二指定业务的资 源分配, 替换之前的所述第一消息中的指定业务的专用资源。  In addition, when the first message is a paging message, determining, according to the dedicated resource of the specified service carried in the paging message, resource allocation of the specified service in the terminal; when the terminal receives another When an updated paging message carries the dedicated resource of the second designated service, the terminal determines the second of the terminal according to the dedicated resource of the second designated service. The resource allocation of the specified service, replacing the dedicated resource of the specified service in the previous first message.
另外, 当所述第一消息为第一广播消息时, 如图 4 所示, 还包 括如下步骤:  In addition, when the first message is the first broadcast message, as shown in FIG. 4, the method further includes the following steps:
401、 所述基站向所述终端发送携带有修改指示的第一寻呼消 息, 所述修改指示用于指示所述终端修改指定业务的专用资源。  401. The base station sends, to the terminal, a first paging message that carries a modification indication, where the modification indication is used to instruct the terminal to modify a dedicated resource of a specified service.
402、 当所述终端接收到所述基站发送的携带有修改指示的第一 寻呼消息时, 获取所述基站向所述终端发送的第二广播消息, 所述 第二广播消息中携带有第二指定业务的专用资源。  402. When the terminal receives the first paging message that is sent by the base station and carries the modification indication, the second broadcast message sent by the base station to the terminal is obtained, where the second broadcast message carries the first 2. A dedicated resource for the specified service.
当所述基站通过统计业务量或者业务密集度等等, 确定当前资 源配置不满足自身负载要求时, 则可以通过发送携带有修改指示的 第一寻呼消息, 通知所述终端修改资源配置, 并通过获取所述第二 广播消息, 得到第二指定业务的专用资源。 When the base station determines the current capital by statistical traffic or business intensity, and the like When the source configuration does not meet the requirements of the load, the first paging message carrying the modification indication is sent, the terminal is notified to modify the resource configuration, and the second broadcast message is obtained to obtain the dedicated resource of the second designated service. .
403、 所述终端从所述第二广播消息中获取并保存所述第二指定 业务的专用资源;  403. The terminal acquires and saves a dedicated resource of the second designated service from the second broadcast message.
404、 所述终端将所述指定业务的专用资源设置为去激活状态, 所述第二指定业务的专用资源设置为激活状态。  404. The terminal sets the dedicated resource of the specified service to a deactivated state, and the dedicated resource of the second designated service is set to an activated state.
即将之前设置的所述指定业务的专用资源停止所述指定业务专 用, 也就是去激活之后, 其他非指定业务在发起接入指令后, 可以 占用所述指定业务的专用资源。  The dedicated resource of the specified service that is set before is used to stop the specified service, that is, after the deactivation, other non-designated services may occupy the dedicated resource of the specified service after initiating the access instruction.
而当所述第二指定业务的专用资源设置为激活状态之后, 只有 当所述第二指定业务在发起接入指令时, 才能占用所述第二指定业 务的专用资源, 其他业务不能占用。 在本发明实施例的第二种实现方式中, 提供一种资源分配方法, 以终端和网络侧为基站进行说明, 如图 5 所示, 所述方法包括如下 步骤:  After the dedicated resource of the second designated service is set to the active state, the dedicated resource of the second designated service can be occupied only when the second designated service initiates the access command, and other services cannot be occupied. In a second implementation manner of the embodiment of the present invention, a resource allocation method is provided, where the terminal and the network side are used as a base station. As shown in FIG. 5, the method includes the following steps:
501、 当所述基站检测到网络中的资源占用超过第一阔值时, 向 所述终端发送第三广播消息, 所述第三广播消息中携带指定业务专 用资源配置的列表, 在所述指定业务专用资源配置的列表中包括指 定业务对应的标识和所述指定业务对应的专用资源;  501, when the base station detects that the resource usage in the network exceeds a first threshold, sending a third broadcast message to the terminal, where the third broadcast message carries a list of specified service-specific resource configurations, where the specified The service-specific resource configuration list includes an identifier corresponding to the specified service and a dedicated resource corresponding to the specified service;
502、 所述终端接收所述第三广播消息;  502. The terminal receives the third broadcast message.
503、 所述终端从所述第三广播消息中获取并保存所述指定业务 专用资源配置的列表。  503. The terminal acquires and saves a list of the specified service-specific resource configurations from the third broadcast message.
在现有技术中所述网络侧会周期性地发送广播消息。 例如, 当 所述第三广播消息为 SIB2 ( system information block 2, 系统信 息块 2 ) 时, 在本实施例中所述 SIB2 的公共无线资源配置 ( radio Resource Conf ig Common )中 随机接人信息、公共西己置( rach-Conf ig Common ) 中携带有指定业务专用资源配置的列表, 例如, 所述专用 资源为接入信道资源和 /或者接入码字资源。 In the prior art, the network side periodically sends a broadcast message. For example, when the third broadcast message is SIB2 (system information block 2), in the embodiment, the public radio resource configuration of the SIB2 (radio) In the Resource Conf ig Common ), the rach-Conf ig Common carries a list of specific service-specific resource configurations, for example, the dedicated resources are access channel resources and/or access codes. Word resource.
所述指定业务可以为紧急业务, 例如 110、 120、 119 等, 也可 以为高优先级业务, 例如, 终端预设的接入等级较高的业务, 在这 里不限定指定业务的具体范围。  The specified service may be an emergency service, for example, 110, 120, 119, etc., or may be a high-priority service, for example, a service with a higher access level preset by the terminal, where the specific range of the specified service is not limited.
所述指定业务专用资源配置的列表中包括指定业务对应的标识 和所述指定业务对应的专用资源, 例如, 紧急业务对应的标识为 1, 高优先级业务对应的标识为 2 ,紧急业务和高优先级业务分别有对应 的专用资源。 在这里不限定所述列表中指定业务的个数。  The list of the specified service-specific resource configuration includes the identifier corresponding to the specified service and the dedicated resource corresponding to the specified service, for example, the identifier corresponding to the emergency service is 1, and the identifier corresponding to the high-priority service is 2, the emergency service and the high Priority services have corresponding dedicated resources. The number of specified services in the list is not limited here.
504、 所述基站向所述终端发送的携带有第一标识的第二寻呼消 息;  504. The second paging message that is sent by the base station to the terminal and that carries the first identifier.
505、 当所述终端接收到所述基站发送的携带有第一标识的第二 寻呼消息时, 查找所述第一标识对应的专用资源;  505. When the terminal receives the second paging message that is sent by the base station and carries the first identifier, the terminal searches for a dedicated resource corresponding to the first identifier.
506、 将所述专用资源设置为激活状态, 以便当接收到所述第一 标识对应的指定业务的发起接入指令时, 从所述专用资源中选取占 用资源。  506. Set the dedicated resource to an active state, so that when the initial access instruction of the specified service corresponding to the first identifier is received, the occupied resource is selected from the dedicated resource.
例如, 当所述终端接收到的所述第一标识为 1 时, 查找标识为 1 对应的专用资源, 并将该专用资源激活, 即将紧急业务对应的专用 资源激活, 其他非紧急业务均不能占用该专用资源。 在本发明实施例的第三种实现方式中, 提供一种资源分配方法, 以终端和网络侧为基站进行说明, 如图 6 所示, 所述方法包括如下 步骤:  For example, when the first identifier received by the terminal is 1, the dedicated resource corresponding to the identifier is searched for, and the dedicated resource is activated, and the dedicated resource corresponding to the emergency service is activated, and other non-emergency services cannot be occupied. This dedicated resource. In a third implementation manner of the embodiment of the present invention, a resource allocation method is provided, where the terminal and the network side are used as a base station. As shown in FIG. 6, the method includes the following steps:
601、 当所述基站检测到网络中的资源占用超过第一阔值时, 向 所述终端发送第一消息, 所述第一消息中携带有指定业务的专用资 源, 所述专用资源为所述终端中指定业务发起时选取占用的资源; 602、 所述终端接收所述第一消息。 601. When the base station detects that the resource usage in the network exceeds a first threshold, the first message is sent to the terminal, where the first message carries a dedicated resource of a specified service, where the dedicated resource is Selecting the occupied resources when the specified service is initiated in the terminal; 602. The terminal receives the first message.
所述第一消息为寻呼消息或者广播消息。 其中, 当所述第一消 息为广播消息时, 在现有技术中所述网络侧会周期性地发送所述广 播消息。 例如, 当所述广播消息为 SIB2 ( system information block 2, 系统信息块 2 ) 时, 在本实施例中所述 SIB2 的公共无线资源配置 ( radio Resource Config Common ) 中 々随机接人信息、公共西己置 ( rach-Conf ig Common ) 中携带有指定业务的专用资源, 例如, 所 述专用资源为接入信道资源和 /或者接入码字资源。  The first message is a paging message or a broadcast message. When the first message is a broadcast message, the network side periodically sends the broadcast message in the prior art. For example, when the broadcast message is the SIB2 (system information block 2), in the radio resource Config Common of the SIB2 in the embodiment, the random access information, the public hexagram A dedicated resource carrying a specified service is carried in the rach-Conf ig Common, for example, the dedicated resource is an access channel resource and/or an access codeword resource.
所述指定业务可以为紧急业务, 例如 110、 120、 119 等, 也可 以为高优先级业务, 例如, 终端预设的接入等级较高的业务, 在这 里不限定指定业务的具体范围。  The specified service may be an emergency service, for example, 110, 120, 119, etc., or may be a high-priority service, for example, a service with a higher access level preset by the terminal, where the specific range of the specified service is not limited.
603、 所述终端从所述第一消息中获取并保存所述专用资源。 603. The terminal acquires and saves the dedicated resource from the first message.
604、 所述基站向所述终端发送携带有指定业务预警指示的第三 寻呼消息; 604. The base station sends, to the terminal, a third paging message that carries a specified service early warning indication.
605、 当所述终端接收到携带有指定业务预警指示的第三寻呼消 息时, 将所述专用资源设置为激活状态, 以便当接收到所述指定业 务的发起接入指令时, 从所述专用资源中选取占用资源。  605. When the terminal receives the third paging message that carries the specified service early warning indication, set the dedicated resource to an active state, so that when the initiated access command of the specified service is received, The occupied resources are selected in the dedicated resources.
当在所述基站中有指定业务预警指示需要发出时, 如紧急业务 预警指示, 地震、 海嘯预警指示等等, 则所述基站将携带有指定业 务预警指示的第三寻呼消息发送出去, 以便通知所述终端。 在本发明实施例的第四种实现方式中, 提供一种资源分配方法, 以终端和网络侧为基站进行说明, 本实现方式中可以通过预设生效 时间设置专用资源激活的持续时间, 以便在所述预设生效时间内, 保证指定业务能够顺利接入, 如图 7所示, 所述方法包括如下步骤: When there is a specified service early warning indication in the base station, such as an emergency service warning indication, an earthquake, a tsunami warning indication, etc., the base station sends a third paging message carrying the specified service early warning indication, so that Notify the terminal. In a fourth implementation manner of the embodiment of the present invention, a resource allocation method is provided, where the terminal and the network side are used as a base station, and in this implementation manner, the duration of the dedicated resource activation may be set by using a preset effective time, so that During the preset effective time, the specified service can be successfully accessed. As shown in FIG. 7, the method includes the following steps:
701、 当基站检测到网络中的资源占用超过第一阔值时, 向终端 发送第一消息, 所述第一消息中携带有指定业务的专用资源, 所述 专用资源为所述终端中指定业务发起时选取占用的资源;701. When the base station detects that the resource usage in the network exceeds the first threshold, the first message is sent to the terminal, where the first message carries a dedicated resource of the specified service, where The dedicated resource is a resource selected when the specified service in the terminal is initiated;
702、 所述终端接收所述第一消息。 702. The terminal receives the first message.
所述第一消息为寻呼消息或者广播消息。 其中, 当所述第一消 息为广播消息时, 在现有技术中所述网络侧会周期性地发送所述广 播消息。 例如, 当所述广播消息为 SIB2 ( system information block 2, 系统信息块 2 ) 时, 在本实施例中所述 SIB2 的公共无线资源配置 ( radio Resource Config Common ) 中 々随机接人信息、公共西己置 ( rach-Conf ig Common ) 中携带有指定业务的专用资源, 例如, 所 述专用资源为接入信道资源和 /或者接入码字资源。  The first message is a paging message or a broadcast message. When the first message is a broadcast message, the network side periodically sends the broadcast message in the prior art. For example, when the broadcast message is the SIB2 (system information block 2), in the radio resource Config Common of the SIB2 in the embodiment, the random access information, the public hexagram A dedicated resource carrying a specified service is carried in the rach-Conf ig Common, for example, the dedicated resource is an access channel resource and/or an access codeword resource.
所述指定业务可以为紧急业务, 例如 110、 120、 119 等, 也可 以为高优先级业务, 例如, 终端预设的接入等级较高的业务, 在这 里不限定指定业务的具体范围。  The specified service may be an emergency service, for example, 110, 120, 119, etc., or may be a high-priority service, for example, a service with a higher access level preset by the terminal, where the specific range of the specified service is not limited.
703、 所述终端从所述第一消息中获取并保存所述专用资源。 703. The terminal acquires and saves the dedicated resource from the first message.
704、 所述终端根据预设生效时间将所述专用资源设置为激活状 态, 所述预设生效时间为所述专用资源激活的持续时间。 704. The terminal sets the dedicated resource to an active state according to a preset effective time, where the preset effective time is a duration of activation of the dedicated resource.
对于所述预设生效时间可以通过固定值或者变量来进行设置, 具体实现方式如下所示:  The preset effective time can be set by a fixed value or a variable, and the specific implementation manner is as follows:
方式一  method one
al、 启动所述终端上的定时器, 并激活所述专用资源;  Al, starting a timer on the terminal, and activating the dedicated resource;
其中, 所述定时器为固化在所述终端中, 所述定时器的设置时 间为所述预设生效时间, 例如为 2 秒。 所述定时器的作用就是在所 述定时器计时的过程中, 所述专用资源处于激活的状态时, 只有所 述指定业务发起时, 才能占用所述专用资源, 其他非指定业务不能 占用所述专用资源。  The timer is set in the terminal, and the setting time of the timer is the preset effective time, for example, 2 seconds. The function of the timer is that, when the dedicated resource is in the active state, the dedicated resource can be occupied only when the specified service is initiated, and the other non-designated service cannot occupy the Dedicated resources.
a2、 在所述定时器计时的过程中, 当接收到所述基站发送的携 带有指定业务预警指示的第四寻呼消息时, 重新启动所述定时器, 且所述专用资源的工作状态处于激活状态。 当在所述定时器计时的过程中, 再次接受到携带有指定业务预 警指示的第四寻呼消息时, 重新启动所述定时器, 并将所述专用资 源的工作状态继续保持在激活状态。 In the process of timing the timer, when receiving the fourth paging message that is sent by the base station and carrying the specified service early warning indication, the timer is restarted, and the working state of the dedicated resource is Activation status. When the fourth paging message carrying the specified service early warning indication is received again during the timer counting, the timer is restarted, and the working state of the dedicated resource is maintained in an active state.
方式二  Way two
在所述根据预设生效时间将所述专用资源设置为激活状态之 前, 所述终端接收所述基站发送的携带有指定业务预警信息的第四 广播消息, 并获取所述指定业务预警信息, 所述第四广播消息中还 携带有资源生效时间, 所述资源生效时间为所述专用资源激活的持 续时间。  Before the setting the dedicated resource to the active state according to the preset effective time, the terminal receives the fourth broadcast message that is sent by the base station and carries the specified service early warning information, and obtains the specified service early warning information. The fourth broadcast message further carries a resource effective time, where the resource effective time is a duration of activation of the dedicated resource.
从所述第四广播消息中获取并保存所述资源生效时间, 并将所 述资源生效时间作为所述预设生效时间。  Obtaining and saving the resource effective time from the fourth broadcast message, and using the resource effective time as the preset effective time.
可以在所述基站发送的消息中设置所述预设生效时间, 不必利 用所述终端上设置的定时器的固定值, 而是根据消息中的变量从而 动态控制专用资源的使用。  The preset effective time may be set in a message sent by the base station, and the fixed value of the timer set on the terminal is not necessarily used, but the use of the dedicated resource is dynamically controlled according to the variable in the message.
方式三  Way three
所述基站向所述终端发送的第一消息中携带有资源生效时间, 从所述第一消息中获取并保存所述资源生效时间, 并将所述资源生 效时间作为所述预设生效时间。  The first message sent by the base station to the terminal carries a resource effective time, and the resource effective time is obtained and saved from the first message, and the resource activation time is used as the preset effective time.
当所述终端处于所述预设生效时间内时, 所述终端中有业务发 起时, 如图 8所示, 通过下列步骤实现资源的选择和占用:  When the terminal is in the preset effective time, when a service is started in the terminal, as shown in FIG. 8, the following steps are used to implement resource selection and occupation:
8 01、 当所述终端接收到业务发起指令时, 判断所述业务是否为 指定业务。  8 01. When the terminal receives the service initiation instruction, it determines whether the service is a designated service.
所述终端先判断发起指令的业务是否为指定业务, 例如所述指 定业务为紧急业务时, 所述终端可以利用现有技术进行紧急业务的 判断。  The terminal first determines whether the service initiating the command is a specified service. For example, when the specified service is an emergency service, the terminal may use the existing technology to perform the emergency service.
8 02、 当所述业务为所述指定业务, 且所述专用资源的工作状态 处于激活状态时, 从所述专用资源中选取所述业务占用的资源。 当所述终端判断出所述业务为指定业务, 且所述指定业务专用 资源的工作状态处于激活状态时, 利用现有技术在所述专用资源中 选取资源, 并用于所述指定业务建立连接的过程中的接入占用。 8 02. When the service is the specified service, and the working state of the dedicated resource is in an active state, the resource occupied by the service is selected from the dedicated resource. When the terminal determines that the service is a specified service, and the working state of the specified service-specific resource is in an active state, the resource is selected in the dedicated resource by using the prior art, and the connection is established for the specified service. The access occupancy in the process.
8 03、 当所述业务为非指定业务, 且所述专用资源的工作状态处 于激活状态时, 从其他资源中选取所述业务占用的资源, 所述其他 资源不包括所述专用资源。  8 03. When the service is a non-designated service, and the working state of the dedicated resource is in an active state, the resource occupied by the service is selected from other resources, and the other resource does not include the dedicated resource.
当所述终端判断出所述业务为非指定业务, 且所述专用资源的 工作状态处于激活状态时, 则从其他资源中, 即不包括所述专用资 源的资源中, 利用现有技术选取所述非指定业务在建立连接的过程 中可以接入并占用的资源, 从而避免了 当所述终端有指定业务需要 发起时, 选取资源进行接入, 由于其他非指定业务也可能选择相同 的资源进行接入, 导致指定业务和非指定业务发生冲突, 从而所述 非指定业务影响所述指定业务的问题。  When the terminal determines that the service is a non-designated service, and the working state of the dedicated resource is in an active state, selecting from other resources, that is, resources not including the dedicated resource, using a prior art The resources that the non-designated service can access and occupy during the process of establishing a connection, so that when the terminal has a specified service to be initiated, the resource is selected for access, and other non-designated services may also select the same resource. The access causes the specified service to collide with the non-designated service, so that the non-designated service affects the specified service.
8 04、 当所述预设生效时间结束时, 将所述专用资源设置为去激 活状态。  8 04. When the preset effective time ends, the dedicated resource is set to a deactivated state.
此时所述非指定业务就可以任意选择资源进行占用了。  At this time, the non-designated service can arbitrarily select the resource to occupy.
本实现方式可以应用于上述四种实现方式中, 即可以通过所述 预设生效时间限定所述专用资源的使用时间, 也可以不限定所述预 设生效时间, 通过所述终端接收所述基站的消息进行专用资源的激 活。  The implementation manner can be applied to the foregoing four implementation manners, that is, the usage time of the dedicated resource may be limited by the preset effective time, or the preset effective time may not be limited, and the base station is received by the terminal. The message is activated by a dedicated resource.
在本发明实施例中通过控制专用资源的激活与去激活, 从而解 决当终端接收到大量接入指令时, 指定业务被阻塞的问题, 同时又 能充分利用资源, 提高资源利用率。 本发明实施例的第五种实现方式中, 提供一种资源分配方法, 以终端和网络侧为基站进行说明, 如图 9所示, 所述方法还包括: 9 01、 当所述基站检测到网络中的资源占用低于第二阔值时, 向 所述终端发送第二消息, 所述第二消息中携带有撤销指令, 所述撤 销指令用于指示所述终端撤销对所述指定业务的所述专用资源的分 配指令。 In the embodiment of the present invention, by controlling activation and deactivation of dedicated resources, the problem that the designated service is blocked when the terminal receives a large number of access instructions is solved, and resources can be fully utilized to improve resource utilization. In a fifth implementation manner of the embodiment of the present invention, a resource allocation method is provided, where the terminal and the network side are used as a base station. As shown in FIG. 9, the method further includes: When the resource occupancy in the network is lower than the second threshold, The terminal sends a second message, where the second message carries a revocation instruction, where the revocation instruction is used to instruct the terminal to revoke an allocation instruction for the dedicated resource of the specified service.
所述基站会一直检测网络中的资源占用, 当检测到网络中的资 源占用低于所述第二阔值时, 例如所述第二阔值为所述网络中的资 源占用为 30%, 则所述基站将不再为所述指定业务分配专用资源。  The base station always detects the resource occupation in the network, and when it is detected that the resource occupancy in the network is lower than the second threshold, for example, the second threshold is 30% of the resources in the network, The base station will no longer allocate dedicated resources for the designated service.
902、 所述终端接收所述网络侧发送的第二消息。  902. The terminal receives a second message sent by the network side.
903、 所述终端从所述第二消息中获取所述撤销指令, 并释放所 述专用资源。  903. The terminal acquires the revocation instruction from the second message, and releases the dedicated resource.
将所述专用资源进行释放以后, 所述专用资源不再为所述指定 业务所占用, 其他业务也可以选取并占用。  After the dedicated resource is released, the dedicated resource is no longer occupied by the designated service, and other services may also be selected and occupied.
本实现方式可以应用于上述四种实现方式中, 即可以为所述指 定业务分配专用资源, 也可以将所述专用资源进行释放。  This implementation manner can be applied to the foregoing four implementation manners, that is, a dedicated resource may be allocated for the specified service, or the dedicated resource may be released.
本发明实施例可以应用于 LTE ( Long Term Evolution, 长期演 进技术)、 WCDMA ( Wideband Code Division Multiple Access , 宽 带码分多址) 中。 实施例 2  The embodiments of the present invention can be applied to LTE (Long Term Evolution) and WCDMA (Wideband Code Division Multiple Access). Example 2
本发明实施例提供的一种网络设备 10, 如图 10所示, 所述网络 设备包括发送单元 1001。  A network device 10 is provided in the embodiment of the present invention. As shown in FIG. 10, the network device includes a sending unit 1001.
所述发送单元 1001, 用于当检测到网络中的资源占用超过第一 阔值时, 向终端发送第一消息, 所述第一消息中携带有指定业务的 专用资源, 所述专用资源为终端中所述指定业务发起时选取占用的 资源, 以便所述终端根据所述专用资源确定所述终端中所述指定业 务的资源分配。  The sending unit 1001 is configured to: when detecting that the resource usage in the network exceeds a first threshold, send a first message to the terminal, where the first message carries a dedicated resource of a specified service, where the dedicated resource is a terminal When the specified service is initiated, the occupied resource is selected, so that the terminal determines the resource allocation of the specified service in the terminal according to the dedicated resource.
本发明实施例提供的一种网络设备, 当网络侧检测到网络中的 资源占用超过第一阔值时, 向终端发送第一消息, 所述第一消息中 携带有指定业务的专用资源, 所述专用资源为终端中所述指定业务 发起时选取占用的资源, 以便所述终端根据所述专用资源确定所述 终端中所述指定业务的资源分配。 本发明实施例解决了现有技术中 为偶发事件相关的指定业务分配专用资源时, 所述专用资源会被一 直占用, 从而降低网络中资源的利用效率的问题, 提高了资源的利 用效率。 When the network side detects that the resource usage in the network exceeds the first threshold, the network device sends a first message to the terminal, where the first message is included in the first message. A dedicated resource carrying a specified service, where the dedicated resource selects a resource that is occupied when the specified service is initiated in the terminal, so that the terminal determines the resource allocation of the specified service in the terminal according to the dedicated resource. When the embodiment of the present invention solves the problem of allocating dedicated resources for a specified service related to an incident event in the prior art, the dedicated resource is always occupied, thereby reducing the problem of resource utilization efficiency in the network, and improving resource utilization efficiency.
可选的, 所述发送单元发送的第一消息为寻呼消息或者广播消 息。  Optionally, the first message sent by the sending unit is a paging message or a broadcast message.
可选的, 当所述第一消息为第一广播消息时,  Optionally, when the first message is the first broadcast message,
所述发送单元, 还用于向所述终端发送携带有修改指示的第一 寻呼消息; 还用于向所述终端发送第二广播消息, 所述第二广播消 息中携带有第二指定业务的专用资源, 以便所述终端将将所述指定 业务的专用资源设置为去激活状态, 所述第二指定业务的专用资源 设置为激活状态。  The sending unit is further configured to send, to the terminal, a first paging message that carries a modification indication, and is further configured to send a second broadcast message to the terminal, where the second broadcast message carries a second designated service. a dedicated resource, so that the terminal sets the dedicated resource of the specified service to a deactivated state, and the dedicated resource of the second designated service is set to an activated state.
可选的, 当所述第一消息为第三广播消息, 且所述第三广播消 息中携带的专用资源为指定业务专用资源配置的列表, 在所述指定 业务专用资源配置的列表中包括指定业务对应的标识和所述指定业 务对应的专用资源时,  Optionally, when the first message is a third broadcast message, and the dedicated resource carried in the third broadcast message is a list configured by a specified service-specific resource, including a specified in the list of the specified service-specific resource configuration When the service corresponds to the identifier and the dedicated resource corresponding to the specified service,
所述发送单元, 还用于向所述终端发送携带有第一标识的第二 寻呼消息, 以便所述终端根据所述第一标识查找到对应的专用资源, 并将所述专用资源设置为激活状态, 当所述终端接收到所述第一标 识对应的指定业务的发起接入指令时, 从所述专用资源中选取占用 资源。  The sending unit is further configured to send, to the terminal, a second paging message that carries the first identifier, so that the terminal searches for a corresponding dedicated resource according to the first identifier, and sets the dedicated resource as In the active state, when the terminal receives the initiated access instruction of the specified service corresponding to the first identifier, the occupied resource is selected from the dedicated resource.
可选的, 所述发送单元, 还用于向所述终端发送携带有指定业 务预警指示的第三寻呼消息时, 以便所述终端将所述专用资源设置 为激活状态, 当所述终端接收到所述指定业务的发起接入指令时, 从所述专用资源中选取占用资源。 可选的, 所述发送单元, 还用于向所述终端发送携带有指定业 务预警指示的第四寻呼消息, 以便所述终端重新启动所述定时器。 Optionally, the sending unit is further configured to: when the third paging message carrying the specified service early warning indication is sent to the terminal, so that the terminal sets the dedicated resource to an active state, when the terminal receives When the access instruction of the specified service is initiated, the occupied resource is selected from the dedicated resources. Optionally, the sending unit is further configured to send, to the terminal, a fourth paging message that carries the specified service early warning indication, so that the terminal restarts the timer.
可选的, 所述发送单元, 还用于向所述终端发送携带有指定业 务预警信息的第四广播消息, 以便所述终端获取所述指定业务预警 信息。  Optionally, the sending unit is further configured to send, to the terminal, a fourth broadcast message carrying the specified service early warning information, so that the terminal acquires the specified service early warning information.
可选的, 所述发送单元发送的所述第四广播消息中还携带有资 源生效时间, 所述资源生效时间为所述专用资源激活的持续时间, 以便所述终端获取并保存所述资源生效时间, 并将所述资源生效时 间作为所述预设生效时间。  Optionally, the fourth broadcast message sent by the sending unit further includes a resource effective time, where the resource effective time is a duration of activation of the dedicated resource, so that the terminal obtains and saves the resource to take effect. Time, and the resource effective time is taken as the preset effective time.
可选的, 所述发送单元发送的所述第一消息中还携带有资源生 效时间, 所述资源生效时间为所述专用资源激活的持续时间, 以便 所述终端获取并保存所述资源生效时间, 并将所述资源生效时间作 为所述预设生效时间。  Optionally, the first message sent by the sending unit further includes a resource effective time, where the resource effective time is a duration of activation of the dedicated resource, so that the terminal acquires and saves the resource effective time. And the resource effective time is taken as the preset effective time.
可选的, 所述发送单元, 还用于当检测到网络中的资源占用低 于第二阔值时, 向终端发送第二消息, 所述第二消息中携带有撤销 指令, 所述撤销指令用于指示所述终端撤销对所述指定业务的所述 专用资源的分配指令。  Optionally, the sending unit is further configured to: when detecting that the resource usage in the network is lower than the second threshold, sending a second message to the terminal, where the second message carries a revocation instruction, where the revocation instruction And an instruction for instructing the terminal to revoke the dedicated resource of the specified service.
上述网络设备 1 0的操作过程, 参见上述资源分配方法的处理过 程。 相应地, 本发明实施例还提供一种终端 1 1 , 如图 1 1所示, 所述 终端包括接收单元 1 1 1和处理单元 1 1 2。  For the operation process of the above network device 10, refer to the processing procedure of the resource allocation method described above. Correspondingly, the embodiment of the present invention further provides a terminal 1 1 , as shown in FIG. 1 , the terminal includes a receiving unit 1 1 1 and a processing unit 1 1 2 .
其中, 所述接收单元 1 1 1 , 用于接收网络侧发送的第一消息, 所 述第一消息中携带有指定业务的专用资源, 所述专用资源为终端中 所述指定业务发起时选取占用的资源;  The receiving unit 1 1 1 is configured to receive a first message sent by the network side, where the first message carries a dedicated resource of a specified service, where the dedicated resource is selected when the specified service is initiated in the terminal. resource of;
处理单元 1 1 2 ,用于从所述接收单元接收到的第一消息中获取并 保存所述专用资源, 以便根据所述专用资源确定所述终端中所述指 定业务的资源分配。 The processing unit 1 1 2 is configured to acquire and save the dedicated resource from the first message received by the receiving unit, to determine the finger in the terminal according to the dedicated resource. The resource allocation of the business.
本发明实施例提供的一种终端, 终端接收网络侧发送的第一消 息, 在所述第一消息中携带有指定业务的专用资源, 且所述专用资 源为终端中指定业务发起时选取占用的资源, 从所述第一消息中获 取并保存所述专用资源, 以便根据所述专用资源确定所述终端中所 述指定业务的资源分配。 本发明实施例解决了现有技术中为偶发事 件相关的指定业务分配专用资源时, 所述专用资源会被一直占用, 从而降低网络中资源的利用效率的问题, 提高了资源的利用效率。  The terminal provided by the embodiment of the present invention, the terminal receives the first message sent by the network side, where the first message carries a dedicated resource of the specified service, and the dedicated resource is selected when the designated service in the terminal is initiated. And obtaining, by the resource, the dedicated resource from the first message, to determine, according to the dedicated resource, a resource allocation of the specified service in the terminal. When the embodiment of the present invention solves the problem of allocating dedicated resources for a specified service related to an incident in the prior art, the dedicated resource is always occupied, thereby reducing the utilization efficiency of resources in the network, and improving resource utilization efficiency.
可选的, 所述处理单元, 用于将所述专用资源设置为激活状态, 以便当接收到所述指定业务的发起接入指令时, 从所述专用资源中 选取占用资源。  Optionally, the processing unit is configured to set the dedicated resource to an active state, so that when the initial access instruction of the specified service is received, the occupied resource is selected from the dedicated resource.
可选的, 所述接收单元接收到的第一消息为寻呼消息或者广播 消息。  Optionally, the first message received by the receiving unit is a paging message or a broadcast message.
可选的, 当所述接收单元接收到的第一消息为第一广播消息时, 所述处理单元, 还用于当所述接收单元接收到所述网络侧发送 的携带有修改指示的第一寻呼消息时, 获取第二广播消息, 所述第 二广播消息中携带有第二指定业务的专用资源;  Optionally, when the first message received by the receiving unit is the first broadcast message, the processing unit is further configured to: when the receiving unit receives the first that is sent by the network side and carries the modification indication Obtaining a second broadcast message, where the second broadcast message carries a dedicated resource of the second designated service;
如图 1 2所示, 所述终端还包括:  As shown in FIG. 12, the terminal further includes:
获取单元 1 1 3 ,用于从所述第二广播消息中获取并保存所述第二 指定业务的专用资源;  The obtaining unit 1 1 3 is configured to acquire and save the dedicated resource of the second designated service from the second broadcast message;
所述处理单元, 还用于将所述指定业务的专用资源设置为去激 活状态, 所述第二指定业务的专用资源设置为激活状态。  The processing unit is further configured to set the dedicated resource of the specified service to a deactivated state, and the dedicated resource of the second designated service is set to an activated state.
可选的, 当所述接收单元接收到的第一消息为第三广播消息, 且所述第三广播消息中携带的专用资源为指定业务专用资源配置的 列表, 在所述指定业务专用资源配置的列表中包括指定业务对应的 标识和所述指定业务对应的专用资源时, 如图 1 3所示, 所述终端还 包括: 查找单元 1 1 4 ,用于当所述接收单元接收到所述网络侧发送的携 带有第一标识的第二寻呼消息时, 查找所述第一标识对应的专用资 源; Optionally, when the first message received by the receiving unit is a third broadcast message, and the dedicated resource carried in the third broadcast message is a list of specified service-specific resource configurations, where the specified service-specific resource is configured. When the list includes the identifier corresponding to the specified service and the dedicated resource corresponding to the specified service, as shown in FIG. 13 , the terminal further includes: The searching unit 1 1 4 is configured to: when the receiving unit receives the second paging message that is sent by the network side and carries the first identifier, search for a dedicated resource corresponding to the first identifier;
所述处理单元, 还用于将所述专用资源设置为激活状态, 以便 当接收到所述第一标识对应的指定业务的发起接入指令时, 从所述 专用资源中选取占用资源。  The processing unit is further configured to set the dedicated resource to an active state, so that when the initial access instruction of the specified service corresponding to the first identifier is received, the occupied resource is selected from the dedicated resource.
可选的, 所述处理单元, 还用于当所述接收单元接收到所述网 络侧发送的携带有指定业务预警指示的第三寻呼消息时, 将所述专 用资源设置为激活状态, 以便当接收到所述指定业务的发起接入指 令时, 从所述专用资源中选取占用资源。  Optionally, the processing unit is further configured to: when the receiving unit receives the third paging message that is sent by the network side and carries the specified service early warning indication, set the dedicated resource to an active state, so that When receiving the initiated access instruction of the specified service, the occupied resource is selected from the dedicated resource.
可选的, 所述处理单元, 还用于根据预设生效时间将所述专用 资源设置为激活状态, 所述预设生效时间为所述专用资源激活的持 续时间。  Optionally, the processing unit is further configured to set the dedicated resource to an active state according to a preset effective time, where the preset effective time is a duration of the dedicated resource activation.
可选的, 当所述预设生效时间为预设在所述终端上的定时器的 设置时间时, 所述处理单元, 还用于启动所述定时器, 并激活所述 专用资源; 还用于在所述定时器计时的过程中, 当所述接收单元接 收到所述网络侧发送的携带有指定业务预警指示的第四寻呼消息 时, 重新启动所述定时器, 且所述专用资源的工作状态处于激活状 态。  Optionally, when the preset effective time is a preset time of a timer preset on the terminal, the processing unit is further configured to start the timer, and activate the dedicated resource; During the timing of the timer, when the receiving unit receives the fourth paging message that is sent by the network side and carries the specified service early warning indication, the timer is restarted, and the dedicated resource is used. The working status is active.
可选的, 所述接收单元, 还用于当所述处理单元根据预设生效 时间将所述指定业务专用资源设置为激活状态之前, 接收所述网络 侧发送的携带有指定业务预警信息的第四广播消息, 并获取所述指 定业务预警信息。  Optionally, the receiving unit is further configured to: before the processing unit sets the specified service dedicated resource to an active state according to a preset effective time, receive, by the network side, the first information that carries the specified service early warning information. Four broadcast messages, and obtain the specified service warning information.
可选的, 当所述接收单元接收到的所述第四广播消息中还携带 有资源生效时间, 所述资源生效时间为所述专用资源激活的持续时 间时, 所述处理单元, 还用于从所述第四广播消息中获取并保存所 述资源生效时间, 并将所述资源生效时间作为所述预设生效时间。 可选的, 当所述接收单元接收到的所述第一消息中还携带有资 源生效时间, 所述资源生效时间为所述专用资源激活的持续时间时, 所述处理单元, 还用于从所述第一消息中获取并保存所述资源 生效时间, 并将所述资源生效时间作为所述预设生效时间。 Optionally, when the fourth broadcast message received by the receiving unit further includes a resource effective time, where the resource effective time is the duration of the dedicated resource activation, the processing unit is further configured to: Obtaining and saving the resource effective time from the fourth broadcast message, and using the resource effective time as the preset effective time. Optionally, when the first message received by the receiving unit further carries a resource effective time, where the resource effective time is the duration of the dedicated resource activation, the processing unit is further configured to use Obtaining and saving the resource effective time in the first message, and using the resource effective time as the preset effective time.
可选的, 如图 14所示, 所述终端还包括:  Optionally, as shown in FIG. 14, the terminal further includes:
判断单元 115, 用于当所述接收单元接收到业务发起指令时, 判 断所述业务是否为指定业务;  The determining unit 115 is configured to determine, when the receiving unit receives the service initiation instruction, whether the service is a designated service;
所述处理单元, 还用于当所述判断单元判断所述业务为所述指 定业务, 且所述专用资源的工作状态处于激活状态时, 从所述专用 资源中选取所述业务占用的资源;  The processing unit is further configured to: when the determining unit determines that the service is the specified service, and the working state of the dedicated resource is in an active state, select a resource occupied by the service from the dedicated resource;
所述处理单元, 还用于当所述判断单元判断所述业务为非指定 业务, 且所述专用资源的工作状态处于激活状态时, 从其他资源中 选取所述业务占用的资源, 所述其他资源不包括所述专用资源;  The processing unit is further configured to: when the determining unit determines that the service is a non-designated service, and the working state of the dedicated resource is in an active state, select resources occupied by the service from other resources, where the other Resources do not include the dedicated resources;
所述处理单元, 还用于当所述预设生效时间结束时, 将所述专 用资源设置为去激活状态。  The processing unit is further configured to set the dedicated resource to a deactivated state when the preset effective time ends.
可选的, 所述接收单元, 还用于接收所述网络侧发送的第二消 息, 所述第二消息中携带有撤销指令, 所述撤销指令用于指示所述 终端撤销对所述指定业务的所述专用资源的分配指令;  Optionally, the receiving unit is further configured to receive a second message that is sent by the network, where the second message carries a revocation instruction, where the revocation instruction is used to instruct the terminal to revoke the designated service. The allocation instruction of the dedicated resource;
所述处理单元, 还用于从所述第二消息中获取所述撤销指令, 并释放所述专用资源。  The processing unit is further configured to obtain the revocation instruction from the second message, and release the dedicated resource.
上述终端 11 的操作过程, 参见上述资源分配方法的处理过程。 本发明实施例可以应用于 LTE、 WCDMA中。 实施例 3  For the operation process of the terminal 11 described above, refer to the processing procedure of the resource allocation method described above. The embodiments of the present invention can be applied to LTE and WCDMA. Example 3
本发明实施例提供一种网络设备 15, 如图 15所示, 所述网络设 备包括存储器 151、 无线通信模块 152和处理器 153。  The embodiment of the present invention provides a network device 15. As shown in FIG. 15, the network device includes a memory 151, a wireless communication module 152, and a processor 153.
其中, 存储器 151, 用于存储软件程序和数据; 无线通信模块 1 5 2 , 用于向终端发送消息; The memory 151 is configured to store software programs and data; a wireless communication module 1 5 2, configured to send a message to the terminal;
处理器 1 5 3 , 用于执行存储器中的软件程序, 具体执行: 当检测到网络中的资源占用超过第一阔值时, 通过所述无线通 信模块向终端发送第一消息, 所述第一消息中携带有指定业务的专 用资源, 所述专用资源为终端中所述指定业务发起时选取占用的资 源, 以便所述终端根据所述专用资源确定所述终端中所述指定业务 的资源分配。  The processor 1 5 3 is configured to execute a software program in the memory, where: executing, when detecting that the resource usage in the network exceeds a first threshold, sending, by the wireless communication module, a first message to the terminal, where the first The message carries the dedicated resource of the specified service, and the dedicated resource is used to select the resource that is occupied when the specified service is initiated in the terminal, so that the terminal determines the resource allocation of the specified service in the terminal according to the dedicated resource.
本发明实施例提供的一种网络设备, 当网络侧检测到网络中的 资源占用超过第一阔值时, 向终端发送第一消息, 所述第一消息中 携带有指定业务的专用资源, 所述专用资源为终端中所述指定业务 发起时选取占用的资源, 以便所述终端根据所述专用资源确定所述 终端中所述指定业务的资源分配。 本发明实施例解决了现有技术中 为偶发事件相关的指定业务分配专用资源时, 所述专用资源会被一 直占用, 从而降低网络中资源的利用效率的问题, 提高了资源的利 用效率。  When the network device detects that the resource usage in the network exceeds the first threshold, the network side sends a first message to the terminal, where the first message carries a dedicated resource for the specified service. The dedicated resource is used to select the occupied resource when the specified service is initiated in the terminal, so that the terminal determines the resource allocation of the specified service in the terminal according to the dedicated resource. When the embodiment of the present invention solves the problem of allocating dedicated resources for a specified service related to an incident event in the prior art, the dedicated resource is always occupied, thereby reducing the utilization efficiency of resources in the network and improving the utilization efficiency of resources.
可选的, 所述无线通信模块向终端发送的第一消息为寻呼消息 或者广播消息。  Optionally, the first message sent by the wireless communications module to the terminal is a paging message or a broadcast message.
可选的, 当所述第一消息为第一广播消息时, 所述向所述终端 发送第一消息之后, 所述处理器, 还用于执行:  Optionally, after the first message is the first broadcast message, after the sending the first message to the terminal, the processor is further configured to:
通过所述无线通信模块向所述终端发送携带有修改指示的第一 寻呼消息;  Transmitting, by the wireless communication module, a first paging message carrying a modification indication to the terminal;
通过所述无线通信模块向所述终端发送第二广播消息, 所述第 二广播消息中携带有第二指定业务的专用资源, 以便所述终端将将 所述指定业务的专用资源设置为去激活状态, 所述第二指定业务的 专用资源设置为激活状态。  Sending, by the wireless communication module, a second broadcast message to the terminal, where the second broadcast message carries a dedicated resource of the second designated service, so that the terminal sets the dedicated resource of the specified service to be deactivated. Status, the dedicated resource of the second designated service is set to an active state.
可选的, 当所述第一消息为第三广播消息, 且所述第三广播消 息中携带的专用资源为指定业务专用资源配置的列表, 在所述指定 业务专用资源配置的列表中包括指定业务对应的标识和所述指定业 务对应的专用资源时, 所述向所述终端发送第一消息之后, 所述处 理器, 还用于执行: Optionally, when the first message is a third broadcast message, and the dedicated resource carried in the third broadcast message is a list of specified service-specific resource configurations, When the service-specific resource configuration includes the identifier corresponding to the specified service and the dedicated resource corresponding to the specified service, after the sending the first message to the terminal, the processor is further configured to:
通过所述无线通信模块向所述终端发送携带有第一标识的第二 寻呼消息, 以便所述终端根据所述第一标识查找到对应的专用资源, 并将所述专用资源设置为激活状态, 当所述终端接收到所述第一标 识对应的指定业务的发起接入指令时, 从所述专用资源中选取占用 资源。  Transmitting, by the wireless communication module, a second paging message carrying the first identifier to the terminal, so that the terminal searches for a corresponding dedicated resource according to the first identifier, and sets the dedicated resource to an active state. When the terminal receives the initiated access instruction of the specified service corresponding to the first identifier, the occupied resource is selected from the dedicated resource.
可选的, 所述向所述终端发送第一消息之后, 所述处理器, 还 用于执行:  Optionally, after the sending the first message to the terminal, the processor is further configured to:
通过所述无线通信模块向所述终端发送携带有指定业务预警指 示的第三寻呼消息时, 以便所述终端将所述专用资源设置为激活状 态, 当所述终端接收到所述指定业务的发起接入指令时, 从所述专 用资源中选取占用资源。  When the third paging message carrying the specified service early warning indication is sent to the terminal by the wireless communication module, so that the terminal sets the dedicated resource to an active state, when the terminal receives the specified service When the access instruction is initiated, the occupied resources are selected from the dedicated resources.
可选的, 当所述预设生效时间为预设在所述终端上的定时器的 设置时间时, 所述向所述终端发送第一消息之后, 所述处理器, 还 用于执行:  Optionally, when the preset effective time is a preset time of a timer preset on the terminal, after the sending the first message to the terminal, the processor is further configured to:
通过所述无线通信模块向所述终端发送携带有指定业务预警指 示的第四寻呼消息, 以便所述终端重新启动所述定时器。  And transmitting, by the wireless communication module, a fourth paging message carrying the specified service early warning indication to the terminal, so that the terminal restarts the timer.
可选的, 所述向所述终端发送第一消息之后, 所述处理器, 还 用于执行:  Optionally, after the sending the first message to the terminal, the processor is further configured to:
通过所述无线通信模块向所述终端发送携带有指定业务预警信 息的第四广播消息, 以便所述终端获取所述指定业务预警信息。  And transmitting, by the wireless communication module, a fourth broadcast message carrying the specified service early warning information to the terminal, so that the terminal acquires the specified service early warning information.
可选的, 所述无线通信模块向所述终端发送的所述第四广播消 息中还携带有资源生效时间, 所述资源生效时间为所述专用资源激 活的持续时间, 以便所述终端获取并保存所述资源生效时间, 并将 所述资源生效时间作为所述预设生效时间。 可选的, 所述无线通信模块向所述终端发送的所述第一消息中 还携带有资源生效时间, 所述资源生效时间为所述专用资源激活的 持续时间, 以便所述终端获取并保存所述资源生效时间, 并将所述 资源生效时间作为所述预设生效时间。 Optionally, the fourth broadcast message sent by the wireless communication module to the terminal further includes a resource effective time, where the resource effective time is a duration of activation of the dedicated resource, so that the terminal acquires The resource effective time is saved, and the resource effective time is taken as the preset effective time. Optionally, the first message sent by the wireless communication module to the terminal further includes a resource effective time, where the resource effective time is a duration of activation of the dedicated resource, so that the terminal acquires and saves The resource takes effect time, and the resource effective time is taken as the preset effective time.
可选的, 所述处理器, 还用于执行:  Optionally, the processor is further configured to:
当检测到网络中的资源占用低于第二阔值时, 通过所述无线通 信模块向终端发送第二消息, 所述第二消息中携带有撤销指令, 所 述撤销指令用于指示所述终端撤销对所述指定业务的所述专用资源 的分配指令。 相应地, 本发明实施例还提供一种终端 16, 如图 16所示, 所述 终端包括存储器 161、 无线通信模块 162和处理器 163。  When the resource usage in the network is lower than the second threshold, the second message is sent to the terminal by using the wireless communication module, where the second message carries a revocation command, where the revocation instruction is used to indicate the terminal. The allocation instruction for the dedicated resource of the specified service is revoked. Correspondingly, the embodiment of the present invention further provides a terminal 16, as shown in FIG. 16, the terminal includes a memory 161, a wireless communication module 162, and a processor 163.
其中, 存储器 161, 用于存储软件程序和数据;  The memory 161 is configured to store software programs and data;
无线通信模块 162, 用于接收消息, 将网络侧发送的消息给处理 器进行处理;  a wireless communication module 162, configured to receive a message, and send a message sent by the network side to the processor for processing;
处理器 163, 用于执行存储器中的软件程序, 具体执行: 接收网络侧发送的第一消息, 所述第一消息中携带有指定业务 的专用资源, 所述专用资源为终端中所述指定业务发起时选取占用 的资源;  The processor 163 is configured to execute a software program in the memory, and specifically: receiving a first message sent by the network side, where the first message carries a dedicated resource of a specified service, where the dedicated resource is the specified service in the terminal Select the occupied resources when initiating;
从所述第一消息中获取并保存所述专用资源, 以便根据所述专 用资源确定所述终端中所述指定业务的资源分配。  And acquiring, by the first message, the dedicated resource, to determine, according to the dedicated resource, a resource allocation of the specified service in the terminal.
本发明实施例提供的一种终端, 终端接收网络侧发送的第一消 息, 在所述第一消息中携带有指定业务的专用资源, 且所述专用资 源为终端中指定业务发起时选取占用的资源, 从所述第一消息中获 取并保存所述专用资源, 以便根据所述专用资源确定所述终端中所 述指定业务的资源分配。 本发明实施例解决了现有技术中为偶发事 件相关的指定业务分配专用资源时, 所述专用资源会被一直占用, 从而降低网络中资源的利用效率的问题, 提高了资源的利用效率。 可选的, 所述处理器, 还用于执行: The terminal provided by the embodiment of the present invention, the terminal receives the first message sent by the network side, where the first message carries a dedicated resource of the specified service, and the dedicated resource is selected when the designated service in the terminal is initiated. And obtaining, by the resource, the dedicated resource from the first message, to determine, according to the dedicated resource, a resource allocation of the specified service in the terminal. When the embodiment of the present invention solves the problem that the dedicated resource is allocated for the specified service related to the incident event in the prior art, the dedicated resource is always occupied. Thereby reducing the problem of resource utilization efficiency in the network and improving the utilization efficiency of resources. Optionally, the processor is further configured to:
将所述专用资源设置为激活状态, 以便当接收到所述指定业务 的发起接入指令时, 从所述专用资源中选取占用资源。  The dedicated resource is set to an active state, so that when the initial access instruction of the specified service is received, the occupied resource is selected from the dedicated resource.
可选的, 所述无线通信模块接收的所述第一消息为寻呼消 ,包、或 者广播消息。  Optionally, the first message received by the wireless communication module is a paging cancellation, a packet, or a broadcast message.
可选的, 当所述第一消息为第一广播消息时, 所述处理器, 还 用于执行:  Optionally, when the first message is the first broadcast message, the processor is further configured to:
当接收到所述网络侧发送的携带有修改指示的第一寻呼消息 时, 获取第二广播消息, 所述第二广播消息中携带有第二指定业务 的专用资源;  Obtaining a second broadcast message, where the second broadcast message carries a dedicated resource of the second designated service, when receiving the first paging message that is sent by the network side and carrying the modification indication;
从所述第二广播消息中获取并保存所述第二指定业务的专用资 源;  Obtaining and saving the dedicated resource of the second designated service from the second broadcast message;
将所述指定业务的专用资源设置为去激活状态, 所述第二指定 业务的专用资源设置为激活状态。  The dedicated resource of the specified service is set to a deactivated state, and the dedicated resource of the second designated service is set to an activated state.
可选的, 当所述第一消息为第三广播消息, 且所述第三广播消 息中携带的专用资源为指定业务专用资源配置的列表, 在所述指定 业务专用资源配置的列表中包括指定业务对应的标识和所述指定业 务对应的专用资源时, 所述处理器, 还用于执行:  Optionally, when the first message is a third broadcast message, and the dedicated resource carried in the third broadcast message is a list configured by a specified service-specific resource, including a specified in the list of the specified service-specific resource configuration When the identifier corresponding to the service and the dedicated resource corresponding to the specified service, the processor is further configured to:
当接收到所述网络侧发送的携带有第一标识的第二寻呼消息 时, 查找所述第一标识对应的专用资源;  When receiving the second paging message that is sent by the network side and carrying the first identifier, searching for the dedicated resource corresponding to the first identifier;
将所述专用资源设置为激活状态, 以便当接收到所述第一标识 对应的指定业务的发起接入指令时, 从所述专用资源中选取占用资 源。  And setting the dedicated resource to an active state, so that when the initial access instruction of the specified service corresponding to the first identifier is received, the occupied resource is selected from the dedicated resource.
可选的, 所述处理器, 还用于执行:  Optionally, the processor is further configured to:
当接收到所述网络侧发送的携带有指定业务预警指示的第三寻 呼消息时, 将所述专用资源设置为激活状态, 以便当接收到所述指 定业务的发起接入指令时, 从所述专用资源中选取占用资源。 When receiving the third paging message that is sent by the network side and carrying the specified service early warning indication, setting the dedicated resource to an active state, so that when the finger is received When the service initiates an access instruction, the occupied resource is selected from the dedicated resources.
可选的, 所述处理器, 还用于执行:  Optionally, the processor is further configured to:
根据预设生效时间将所述专用资源设置为激活状态, 所述预设 生效时间为所述专用资源激活的持续时间。  The dedicated resource is set to an active state according to a preset effective time, and the preset effective time is a duration of activation of the dedicated resource.
可选的, 当所述预设生效时间为预设在所述终端上的定时器的 设置时间时, 所述处理器, 还用于执行:  Optionally, when the preset effective time is a preset time of a timer preset on the terminal, the processor is further configured to:
启动所述定时器, 并激活所述专用资源;  Starting the timer and activating the dedicated resource;
在所述定时器计时的过程中, 当接收到所述网络侧发送的携带 有指定业务预警指示的第四寻呼消息时, 重新启动所述定时器, 且 所述专用资源的工作状态处于激活状态。  During the timing of the timer, when receiving the fourth paging message that is sent by the network side and carrying the specified service early warning indication, the timer is restarted, and the working state of the dedicated resource is activated. status.
可选的, 在所述根据预设生效时间将所述专用资源设置为激活 状态之前, 所述处理器, 还用于执行:  Optionally, before the setting the dedicated resource to the active state according to the preset effective time, the processor is further configured to:
接收所述网络侧发送的携带有指定业务预警信息的第四广播消 息, 并获取所述指定业务预警信息。  Receiving, by the network side, a fourth broadcast message carrying the specified service early warning information, and acquiring the specified service early warning information.
可选的, 当所述第四广播消息中还携带有资源生效时间, 所述 资源生效时间为所述专用资源激活的持续时间时, 所述处理器, 还 用于执行:  Optionally, when the fourth broadcast message further carries a resource effective time, where the resource effective time is the duration of the dedicated resource activation, the processor is further configured to:
从所述第四广播消息中获取并保存所述资源生效时间, 并将所 述资源生效时间作为所述预设生效时间。  Obtaining and saving the resource effective time from the fourth broadcast message, and using the resource effective time as the preset effective time.
可选的, 当所述第一消息中还携带有资源生效时间, 所述资源 生效时间为所述专用资源激活的持续时间时, 所述处理器, 还用于 执行:  Optionally, when the first message further carries a resource effective time, where the resource effective time is the duration of the dedicated resource activation, the processor is further configured to:
从所述第一消息中获取并保存所述资源生效时间, 并将所述资 源生效时间作为所述预设生效时间。  Obtaining and saving the resource effective time from the first message, and using the resource effective time as the preset effective time.
可选的, 所述处理器, 还用于执行:  Optionally, the processor is further configured to:
当接收到业务发起指令时, 判断所述业务是否为指定业务; 当所述业务为所述指定业务, 且所述专用资源的工作状态处于 激活状态时, 从所述专用资源中选取所述业务占用的资源; When the service initiation instruction is received, determining whether the service is a specified service; when the service is the specified service, and the working state of the dedicated resource is When the state is activated, the resources occupied by the service are selected from the dedicated resources;
当所述业务为非指定业务, 且所述专用资源的工作状态处于激 活状态时, 从其他资源中选取所述业务占用的资源, 所述其他资源 不包括所述专用资源;  When the service is a non-designated service, and the working state of the dedicated resource is in an active state, the resource occupied by the service is selected from other resources, and the other resource does not include the dedicated resource;
当所述预设生效时间结束时, 将所述专用资源设置为去激活状 态。  When the preset effective time ends, the dedicated resource is set to the deactivated state.
可选的, 所述处理器, 还用于执行:  Optionally, the processor is further configured to:
接收所述网络侧发送的第二消息, 所述第二消息中携带有撤销 指令, 所述撤销指令用于指示所述终端撤销对所述指定业务的所述 专用资源的分配指令;  And receiving, by the network side, a second message, where the second message carries a revocation instruction, where the revocation instruction is used to instruct the terminal to revoke an allocation instruction for the dedicated resource of the specified service;
从所述第二消息中获取所述撤销指令, 并释放所述专用资源。 上述终端 1 6 的操作过程, 参见上述资源分配方法的处理过程。 本发明实施例可以应用于 L TE、 WC DMA中。  Obtaining the revocation instruction from the second message and releasing the dedicated resource. For the operation process of the terminal 16 described above, refer to the processing procedure of the resource allocation method described above. The embodiments of the present invention can be applied to L TE and WC DMA.
所属领域的技术人员可以清楚地了解到, 为描述的方便和简洁, 仅以 上述各功能模块的划分进行举例说明, 实际应用中, 可以根据需要而将上 述功能分配由不同的功能模块完成, 即将装置的内部结构划分成不同的功 能模块, 以完成以上描述的全部或者部分功能。 上述描述的系统, 装置和 单元的具体工作过程, 可以参考前述方法实施例中的对应过程, 在此不再 赘述。  It will be apparent to those skilled in the art that, for convenience and brevity of description, only the division of each functional module described above is exemplified. In practical applications, the above-mentioned function assignment can be completed by different functional modules as needed. The internal structure of the device is divided into different functional modules to perform all or part of the functions described above. For the specific working process of the system, the device and the unit described above, reference may be made to the corresponding process in the foregoing method embodiments, and details are not described herein again.
在本申请所提供的几个实施例中, 应该理解到, 所揭露的系统, 装置 和方法, 可以通过其它的方式实现。 例如, 以上所描述的装置实施例仅仅 是示意性的, 例如, 所述模块或单元的划分, 仅仅为一种逻辑功能划分, 实际实现时可以有另外的划分方式, 例如多个单元或组件可以结合或者可 以集成到另一个系统, 或一些特征可以忽略, 或不执行。 另一点, 所显示 或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口, 装 置或单元的间接耦合或通信连接, 可以是电性, 机械或其它的形式。  In the several embodiments provided herein, it should be understood that the disclosed systems, devices, and methods may be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be used. Combined or can be integrated into another system, or some features can be ignored, or not executed. In addition, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical, mechanical or otherwise.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的, 作为单元显示的部件可以是或者也可以不是物理单元, 即可以位于一个地 方, 或者也可以分布到多个网络单元上。 可以根据实际的需要选择其中的 部分或者全部单元来实现本实施例方案的目的。 The units described as separate components may or may not be physically separate, The components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外, 在本发明各个实施例中的各功能单元可以集成在一个处理单元 中, 也可以是各个单元单独物理存在, 也可以两个或两个以上单元集成在 一个单元中。 上述集成的单元既可以釆用硬件的形式实现, 也可以釆用软 件功能单元的形式实现。  In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品 销售或使用时, 可以存储在一个计算机可读取存储介质中。 基于这样的理 解, 本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技 术方案的全部或部分可以以软件产品的形式体现出来, 该计算机软件产品 存储在一个存储介质中, 包括若干指令用以使得一台计算机设备 (可以是 个人计算机, 服务器, 或者网络设备等)或处理器( p roce s s or )执行本发 明各个实施例所述方法的全部或部分步骤。 而前述的存储介质包括: U盘、 移动硬盘、 只读存储器(ROM , Read-On l y Memo ry ) , 随机存取存储器( RAM , Random Acce s s Memory ) 、 磁碟或者光盘等各种可以存储程序代码的介质。  The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may contribute to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium. The instructions include a plurality of instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (p roce ss or ) to perform all or part of the steps of the methods of the various embodiments of the present invention. The foregoing storage medium includes: a USB flash drive, a removable hard disk, a read-only memory (ROM), a random access memory (RAM, Random Acce ss Memory), a magnetic disk or an optical disk, and the like. The medium of the code.
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局 限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可 轻易想到变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明 的保护范围应以所述权利要求的保护范围为准。  The above is only the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the appended claims.

Claims

权 利 要 求 书 claims
1、 一种资源分配方法, 其特征在于, 包括: 1. A resource allocation method, characterized by including:
当检测到网络中的资源占用超过第一阔值时, 向终端发送第一消 息, 所述第一消息中携带有指定业务的专用资源, 所述专用资源为终 端中所述指定业务发起时选取占用的资源, 以便所述终端根据所述专 用资源确定所述终端中所述指定业务的资源分配。 When it is detected that the resource occupation in the network exceeds the first threshold, a first message is sent to the terminal. The first message carries a dedicated resource for the designated service. The dedicated resource is selected when the designated service is initiated in the terminal. The occupied resources are used so that the terminal determines the resource allocation of the specified service in the terminal according to the dedicated resources.
2、 根据权利要求 1 所述的资源分配方法, 其特征在于, 所述终 端根据所述专用资源确定所述终端中所述指定业务的资源分配包括: 将所述专用资源设置为激活状态, 以便当接收到所述指定业务的 发起接入指令时, 从所述专用资源中选取占用资源。 2. The resource allocation method according to claim 1, characterized in that, the terminal determining the resource allocation of the designated service in the terminal according to the dedicated resources includes: setting the dedicated resources to an activated state, so that When receiving the instruction to initiate access of the specified service, the occupied resources are selected from the dedicated resources.
3、 根据权利要求 2 所述的资源分配方法, 其特征在于, 所述第 一消息为寻呼消息或者广播消息。 3. The resource allocation method according to claim 2, wherein the first message is a paging message or a broadcast message.
4、 根据权利要求 3 所述的资源分配方法, 其特征在于, 当所述 第一消息为第一广播消息时, 所述向所述终端发送第一消息之后, 所 述方法还包括: 4. The resource allocation method according to claim 3, wherein when the first message is a first broadcast message, after sending the first message to the terminal, the method further includes:
向所述终端发送携带有修改指示的第一寻呼消息; Send a first paging message carrying a modification indication to the terminal;
向所述终端发送第二广播消息, 所述第二广播消息中携带有第二 指定业务的专用资源, 以便所述终端将将所述指定业务的专用资源设 置为去激活状态, 所述第二指定业务的专用资源设置为激活状态。 Send a second broadcast message to the terminal, where the second broadcast message carries the dedicated resources of the second designated service, so that the terminal sets the dedicated resources of the designated service to a deactivated state, and the second Dedicated resources for the specified business are set to the active state.
5、 根据权利要求 1 所述的资源分配方法, 其特征在于, 当所述 第一消息为第三广播消息, 且所述第三广播消息中携带的专用资源为 指定业务专用资源配置的列表, 在所述指定业务专用资源配置的列表 中包括指定业务对应的标识和所述指定业务对应的专用资源时, 所述 向所述终端发送第一消息之后, 所述方法还包括: 5. The resource allocation method according to claim 1, characterized in that, when the first message is a third broadcast message, and the dedicated resources carried in the third broadcast message are a list of dedicated resource configurations for designated services, When the list of designated service dedicated resource configurations includes an identifier corresponding to the designated service and a dedicated resource corresponding to the designated service, after sending the first message to the terminal, the method further includes:
向所述终端发送携带有第一标识的第二寻呼消息, 以便所述终端 根据所述第一标识查找到对应的专用资源, 并将所述专用资源设置为 激活状态, 当所述终端接收到所述第一标识对应的指定业务的发起接 入指令时, 从所述专用资源中选取占用资源。 Send a second paging message carrying a first identifier to the terminal, so that the terminal finds the corresponding dedicated resource according to the first identifier, and sets the dedicated resource to In the activated state, when the terminal receives an instruction to initiate access to the specified service corresponding to the first identifier, it selects occupied resources from the dedicated resources.
6、 根据权利要求 1 所述的资源分配方法, 其特征在于, 所述向 所述终端发送第一消息之后, 所述方法还包括: 6. The resource allocation method according to claim 1, wherein after sending the first message to the terminal, the method further includes:
向所述终端发送携带有指定业务预警指示的第三寻呼消息时, 以 便所述终端将所述专用资源设置为激活状态, 当所述终端接收到所述 指定业务的发起接入指令时, 从所述专用资源中选取占用资源。 When the third paging message carrying the designated service warning indication is sent to the terminal so that the terminal sets the dedicated resource to the activated state, when the terminal receives the initiation access instruction of the designated service, Occupied resources are selected from the dedicated resources.
7、 根据权利要求 2 - 5任一项所述的资源分配方法, 其特征在于, 所述终端将所述专用资源设置为激活状态包括: 7. The resource allocation method according to any one of claims 2 to 5, wherein the terminal setting the dedicated resource to an activated state includes:
所述终端根据预设生效时间将所述专用资源设置为激活状态, 所 述预设生效时间为所述专用资源激活的持续时间。 The terminal sets the dedicated resource to an activated state according to a preset effective time, and the preset effective time is the duration of activation of the dedicated resource.
8、 根据权利要求 7 所述的资源分配方法, 其特征在于, 当所述 预设生效时间为预设在所述终端上的定时器的设置时间时, 所述向所 述终端发送第一消息之后, 所述方法还包括: 8. The resource allocation method according to claim 7, wherein when the preset effective time is the setting time of a timer preset on the terminal, the first message is sent to the terminal. Afterwards, the method further includes:
向所述终端发送携带有指定业务预警指示的第四寻呼消息, 以便 所述终端重新启动所述定时器。 Send a fourth paging message carrying a specified service warning indication to the terminal, so that the terminal restarts the timer.
9、 根据权利要求 7 所述的资源分配方法, 其特征在于, 所述向 所述终端发送第一消息之后, 所述方法还包括: 9. The resource allocation method according to claim 7, wherein after sending the first message to the terminal, the method further includes:
向所述终端发送携带有指定业务预警信息的第四广播消息, 以便 所述终端获取所述指定业务预警信息。 Send a fourth broadcast message carrying designated service early warning information to the terminal, so that the terminal obtains the designated service early warning information.
1 0、 根据权利要求 9所述的资源分配方法, 其特征在于, 所述第 四广播消息中还携带有资源生效时间, 所述资源生效时间为所述专用 资源激活的持续时间, 以便所述终端获取并保存所述资源生效时间, 并将所述资源生效时间作为所述预设生效时间。 10. The resource allocation method according to claim 9, characterized in that the fourth broadcast message also carries a resource effective time, and the resource effective time is the duration of activation of the dedicated resource, so that the The terminal obtains and saves the resource effective time, and uses the resource effective time as the preset effective time.
1 1、 根据权利要求 7所述的资源分配方法, 其特征在于, 所述第 一消息中还携带有资源生效时间, 所述资源生效时间为所述专用资源 激活的持续时间, 以便所述终端获取并保存所述资源生效时间, 并将 所述资源生效时间作为所述预设生效时间。 1 1. The resource allocation method according to claim 7, wherein the first message also carries a resource effective time, and the resource effective time is the duration of activation of the dedicated resource, so that the terminal Get and save the resource effective time, and The resource effective time is used as the preset effective time.
1 2、 根据权利要求 1 - 1 1 任一项所述的资源分配方法, 其特征在 于, 所述方法还包括: 12. The resource allocation method according to any one of claims 1 to 11, characterized in that the method further includes:
当检测到网络中的资源占用低于第二阔值时, 向终端发送第二消 息, 所述第二消息中携带有撤销指令, 所述撤销指令用于指示所述终 端撤销对所述指定业务的所述专用资源的分配指令。 When it is detected that the resource occupation in the network is lower than the second threshold, a second message is sent to the terminal. The second message carries a withdrawal instruction. The withdrawal instruction is used to instruct the terminal to withdraw the specified service. allocation instructions for the dedicated resources.
1 3、 一种资源分配方法, 其特征在于, 包括: 1 3. A resource allocation method, characterized by including:
接收网络侧发送的第一消息, 所述第一消息中携带有指定业务的 专用资源, 所述专用资源为终端中所述指定业务发起时选取占用的资 源; Receive a first message sent by the network side, where the first message carries a dedicated resource for a designated service, and the dedicated resource is a resource selected and occupied by the terminal when the designated service is initiated;
从所述第一消息中获取并保存所述专用资源, 以便根据所述专用 资源确定所述终端中所述指定业务的资源分配。 Obtain and save the dedicated resources from the first message, so as to determine the resource allocation of the designated service in the terminal according to the dedicated resources.
1 4、 根据权利要求 1 3 所述的资源分配方法, 其特征在于, 所述 根据所述专用资源确定所述终端中所述指定业务的资源分配包括: 将所述专用资源设置为激活状态, 以便当接收到所述指定业务的 发起接入指令时, 从所述专用资源中选取占用资源。 14. The resource allocation method according to claim 13, wherein the determining the resource allocation of the designated service in the terminal according to the dedicated resources includes: setting the dedicated resources to an activated state, So that when receiving the initiation access instruction of the specified service, the occupied resources are selected from the dedicated resources.
1 5、 根据权利要求 14 所述的资源分配方法, 其特征在于, 所述 第一消息为寻呼消息或者广播消息。 15. The resource allocation method according to claim 14, wherein the first message is a paging message or a broadcast message.
1 6、 根据权利要求 1 5 所述的资源分配方法, 其特征在于, 当所 述第一消息为第一广播消息时, 所述将所述专用资源设置为激活状态 之后, 所述方法还包括: 16. The resource allocation method according to claim 15, wherein when the first message is a first broadcast message, after setting the dedicated resource to an activated state, the method further includes: :
当接收到所述网络侧发送的携带有修改指示的第一寻呼消息时, 获取第二广播消息, 所述第二广播消息中携带有第二指定业务的专用 资源; When receiving the first paging message carrying the modification indication sent by the network side, obtain the second broadcast message, where the second broadcast message carries the dedicated resources of the second designated service;
从所述第二广播消息中获取并保存所述第二指定业务的专用资 将所述指定业务的专用资源设置为去激活状态, 所述第二指定业 务的专用资源设置为激活状态。 Obtain and save the dedicated information of the second designated service from the second broadcast message. The dedicated resources of the designated service are set to a deactivated state, and the dedicated resources of the second designated service are set to an activated state.
1 7、 根据权利要求 1 3 所述的资源分配方法, 其特征在于, 当所 述第一消息为第三广播消息, 且所述第三广播消息中携带的专用资源 为指定业务专用资源配置的列表, 在所述指定业务专用资源配置的列 表中包括指定业务对应的标识和所述指定业务对应的专用资源时, 在 所述从所述第一消息中获取并保存所述专用资源之后, 所述方法还包 括: 17. The resource allocation method according to claim 13, characterized in that when the first message is a third broadcast message, and the dedicated resources carried in the third broadcast message are configured for designated service dedicated resources. list, when the list of dedicated resource configurations for the designated service includes an identifier corresponding to the designated service and a dedicated resource corresponding to the designated service, after obtaining and saving the dedicated resource from the first message, The above methods also include:
当接收到所述网络侧发送的携带有第一标识的第二寻呼消息时, 查找所述第一标识对应的专用资源; When receiving the second paging message carrying the first identifier sent by the network side, search for the dedicated resource corresponding to the first identifier;
将所述专用资源设置为激活状态, 以便当接收到所述第一标识对 应的指定业务的发起接入指令时, 从所述专用资源中选取占用资源。 The dedicated resources are set to an activated state, so that when an instruction to initiate access to the specified service corresponding to the first identifier is received, occupied resources are selected from the dedicated resources.
1 8、 根据权利要求 1 3 所述的资源分配方法, 其特征在于, 在所 述从所述第一消息中获取并保存所述专用资源之后, 所述方法还包 括: 18. The resource allocation method according to claim 13, characterized in that, after obtaining and saving the dedicated resources from the first message, the method further includes:
当接收到所述网络侧发送的携带有指定业务预警指示的第三寻 呼消息时, 将所述专用资源设置为激活状态, 以便当接收到所述指定 业务的发起接入指令时, 从所述专用资源中选取占用资源。 When the third paging message carrying the designated service warning indication sent by the network side is received, the dedicated resource is set to the activated state, so that when the initiation access instruction of the designated service is received, from all Select the occupied resource from the above dedicated resources.
1 9、 根据权利要求 1 4 - 1 8任一项所述的资源分配方法, 其特征在 于, 所述将所述专用资源设置为激活状态包括: 19. The resource allocation method according to any one of claims 14 to 18, characterized in that said setting the dedicated resource to an activated state includes:
根据预设生效时间将所述专用资源设置为激活状态, 所述预设生 效时间为所述专用资源激活的持续时间。 The dedicated resource is set to an activated state according to a preset effective time, which is the duration of activation of the dedicated resource.
2 0、 根据权利要求 1 9 所述的资源分配方法, 其特征在于, 当所 述预设生效时间为预设在所述终端上的定时器的设置时间时, 所述根 据预设生效时间将所述专用资源设置为激活状态包括: 20. The resource allocation method according to claim 19, characterized in that when the preset effective time is the setting time of a timer preset on the terminal, the preset effective time will be The dedicated resources set to the activated state include:
启动所述定时器, 并激活所述专用资源; 在所述定时器计时的过程中, 当接收到所述网络侧发送的携带有 指定业务预警指示的第四寻呼消息时, 重新启动所述定时器, 且所述 专用资源的工作状态处于激活状态。 Start the timer and activate the dedicated resource; During the timer counting process, when the fourth paging message carrying the specified service warning indication sent by the network side is received, the timer is restarted, and the working state of the dedicated resource is activated. state.
2 1、 根据权利要求 1 9 所述的资源分配方法, 其特征在于, 在所 述根据预设生效时间将所述专用资源设置为激活状态之前, 所述方法 还包括: 21. The resource allocation method according to claim 19, characterized in that, before setting the dedicated resource to an activated state according to the preset effective time, the method further includes:
接收所述网络侧发送的携带有指定业务预警信息的第四广播消 息, 并获取所述指定业务预警信息。 Receive the fourth broadcast message carrying designated service warning information sent by the network side, and obtain the designated service warning information.
2 2、 根据权利要求 2 1 所述的资源分配方法, 其特征在于, 当所 述第四广播消息中还携带有资源生效时间, 所述资源生效时间为所述 专用资源激活的持续时间时, 所述方法还包括: 2 2. The resource allocation method according to claim 2 1, characterized in that when the fourth broadcast message also carries a resource effective time, and the resource effective time is the duration of activation of the dedicated resource, The method also includes:
从所述第四广播消息中获取并保存所述资源生效时间, 并将所述 资源生效时间作为所述预设生效时间。 Obtain and save the resource effective time from the fourth broadcast message, and use the resource effective time as the preset effective time.
2 3、 根据权利要求 1 9 所述的资源分配方法, 其特征在于, 所述 第一消息中还携带有资源生效时间, 所述资源生效时间为所述专用资 源激活的持续时间, 所述方法还包括: 23. The resource allocation method according to claim 19, characterized in that the first message also carries a resource effective time, and the resource effective time is the duration of activation of the dedicated resource. The method Also includes:
从所述第一消息中获取并保存所述资源生效时间, 并将所述资源 生效时间作为所述预设生效时间。 Obtain and save the resource effective time from the first message, and use the resource effective time as the preset effective time.
2 4、 根据权利要求 1 9 - 2 3任一项所述的资源分配方法, 其特征在 于, 所述方法还包括: 24. The resource allocation method according to any one of claims 19 to 23, characterized in that the method further includes:
当接收到业务发起指令时, 判断所述业务是否为指定业务; 当所述业务为所述指定业务, 且所述专用资源的工作状态处于激 活状态时, 从所述专用资源中选取所述业务占用的资源; When receiving a service initiation instruction, determine whether the service is the designated service; when the service is the designated service and the working status of the dedicated resource is in an activated state, select the service from the dedicated resource resources occupied;
当所述业务为非指定业务, 且所述专用资源的工作状态处于激活 状态时, 从其他资源中选取所述业务占用的资源, 所述其他资源不包 括所述专用资源; When the service is a non-designated service and the working status of the dedicated resource is in an activated state, select the resources occupied by the service from other resources, and the other resources do not include the dedicated resource;
当所述预设生效时间结束时, 将所述专用资源设置为去激活状 态。 When the preset effective time expires, the dedicated resource is set to a deactivated state. state.
25、 根据权利要求 1 3- 24任一项所述的资源分配方法, 其特征在 于, 所述方法还包括: 25. The resource allocation method according to any one of claims 13-24, characterized in that the method further includes:
接收所述网络侧发送的第二消息, 所述第二消息中携带有撤销指 令, 所述撤销指令用于指示所述终端撤销对所述指定业务的所述专用 资源的分配指令; Receive a second message sent by the network side, where the second message carries a revocation instruction, and the revocation instruction is used to instruct the terminal to cancel the allocation instruction of the dedicated resource for the designated service;
从所述第二消息中获取所述撤销指令, 并释放所述专用资源。 Obtain the revocation instruction from the second message and release the dedicated resource.
26、 一种网络设备, 其特征在于, 包括: 26. A network device, characterized by: including:
发送单元, 用于当检测到网络中的资源占用超过第一阔值时, 向 终端发送第一消息, 所述第一消息中携带有指定业务的专用资源, 所 述专用资源为终端中所述指定业务发起时选取占用的资源, 以便所述 终端根据所述专用资源确定所述终端中所述指定业务的资源分配。 A sending unit, configured to send a first message to the terminal when it is detected that the resource occupation in the network exceeds the first threshold, where the first message carries dedicated resources for the specified service, and the dedicated resources are the ones described in the terminal. The occupied resources are selected when the designated service is initiated, so that the terminal determines the resource allocation of the designated service in the terminal based on the dedicated resources.
27、 根据权利要求 26 所述的网络设备, 其特征在于, 所述发送 单元发送的第一消息为寻呼消息或者广播消息。 27. The network device according to claim 26, wherein the first message sent by the sending unit is a paging message or a broadcast message.
28、 根据权利要求 27 所述的网络设备, 其特征在于, 当所述第 一消息为第一广播消息时, 28. The network device according to claim 27, wherein when the first message is a first broadcast message,
所述发送单元, 还用于向所述终端发送携带有修改指示的第一寻 呼消息; 还用于向所述终端发送第二广播消息, 所述第二广播消息中 携带有第二指定业务的专用资源, 以便所述终端将将所述指定业务的 专用资源设置为去激活状态, 所述第二指定业务的专用资源设置为激 活状态。 The sending unit is also configured to send a first paging message carrying a modification indication to the terminal; and is also configured to send a second broadcast message to the terminal, where the second broadcast message carries a second designated service. dedicated resources, so that the terminal sets the dedicated resources of the designated service to a deactivated state, and sets the dedicated resources of the second designated service to an activated state.
29、 根据权利要求 26 所述的网络设备, 其特征在于, 当所述第 一消息为第三广播消息, 且所述第三广播消息中携带的专用资源为指 定业务专用资源配置的列表, 在所述指定业务专用资源配置的列表中 包括指定业务对应的标识和所述指定业务对应的专用资源时, 所述发送单元, 还用于向所述终端发送携带有第一标识的第二寻 呼消息, 以便所述终端根据所述第一标识查找到对应的专用资源, 并 将所述专用资源设置为激活状态, 当所述终端接收到所述第一标识对 应的指定业务的发起接入指令时, 从所述专用资源中选取占用资源。 29. The network device according to claim 26, wherein when the first message is a third broadcast message, and the dedicated resources carried in the third broadcast message are a list of dedicated service resource configurations, in When the list of designated service-specific resource configurations includes an identifier corresponding to the designated service and a dedicated resource corresponding to the designated service, The sending unit is also configured to send a second paging message carrying a first identifier to the terminal, so that the terminal can find the corresponding dedicated resource according to the first identifier, and set the dedicated resource to In the activated state, when the terminal receives an instruction to initiate access to the specified service corresponding to the first identifier, it selects occupied resources from the dedicated resources.
30、 根据权利要求 26所述的网络设备, 其特征在于, 30. The network device according to claim 26, characterized in that,
所述发送单元, 还用于向所述终端发送携带有指定业务预警指示 的第三寻呼消息时, 以便所述终端将所述专用资源设置为激活状态, 当所述终端接收到所述指定业务的发起接入指令时, 从所述专用资源 中选取占用资源。 The sending unit is also configured to send a third paging message carrying a designated service warning indication to the terminal, so that the terminal sets the dedicated resource to an activated state. When the terminal receives the designated service When a service access instruction is initiated, occupied resources are selected from the dedicated resources.
31、 根据权利要求 26 - 30任一项所述的网络设备, 其特征在于, 所述发送单元, 还用于向所述终端发送携带有指定业务预警指示 的第四寻呼消息, 以便所述终端重新启动所述定时器。 31. The network device according to any one of claims 26 to 30, characterized in that the sending unit is further configured to send a fourth paging message carrying a designated service warning indication to the terminal, so that the The terminal restarts the timer.
32、 根据权利要求 26 - 30任一项所述的网络设备, 其特征在于, 所述发送单元, 还用于向所述终端发送携带有指定业务预警信息 的第四广播消息, 以便所述终端获取所述指定业务预警信息。 32. The network device according to any one of claims 26 to 30, characterized in that the sending unit is further configured to send a fourth broadcast message carrying designated service warning information to the terminal, so that the terminal Obtain the specified business warning information.
3 3、 根据权利要求 32 所述的网络设备, 其特征在于, 所述发送 单元发送的所述第四广播消息中还携带有资源生效时间, 所述资源生 效时间为所述专用资源激活的持续时间, 以便所述终端获取并保存所 述资源生效时间, 并将所述资源生效时间作为所述预设生效时间。 3 3. The network device according to claim 32, characterized in that the fourth broadcast message sent by the sending unit also carries a resource effective time, and the resource effective time is the duration of activation of the dedicated resource. time, so that the terminal obtains and saves the resource effective time, and uses the resource effective time as the preset effective time.
34、 根据权利要求 26 - 30任一项所述的网络设备, 其特征在于, 所述发送单元发送的所述第一消息中还携带有资源生效时间, 所述资 源生效时间为所述专用资源激活的持续时间, 以便所述终端获取并保 存所述资源生效时间, 并将所述资源生效时间作为所述预设生效时 间。 34. The network device according to any one of claims 26 to 30, characterized in that the first message sent by the sending unit also carries a resource effective time, and the resource effective time is the dedicated resource. The duration of activation is so that the terminal obtains and saves the resource effective time, and uses the resource effective time as the preset effective time.
35、 根据权利要求 26 - 34任一项所述的网络设备, 其特征在于, 所述发送单元, 还用于当检测到网络中的资源占用低于第二阔值 时, 向终端发送第二消息, 所述第二消息中携带有撤销指令, 所述撤 销指令用于指示所述终端撤销对所述指定业务的所述专用资源的分 配指令。 35. The network device according to any one of claims 26 to 34, characterized in that the sending unit is further configured to send a second message to the terminal when it is detected that resource occupation in the network is lower than a second threshold value. message, the second message carries a withdrawal instruction, and the withdrawal The pin instruction is used to instruct the terminal to cancel the allocation instruction of the dedicated resource for the designated service.
36、 一种终端, 其特征在于, 包括: 36. A terminal, characterized by including:
接收单元, 用于接收网络侧发送的第一消息, 所述第一消息中携 带有指定业务的专用资源, 所述专用资源为终端中所述指定业务发起 时选取占用的资源; A receiving unit, configured to receive a first message sent by the network side, where the first message carries a dedicated resource for a designated service, and the dedicated resource is a resource selected and occupied by the terminal when the designated service is initiated;
处理单元, 用于从所述接收单元接收到的第一消息中获取并保存 所述专用资源, 以便根据所述专用资源确定所述终端中所述指定业务 的资源分配。 A processing unit configured to obtain and save the dedicated resources from the first message received by the receiving unit, so as to determine the resource allocation of the designated service in the terminal based on the dedicated resources.
37、 根据权利要求 36所述的终端, 其特征在于, 所述处理单元, 用于将所述专用资源设置为激活状态, 以便当接收到所述指定业务的 发起接入指令时, 从所述专用资源中选取占用资源。 37. The terminal according to claim 36, characterized in that, the processing unit is configured to set the dedicated resource to an activated state, so that when receiving an instruction to initiate access to the specified service, from the Select occupied resources from dedicated resources.
38、 根据权利要求 37 所述的终端, 其特征在于, 所述接收单元 接收到的第一消息为寻呼消息或者广播消息。 38. The terminal according to claim 37, wherein the first message received by the receiving unit is a paging message or a broadcast message.
39、 根据权利要求 38 所述的终端, 其特征在于, 当所述接收单 元接收到的第一消息为第一广播消息时, 39. The terminal according to claim 38, wherein when the first message received by the receiving unit is a first broadcast message,
所述处理单元, 还用于当所述接收单元接收到所述网络侧发送的 携带有修改指示的第一寻呼消息时, 获取第二广播消息, 所述第二广 播消息中携带有第二指定业务的专用资源; The processing unit is further configured to obtain a second broadcast message when the receiving unit receives the first paging message carrying the modification indication sent by the network side, and the second broadcast message carries the second paging message. Dedicated resources for designated businesses;
所述终端还包括: The terminal also includes:
获取单元, 用于从所述第二广播消息中获取并保存所述第二指定 业务的专用资源; An acquisition unit, configured to acquire and save the dedicated resources of the second designated service from the second broadcast message;
所述处理单元, 还用于将所述指定业务的专用资源设置为去激活 状态, 所述第二指定业务的专用资源设置为激活状态。 The processing unit is further configured to set the dedicated resources of the designated service to a deactivated state, and set the dedicated resources of the second designated service to an activated state.
4 0、 根据权利要求 36 所述的终端, 其特征在于, 当所述接收单 元接收到的第一消息为第三广播消息, 且所述第三广播消息中携带的 专用资源为指定业务专用资源配置的列表, 在所述指定业务专用资源 配置的列表中包括指定业务对应的标识和所述指定业务对应的专用 资源时, 所述终端还包括: 40. The terminal according to claim 36, characterized in that when the receiving order The first message received by the element is a third broadcast message, and the dedicated resources carried in the third broadcast message are a list of dedicated resource configurations for the specified service, and the list of dedicated resource configurations for the specified service includes the specified service corresponding to the specified service. When identifying the dedicated resources corresponding to the designated service, the terminal also includes:
查找单元, 用于当所述接收单元接收到所述网络侧发送的携带有 第一标识的第二寻呼消息时, 查找所述第一标识对应的专用资源; 所述处理单元, 还用于将所述专用资源设置为激活状态, 以便当 接收到所述第一标识对应的指定业务的发起接入指令时, 从所述专用 资源中选取占用资源。 The search unit is configured to search for the dedicated resource corresponding to the first identifier when the receiving unit receives the second paging message carrying the first identifier sent by the network side; the processing unit is also configured to: The dedicated resources are set to an activated state, so that when an instruction to initiate access to the specified service corresponding to the first identifier is received, occupied resources are selected from the dedicated resources.
41、 根据权利要求 36所述的终端, 其特征在于, 41. The terminal according to claim 36, characterized in that,
所述处理单元, 还用于当所述接收单元接收到所述网络侧发送的 携带有指定业务预警指示的第三寻呼消息时, 将所述专用资源设置为 激活状态, 以便当接收到所述指定业务的发起接入指令时, 从所述专 用资源中选取占用资源。 The processing unit is further configured to set the dedicated resource to an activated state when the receiving unit receives the third paging message carrying the specified service warning indication sent by the network side, so that when the receiving unit receives the When initiating an access instruction for a specified service, the occupied resources are selected from the dedicated resources.
42、 根据权利要求 37-41任一项所述的终端, 其特征在于, 所述处理单元, 还用于根据预设生效时间将所述专用资源设置为 激活状态, 所述预设生效时间为所述专用资源激活的持续时间。 42. The terminal according to any one of claims 37 to 41, characterized in that the processing unit is further configured to set the dedicated resource to an activated state according to a preset effective time, and the preset effective time is The duration of activation of the dedicated resource.
4 3、 根据权利要求 42 所述的终端, 其特征在于, 当所述预设生 效时间为预设在所述终端上的定时器的设置时间时, 43. The terminal according to claim 42, characterized in that when the preset effective time is the setting time of a timer preset on the terminal,
所述处理单元, 还用于启动所述定时器, 并激活所述专用资源; 还用于在所述定时器计时的过程中, 当所述接收单元接收到所述网络 侧发送的携带有指定业务预警指示的第四寻呼消息时, 重新启动所述 定时器, 且所述专用资源的工作状态处于激活状态。 The processing unit is also configured to start the timer and activate the dedicated resource; and is also configured to, during the timing of the timer, when the receiving unit receives the specified message sent by the network side. When the fourth paging message indicated by the service warning is received, the timer is restarted, and the working state of the dedicated resource is in an activated state.
44、 根据权利要求 42所述的终端, 其特征在于, 指定业务专用资源设置为激活状态之前, 接收所述网络侧发送的携带 有指定业务预警信息的第四广播消息, 并获取所述指定业务预警信 息。 44. The terminal according to claim 42, characterized in that, before the designated service dedicated resources are set to the activated state, the fourth broadcast message carrying the designated service warning information sent by the network side is received, and the designated service is obtained. warning letter interest.
45、 根据权利要求 44 所述的终端, 其特征在于, 当所述接收单 元接收到的所述第四广播消息中还携带有资源生效时间, 所述资源生 效时间为所述专用资源激活的持续时间时, 45. The terminal according to claim 44, characterized in that when the fourth broadcast message received by the receiving unit also carries a resource effective time, the resource effective time is the duration of activation of the dedicated resource. time,
所述处理单元, 还用于从所述第四广播消息中获取并保存所述资 源生效时间, 并将所述资源生效时间作为所述预设生效时间。 The processing unit is further configured to obtain and save the resource effective time from the fourth broadcast message, and use the resource effective time as the preset effective time.
46、 根据权利要求 42 所述的终端, 其特征在于, 当所述接收单 元接收到的所述第一消息中还携带有资源生效时间, 所述资源生效时 间为所述专用资源激活的持续时间时, 46. The terminal according to claim 42, characterized in that when the first message received by the receiving unit also carries a resource effective time, the resource effective time is the duration of activation of the dedicated resource. hour,
所述处理单元, 还用于从所述第一消息中获取并保存所述资源生 效时间, 并将所述资源生效时间作为所述预设生效时间。 The processing unit is further configured to obtain and save the resource effective time from the first message, and use the resource effective time as the preset effective time.
47、 根据权利要求 42 -46任一项所述的终端, 其特征在于, 所述终端还包括: 47. The terminal according to any one of claims 42 to 46, characterized in that, the terminal further includes:
判断单元, 用于当所述接收单元接收到业务发起指令时, 判断所 述业务是否为指定业务; A judgment unit, configured to judge whether the service is a designated service when the receiving unit receives a service initiation instruction;
所述处理单元, 还用于当所述判断单元判断所述业务为所述指定 业务, 且所述专用资源的工作状态处于激活状态时, 从所述专用资源 中选取所述业务占用的资源; The processing unit is further configured to select the resources occupied by the service from the dedicated resources when the determining unit determines that the service is the designated service and the working state of the dedicated resource is in an activated state;
所述处理单元, 还用于当所述判断单元判断所述业务为非指定业 务, 且所述专用资源的工作状态处于激活状态时, 从其他资源中选取 所述业务占用的资源, 所述其他资源不包括所述专用资源; The processing unit is also configured to select the resources occupied by the service from other resources when the judgment unit judges that the service is a non-designated service and the working state of the dedicated resource is in an activated state. Resources do not include said dedicated resources;
所述处理单元, 还用于当所述预设生效时间结束时, 将所述专用 资源设置为去激活状态。 The processing unit is also configured to set the dedicated resource to a deactivated state when the preset effective time expires.
48、 根据权利要求 36 -47任一项所述的终端, 其特征在于, 所述接收单元, 还用于接收所述网络侧发送的第二消息, 所述第 二消息中携带有撤销指令, 所述撤销指令用于指示所述终端撤销对所 述指定业务的所述专用资源的分配指令; 所述处理单元, 还用于从所述第二消息中获取所述撤销指令, 并 释放所述专用资源。 48. The terminal according to any one of claims 36 to 47, wherein the receiving unit is further configured to receive a second message sent by the network side, the second message carrying a revocation instruction, The cancellation instruction is used to instruct the terminal to cancel the allocation instruction of the dedicated resource for the designated service; The processing unit is also configured to obtain the revocation instruction from the second message and release the dedicated resource.
49、 一种网络设备, 其特征在于, 包括: 49. A network device, characterized by including:
存储器, 用于存储软件程序和数据; Memory, used to store software programs and data;
无线通信模块, 用于向终端发送消息; Wireless communication module, used to send messages to the terminal;
处理器, 用于执行存储器中的软件程序, 具体执行: The processor is used to execute the software program in the memory, specifically:
当检测到网络中的资源占用超过第一阔值时, 通过所述无线通信 模块向终端发送第一消息, 所述第一消息中携带有指定业务的专用资 源, 所述专用资源为终端中所述指定业务发起时选取占用的资源, 以 便所述终端根据所述专用资源确定所述终端中所述指定业务的资源 分配。 When it is detected that the resource occupancy in the network exceeds the first threshold, a first message is sent to the terminal through the wireless communication module, and the first message carries dedicated resources for the specified service, and the dedicated resources are all in the terminal. When the designated service is initiated, the occupied resources are selected so that the terminal determines the resource allocation of the designated service in the terminal based on the dedicated resources.
5 0、 根据权利要求 49 所述的网络设备, 其特征在于, 所述无线 通信模块向终端发送的第一消息为寻呼消息或者广播消息。 50. The network device according to claim 49, wherein the first message sent by the wireless communication module to the terminal is a paging message or a broadcast message.
5 1、 根据权利要求 50 所述的网络设备, 其特征在于, 当所述第 一消息为第一广播消息时, 所述向所述终端发送第一消息之后, 所述 处理器, 还用于执行: 5 1. The network device according to claim 50, wherein when the first message is a first broadcast message, after sending the first message to the terminal, the processor is further configured to: implement:
通过所述无线通信模块向所述终端发送携带有修改指示的第一 寻呼消息; Send a first paging message carrying a modification indication to the terminal through the wireless communication module;
通过所述无线通信模块向所述终端发送第二广播消息, 所述第二 广播消息中携带有第二指定业务的专用资源, 以便所述终端将将所述 指定业务的专用资源设置为去激活状态, 所述第二指定业务的专用资 源设置为激活状态。 A second broadcast message is sent to the terminal through the wireless communication module, and the second broadcast message carries the dedicated resources of the second designated service, so that the terminal sets the dedicated resources of the designated service to deactivation. state, the dedicated resource of the second designated service is set to an activated state.
52、 根据权利要求 49 所述的网络设备, 其特征在于, 当所述第 一消息为第三广播消息, 且所述第三广播消息中携带的专用资源为指 定业务专用资源配置的列表, 在所述指定业务专用资源配置的列表中 包括指定业务对应的标识和所述指定业务对应的专用资源时, 所述向 所述终端发送第一消息之后, 所述处理器, 还用于执行: 通过所述无线通信模块向所述终端发送携带有第一标识的第二 寻呼消息, 以便所述终端根据所述第一标识查找到对应的专用资源, 并将所述专用资源设置为激活状态, 当所述终端接收到所述第一标识 对应的指定业务的发起接入指令时, 从所述专用资源中选取占用资 源。 52. The network device according to claim 49, wherein when the first message is a third broadcast message, and the dedicated resources carried in the third broadcast message are a list of dedicated service resource configurations, in When the list of dedicated resource configurations for the designated service includes an identifier corresponding to the designated service and a dedicated resource corresponding to the designated service, the After the terminal sends the first message, the processor is further configured to: send a second paging message carrying the first identifier to the terminal through the wireless communication module, so that the terminal can perform the following operations according to the first message: An identifier finds the corresponding dedicated resource, and sets the dedicated resource to an activated state. When the terminal receives an instruction to initiate access to the specified service corresponding to the first identifier, it selects and occupies the dedicated resource from the dedicated resource. resource.
5 3、 根据权利要求 49 所述的网络设备, 其特征在于, 所述向所 述终端发送第一消息之后, 所述处理器, 还用于执行: 53. The network device according to claim 49, wherein after sending the first message to the terminal, the processor is further configured to execute:
通过所述无线通信模块向所述终端发送携带有指定业务预警指 示的第三寻呼消息时, 以便所述终端将所述专用资源设置为激活状 态, 当所述终端接收到所述指定业务的发起接入指令时, 从所述专用 资源中选取占用资源。 When the third paging message carrying the designated service warning indication is sent to the terminal through the wireless communication module, so that the terminal sets the dedicated resource to an activated state, when the terminal receives the designated service When an access instruction is initiated, occupied resources are selected from the dedicated resources.
54、 根据权利要求 50- 5 3任一项所述的网络设备, 其特征在于, 当所述预设生效时间为预设在所述终端上的定时器的设置时间时, 所 述向所述终端发送第一消息之后, 所述处理器, 还用于执行: 54. The network device according to any one of claims 50 to 53, characterized in that when the preset effective time is the setting time of the timer preset on the terminal, the After the terminal sends the first message, the processor is also used to execute:
通过所述无线通信模块向所述终端发送携带有指定业务预警指 示的第四寻呼消息, 以便所述终端重新启动所述定时器。 The fourth paging message carrying the specified service warning indication is sent to the terminal through the wireless communication module, so that the terminal restarts the timer.
55、 根据权利要求 50- 5 3任一项所述的网络设备, 其特征在于, 所述向所述终端发送第一消息之后, 所述处理器, 还用于执行: 55. The network device according to any one of claims 50 to 53, characterized in that, after sending the first message to the terminal, the processor is further configured to execute:
通过所述无线通信模块向所述终端发送携带有指定业务预警信 息的第四广播消息, 以便所述终端获取所述指定业务预警信息。 The fourth broadcast message carrying the designated service warning information is sent to the terminal through the wireless communication module, so that the terminal obtains the designated service warning information.
56、 根据权利要求 55 所述的网络设备, 其特征在于, 所述无线 通信模块向所述终端发送的所述第四广播消息中还携带有资源生效 时间, 所述资源生效时间为所述专用资源激活的持续时间, 以便所述 终端获取并保存所述资源生效时间, 并将所述资源生效时间作为所述 预设生效时间。 56. The network device according to claim 55, wherein the fourth broadcast message sent by the wireless communication module to the terminal also carries a resource effective time, and the resource effective time is the dedicated The duration of resource activation, so that the terminal obtains and saves the resource effective time, and uses the resource effective time as the preset effective time.
57、 根据权利要求 50- 5 3任一项所述的网络设备, 其特征在于, 所述无线通信模块向所述终端发送的所述第一消息中还携带有资源 生效时间, 所述资源生效时间为所述专用资源激活的持续时间, 以便 所述终端获取并保存所述资源生效时间, 并将所述资源生效时间作为 所述预设生效时间。 57. The network device according to any one of claims 50 to 53, characterized in that, The first message sent by the wireless communication module to the terminal also carries a resource effective time, and the resource effective time is the duration of activation of the dedicated resource so that the terminal can obtain and save the resource effective time. time, and the resource effective time is used as the preset effective time.
58、 根据权利要求 49 - 57任一项所述的网络设备, 其特征在于, 所述处理器, 还用于执行: 58. The network device according to any one of claims 49 to 57, characterized in that the processor is also used to execute:
当检测到网络中的资源占用低于第二阔值时, 通过所述无线通信 模块向终端发送第二消息, 所述第二消息中携带有撤销指令, 所述撤 销指令用于指示所述终端撤销对所述指定业务的所述专用资源的分 配指令。 When it is detected that the resource occupation in the network is lower than the second threshold, a second message is sent to the terminal through the wireless communication module, the second message carries a cancellation instruction, and the cancellation instruction is used to instruct the terminal Cancel the allocation instruction of the dedicated resource for the specified service.
59、 一种终端, 其特征在于, 包括: 59. A terminal, characterized in that it includes:
存储器, 用于存储软件程序和数据; Memory, used to store software programs and data;
无线通信模块, 用于接收消息, 将网络侧发送的消息给处理器进 行处理; The wireless communication module is used to receive messages and send the messages sent by the network side to the processor for processing;
处理器, 用于执行存储器中的软件程序, 具体执行: The processor is used to execute the software program in the memory, specifically:
接收网络侧发送的第一消息, 所述第一消息中携带有指定业务的 专用资源, 所述专用资源为终端中所述指定业务发起时选取占用的资 源; Receive a first message sent by the network side, where the first message carries a dedicated resource for a designated service, and the dedicated resource is a resource selected and occupied by the terminal when the designated service is initiated;
从所述第一消息中获取并保存所述专用资源, 以便根据所述专用 资源确定所述终端中所述指定业务的资源分配。 Obtain and save the dedicated resources from the first message, so as to determine the resource allocation of the designated service in the terminal according to the dedicated resources.
6 0、 根据权利要求 59 所述的终端, 其特征在于, 所述处理器, 还用于执行: 60. The terminal according to claim 59, characterized in that the processor is also used to execute:
将所述专用资源设置为激活状态, 以便当接收到所述指定业务的 发起接入指令时, 从所述专用资源中选取占用资源。 The dedicated resources are set to an activated state, so that when an instruction to initiate access of the specified service is received, occupied resources are selected from the dedicated resources.
6 1、 根据权利要求 60 所述的终端, 其特征在于, 所述无线通信 模块接收的所述第一消息为寻呼消息或者广播消息。 6 1. The terminal according to claim 60, wherein the first message received by the wireless communication module is a paging message or a broadcast message.
62、 根据权利要求 61 所述的终端, 其特征在于, 当所述第一消 息为第一广播消息时, 62. The terminal according to claim 61, wherein when the first message is a first broadcast message,
所述处理器, 还用于执行: The processor is also used to execute:
当接收到所述网络侧发送的携带有修改指示的第一寻呼消息时, 获取第二广播消息, 所述第二广播消息中携带有第二指定业务的专用 资源; When receiving the first paging message carrying the modification indication sent by the network side, obtain the second broadcast message, where the second broadcast message carries the dedicated resources of the second designated service;
从所述第二广播消息中获取并保存所述第二指定业务的专用资 源; Obtain and save the dedicated resources of the second designated service from the second broadcast message;
将所述指定业务的专用资源设置为去激活状态, 所述第二指定业 务的专用资源设置为激活状态。 The dedicated resources of the designated service are set to a deactivated state, and the dedicated resources of the second designated service are set to an activated state.
6 3、 根据权利要求 59 所述的终端, 其特征在于, 当所述第一消 息为第三广播消息, 且所述第三广播消息中携带的专用资源为指定业 务专用资源配置的列表, 在所述指定业务专用资源配置的列表中包括 指定业务对应的标识和所述指定业务对应的专用资源时, 6 3. The terminal according to claim 59, wherein when the first message is a third broadcast message, and the dedicated resources carried in the third broadcast message are a list of dedicated service resource configurations, in When the list of designated service-specific resource configurations includes an identifier corresponding to the designated service and a dedicated resource corresponding to the designated service,
所述处理器, 还用于执行: The processor is also used to execute:
当接收到所述网络侧发送的携带有第一标识的第二寻呼消息时, 查找所述第一标识对应的专用资源; When receiving the second paging message carrying the first identifier sent by the network side, search for the dedicated resource corresponding to the first identifier;
将所述专用资源设置为激活状态, 以便当接收到所述第一标识对 应的指定业务的发起接入指令时, 从所述专用资源中选取占用资源。 The dedicated resources are set to an activated state, so that when an instruction to initiate access to the specified service corresponding to the first identifier is received, occupied resources are selected from the dedicated resources.
64、 根据权利要求 59 所述的终端, 其特征在于, 所述处理器, 还用于执行: 64. The terminal according to claim 59, characterized in that the processor is also used to execute:
当接收到所述网络侧发送的携带有指定业务预警指示的第三寻 呼消息时, 将所述专用资源设置为激活状态, 以便当接收到所述指定 业务的发起接入指令时, 从所述专用资源中选取占用资源。 When the third paging message carrying the designated service warning indication sent by the network side is received, the dedicated resource is set to the activated state, so that when the initiation access instruction of the designated service is received, from all Select the occupied resource from the above dedicated resources.
65、 根据权利要求 60- 64任一项所述的终端, 其特征在于, 所述处理器, 还用于执行: 65. The terminal according to any one of claims 60 to 64, characterized in that the processor is also used to execute:
根据预设生效时间将所述专用资源设置为激活状态, 所述预设生 效时间为所述专用资源激活的持续时间。 The dedicated resource is set to the activated state according to the preset effective time, and the preset generation The validity time is the duration of activation of the dedicated resource.
6 6、 根据权利要求 6 5 所述的终端, 其特征在于, 当所述预设生 效时间为预设在所述终端上的定时器的设置时间时, 66. The terminal according to claim 65, wherein when the preset effective time is the setting time of a timer preset on the terminal,
所述处理器, 还用于执行: The processor is also used to execute:
启动所述定时器, 并激活所述专用资源; Start the timer and activate the dedicated resource;
在所述定时器计时的过程中, 当接收到所述网络侧发送的携带有 指定业务预警指示的第四寻呼消息时, 重新启动所述定时器, 且所述 专用资源的工作状态处于激活状态。 During the timer counting process, when the fourth paging message carrying the specified service warning indication sent by the network side is received, the timer is restarted, and the working state of the dedicated resource is activated. state.
6 7、 根据权利要求 6 5 所述的终端, 其特征在于, 在所述根据预 设生效时间将所述专用资源设置为激活状态之前, 67. The terminal according to claim 65, characterized in that, before setting the dedicated resource to the activated state according to the preset effective time,
所述处理器, 还用于执行: The processor is also used to execute:
接收所述网络侧发送的携带有指定业务预警信息的第四广播消 息, 并获取所述指定业务预警信息。 Receive the fourth broadcast message carrying designated service warning information sent by the network side, and obtain the designated service warning information.
6 8、 根据权利要求 6 7 所述的终端, 其特征在于, 当所述第四广 播消息中还携带有资源生效时间, 所述资源生效时间为所述专用资源 激活的持续时间时, 68. The terminal according to claim 67, characterized in that when the fourth broadcast message also carries a resource effective time, and the resource effective time is the duration of activation of the dedicated resource,
所述处理器, 还用于执行: The processor is also used to execute:
从所述第四广播消息中获取并保存所述资源生效时间, 并将所述 资源生效时间作为所述预设生效时间。 Obtain and save the resource effective time from the fourth broadcast message, and use the resource effective time as the preset effective time.
6 9、 根据权利要求 6 5 所述的终端, 其特征在于, 当所述第一消 息中还携带有资源生效时间, 所述资源生效时间为所述专用资源激活 的持续时间时, 69. The terminal according to claim 65, characterized in that when the first message also carries a resource effective time, and the resource effective time is the duration of activation of the dedicated resource,
所述处理器, 还用于执行: The processor is also used to execute:
从所述第一消息中获取并保存所述资源生效时间, 并将所述资源 生效时间作为所述预设生效时间。 Obtain and save the resource effective time from the first message, and use the resource effective time as the preset effective time.
7 0、 根据权利要求 6 5 - 6 9任一项所述的终端, 其特征在于, 所述处理器, 还用于执行: 当接收到业务发起指令时, 判断所述业务是否为指定业务; 当所述业务为所述指定业务, 且所述专用资源的工作状态处于激 活状态时, 从所述专用资源中选取所述业务占用的资源; 70. The terminal according to any one of claims 65 to 69, characterized in that the processor is also used to execute: When receiving a service initiation instruction, determine whether the service is the designated service; when the service is the designated service and the working status of the dedicated resource is in an activated state, select the service from the dedicated resource resources occupied;
当所述业务为非指定业务, 且所述专用资源的工作状态处于激活 状态时, 从其他资源中选取所述业务占用的资源, 所述其他资源不包 括所述专用资源; When the service is a non-designated service and the working status of the dedicated resource is in an activated state, select the resources occupied by the service from other resources, and the other resources do not include the dedicated resource;
当所述预设生效时间结束时, 将所述专用资源设置为去激活状 态。 When the preset effective time expires, the dedicated resource is set to a deactivated state.
7 1、 根据权利要求 59- 7 0任一项所述的终端, 其特征在于, 所述 处理器, 还用于执行: 71. The terminal according to any one of claims 59-70, characterized in that the processor is also used to execute:
接收所述网络侧发送的第二消息, 所述第二消息中携带有撤销指 令, 所述撤销指令用于指示所述终端撤销对所述指定业务的所述专用 资源的分配指令; Receive a second message sent by the network side, where the second message carries a revocation instruction, and the revocation instruction is used to instruct the terminal to cancel the allocation instruction of the dedicated resource for the designated service;
从所述第二消息中获取所述撤销指令, 并释放所述专用资源。 Obtain the revocation instruction from the second message and release the dedicated resource.
PCT/CN2013/070131 2013-01-06 2013-01-06 Resource allocation method and device WO2014106341A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201380001405.0A CN104041167B (en) 2013-01-06 2013-01-06 A kind of resource allocation methods and device
JP2015551094A JP6128451B2 (en) 2013-01-06 2013-01-06 Resource allocation method and apparatus
PCT/CN2013/070131 WO2014106341A1 (en) 2013-01-06 2013-01-06 Resource allocation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/070131 WO2014106341A1 (en) 2013-01-06 2013-01-06 Resource allocation method and device

Publications (1)

Publication Number Publication Date
WO2014106341A1 true WO2014106341A1 (en) 2014-07-10

Family

ID=51062144

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/070131 WO2014106341A1 (en) 2013-01-06 2013-01-06 Resource allocation method and device

Country Status (3)

Country Link
JP (1) JP6128451B2 (en)
CN (1) CN104041167B (en)
WO (1) WO2014106341A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112004161A (en) * 2020-07-09 2020-11-27 视联动力信息技术股份有限公司 Processing method and device of address resources, terminal equipment and storage medium
CN112073215A (en) * 2015-06-29 2020-12-11 华为技术有限公司 Method for realizing application and service controller

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109219139A (en) * 2017-07-06 2019-01-15 电信科学技术研究院 A kind of resource selection method, device and terminal
CN110650534B (en) * 2018-06-27 2022-03-29 中兴通讯股份有限公司 Method, device, computer equipment and storage medium for sending paging message

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1510935A (en) * 2002-12-21 2004-07-07 华为技术有限公司 Method for resource planning method in communication system

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020160812A1 (en) * 2001-04-26 2002-10-31 Ramin Moshiri-Tafreshi Channel supervision in a radio network
US7477618B2 (en) * 2002-10-25 2009-01-13 Qualcomm Incorporated Method and apparatus for stealing power or code for data channel operations
US7139246B2 (en) * 2004-06-29 2006-11-21 Motorola, Inc. Method and apparatus for adjusting a mobile communication inactivity timer
JP4978428B2 (en) * 2007-10-31 2012-07-18 富士通株式会社 Method for assigning connection identifier in wireless communication system
CN101466083B (en) * 2007-12-18 2010-12-08 华为技术有限公司 Emergency call method and apparatus
CN101640574B (en) * 2008-07-30 2011-07-20 中兴通讯股份有限公司 Earthquake and tsunami warning system and method for transmitting primary notification
CN101686092A (en) * 2008-09-22 2010-03-31 中兴通讯股份有限公司 Method for transmitting and receiving indication information of earthquake and tsunami warning system message
CN101925151A (en) * 2009-06-12 2010-12-22 华为技术有限公司 Method, equipment and system for controlling access
JP5402685B2 (en) * 2010-02-01 2014-01-29 富士通株式会社 Mobile station and radio communication method
JP5660802B2 (en) * 2010-04-23 2015-01-28 京セラ株式会社 Radio base station and communication control method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1510935A (en) * 2002-12-21 2004-07-07 华为技术有限公司 Method for resource planning method in communication system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112073215A (en) * 2015-06-29 2020-12-11 华为技术有限公司 Method for realizing application and service controller
CN112073215B (en) * 2015-06-29 2022-05-13 华为技术有限公司 Method for realizing application and service controller
CN112004161A (en) * 2020-07-09 2020-11-27 视联动力信息技术股份有限公司 Processing method and device of address resources, terminal equipment and storage medium
CN112004161B (en) * 2020-07-09 2024-05-28 视联动力信息技术股份有限公司 Address resource processing method and device, terminal equipment and storage medium

Also Published As

Publication number Publication date
CN104041167B (en) 2017-11-24
JP6128451B2 (en) 2017-05-17
JP2016506189A (en) 2016-02-25
CN104041167A (en) 2014-09-10

Similar Documents

Publication Publication Date Title
US11265779B2 (en) Random access methods and apparatus
JP6085033B2 (en) Method and apparatus for transmitting and receiving trunking paging in an LTE system
KR101615061B1 (en) Method and apparatus for configuring a plurality of scheduling request triggers
US20140022978A1 (en) Reconfiguration method, radio network controller and terminal
US9184887B2 (en) Base station and terminal connection method for the base station
CN101730090B (en) Method and equipment for releasing IP addresses by DHCP server
US10299296B2 (en) Data sending method, resource measurement method, apparatus, and device
AU2012292689B2 (en) Data transmission method and device for uplink short-latency communication
CN110351872B (en) Access control method and user equipment
AU2019218060A1 (en) Communication method and wireless communication device
WO2011050669A1 (en) Method and device for resource management of machine to machine communication
US11012373B2 (en) Method, device and system for resource allocation
WO2013174171A1 (en) Method and device for obtaining frequency band information of terminal
WO2014106341A1 (en) Resource allocation method and device
CN105554807B (en) A kind of method and apparatus of device-to-device communication
KR101536884B1 (en) Cluster user based message transmission method and device
CN106550473B (en) Service scheduling method and device
CN116156577A (en) Side link communication method, side link communication device and terminal
WO2015000121A1 (en) Call processing method, device and mobility management entity
EP3065467B1 (en) Discovery signal transmission method, user device, and base station
WO2012089161A1 (en) Access method and device for user in exception, and communication system
CN108200661B (en) RRC connection release method, terminal, access network device and storage medium
WO2014082219A1 (en) Information configuration method, method for reporting connection establishment request, apparatus and system
CN107548154A (en) A kind of resource allocation methods and device
WO2019085616A1 (en) Method and device for sending scheduling request

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13870367

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2015551094

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13870367

Country of ref document: EP

Kind code of ref document: A1