WO2015180169A1 - Resource allocation method and device - Google Patents
Resource allocation method and device Download PDFInfo
- Publication number
- WO2015180169A1 WO2015180169A1 PCT/CN2014/078994 CN2014078994W WO2015180169A1 WO 2015180169 A1 WO2015180169 A1 WO 2015180169A1 CN 2014078994 W CN2014078994 W CN 2014078994W WO 2015180169 A1 WO2015180169 A1 WO 2015180169A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- resource allocation
- device node
- allocation rule
- dynamic resource
- description information
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/40—Network security protocols
Definitions
- the present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for resource allocation. Background technique
- the lower-level network device usually requests the other network device such as the upper-level router or the network management device to allocate the required network resource capacity, and the upper-level controller allocates the network resource capacity according to the network resource capacity applied by the lower-level network device. Network resource size.
- the resource allocation of the control device for the subordinate network device is often used on a first come, first served basis.
- subsequent subordinate network devices may fail to apply for the required network resource capacity, affecting the operation of subsequent subordinate network devices, and may cause network resource over-provisioning, resulting in waste of network resources.
- the lower-level network device that is applied for is usually applied for resource allocation according to the preset application network resource capacity, instead of applying for resource allocation according to actual needs, which also causes waste of network resources. Summary of the invention
- Embodiments of the present invention provide a method and apparatus for resource allocation, which can effectively allocate resources and optimize resource allocation, and improve resource utilization.
- an aspect of the present invention provides a method for resource allocation, including: receiving a resource allocation request sent by a device node, where the resource allocation request carries a description of the current state of the device node of the device node. Description;
- the description information includes: a configuration parameter of the device node, a total bandwidth capacity of the device node, and a network traffic of the device node.
- At least one of the configuration parameters includes role information of a device node.
- the resource allocation request sent by the receiving device node includes:
- the dynamic resource allocation rule includes a dynamic resource allocation rule based on a configuration parameter of the device node, a dynamic resource allocation rule based on a total bandwidth capacity of the device node, and a dynamic resource allocation rule of the network traffic of the device node. At least one of them.
- the acquiring the resource allocation information corresponding to the description information according to the preset dynamic resource allocation rule includes: When the resource allocation rule includes the dynamic resource allocation rule based on the configuration parameter of the device node, the resource allocation information corresponding to the configuration parameter included in the description information is obtained according to the dynamic resource allocation rule based on the configuration parameter of the device node; or
- the dynamic resource allocation rule includes a dynamic resource allocation rule based on the total bandwidth capacity of the device node
- the total bandwidth capacity corresponding to the description information is obtained according to the dynamic resource allocation rule based on the total bandwidth capacity of the device node.
- the dynamic resource allocation rule includes a dynamic resource allocation rule based on the network traffic size of the device node
- the dynamic resource allocation rule based on the network traffic size of the device node acquires the network traffic corresponding to the description information. Resource allocation information.
- Obtaining the resource allocation information corresponding to the description information according to the preset dynamic resource allocation rule includes:
- a second aspect of the present invention provides a control device, including:
- a receiving unit configured to receive a resource allocation request sent by the device node, where the resource allocation request carries description information of the device node for describing a current state of the device node;
- An obtaining unit configured to acquire resource allocation information corresponding to the description information according to a preset dynamic resource allocation rule
- the description information includes: at least one of a configuration parameter of the device node, a total bandwidth capacity of the device node, and a network traffic of the device node.
- the configuration parameter includes role information of the device node.
- the device includes:
- a determining unit configured to formulate the dynamic resource allocation rule, where the dynamic resource allocation rule includes a dynamic resource allocation rule based on a configuration parameter of the device node, a dynamic resource allocation rule based on a total bandwidth capacity of the device node, and a network traffic of the device node At least one of the dynamic resource allocation rules.
- the acquiring unit includes at least one of a first acquiring subunit, a second acquiring subunit, and a third acquiring subunit; And obtaining the resource allocation information corresponding to the configuration parameter included in the description information according to the dynamic resource allocation rule of the configuration parameter of the device node; and the dynamic resource allocation rule of the total bandwidth capacity, according to the dynamic resource allocation rule of the parameter.
- the dynamic resource allocation rule based on the total bandwidth capacity of the device node acquires resource allocation information corresponding to the total bandwidth capacity included in the description information; and the dynamic resource allocation rule of the network traffic size, according to the device node-based network traffic
- the dynamic resource allocation rule of the size acquires resource allocation information corresponding to the network traffic included in the description information.
- the acquisition unit also includes:
- the fourth obtaining subunit is configured to obtain a current network resource status.
- a fifth obtaining sub-unit configured to acquire resource allocation information corresponding to the description information in the current network resource status according to a preset dynamic resource allocation rule.
- a third aspect of the present invention provides a computer storage medium
- the computer storage medium stores a program that, when executed, includes some or all of the steps of a method of multimedia browsing schedule control as described above.
- a fourth aspect of the present invention provides a control device, including: an input device, an output device, a memory, and a processor, wherein the memory stores a set of program codes, and the processor is configured to call the program code stored in the memory, where Do the following:
- the description information includes: at least one of a configuration parameter of the device node, a total bandwidth capacity of the device node, and a network traffic of the device node.
- the configuration parameter includes role information of the device node.
- the processor control input device before receiving the resource allocation request sent by the device node, includes:
- the dynamic resource allocation rule includes a dynamic resource allocation rule based on a configuration parameter of the device node, a dynamic resource allocation rule based on a total bandwidth capacity of the device node, and a dynamic resource allocation rule of the network traffic of the device node. At least one of them.
- the acquiring, by the processor, the resource allocation information corresponding to the description information according to the preset dynamic resource allocation rule including:
- the dynamic resource allocation rule includes a dynamic resource allocation rule based on the configuration parameter of the device node
- the resource allocation information corresponding to the configuration parameter included in the description information is obtained according to the dynamic resource allocation rule based on the configuration parameter of the device node.
- the dynamic resource allocation rule includes a dynamic resource allocation rule based on the total bandwidth capacity of the device node
- the total bandwidth capacity corresponding to the description information is obtained according to the dynamic resource allocation rule based on the total bandwidth capacity of the device node.
- the dynamic resource allocation rule includes a dynamic resource allocation rule based on the network traffic size of the device node
- the dynamic resource allocation rule based on the network traffic size of the device node acquires the network traffic corresponding to the description information. Resource allocation information.
- the resource allocation information corresponding to the description information according to the preset dynamic resource allocation rule includes:
- the present invention receives a resource allocation request sent by a device node, where the resource allocation request carries description information of the device node for describing a current state of the device node, Obtaining resource allocation information corresponding to the description information according to the preset dynamic resource allocation rule, and performing resource allocation on the device node according to the resource allocation information, which can flexibly and dynamically configure resources or adjust resources of the device node. And can effectively allocate resources and optimize resource allocation, improve resource utilization, and reduce resource waste.
- FIG. 1 is a schematic flowchart of an embodiment of a method for resource allocation according to the present invention
- FIG. 2 is a schematic flowchart of another embodiment of a method for resource allocation according to the present invention
- a structural diagram of an embodiment of a control device
- FIG. 4 is a structural diagram of another embodiment of a control device provided by the present invention.
- FIG. 5 is a structural diagram of still another embodiment of a control device according to the present invention. detailed description
- control device may be a control device such as a router or a network management device that can control the connection thereto.
- a method of resource allocation includes the following steps:
- the device node when the device node needs to control the device to allocate resources to the device, the device node sends a resource allocation request to the control device, so that the control device receives the resource allocation request sent by the device node and responds to the request, and allocates the device node. Resources.
- the resource allocation request may carry description information of the device node for describing the current state of the device node, where the current state of the device node includes a current configuration status of the device node and a current resource status of the device node.
- the description information includes self-describing information describing functions or configurations of the device node, where the description information may include: configuration parameters of the device node, total bandwidth capacity of the device node, and device node At least one or more combinations of network traffic.
- the configuration parameters may include hardware configuration parameters such as interface bandwidth, interface number, storage capacity, and processing speed of the device node, and configuration parameters such as role information and functions of the device node. Specifically, the role information of the device node is used to describe the device node.
- Function parameters can include proxy function parameters, sleep function parameters, or other special function parameters.
- the description information carried by the resource allocation request received by the control device may include a description of the sleep function parameter and the hardware configuration parameter of the device node.
- the information may also include description information such as the total bandwidth capacity of the device node and the traffic of the device node.
- the description information carried by the resource allocation request received by the control device may include a DHCP Relay (Dynamic Host Configuration Protocol Relay) function, a proxy function, and a sleep function of the device node.
- DHCP Relay Dynamic Host Configuration Protocol Relay
- Descriptive information such as functions and configuration parameters may also include the functions and resources of the network under the jurisdiction of the device node, such as: the size of the subordinate network, the total bandwidth capacity of the subordinate network, and the network traffic.
- the device node may also obtain description information of the lower device, and forward the description information to the control device.
- the control device may adopt a CNP (Configuration Negotiation Protocol) protocol, a DHCPv6 (Dynamic Host Configuration Protocol for IPv6) protocol, an ND (Neighbor Discovery) protocol, or a routing protocol.
- CNP Configuration Protocol
- DHCPv6 Dynamic Host Configuration Protocol for IPv6
- ND Neighbor Discovery
- the protocol is configured to receive a resource allocation request of the device node that carries the description information, that is, the device node may carry the resource allocation request of the device node by using the foregoing protocol.
- the control device can establish a connection with at least one device node.
- the device node can detect whether the state changes in real time, and when the state changes, the device node can re-acquire the description information of the device node, and report a new resource allocation request to the control device.
- the control device may preset a dynamic resource allocation rule, where the dynamic resource allocation rule may include an optimal resource allocation manner corresponding to different description information, and the dynamic resource allocation rule may be an algorithm based on description information design.
- the algorithm can calculate the optimal resource allocation method.
- the control device can optimally allocate device nodes according to dynamic resource allocation rules to efficiently allocate resources and optimize resource allocation.
- the dynamic resource allocation rule may include a dynamic resource allocation rule corresponding to the type of the description information.
- the description information may include one or more of configuration parameters of the device node, total bandwidth capacity of the device node, and network traffic of the device node.
- the control device can preset dynamic resource allocation rules including dynamic resource allocation rules based on configuration parameters of device nodes, total bandwidth capacity allocation rules based on device nodes, and dynamic resource allocation rules of network traffic of device nodes. At least one.
- control device may also preset a dynamic resource allocation rule based on the role information of the device node.
- the control device may invoke the corresponding dynamic resource allocation rule to obtain the optimal resource allocation information corresponding to the description information according to the specific data that receives the description information, where the resource allocation information includes the length and bandwidth capacity of the allocated proxy prefix, and the device.
- Configuration information such as the sleep function of the node.
- the control terminal may use the dynamic resource based on the configuration parameter of the device node.
- the allocation rule acquires the resource allocation information corresponding to the configuration parameter included in the description information, where, when the configuration parameter includes the role information of the device node, the control terminal may obtain the preset dynamic resource allocation rule based on the role information of the device node.
- the description information includes resource allocation information corresponding to the role information; when the dynamic resource allocation rule includes a dynamic resource allocation rule based on the total bandwidth capacity of the device node, and when the description information received by the control terminal includes the total bandwidth capacity of the device node, The control terminal may obtain resource allocation information corresponding to the total bandwidth capacity included in the description information according to a dynamic resource allocation rule based on the total bandwidth capacity of the device node, where the dynamic resource allocation rule includes dynamic resource allocation based on the network traffic size of the device node. When the description information received by the control terminal includes the network traffic size of the device node, the control terminal may acquire the resource corresponding to the network traffic included in the description information according to the dynamic resource allocation rule based on the network traffic size of the device node. Assign information. Wherein, when the description information includes multiple types of information, the control terminal may process the optimized resource allocation information by combining the dynamic resource allocation rules corresponding to the respective information.
- the control device sends the obtained resource allocation information to the device node, so that the device node performs configuration according to the resource allocation information to obtain the allocated resource.
- the control device may carry the resource information and send the information to the node device through a protocol such as a CNP protocol, a DHCPV6 protocol, an ND protocol, or a routing protocol.
- the resource information may include a length of a proxy prefix allocated to the node and a load bandwidth size, and configuration information such as a sleep function of the control node device.
- the node device when the node device has a subordinate device node that is under the jurisdiction and the node device receives the resource allocation information sent by the control device, the node device may allocate the obtained resource to the subordinate device node, where the allocation mode may be The device node performs resource allocation according to the obtained description information of each lower-level device.
- the device node may actively continue resource allocation to each lower-level device according to the preset dynamic resource allocation rule.
- the control device when the control device receives the resource allocation request that carries the description information sent by the device node, the control device acquires the resource allocation information corresponding to the description information according to the preset dynamic resource allocation rule, and according to the resource.
- the allocation information allocates resources to the device nodes, which can effectively allocate resources and optimize resource allocation, and improve resource utilization.
- a method for resource allocation shown in the embodiment of the present invention includes the following steps:
- S200 Receive a resource allocation request sent by the device node, where the resource allocation request carries description information of the device node for describing a current state of the device node.
- the device node when the device node needs to control the device to allocate resources to the device, the device node sends a resource allocation request to the control device, so that the control device receives the resource allocation request sent by the device node and responds to the request, and allocates the device node. Resources.
- the resource allocation request may carry description information of the device node for describing the current state of the device node, where the current state of the device node includes a current configuration status of the device node and a current resource status of the device node.
- the description information includes self-describing information describing functions or configurations of the device node, where the description information may include: configuration parameters of the device node, total bandwidth capacity of the device node, and device node At least one or more combinations of network traffic.
- the configuration parameters may include hardware configuration parameters such as interface bandwidth, interface number, storage capacity, and processing speed of the device node, and configuration parameters such as role information and functions of the device node.
- the role information of the device node may include: , Tunnel Endpoint, BRAS (Broadband Remote Access Server) Node, PE (Provider Edge, Carrier Edge) Node, P (Provider, Carrier) Node, CSG (Customer Site Gateway) Role information such as nodes, ASG (Aggregation Site Gateway) nodes, RSG (Radio Service Gateway) nodes, and RNC (Radio Network Controller) nodes.
- Function parameters can include proxy function parameters, sleep function parameters, or other special function parameters.
- the description information carried by the resource allocation request received by the control device may include a description of the sleep function parameter and the hardware configuration parameter of the device node.
- the information may also include description information such as the total bandwidth capacity of the device node and the traffic of the device node.
- the description information carried by the resource allocation request received by the control device may include a DHCP Relay (Dynamic Host Configuration Protocol Relay) function, a proxy function, and a sleep function of the device node.
- DHCP Relay Dynamic Host Configuration Protocol Relay
- Descriptive information such as functions and configuration parameters may also include the functions and resources of the network under the jurisdiction of the device node, such as: the size of the subordinate network, the total bandwidth capacity of the subordinate network, and the network traffic.
- the device node may also obtain description information of the lower device, and forward the description information to the control device.
- control device may receive the resource allocation request of the device node carrying the description information by using a protocol such as the CNP protocol, the DHCPV6 protocol, the ND protocol, or the routing protocol, that is, the device node may carry the device by using the protocol described above.
- the resource allocation request for the node In the embodiment of the invention
- the control device can establish a connection with at least one device node.
- the device node can detect whether the state changes in real time, and when the state changes, the device node can re-acquire the description information of the device node, and report a new resource allocation request to the control device.
- the terminal device may obtain the description information of the current network resource, where the description information of the current network resource may include the current available resource capacity, the current address resource remaining amount, the uplink bandwidth capacity, and the proportion of available resources occupied by the uplink bandwidth. Describe the description information of the current network condition of the control device.
- the optimal resource allocation manner corresponding to different description information may be an algorithm based on the network resource status and description information of the control device, and the algorithm may calculate and obtain an optimal resource allocation manner.
- the control device may optimally allocate the device nodes according to the dynamic resource allocation rule under the current resource condition, so as to effectively allocate resources and optimize resource allocation. For example, when the available resource capacity of the control device is relatively large, the control device can appropriately allocate more resources to the node device. When the available resource capacity of the control device is relatively small, the control device can appropriately adjust the allocation of less resources to the node device. Among them, the process of allocation is in line with the principle of optimal allocation of dynamic resource allocation rules. Therefore, the control device may obtain the optimal resource allocation information corresponding to the description information according to the received description information and the current network resource status of the control device, where the resource allocation information includes the length and bandwidth capacity of the allocated proxy prefix, and the device. Configuration information such as the sleep function of the node.
- the control device sends the obtained resource allocation information to the device node, so that the device node performs configuration according to the resource allocation information to obtain the allocated resource.
- the control device may carry the resource information and send the information to the node device through a protocol such as a CNP protocol, a DHCPV6 protocol, an ND protocol, or a routing protocol.
- the resource information may include a length of a proxy prefix allocated to the node and a load bandwidth size, and configuration information such as a sleep function of the control node device.
- the node device when the node device has a subordinate device node under the jurisdiction and receives the control from the node device, the node device may allocate the obtained resource to the lower-level device node, and the specific allocation manner may refer to the allocation manner described in the foregoing embodiment, and details are not described herein again.
- the control device when the control device receives the resource allocation request that carries the description information sent by the device node, the control device acquires the current network resource status, and acquires the resource allocation corresponding to the description information according to the preset dynamic resource allocation rule. Information, and resource allocation of device nodes according to the resource allocation information, which can effectively allocate resources and optimize resource allocation, and improve resource utilization.
- a control device according to an embodiment of the present invention is provided. As shown in FIG. 3, a control device in this embodiment may include:
- the receiving unit 100 is configured to receive a resource allocation request sent by the device node, where the resource allocation request carries description information of the device node for describing a current state of the device node.
- the device node when the device node needs to control the device to allocate resources to the device, the device node sends a resource allocation request to the control device, so that the receiving unit 100 of the control device receives the resource allocation request sent by the device node and causes the control device to respond. Request, allocate resources to device nodes.
- the resource allocation request may carry description information of the device node for describing the current state of the device node, where the current state of the device node includes a current configuration status of the device node and a current resource status of the device node.
- the description information includes self-describing information describing functions or configurations of the device node, where the description information may include: configuration parameters of the device node, total bandwidth capacity of the device node, and device node At least one or more combinations of network traffic.
- the configuration parameters may include hardware configuration parameters such as interface bandwidth, interface number, storage capacity, and processing speed of the device node, and configuration parameters such as role information and functions of the device node.
- the role information of the device node may include: , Tunnel Endpoint, BRAS (Broadband Remote Access Server) Node, PE (Provider Edge, Carrier Edge) Node, P (Provider, Carrier) Node, CSG (Customer Site Gateway) Role information of nodes such as nodes, ASG (Aggregation Site Gateway) nodes, RSG (Radio Service Gateway) nodes, and RNC (Radio Network Controller) nodes.
- Function parameters can include proxy function parameters, sleep function parameters, or other special function parameters.
- the description information carried by the resource allocation request received by the receiving unit 100 may include the device node.
- the description information such as the sleep function parameter and the hardware configuration parameter may also include description information such as the total bandwidth capacity of the device node and the traffic of the device node.
- the description information carried by the received resource allocation request may include description information of a DHCP Relay (Dynamic Host Configuration Protocol Relay) function, a proxy function, a sleep function, and configuration parameters of the device node, and may also be It includes the functions and resources of the network under the jurisdiction of the device node, such as: the size of the subordinate network, the total bandwidth capacity of the subordinate network, and network traffic. Specifically, the device node may also obtain description information of the lower device, and forward the description information to the control device.
- DHCP Relay Dynamic Host Configuration Protocol Relay
- the receiving unit 100 may receive the resource allocation request of the device node carrying the description information by using a protocol such as the CNP protocol, the DHCPV6 protocol, the ND protocol, or the routing protocol, that is, the device node may carry the foregoing by using the protocol described above.
- Resource allocation request for the device node can establish a connection with at least one device node.
- the device node can detect whether the state changes in real time, and when the state changes, the device node can re-acquire the description information of the device node, and report the new resource allocation request to the receiving unit 100 of the control device.
- the obtaining unit 200 is configured to acquire resource allocation information corresponding to the description information according to a preset dynamic resource allocation rule.
- the obtaining unit 200 may, according to the specific data that the receiving unit 100 receives the description information, invoke the corresponding dynamic resource allocation rule to obtain the optimal resource allocation information corresponding to the description information, where the resource allocation information includes the length and bandwidth of the allocated proxy prefix.
- Configuration information such as capacity and sleep function of the device node.
- the obtaining unit 200 may obtain the dynamic resource allocation rule based on the configuration parameter of the device node.
- the resource allocation rule corresponding to the total bandwidth capacity included in the description information may be obtained according to a dynamic resource allocation rule based on the total bandwidth capacity of the device node, where the dynamic resource allocation rule includes a dynamic resource allocation rule based on the network traffic size of the device node, and When the description information includes the network traffic size of the device node, the obtaining unit 200 may perform a dynamic resource allocation rule based on the network traffic size of the device node. And acquiring resource allocation information corresponding to the network traffic included in the description information.
- the allocating unit 300 is configured to perform resource allocation on the device node according to the resource allocation information.
- the allocating unit 300 sends the obtained resource allocation information to the device node, so that the device node performs configuration according to the resource allocation information to obtain the allocated resource.
- the allocating unit 300 may carry the resource information and deliver the resource information to the node device through a protocol such as a CNP protocol, a DHCPV6 protocol, an ND protocol, or a routing protocol.
- the resource information may include a length of a proxy prefix allocated to the node and a size of the load bandwidth, and configuration information such as a sleep function of the control node device.
- the node device when the node device has a subordinate device node that is under the jurisdiction and the node device receives the resource allocation information sent by the control device, the node device may allocate the obtained resource to the subordinate device node, where the allocation mode may be The device node performs resource allocation according to the obtained description information of each lower-level device.
- the device node may actively continue resource allocation to each lower-level device according to the preset dynamic resource allocation rule.
- the control device may further include:
- the unit 400 is configured to formulate the dynamic resource allocation rule.
- the formulating unit 400 may preset a dynamic resource allocation rule, where the dynamic resource allocation rule may include an optimal resource allocation manner corresponding to different description information, and the dynamic resource allocation rule may be based on the description information.
- Algorithm which can calculate the optimal resource allocation method.
- the control device can optimally allocate device nodes according to dynamic resource allocation rules to efficiently allocate resources and optimize resource allocation.
- the dynamic resource allocation rule may include a dynamic resource allocation rule corresponding to the type of the description information.
- the description information may include one or more description information of configuration parameters of the device node, total bandwidth capacity of the device node, and network traffic of the device node, and therefore,
- the unit 400 may preset at least one of a dynamic resource allocation rule including a dynamic resource allocation rule based on a configuration parameter of the device node, a total bandwidth capacity allocation rule based on the device node, and a dynamic resource allocation rule of the network traffic of the device node.
- the control device can also preset a dynamic resource allocation rule based on the role information of the device node.
- the acquiring unit 200 further includes: a first acquiring subunit 10 and a second acquiring subunit At least one of 20 and a third acquisition subunit 30, wherein
- a first obtaining sub-unit 10 configured to: when the dynamic resource allocation rule includes a dynamic resource allocation rule based on a configuration parameter of the device node, obtain the description information according to the dynamic resource allocation rule based on the configuration parameter of the device node, including Resource allocation information corresponding to the configuration parameters.
- the first obtaining subunit 10 when the dynamic resource allocation rule includes a dynamic resource allocation rule based on the configuration parameter of the device node, and when the description information includes the configuration parameter of the device node, the first obtaining subunit 10 may be configured according to the device node.
- the dynamic resource allocation rule of the parameter acquires resource allocation information corresponding to the configuration parameter included in the description information.
- a second obtaining sub-unit 20 configured to acquire, according to the dynamic resource allocation rule based on the total bandwidth capacity of the device node, when the dynamic resource allocation rule includes a dynamic resource allocation rule based on a total bandwidth capacity of the device node
- the resource allocation information corresponding to the total bandwidth capacity included in the information.
- the second obtaining subunit 20 may be based on the device node.
- the dynamic resource allocation rule of the total bandwidth capacity acquires resource allocation information corresponding to the total bandwidth capacity included in the description information.
- a third obtaining sub-unit 30 configured to acquire the description according to the dynamic resource allocation rule based on the network traffic size of the device node when the dynamic resource allocation rule includes a dynamic resource allocation rule based on the network traffic size of the device node
- the resource allocation information corresponding to the network traffic included in the information
- the third obtaining subunit 30 may be based on the device node.
- the dynamic resource allocation rule of the network traffic size acquires resource allocation information corresponding to the network traffic size included in the description information.
- the notification acquiring unit 200 acquires the resource allocation information corresponding to the description information according to the preset dynamic resource allocation rule, and notifies the The allocating unit 300 performs resource allocation on the device node according to the resource allocation information, which can effectively allocate resources and optimize resource allocation, and improve resource utilization.
- a control device may include: Receiving unit 100, obtaining unit 200 and allocating unit 300;
- the obtaining unit further includes:
- the fourth obtaining sub-unit 40 is configured to acquire a current network resource status.
- the fourth obtaining sub-unit 40 may obtain the description information of the current network resource, where the description information of the current network resource may include the current available resource capacity, the current address resource remaining amount, the uplink bandwidth capacity, and the uplink bandwidth occupation. Describe the information about the current network conditions of the control device, such as the ratio of available resources.
- the fifth obtaining sub-unit 50 is configured to obtain resource allocation information corresponding to the description information in the current network resource status according to a preset dynamic resource allocation rule.
- the optimal resource allocation manner corresponding to different description information may be an algorithm based on the network resource status and description information of the control device, and the algorithm may calculate and obtain an optimal resource allocation manner.
- the fifth obtaining sub-unit 50 can optimally allocate the device nodes according to the dynamic resource allocation rule under the current resource condition, so as to effectively allocate resources and optimize resource allocation. For example, when the available resource capacity of the control device is relatively large, the fifth obtaining sub-unit 50 can appropriately allocate more resources to the node device. When the available resource capacity of the control device is relatively small, the fifth obtaining sub-unit 50 can moderately to the node device. Adjust the resources that are allocated less. Among them, the process of allocation is in line with the principle of optimal allocation of dynamic resource allocation rules.
- the fifth obtaining sub-unit 50 may obtain the optimal resource allocation information corresponding to the description information according to the received description information and the current network resource status of the control device, where the resource allocation information includes the length and bandwidth of the allocated proxy prefix.
- Configuration information such as capacity and sleep function of the device node.
- the notification acquiring unit 200 controls the device to acquire the current network resource status, and obtains the description information according to the preset dynamic resource allocation rule.
- Corresponding resource allocation information, and notifying the allocating unit 300 to perform resource allocation on the device node according to the resource allocation information which can effectively allocate resources and optimize resource allocation, and improve resource utilization.
- a control device 300 may include:
- Processor 201 (the number of processors 201 in the terminal may be one or more, Figure 5 is in one place
- the processor is an example; the memory 202, the output device 203, and the input device 204.
- the processor 201, the memory 202, the output device 203, and the input device 204 may be connected by a bus or other means, wherein the bus connection is taken as an example in FIG.
- the processor 201 performs the following steps:
- the description information includes: at least one of a configuration parameter of the device node, a total bandwidth capacity of the device node, and a network traffic of the device node, where the configuration parameter includes role information of the device node. .
- the processor 201 controls the input device to receive the resource allocation request sent by the device node before:
- the dynamic resource allocation rule includes a dynamic resource allocation rule based on a configuration parameter of the device node, a dynamic resource allocation rule based on a total bandwidth capacity of the device node, and a dynamic resource allocation rule of the network traffic of the device node. At least one of them.
- the processor 201 acquires the resource allocation information corresponding to the description information according to the preset dynamic resource allocation rule, and includes:
- the dynamic resource allocation rule includes a dynamic resource allocation rule based on the configuration parameter of the device node
- the resource allocation information corresponding to the configuration parameter included in the description information is obtained according to the dynamic resource allocation rule based on the configuration parameter of the device node.
- the dynamic resource allocation rule includes a dynamic resource allocation rule based on the total bandwidth capacity of the device node
- the total bandwidth capacity corresponding to the description information is obtained according to the dynamic resource allocation rule based on the total bandwidth capacity of the device node.
- the dynamic resource allocation rule includes a dynamic resource allocation rule based on the network traffic size of the device node
- the dynamic resource allocation rule based on the network traffic size of the device node acquires the network traffic corresponding to the description information. Resource allocation information.
- the obtaining, by the processor 201, the resource allocation information corresponding to the description information according to the preset dynamic resource allocation rule includes:
- the present invention receives a resource allocation request sent by a device node, where the resource allocation request carries description information of the device node for describing a current state of the device node, Obtaining resource allocation information corresponding to the description information according to the preset dynamic resource allocation rule, and performing resource allocation on the device node according to the resource allocation information, which can flexibly and dynamically configure resources or adjust resources of the device node. And can effectively allocate resources and optimize resource allocation, improve resource utilization, and reduce resource waste.
- the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
一种资源分配的方法、 装置 Method and device for resource allocation
技术领域 Technical field
本发明涉及通信技术领域, 尤其涉及一种资源分配的方法、 装置。 背景技术 The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for resource allocation. Background technique
随着各种通信业务的出现,人们对通信速率的需求越来越高, 而能应用于 通信的网络资源十分有限,要在有限网络资源中提供足够高的数据通信速率来 满足用户的需求, 如何合理分配网络资源,提高网络资源利用率就显得十分重 要。 With the emergence of various communication services, people have higher and higher requirements for communication rates, and the network resources that can be applied to communication are very limited. It is necessary to provide a sufficiently high data communication rate in limited network resources to meet the needs of users. How to properly allocate network resources and improve the utilization of network resources is very important.
在现有的资源分配中,通常是下级网络设备向上级路由器或网管等其他控 制设备申请分配所需的网络资源容量,上级控制器再根据下级网络设备所申请 的网络资源容量进行分配相对应的网络资源大小。 In the existing resource allocation, the lower-level network device usually requests the other network device such as the upper-level router or the network management device to allocate the required network resource capacity, and the upper-level controller allocates the network resource capacity according to the network resource capacity applied by the lower-level network device. Network resource size.
但是,在釆用以上的资源分配的过程中, 由于控制设备可分配的网络资源 容量是有限的,控制设备的对于下级网络设备申请的资源分配往往是釆用先到 先得的方式,这将导致后续的下级网络设备可能出现无法申请到满足所需的网 络资源容量, 影响了后续的下级网络设备的运行, 并且, 可能出现了网络资源 超配的情况,造成了网络资源的浪费。 并且先申请的下级网络设备通常是按照 预置的申请网络资源容量进行申请分配资源,而不是根据实际需要进行申请分 配资源, 这也造成了网络资源的浪费。 发明内容 However, in the process of using the above resource allocation, since the network resource capacity that the control device can allocate is limited, the resource allocation of the control device for the subordinate network device is often used on a first come, first served basis. As a result, subsequent subordinate network devices may fail to apply for the required network resource capacity, affecting the operation of subsequent subordinate network devices, and may cause network resource over-provisioning, resulting in waste of network resources. The lower-level network device that is applied for is usually applied for resource allocation according to the preset application network resource capacity, instead of applying for resource allocation according to actual needs, which also causes waste of network resources. Summary of the invention
本发明实施例提供了一种资源分配的方法和装置,可有效的分配资源和优 化资源分配, 提高资源的利用率。 Embodiments of the present invention provide a method and apparatus for resource allocation, which can effectively allocate resources and optimize resource allocation, and improve resource utilization.
为了解决上述技术问题, 本发明一方面提供一种资源分配的方法, 包括: 接收设备节点发送的资源分配请求,所述资源分配请求携带所述设备节点 的用于描述所述设备节点当前状态的描述信息; In order to solve the above technical problem, an aspect of the present invention provides a method for resource allocation, including: receiving a resource allocation request sent by a device node, where the resource allocation request carries a description of the current state of the device node of the device node. Description;
按预置的动态资源分配规则获取所述描述信息所对应的资源分配信息; 根据所述资源分配信息对所述设备节点进行资源分配。 Obtaining resource allocation information corresponding to the description information according to the preset dynamic resource allocation rule; and performing resource allocation on the device node according to the resource allocation information.
结合第一方面, 在第一种可能的实现方式中, 所述描述信息包括: 所述设备节 点的配置参数、所述设备节点的总带宽容量以及所述设备节点的网络流量中的 至少一种, 其中, 所述配置参数包括设备节点的角色信息。 With reference to the first aspect, in a first possible implementation, the description information includes: a configuration parameter of the device node, a total bandwidth capacity of the device node, and a network traffic of the device node. At least one of the configuration parameters includes role information of a device node.
结合第一方面或第一方面第一种可能的实现方式,在第二种可能的实现方 式中, 所述接收设备节点发送的资源分配请求之前包括: With reference to the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner, the resource allocation request sent by the receiving device node includes:
制定所述动态资源分配规则,所述动态资源分配规则包括基于设备节点的 配置参数的动态资源分配规则、基于设备节点的总带宽容量的动态资源分配规 则和设备节点的网络流量的动态资源分配规则中的至少一种。 And formulating the dynamic resource allocation rule, where the dynamic resource allocation rule includes a dynamic resource allocation rule based on a configuration parameter of the device node, a dynamic resource allocation rule based on a total bandwidth capacity of the device node, and a dynamic resource allocation rule of the network traffic of the device node. At least one of them.
结合第一方面第二种可能的实现方式, 在第三种可能的实现方式中, 所述 按预置的动态资源分配规则获取所述描述信息所对应的资源分配信息, 包括: 当所述动态资源分配规则包括基于设备节点的配置参数的动态资源分配 规则时,按所述基于设备节点的配置参数的动态资源分配规则获取所述描述信 息包括的配置参数所对应的资源分配信息; 或者, With reference to the second possible implementation manner of the first aspect, in a third possible implementation manner, the acquiring the resource allocation information corresponding to the description information according to the preset dynamic resource allocation rule includes: When the resource allocation rule includes the dynamic resource allocation rule based on the configuration parameter of the device node, the resource allocation information corresponding to the configuration parameter included in the description information is obtained according to the dynamic resource allocation rule based on the configuration parameter of the device node; or
当所述动态资源分配规则包括基于设备节点的总带宽容量的动态资源分 配规则时,按所述基于设备节点的总带宽容量的动态资源分配规则获取所述描 述信息包括的所述总带宽容量对应的资源分配信息; 或者, When the dynamic resource allocation rule includes a dynamic resource allocation rule based on the total bandwidth capacity of the device node, the total bandwidth capacity corresponding to the description information is obtained according to the dynamic resource allocation rule based on the total bandwidth capacity of the device node. Resource allocation information; or,
当所述动态资源分配规则包括基于设备节点的网络流量大小的动态资源 分配规则时,按所述基于设备节点的网络流量大小的动态资源分配规则获取所 述描述信息包括的所述网络流量所对应的资源分配信息。 When the dynamic resource allocation rule includes a dynamic resource allocation rule based on the network traffic size of the device node, the dynamic resource allocation rule based on the network traffic size of the device node acquires the network traffic corresponding to the description information. Resource allocation information.
结合第一方面或第一方面第一种可能的实现方式或第一方面第二种可能 的实现方式或第一方面第三种可能的实现方式, 在第四种可能的实现方式中, 所述按预置的动态资源分配规则获取所述描述信息所对应的资源分配信息包 括: With reference to the first aspect, or the first possible implementation manner of the first aspect, or the second possible implementation manner of the first aspect, or the third possible implementation manner of the first aspect, in a fourth possible implementation manner, Obtaining the resource allocation information corresponding to the description information according to the preset dynamic resource allocation rule includes:
获取当前网络资源状况; Obtain the current network resource status;
按预置的动态资源分配规则获取在所述当前网络资源状况下的所述描述 信息所对应的资源分配信息。 Obtaining resource allocation information corresponding to the description information in the current network resource status according to a preset dynamic resource allocation rule.
本发明第二方面提供了一种控制设备, 包括: A second aspect of the present invention provides a control device, including:
接收单元, 用于接收设备节点发送的资源分配请求, 所述资源分配请求携 带所述设备节点的用于描述所述设备节点当前状态的描述信息; a receiving unit, configured to receive a resource allocation request sent by the device node, where the resource allocation request carries description information of the device node for describing a current state of the device node;
获取单元,用于按预置的动态资源分配规则获取所述描述信息所对应的资 源分配信息; An obtaining unit, configured to acquire resource allocation information corresponding to the description information according to a preset dynamic resource allocation rule;
分配单元, 用于根据所述资源分配信息对所述设备节点进行资源分配。 结合第二方面, 在第一种可能的实现方式中, 所述描述信息包括: 所述设 备节点的配置参数、所述设备节点的总带宽容量以及所述设备节点的网络流量 中的至少一种, 其中, 所述配置参数包括设备节点的角色信息。 And an allocating unit, configured to perform resource allocation on the device node according to the resource allocation information. With reference to the second aspect, in a first possible implementation manner, the description information includes: at least one of a configuration parameter of the device node, a total bandwidth capacity of the device node, and a network traffic of the device node. The configuration parameter includes role information of the device node.
结合第二方面或第二方面第一种可能的实现方式,在第二种可能的实现方 式中, 所述设备包括: With reference to the second aspect or the first possible implementation manner of the second aspect, in a second possible implementation manner, the device includes:
制定单元, 用于制定所述动态资源分配规则, 所述动态资源分配规则包括 基于设备节点的配置参数的动态资源分配规则、基于设备节点的总带宽容量的 动态资源分配规则和设备节点的网络流量的动态资源分配规则中的至少一种。 a determining unit, configured to formulate the dynamic resource allocation rule, where the dynamic resource allocation rule includes a dynamic resource allocation rule based on a configuration parameter of the device node, a dynamic resource allocation rule based on a total bandwidth capacity of the device node, and a network traffic of the device node At least one of the dynamic resource allocation rules.
结合第二方面第二种可能的实现方式, 在第三种可能的实现方式中, 所述 获取单元包括第一获取子单元、第二获取子单元和第三获取子单元中的至少一 个; 配置参数的动态资源分配规则时,按所述基于设备节点的配置参数的动态资源 分配规则获取所述描述信息包括的配置参数所对应的资源分配信息; 总带宽容量的动态资源分配规则时,按所述基于设备节点的总带宽容量的动态 资源分配规则获取所述描述信息包括的所述总带宽容量对应的资源分配信息; 网络流量大小的动态资源分配规则时,按所述基于设备节点的网络流量大小的 动态资源分配规则获取所述描述信息包括的所述网络流量所对应的资源分配 信息。 With reference to the second possible implementation of the second aspect, in a third possible implementation, the acquiring unit includes at least one of a first acquiring subunit, a second acquiring subunit, and a third acquiring subunit; And obtaining the resource allocation information corresponding to the configuration parameter included in the description information according to the dynamic resource allocation rule of the configuration parameter of the device node; and the dynamic resource allocation rule of the total bandwidth capacity, according to the dynamic resource allocation rule of the parameter The dynamic resource allocation rule based on the total bandwidth capacity of the device node acquires resource allocation information corresponding to the total bandwidth capacity included in the description information; and the dynamic resource allocation rule of the network traffic size, according to the device node-based network traffic The dynamic resource allocation rule of the size acquires resource allocation information corresponding to the network traffic included in the description information.
结合第二方面或第二方面第一种可能的实现方式或第二方面第二种可能 的实现方式或第二方面第三种可能的实现方式, 在第四种可能的实现方式中, 所述获取单元还包括: With reference to the second aspect, the first possible implementation manner of the second aspect, or the second possible implementation manner of the second aspect, or the third possible implementation manner of the second aspect, in a fourth possible implementation manner, The acquisition unit also includes:
第四获取子单元, 用于获取当前网络资源状况。 The fourth obtaining subunit is configured to obtain a current network resource status.
第五获取子单元,用于按预置的动态资源分配规则获取在所述当前网络资 源状况下的所述描述信息所对应的资源分配信息。 And a fifth obtaining sub-unit, configured to acquire resource allocation information corresponding to the description information in the current network resource status according to a preset dynamic resource allocation rule.
本发明第三方面提供一种计算机存储介质, A third aspect of the present invention provides a computer storage medium,
所述计算机存储介质存储有程序,所述程序执行时包括如上述一种多媒体 浏览进度控制的方法的部分或全部步骤。 本发明第四方面提供一种控制设备, 包括: 包括: 输入装置、 输出装置、 存储器和处理器, 其中, 存储器中存储一组程序代码, 且处理器用于调用存储 器中存储的程序代码, 用于执行以下操作: The computer storage medium stores a program that, when executed, includes some or all of the steps of a method of multimedia browsing schedule control as described above. A fourth aspect of the present invention provides a control device, including: an input device, an output device, a memory, and a processor, wherein the memory stores a set of program codes, and the processor is configured to call the program code stored in the memory, where Do the following:
控制所述输入装置接收设备节点发送的资源分配请求,所述资源分配请求 携带所述设备节点的用于描述所述设备节点当前状态的描述信息; Controlling, by the input device, a resource allocation request sent by the device node, where the resource allocation request carries description information of the device node for describing a current state of the device node;
按预置的动态资源分配规则获取所述描述信息所对应的资源分配信息; 根据所述资源分配信息对所述设备节点进行资源分配。 Obtaining resource allocation information corresponding to the description information according to the preset dynamic resource allocation rule; and performing resource allocation on the device node according to the resource allocation information.
结合第四方面, 在第一种可能的实现方式中, 所述描述信息包括: 所述设 备节点的配置参数、所述设备节点的总带宽容量以及所述设备节点的网络流量 中的至少一种, 其中, 所述配置参数包括设备节点的角色信息。 With reference to the fourth aspect, in a first possible implementation manner, the description information includes: at least one of a configuration parameter of the device node, a total bandwidth capacity of the device node, and a network traffic of the device node. The configuration parameter includes role information of the device node.
结合第四方面或第四方面的第一种可能的实现方式,在第二种可能的实现 方式中, 所述处理器控制输入装置接收设备节点发送的资源分配请求之前包 括: With reference to the fourth aspect, or the first possible implementation manner of the fourth aspect, in a second possible implementation manner, the processor control input device, before receiving the resource allocation request sent by the device node, includes:
制定所述动态资源分配规则,所述动态资源分配规则包括基于设备节点的 配置参数的动态资源分配规则、基于设备节点的总带宽容量的动态资源分配规 则和设备节点的网络流量的动态资源分配规则中的至少一种。 And formulating the dynamic resource allocation rule, where the dynamic resource allocation rule includes a dynamic resource allocation rule based on a configuration parameter of the device node, a dynamic resource allocation rule based on a total bandwidth capacity of the device node, and a dynamic resource allocation rule of the network traffic of the device node. At least one of them.
结合第四方面的第二种可能的实现方式, 在第三种可能的实现方式中, 所述处理器按预置的动态资源分配规则获取所述描述信息所对应的资源 分配信息, 包括: With reference to the second possible implementation manner of the fourth aspect, in a third possible implementation manner, the acquiring, by the processor, the resource allocation information corresponding to the description information according to the preset dynamic resource allocation rule, including:
当所述动态资源分配规则包括基于设备节点的配置参数的动态资源分配 规则时,按所述基于设备节点的配置参数的动态资源分配规则获取所述描述信 息包括的配置参数所对应的资源分配信息; 或者, When the dynamic resource allocation rule includes a dynamic resource allocation rule based on the configuration parameter of the device node, the resource allocation information corresponding to the configuration parameter included in the description information is obtained according to the dynamic resource allocation rule based on the configuration parameter of the device node. Or,
当所述动态资源分配规则包括基于设备节点的总带宽容量的动态资源分 配规则时,按所述基于设备节点的总带宽容量的动态资源分配规则获取所述描 述信息包括的所述总带宽容量对应的资源分配信息; 或者, When the dynamic resource allocation rule includes a dynamic resource allocation rule based on the total bandwidth capacity of the device node, the total bandwidth capacity corresponding to the description information is obtained according to the dynamic resource allocation rule based on the total bandwidth capacity of the device node. Resource allocation information; or,
当所述动态资源分配规则包括基于设备节点的网络流量大小的动态资源 分配规则时,按所述基于设备节点的网络流量大小的动态资源分配规则获取所 述描述信息包括的所述网络流量所对应的资源分配信息。 When the dynamic resource allocation rule includes a dynamic resource allocation rule based on the network traffic size of the device node, the dynamic resource allocation rule based on the network traffic size of the device node acquires the network traffic corresponding to the description information. Resource allocation information.
结合第四方面或第四方面的第一种可能的实现方式或第四方面的第二种 可能的实现方式或第四方面的第三种可能的实现方式,在第四种可能的实现方 式中,所述处理器按预置的动态资源分配规则获取所述描述信息所对应的资源 分配信息包括: In conjunction with the fourth aspect or the first possible implementation of the fourth aspect or the second possible implementation of the fourth aspect or the third possible implementation of the fourth aspect, in a fourth possible implementation The acquiring, by the processor, the resource allocation information corresponding to the description information according to the preset dynamic resource allocation rule includes:
获取当前网络资源状况; Obtain the current network resource status;
按预置的动态资源分配规则获取在所述当前网络资源状况下的所述描述信息 所对应的资源分配信息。 Obtaining resource allocation information corresponding to the description information in the current network resource status according to a preset dynamic resource allocation rule.
由上可见, 在本发明的一些可行的实施方式中, 本发明接收设备节点发送 的资源分配请求,所述资源分配请求携带所述设备节点的用于描述所述设备节 点当前状态的描述信息,按预置的动态资源分配规则获取所述描述信息所对应 的资源分配信息, 进而根据所述资源分配信息对所述设备节点进行资源分配, 这可灵活动态地对设备节点进行配置资源或调整资源,并能够可有效的分配资 源和优化资源分配, 提高资源的利用率, 减少资源浪费。 It can be seen that, in some possible implementation manners of the present invention, the present invention receives a resource allocation request sent by a device node, where the resource allocation request carries description information of the device node for describing a current state of the device node, Obtaining resource allocation information corresponding to the description information according to the preset dynamic resource allocation rule, and performing resource allocation on the device node according to the resource allocation information, which can flexibly and dynamically configure resources or adjust resources of the device node. And can effectively allocate resources and optimize resource allocation, improve resource utilization, and reduce resource waste.
附图说明 DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施 例中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是 本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的 前提下, 还可以根据这些附图获得其他的附图。 In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings to be used in the embodiments will be briefly described below. Obviously, the drawings in the following description are only some of the present invention. For the embodiments, those skilled in the art can obtain other drawings according to the drawings without any creative work.
图 1为本发明提供的一种资源分配的方法的一种实施例流程示意图; 图 2为本发明提供的一种资源分配的方法的另一种实施例流程示意图; 图 3为本发明提供的一种控制设备的一种实施例结构图; 1 is a schematic flowchart of an embodiment of a method for resource allocation according to the present invention; FIG. 2 is a schematic flowchart of another embodiment of a method for resource allocation according to the present invention; A structural diagram of an embodiment of a control device;
图 4为本发明提供的一种控制设备的另一种实施例结构图; 4 is a structural diagram of another embodiment of a control device provided by the present invention;
图 5为本发明提供的一种控制设备的又一种实施例结构图。 具体实施方式 FIG. 5 is a structural diagram of still another embodiment of a control device according to the present invention. detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。基于本发明中的实施例, 本领域普通技术人员在没有作出创造 性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。 BRIEF DESCRIPTION OF THE DRAWINGS The technical solutions in the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative work are within the scope of the present invention.
在以下的实施例中,控制设备可以是路由器或网管等可以进行控制与其连 接的设备的控制设备。 In the following embodiments, the control device may be a control device such as a router or a network management device that can control the connection thereto.
请参见图 1所示的一种资源分配的方法的流程示意图。本发明实施例所示 的一种资源分配的方法包括以下步骤: Please refer to the flow diagram of a method for resource allocation shown in FIG. 1. The embodiment of the invention is shown A method of resource allocation includes the following steps:
S100,接收设备节点发送的资源分配请求,所述资源分配请求携带所述设 备节点的用于描述所述设备节点当前状态的描述信息。 S100. Receive a resource allocation request sent by the device node, where the resource allocation request carries description information of the device node for describing a current state of the device node.
在本发明实施例中, 当设备节点需要控制设备向其分配资源时,设备节点 向控制设备发送资源分配请求,以使控制设备接收设备节点发送的资源分配请 求并响应请求, 对设备节点进行分配资源。 In the embodiment of the present invention, when the device node needs to control the device to allocate resources to the device, the device node sends a resource allocation request to the control device, so that the control device receives the resource allocation request sent by the device node and responds to the request, and allocates the device node. Resources.
优选的,资源分配请求可携带设备节点的用于描述设备节点当前状态的描 述信息, 其中,设备节点当前状态包括设备节点的当前配置情况和设备节点的 当前资源状况等。 则我们可以理解的是,描述信息包括对设备节点所具有的功 能或配置等进行描述的自描述信息, 其中, 描述信息可包括: 设备节点的配置 参数、 设备节点的总带宽容量和设备节点的网络流量中的至少一种或多种组 合。 其中, 配置参数可包括设备节点的接口带宽、 接口数、 存储容量和处理速 度等硬件配置参数, 以及自身的角色信息、 功能等配置参数, 具体的, 设备节 点的角色信息是用于描述设备节点的自身角色, 例如: 隧道发起点、 隧道终结 点、 BRAS ( Broadband Remote Access Server, 宽带远程接入服务器)节点、 PE( Provider Edge,运营商边缘)节点, P( Provider,运营商)节点, CSG( Customer Site Gateway, 用户侧网关)节点, ASG ( Aggregation Site Gateway, 汇聚侧网 关)节点, RSG ( Radio Service Gateway,无线业务侧网关)节点和 RNC ( Radio Network Controller, 无线网络控制器)节点等角色信息。 功能参数可包括代理 功能参数、 休眠功能参数或其他特殊功能参数等。 Preferably, the resource allocation request may carry description information of the device node for describing the current state of the device node, where the current state of the device node includes a current configuration status of the device node and a current resource status of the device node. Then, it can be understood that the description information includes self-describing information describing functions or configurations of the device node, where the description information may include: configuration parameters of the device node, total bandwidth capacity of the device node, and device node At least one or more combinations of network traffic. The configuration parameters may include hardware configuration parameters such as interface bandwidth, interface number, storage capacity, and processing speed of the device node, and configuration parameters such as role information and functions of the device node. Specifically, the role information of the device node is used to describe the device node. Its own role, for example: tunnel origination point, tunnel endpoint, BRAS (Broadband Remote Access Server) node, PE (Provider Edge, Carrier Edge) node, P (Provider, Carrier) node, CSG (Customer Site Gateway, User Side Gateway) node, ASG (Aggregation Site Gateway) node, RSG (Radio Service Gateway) node and RNC (Radio Network Controller) node information. Function parameters can include proxy function parameters, sleep function parameters, or other special function parameters.
由上我们可以理解的是, 在具体应用中, 当设备节点没有管辖的下级设备 时,控制设备接收到的资源分配请求所携带的描述信息可包括设备节点的休眠 功能参数和硬件配置参数等描述信息,也还可包括设备节点的总带宽容量和设 备节点的流量等描述信息。 当设备节点有管辖的下级设备时,控制设备接收到 的资源分配请求所携带的描述信息可包括设备节点的 DHCP Relay ( Dynamic Host Configuration Protocol Relay, 动态主机配置协议中继)功能、 代理功能、 休眠功能和配置参数等描述信息,也还可包括设备节点所管辖的网络的功能和 资源, 例如: 下级网络规模大小、 下级网络的总带宽容量和网络流量等。 具体 的,设备节点还可获得下级设备的描述信息, 并将所述描述信息转发给控制设 备。 进一步的, 控制设备可通过 CNP ( Configuration Negotiation protocol , 配 置协商协议 )协议、 DHCPV6 ( Dynamic Host Configuration Protocol for IPv6 , IPv6的动态主机分配协议)协议、 ND ( Neighbor Discovery, 邻居发现)协议 或路由协议等协议来接收设备节点的携带描述信息的资源分配请求, 即是,设 备节点可通过以上所述的协议来承载所述设备节点的资源分配请求。在本发明 实施例中, 控制设备可与至少一个设备节点建立连接。 As can be understood from the above, in a specific application, when the device node does not have a subordinate device under the jurisdiction, the description information carried by the resource allocation request received by the control device may include a description of the sleep function parameter and the hardware configuration parameter of the device node. The information may also include description information such as the total bandwidth capacity of the device node and the traffic of the device node. When the device node has a subordinate device, the description information carried by the resource allocation request received by the control device may include a DHCP Relay (Dynamic Host Configuration Protocol Relay) function, a proxy function, and a sleep function of the device node. Descriptive information such as functions and configuration parameters may also include the functions and resources of the network under the jurisdiction of the device node, such as: the size of the subordinate network, the total bandwidth capacity of the subordinate network, and the network traffic. Specifically, the device node may also obtain description information of the lower device, and forward the description information to the control device. Further, the control device may adopt a CNP (Configuration Negotiation Protocol) protocol, a DHCPv6 (Dynamic Host Configuration Protocol for IPv6) protocol, an ND (Neighbor Discovery) protocol, or a routing protocol. The protocol is configured to receive a resource allocation request of the device node that carries the description information, that is, the device node may carry the resource allocation request of the device node by using the foregoing protocol. In an embodiment of the invention, the control device can establish a connection with at least one device node.
进一步的,设备节点可实时检测状态是否发生改变,并当状态发生改变时, 设备节点可重新获取设备节点的描述信息, 向控制设备上报新的资源分配请 求。 Further, the device node can detect whether the state changes in real time, and when the state changes, the device node can re-acquire the description information of the device node, and report a new resource allocation request to the control device.
S101, 按预置的动态分配规则获取所述描述信息所对应的资源分配信息。 在本发明实施例中, 控制设备可预置动态资源分配规则, 其中, 动态资源 分配规则可包括不同的描述信息对应的最优的资源分配方式,动态资源分配规 则可以是基于描述信息设计的算法, 该算法可以计算获取最优的资源分配方 式。控制设备可根据动态资源分配规则对设备节点进行最适度分配, 以有效的 分配资源和优化资源分配。其中, 动态资源分配规则可包括基于描述信息的类 型所对应的动态资源分配规则。 S101. Acquire, according to a preset dynamic allocation rule, resource allocation information corresponding to the description information. In the embodiment of the present invention, the control device may preset a dynamic resource allocation rule, where the dynamic resource allocation rule may include an optimal resource allocation manner corresponding to different description information, and the dynamic resource allocation rule may be an algorithm based on description information design. The algorithm can calculate the optimal resource allocation method. The control device can optimally allocate device nodes according to dynamic resource allocation rules to efficiently allocate resources and optimize resource allocation. The dynamic resource allocation rule may include a dynamic resource allocation rule corresponding to the type of the description information.
在本发明实施例中, 由 S100步骤的实施例我们可以获得的是, 描述信息 可包括设备节点的配置参数、设备节点的总带宽容量以及设备节点的网络流量 等中的一种多或多种描述信息, 因此,控制设备可预置动态资源分配规则包括 基于设备节点的配置参数的动态资源分配规则、基于设备节点的总带宽容量分 配规则和设备节点的网络流量的动态资源分配规则等中的至少一种。 In the embodiment of the present invention, it can be obtained by the embodiment of the step S100 that the description information may include one or more of configuration parameters of the device node, total bandwidth capacity of the device node, and network traffic of the device node. Descriptive information, therefore, the control device can preset dynamic resource allocation rules including dynamic resource allocation rules based on configuration parameters of device nodes, total bandwidth capacity allocation rules based on device nodes, and dynamic resource allocation rules of network traffic of device nodes. At least one.
其中优选的,控制设备还可预置基于设备节点的角色信息的动态资源分配 规则。控制设备可根据接收到描述信息的具体数据来调用对应的动态资源分配 规则获取描述信息对应的最优的资源分配信息, 其中, 资源分配信息包括分配 的代理前缀的长度大小和带宽容量, 以及设备节点的休眠功能等配置信息。 Preferably, the control device may also preset a dynamic resource allocation rule based on the role information of the device node. The control device may invoke the corresponding dynamic resource allocation rule to obtain the optimal resource allocation information corresponding to the description information according to the specific data that receives the description information, where the resource allocation information includes the length and bandwidth capacity of the allocated proxy prefix, and the device. Configuration information such as the sleep function of the node.
进一步的,当动态资源分配规则包括基于设备节点的配置参数的动态资源 分配规则时,且控制终端接收的描述信息包括设备节点的配置参数时,控制终 端可按基于设备节点的配置参数的动态资源分配规则获取所述描述信息包括 的配置参数所对应的资源分配信息, 其中, 当配置参数包括设备节点的角色信 息时,控制终端可按预置的基于设备节点的角色信息的动态资源分配规则获取 所述描述信息包括的角色信息所对应的资源分配信息;当动态资源分配规则包 括基于设备节点的总带宽容量的动态资源分配规则,且当控制终端接收的描述 信息包括设备节点的总带宽容量时,控制终端可按基于设备节点的总带宽容量 的动态资源分配规则获取描述信息包括的所述总带宽容量对应的资源分配信 息,当动态资源分配规则包括基于设备节点的网络流量大小的动态资源分配规 贝 且当控制终端接收的描述信息包括设备节点的网络流量大小时,控制终端 可按基于设备节点的网络流量大小的动态资源分配规则获取所述描述信息包 括的所述网络流量所对应的资源分配信息。其中,当描述信息包括多种信息时, 控制终端可结合各信息对应的动态资源分配规则来处理获得最优化的资源分 配信息。 Further, when the dynamic resource allocation rule includes a dynamic resource allocation rule based on the configuration parameter of the device node, and the description information received by the control terminal includes the configuration parameter of the device node, the control terminal may use the dynamic resource based on the configuration parameter of the device node. The allocation rule acquires the resource allocation information corresponding to the configuration parameter included in the description information, where, when the configuration parameter includes the role information of the device node, the control terminal may obtain the preset dynamic resource allocation rule based on the role information of the device node. The description information includes resource allocation information corresponding to the role information; when the dynamic resource allocation rule includes a dynamic resource allocation rule based on the total bandwidth capacity of the device node, and when the description information received by the control terminal includes the total bandwidth capacity of the device node, The control terminal may obtain resource allocation information corresponding to the total bandwidth capacity included in the description information according to a dynamic resource allocation rule based on the total bandwidth capacity of the device node, where the dynamic resource allocation rule includes dynamic resource allocation based on the network traffic size of the device node. When the description information received by the control terminal includes the network traffic size of the device node, the control terminal may acquire the resource corresponding to the network traffic included in the description information according to the dynamic resource allocation rule based on the network traffic size of the device node. Assign information. Wherein, when the description information includes multiple types of information, the control terminal may process the optimized resource allocation information by combining the dynamic resource allocation rules corresponding to the respective information.
S102, 根据所述资源分配信息对所述设备节点进行资源分配。 S102. Perform resource allocation on the device node according to the resource allocation information.
在本发明实施例中,控制设备将获得的资源分配信息发送给设备节点, 以 使设备节点根据所述资源分配信息进行配置, 获得分配的资源。 其中, 控制设 备可通过 CNP协议、 DHCPV6协议、 ND协议或路由协议等协议来承载所述 资源信息并下发给节点设备。所述资源信息可包括对节点分配的代理前缀的长 度大小和负载带宽大小, 以及控制节点设备的休眠功能等配置信息。 In the embodiment of the present invention, the control device sends the obtained resource allocation information to the device node, so that the device node performs configuration according to the resource allocation information to obtain the allocated resource. The control device may carry the resource information and send the information to the node device through a protocol such as a CNP protocol, a DHCPV6 protocol, an ND protocol, or a routing protocol. The resource information may include a length of a proxy prefix allocated to the node and a load bandwidth size, and configuration information such as a sleep function of the control node device.
在本发明实施例中, 当节点设备有管辖的下级设备节点并当节点设备接收 到控制设备发送的资源分配信息时,节点设备可将获得的资源分配给下级设备 节点, 其中, 分配方式可以是设备节点根据获得的各下级设备的描述信息进行 资源分配, 具体分配方式可参照以上的实施例所描述的分配方式,在此不再进 行赞述。进一步的,设备节点还可根据预置的动态资源分配规则主动对各下级 设备继续资源分配。 In the embodiment of the present invention, when the node device has a subordinate device node that is under the jurisdiction and the node device receives the resource allocation information sent by the control device, the node device may allocate the obtained resource to the subordinate device node, where the allocation mode may be The device node performs resource allocation according to the obtained description information of each lower-level device. For the specific allocation manner, refer to the allocation manner described in the foregoing embodiment, and no further description is provided herein. Further, the device node may actively continue resource allocation to each lower-level device according to the preset dynamic resource allocation rule.
在本发明实施例中,当控制设备接收到设备节点发送的携带描述信息的资 源分配请求时,控制设备根据预置的动态资源分配规则获取描述信息所对应的 资源分配信息, 并根据所述资源分配信息对设备节点进行资源分配, 这可有效 的分配资源和优化资源分配, 提高资源的利用率。 In the embodiment of the present invention, when the control device receives the resource allocation request that carries the description information sent by the device node, the control device acquires the resource allocation information corresponding to the description information according to the preset dynamic resource allocation rule, and according to the resource. The allocation information allocates resources to the device nodes, which can effectively allocate resources and optimize resource allocation, and improve resource utilization.
请参见图 2所示的一种资源分配的方法的流程示意图。本发明实施例所示 的一种资源分配的方法包括以下步骤: Please refer to the flow diagram of a method for resource allocation shown in FIG. 2. A method for resource allocation shown in the embodiment of the present invention includes the following steps:
S200,接收设备节点发送的资源分配请求,所述资源分配请求携带所述设 备节点的用于描述所述设备节点当前状态的描述信息。 在本发明实施例中, 当设备节点需要控制设备向其分配资源时,设备节点 向控制设备发送资源分配请求,以使控制设备接收设备节点发送的资源分配请 求并响应请求, 对设备节点进行分配资源。 S200. Receive a resource allocation request sent by the device node, where the resource allocation request carries description information of the device node for describing a current state of the device node. In the embodiment of the present invention, when the device node needs to control the device to allocate resources to the device, the device node sends a resource allocation request to the control device, so that the control device receives the resource allocation request sent by the device node and responds to the request, and allocates the device node. Resources.
优选的,资源分配请求可携带设备节点的用于描述设备节点当前状态的描 述信息, 其中,设备节点当前状态包括设备节点的当前配置情况和设备节点的 当前资源状况等。 则我们可以理解的是,描述信息包括对设备节点所具有的功 能或配置等进行描述的自描述信息, 其中, 描述信息可包括: 设备节点的配置 参数、 设备节点的总带宽容量和设备节点的网络流量中的至少一种或多种组 合。 其中, 配置参数可包括设备节点的接口带宽、 接口数、 存储容量和处理速 度等硬件配置参数, 以及自身的角色信息、 功能等配置参数, 具体的, 设备节 点的角色信息可包括: 隧道发起点、 隧道终结点、 BRAS ( Broadband Remote Access Server, 宽带远程接入服务器)节点、 PE ( Provider Edge, 运营商边缘) 节点, P ( Provider, 运营商) 节点, CSG ( Customer Site Gateway, 用户侧网 关)节点, ASG ( Aggregation Site Gateway, 汇聚侧网关)节点, RSG ( Radio Service Gateway, 无线业务侧网关)节点和 RNC ( Radio Network Controller, 无线网络控制器)节点等角色信息。 功能参数可包括代理功能参数、 休眠功能 参数或其他特殊功能参数等。 Preferably, the resource allocation request may carry description information of the device node for describing the current state of the device node, where the current state of the device node includes a current configuration status of the device node and a current resource status of the device node. Then, it can be understood that the description information includes self-describing information describing functions or configurations of the device node, where the description information may include: configuration parameters of the device node, total bandwidth capacity of the device node, and device node At least one or more combinations of network traffic. The configuration parameters may include hardware configuration parameters such as interface bandwidth, interface number, storage capacity, and processing speed of the device node, and configuration parameters such as role information and functions of the device node. Specifically, the role information of the device node may include: , Tunnel Endpoint, BRAS (Broadband Remote Access Server) Node, PE (Provider Edge, Carrier Edge) Node, P (Provider, Carrier) Node, CSG (Customer Site Gateway) Role information such as nodes, ASG (Aggregation Site Gateway) nodes, RSG (Radio Service Gateway) nodes, and RNC (Radio Network Controller) nodes. Function parameters can include proxy function parameters, sleep function parameters, or other special function parameters.
由上我们可以理解的是, 在具体应用中, 当设备节点没有管辖的下级设备 时,控制设备接收到的资源分配请求所携带的描述信息可包括设备节点的休眠 功能参数和硬件配置参数等描述信息,也还可包括设备节点的总带宽容量和设 备节点的流量等描述信息。 当设备节点有管辖的下级设备时,控制设备接收到 的资源分配请求所携带的描述信息可包括设备节点的 DHCP Relay ( Dynamic Host Configuration Protocol Relay, 动态主机配置协议中继)功能、 代理功能、 休眠功能和配置参数等描述信息,也还可包括设备节点所管辖的网络的功能和 资源, 例如: 下级网络规模大小、 下级网络的总带宽容量和网络流量等。 具体 的,设备节点还可获得下级设备的描述信息, 并将所述描述信息转发给控制设 备。 As can be understood from the above, in a specific application, when the device node does not have a subordinate device under the jurisdiction, the description information carried by the resource allocation request received by the control device may include a description of the sleep function parameter and the hardware configuration parameter of the device node. The information may also include description information such as the total bandwidth capacity of the device node and the traffic of the device node. When the device node has a subordinate device, the description information carried by the resource allocation request received by the control device may include a DHCP Relay (Dynamic Host Configuration Protocol Relay) function, a proxy function, and a sleep function of the device node. Descriptive information such as functions and configuration parameters may also include the functions and resources of the network under the jurisdiction of the device node, such as: the size of the subordinate network, the total bandwidth capacity of the subordinate network, and the network traffic. Specifically, the device node may also obtain description information of the lower device, and forward the description information to the control device.
进一步的, 控制设备可通过 CNP协议、 DHCPV6协议、 ND协议或路由 协议等协议来接收设备节点的携带描述信息的资源分配请求, 即是,设备节点 可通过以上所述的协议来承载所述设备节点的资源分配请求。在本发明实施例 中, 控制设备可与至少一个设备节点建立连接。 Further, the control device may receive the resource allocation request of the device node carrying the description information by using a protocol such as the CNP protocol, the DHCPV6 protocol, the ND protocol, or the routing protocol, that is, the device node may carry the device by using the protocol described above. The resource allocation request for the node. In the embodiment of the invention The control device can establish a connection with at least one device node.
进一步的,设备节点可实时检测状态是否发生改变,并当状态发生改变时, 设备节点可重新获取设备节点的描述信息, 向控制设备上报新的资源分配请 求。 Further, the device node can detect whether the state changes in real time, and when the state changes, the device node can re-acquire the description information of the device node, and report a new resource allocation request to the control device.
S201 , 获取当前网络资源状况。 S201. Obtain a current network resource status.
在本发明实施例中, 终端设备可获取当前网络资源的描述信息, 其中, 当 前网络资源的描述信息可包括当前可用资源容量、 当前地址资源剩余量、上行 带宽容量和上行带宽占用可用资源比例等等描述控制设备当前网络情况的描 述信息。 In the embodiment of the present invention, the terminal device may obtain the description information of the current network resource, where the description information of the current network resource may include the current available resource capacity, the current address resource remaining amount, the uplink bandwidth capacity, and the proportion of available resources occupied by the uplink bandwidth. Describe the description information of the current network condition of the control device.
S202,按预置的动态资源分配规则获取在所述当前网络资源状况下的所述 描述信息所对应的资源分配信息。 置不同的描述信息对应的最优的资源分配方式,动态资源分配规则可以是基于 控制设备的网络资源状况和描述信息设计的算法,该算法可以计算获取最优的 资源分配方式。 S202. Acquire resource allocation information corresponding to the description information in the current network resource status according to a preset dynamic resource allocation rule. The optimal resource allocation manner corresponding to different description information may be an algorithm based on the network resource status and description information of the control device, and the algorithm may calculate and obtain an optimal resource allocation manner.
在本发明实施例中,控制设备可在当前资源状况下根据动态资源分配规则 对设备节点进行最适度分配, 以有效的分配资源和优化资源分配。 例如: 当控 制设备的可用资源容量比较多时,控制设备可向节点设备适度分配比较多的资 源, 当控制设备的可用资源容量比较少时,控制设备可向节点设备适度调整分 配比较少的资源。其中,分配的过程都符合动态资源分配规则的最优分配原则。 因此,控制设备可根据接收到的描述信息和控制设备当前的网络资源状况获取 描述信息对应的最优的资源分配信息, 其中, 资源分配信息包括分配的代理前 缀的长度大小和带宽容量, 以及设备节点的休眠功能等配置信息。 In the embodiment of the present invention, the control device may optimally allocate the device nodes according to the dynamic resource allocation rule under the current resource condition, so as to effectively allocate resources and optimize resource allocation. For example, when the available resource capacity of the control device is relatively large, the control device can appropriately allocate more resources to the node device. When the available resource capacity of the control device is relatively small, the control device can appropriately adjust the allocation of less resources to the node device. Among them, the process of allocation is in line with the principle of optimal allocation of dynamic resource allocation rules. Therefore, the control device may obtain the optimal resource allocation information corresponding to the description information according to the received description information and the current network resource status of the control device, where the resource allocation information includes the length and bandwidth capacity of the allocated proxy prefix, and the device. Configuration information such as the sleep function of the node.
S203, 根据所述资源分配信息对所述设备节点进行资源分配。 S203. Perform resource allocation on the device node according to the resource allocation information.
在本发明实施例中,控制设备将获得的资源分配信息发送给设备节点, 以 使设备节点根据所述资源分配信息进行配置, 获得分配的资源。 其中, 控制设 备可通过 CNP协议、 DHCPV6协议、 ND协议或路由协议等协议来承载所述 资源信息并下发给节点设备。所述资源信息可包括对节点分配的代理前缀的长 度大小和负载带宽大小, 以及控制节点设备的休眠功能等配置信息。 In the embodiment of the present invention, the control device sends the obtained resource allocation information to the device node, so that the device node performs configuration according to the resource allocation information to obtain the allocated resource. The control device may carry the resource information and send the information to the node device through a protocol such as a CNP protocol, a DHCPV6 protocol, an ND protocol, or a routing protocol. The resource information may include a length of a proxy prefix allocated to the node and a load bandwidth size, and configuration information such as a sleep function of the control node device.
在本发明实施例中,当节点设备有管辖的下级设备节点并当节点设备接收到控 制设备发送的资源分配信息时, 节点设备可将获得的资源分配给下级设备节 点, 其中, 具体的分配方式可参照以上的实施例所描述的分配方式, 在此不再 进行赘述。 In the embodiment of the present invention, when the node device has a subordinate device node under the jurisdiction and receives the control from the node device When the resource allocation information is sent by the device, the node device may allocate the obtained resource to the lower-level device node, and the specific allocation manner may refer to the allocation manner described in the foregoing embodiment, and details are not described herein again.
在本发明实施例中,当控制设备接收到设备节点发送的携带描述信息的资 源分配请求时,控制设备获取当前网络资源状况, 并根据预置的动态资源分配 规则获取描述信息所对应的资源分配信息,并根据所述资源分配信息对设备节 点进行资源分配, 这可有效的分配资源和优化资源分配, 提高资源的利用率。 In the embodiment of the present invention, when the control device receives the resource allocation request that carries the description information sent by the device node, the control device acquires the current network resource status, and acquires the resource allocation corresponding to the description information according to the preset dynamic resource allocation rule. Information, and resource allocation of device nodes according to the resource allocation information, which can effectively allocate resources and optimize resource allocation, and improve resource utilization.
请参见图 3, 为本发明实施例提供的一种控制设备。 如图 3所示, 本实施 例所述的一种控制设备可包括: Referring to FIG. 3, a control device according to an embodiment of the present invention is provided. As shown in FIG. 3, a control device in this embodiment may include:
接收单元 100, 用于接收设备节点发送的资源分配请求, 所述资源分配请 求携带所述设备节点的用于描述所述设备节点当前状态的描述信息。 The receiving unit 100 is configured to receive a resource allocation request sent by the device node, where the resource allocation request carries description information of the device node for describing a current state of the device node.
在本发明实施例中, 当设备节点需要控制设备向其分配资源时,设备节点 向控制设备发送资源分配请求,以使控制设备的接收单元 100接收设备节点发 送的资源分配请求并使控制设备响应请求, 对设备节点进行分配资源。 In the embodiment of the present invention, when the device node needs to control the device to allocate resources to the device, the device node sends a resource allocation request to the control device, so that the receiving unit 100 of the control device receives the resource allocation request sent by the device node and causes the control device to respond. Request, allocate resources to device nodes.
优选的,资源分配请求可携带设备节点的用于描述设备节点当前状态的描 述信息, 其中,设备节点当前状态包括设备节点的当前配置情况和设备节点的 当前资源状况等。 则我们可以理解的是,描述信息包括对设备节点所具有的功 能或配置等进行描述的自描述信息, 其中, 描述信息可包括: 设备节点的配置 参数、 设备节点的总带宽容量和设备节点的网络流量中的至少一种或多种组 合。 其中, 配置参数可包括设备节点的接口带宽、 接口数、 存储容量和处理速 度等硬件配置参数, 以及自身的角色信息、 功能等配置参数, 具体的, 设备节 点的角色信息可包括: 隧道发起点、 隧道终结点、 BRAS ( Broadband Remote Access Server, 宽带远程接入服务器)节点、 PE ( Provider Edge, 运营商边缘) 节点, P ( Provider, 运营商) 节点, CSG ( Customer Site Gateway, 用户侧网 关)节点, ASG ( Aggregation Site Gateway, 汇聚侧网关)节点, RSG ( Radio Service Gateway, 无线业务侧网关)节点和 RNC ( Radio Network Controller, 无线网络控制器)节点等节点的角色信息。 功能参数可包括代理功能参数、 休 眠功能参数或其他特殊功能参数等。 Preferably, the resource allocation request may carry description information of the device node for describing the current state of the device node, where the current state of the device node includes a current configuration status of the device node and a current resource status of the device node. Then, it can be understood that the description information includes self-describing information describing functions or configurations of the device node, where the description information may include: configuration parameters of the device node, total bandwidth capacity of the device node, and device node At least one or more combinations of network traffic. The configuration parameters may include hardware configuration parameters such as interface bandwidth, interface number, storage capacity, and processing speed of the device node, and configuration parameters such as role information and functions of the device node. Specifically, the role information of the device node may include: , Tunnel Endpoint, BRAS (Broadband Remote Access Server) Node, PE (Provider Edge, Carrier Edge) Node, P (Provider, Carrier) Node, CSG (Customer Site Gateway) Role information of nodes such as nodes, ASG (Aggregation Site Gateway) nodes, RSG (Radio Service Gateway) nodes, and RNC (Radio Network Controller) nodes. Function parameters can include proxy function parameters, sleep function parameters, or other special function parameters.
由上我们可以理解的是, 在具体应用中, 当设备节点没有管辖的下级设备 时,接收单元 100接收到的资源分配请求所携带的描述信息可包括设备节点的 休眠功能参数和硬件配置参数等描述信息,也还可包括设备节点的总带宽容量 和设备节点的流量等描述信息。 当设备节点有管辖的下级设备时, 接收单元It can be understood from the above that, in a specific application, when the device node does not have a subordinate device under the jurisdiction, the description information carried by the resource allocation request received by the receiving unit 100 may include the device node. The description information such as the sleep function parameter and the hardware configuration parameter may also include description information such as the total bandwidth capacity of the device node and the traffic of the device node. Receiving unit when the device node has a subordinate device under its jurisdiction
100接收到的资源分配请求所携带的描述信息可包括设备节点的 DHCP Relay ( Dynamic Host Configuration Protocol Relay, 动态主机配置协议中继)功能、 代理功能、休眠功能和配置参数等描述信息,也还可包括设备节点所管辖的网 络的功能和资源, 例如: 下级网络规模大小、 下级网络的总带宽容量和网络流 量等。 具体的, 设备节点还可获得下级设备的描述信息, 并将所述描述信息转 发给控制设备。 The description information carried by the received resource allocation request may include description information of a DHCP Relay (Dynamic Host Configuration Protocol Relay) function, a proxy function, a sleep function, and configuration parameters of the device node, and may also be It includes the functions and resources of the network under the jurisdiction of the device node, such as: the size of the subordinate network, the total bandwidth capacity of the subordinate network, and network traffic. Specifically, the device node may also obtain description information of the lower device, and forward the description information to the control device.
进一步的, 接收单元 100可通过 CNP协议、 DHCPV6协议、 ND协议或 路由协议等协议来接收设备节点的携带描述信息的资源分配请求, 即是,设备 节点可通过以上所述的协议来承载所述设备节点的资源分配请求。在本发明实 施例中, 控制设备可与至少一个设备节点建立连接。 Further, the receiving unit 100 may receive the resource allocation request of the device node carrying the description information by using a protocol such as the CNP protocol, the DHCPV6 protocol, the ND protocol, or the routing protocol, that is, the device node may carry the foregoing by using the protocol described above. Resource allocation request for the device node. In an embodiment of the invention, the control device can establish a connection with at least one device node.
进一步的,设备节点可实时检测状态是否发生改变,并当状态发生改变时, 设备节点可重新获取设备节点的描述信息,向控制设备的接收单元 100上报新 的资源分配请求。 Further, the device node can detect whether the state changes in real time, and when the state changes, the device node can re-acquire the description information of the device node, and report the new resource allocation request to the receiving unit 100 of the control device.
获取单元 200, 用于按预置的动态资源分配规则获取所述描述信息所对应 的资源分配信息。 The obtaining unit 200 is configured to acquire resource allocation information corresponding to the description information according to a preset dynamic resource allocation rule.
获取单元 200可根据接收单元 100接收到描述信息的具体数据来调用对应 的动态资源分配规则获取描述信息对应的最优的资源分配信息, 其中, 资源分 配信息包括分配的代理前缀的长度大小和带宽容量,以及设备节点的休眠功能 等配置信息。 The obtaining unit 200 may, according to the specific data that the receiving unit 100 receives the description information, invoke the corresponding dynamic resource allocation rule to obtain the optimal resource allocation information corresponding to the description information, where the resource allocation information includes the length and bandwidth of the allocated proxy prefix. Configuration information such as capacity and sleep function of the device node.
进一步的,当动态资源分配规则包括基于设备节点的配置参数的动态资源 分配规则, 且当描述信息包括设备节点的配置参数时, 获取单元 200可按基于 设备节点的配置参数的动态资源分配规则获取所述描述信息包括的配置参数 所对应的资源分配信息;当动态资源分配规则包括基于设备节点的总带宽容量 的动态资源分配规则,且当描述信息包括设备节点的总带宽容量时, 获取单元 200 可按基于设备节点的总带宽容量的动态资源分配规则获取描述信息包括 的所述总带宽容量对应的资源分配信息,当动态资源分配规则包括基于设备节 点的网络流量大小的动态资源分配规则,且当描述信息包括设备节点的网络流 量大小时,获取单元 200可按基于设备节点的网络流量大小的动态资源分配规 则获取所述描述信息包括的所述网络流量所对应的资源分配信息。 分配单元 300, 用于根据所述资源分配信息对所述设备节点进行资源分 配。 Further, when the dynamic resource allocation rule includes a dynamic resource allocation rule based on the configuration parameter of the device node, and when the description information includes the configuration parameter of the device node, the obtaining unit 200 may obtain the dynamic resource allocation rule based on the configuration parameter of the device node. The resource allocation information corresponding to the configuration parameter included in the description information; when the dynamic resource allocation rule includes a dynamic resource allocation rule based on the total bandwidth capacity of the device node, and when the description information includes the total bandwidth capacity of the device node, the obtaining unit 200 The resource allocation rule corresponding to the total bandwidth capacity included in the description information may be obtained according to a dynamic resource allocation rule based on the total bandwidth capacity of the device node, where the dynamic resource allocation rule includes a dynamic resource allocation rule based on the network traffic size of the device node, and When the description information includes the network traffic size of the device node, the obtaining unit 200 may perform a dynamic resource allocation rule based on the network traffic size of the device node. And acquiring resource allocation information corresponding to the network traffic included in the description information. The allocating unit 300 is configured to perform resource allocation on the device node according to the resource allocation information.
在本发明实施例中, 分配单元 300将获得的资源分配信息发送给设备节 点, 以使设备节点根据所述资源分配信息进行配置, 获得分配的资源。 其中, 分配单元 300可通过 CNP协议、 DHCPV6协议、 ND协议或路由协议等协议 来承载所述资源信息并下发给节点设备。所述资源信息可包括对节点分配的代 理前缀的长度大小和负载带宽大小, 以及控制节点设备的休眠功能等配置信 息。 In the embodiment of the present invention, the allocating unit 300 sends the obtained resource allocation information to the device node, so that the device node performs configuration according to the resource allocation information to obtain the allocated resource. The allocating unit 300 may carry the resource information and deliver the resource information to the node device through a protocol such as a CNP protocol, a DHCPV6 protocol, an ND protocol, or a routing protocol. The resource information may include a length of a proxy prefix allocated to the node and a size of the load bandwidth, and configuration information such as a sleep function of the control node device.
在本发明实施例中, 当节点设备有管辖的下级设备节点并当节点设备接收 到控制设备发送的资源分配信息时,节点设备可将获得的资源分配给下级设备 节点, 其中, 分配方式可以是设备节点根据获得的各下级设备的描述信息进行 资源分配, 具体分配方式可参照以上的实施例所描述的分配方式,在此不再进 行赞述。进一步的,设备节点还可根据预置的动态资源分配规则主动对各下级 设备继续资源分配。 In the embodiment of the present invention, when the node device has a subordinate device node that is under the jurisdiction and the node device receives the resource allocation information sent by the control device, the node device may allocate the obtained resource to the subordinate device node, where the allocation mode may be The device node performs resource allocation according to the obtained description information of each lower-level device. For the specific allocation manner, refer to the allocation manner described in the foregoing embodiment, and no further description is provided herein. Further, the device node may actively continue resource allocation to each lower-level device according to the preset dynamic resource allocation rule.
其中, 所述控制设备还可包括: The control device may further include:
制定单元 400, 制定所述动态资源分配规则。 The unit 400 is configured to formulate the dynamic resource allocation rule.
在本发明实施例中, 制定单元 400可预置动态资源分配规则, 其中, 动态 资源分配规则可包括不同的描述信息对应的最优的资源分配方式,动态资源分 配规则可以是基于描述信息设计的算法,该算法可以计算获取最优的资源分配 方式。使得控制设备可根据动态资源分配规则对设备节点进行最适度分配, 以 有效的分配资源和优化资源分配。其中, 动态资源分配规则可包括基于描述信 息的类型所对应的动态资源分配规则。 In the embodiment of the present invention, the formulating unit 400 may preset a dynamic resource allocation rule, where the dynamic resource allocation rule may include an optimal resource allocation manner corresponding to different description information, and the dynamic resource allocation rule may be based on the description information. Algorithm, which can calculate the optimal resource allocation method. The control device can optimally allocate device nodes according to dynamic resource allocation rules to efficiently allocate resources and optimize resource allocation. The dynamic resource allocation rule may include a dynamic resource allocation rule corresponding to the type of the description information.
在本发明实施例中,我们可以理解的是,描述信息可包括设备节点的配置 参数、设备节点的总带宽容量以及设备节点的网络流量等中的一种多或多种描 述信息, 因此, 制定单元 400可预置动态资源分配规则包括基于设备节点的配 置参数的动态资源分配规则、基于设备节点的总带宽容量分配规则和设备节点 的网络流量的动态资源分配规则等中的至少一种。 进一步的,控制设备还可预 置基于设备节点的角色信息的动态资源分配规则。 In the embodiment of the present invention, it can be understood that the description information may include one or more description information of configuration parameters of the device node, total bandwidth capacity of the device node, and network traffic of the device node, and therefore, The unit 400 may preset at least one of a dynamic resource allocation rule including a dynamic resource allocation rule based on a configuration parameter of the device node, a total bandwidth capacity allocation rule based on the device node, and a dynamic resource allocation rule of the network traffic of the device node. Further, the control device can also preset a dynamic resource allocation rule based on the role information of the device node.
其中, 所述获取单元 200还包括: 第一获取子单元 10、 第二获取子单元 20和第三获取子单元 30中的至少一个, 其中 The acquiring unit 200 further includes: a first acquiring subunit 10 and a second acquiring subunit At least one of 20 and a third acquisition subunit 30, wherein
第一获取子单元 10, 用于当所述动态资源分配规则包括基于设备节点的 配置参数的动态资源分配规则时,按所述基于设备节点的配置参数的动态资源 分配规则获取所述描述信息包括的配置参数所对应的资源分配信息。 a first obtaining sub-unit 10, configured to: when the dynamic resource allocation rule includes a dynamic resource allocation rule based on a configuration parameter of the device node, obtain the description information according to the dynamic resource allocation rule based on the configuration parameter of the device node, including Resource allocation information corresponding to the configuration parameters.
在本发明实施例中,当动态资源分配规则包括基于设备节点的配置参数的 动态资源分配规则,且当描述信息包括设备节点的配置参数时, 第一获取子单 元 10可按基于设备节点的配置参数的动态资源分配规则获取所述描述信息包 括的配置参数所对应的资源分配信息。 In the embodiment of the present invention, when the dynamic resource allocation rule includes a dynamic resource allocation rule based on the configuration parameter of the device node, and when the description information includes the configuration parameter of the device node, the first obtaining subunit 10 may be configured according to the device node. The dynamic resource allocation rule of the parameter acquires resource allocation information corresponding to the configuration parameter included in the description information.
第二获取子单元 20, 用于当所述动态资源分配规则包括基于设备节点的 总带宽容量的动态资源分配规则时,按所述基于设备节点的总带宽容量的动态 资源分配规则获取所述描述信息包括的所述总带宽容量对应的资源分配信息。 a second obtaining sub-unit 20, configured to acquire, according to the dynamic resource allocation rule based on the total bandwidth capacity of the device node, when the dynamic resource allocation rule includes a dynamic resource allocation rule based on a total bandwidth capacity of the device node The resource allocation information corresponding to the total bandwidth capacity included in the information.
在本发明实施例中,当动态资源分配规则包括基于设备节点的总带宽容量 的动态资源分配规则,且当描述信息包括设备节点的总带宽容量时, 第二获取 子单元 20可按基于设备节点的总带宽容量的动态资源分配规则获取所述描述 信息包括的总带宽容量所对应的资源分配信息。 In the embodiment of the present invention, when the dynamic resource allocation rule includes a dynamic resource allocation rule based on the total bandwidth capacity of the device node, and when the description information includes the total bandwidth capacity of the device node, the second obtaining subunit 20 may be based on the device node. The dynamic resource allocation rule of the total bandwidth capacity acquires resource allocation information corresponding to the total bandwidth capacity included in the description information.
第三获取子单元 30, 用于当所述动态资源分配规则包括基于设备节点的 网络流量大小的动态资源分配规则时,按所述基于设备节点的网络流量大小的 动态资源分配规则获取所述描述信息包括的所述网络流量所对应的资源分配 信息。 a third obtaining sub-unit 30, configured to acquire the description according to the dynamic resource allocation rule based on the network traffic size of the device node when the dynamic resource allocation rule includes a dynamic resource allocation rule based on the network traffic size of the device node The resource allocation information corresponding to the network traffic included in the information.
在本发明实施例中,当动态资源分配规则包括基于设备节点的网络流量大 小的动态资源分配规则, 且当描述信息包括设备节点的网络流量大小时, 第三 获取子单元 30可按基于设备节点的网络流量大小的动态资源分配规则获取所 述描述信息包括的网络流量大小所对应的资源分配信息。 In the embodiment of the present invention, when the dynamic resource allocation rule includes a dynamic resource allocation rule based on the network traffic size of the device node, and when the description information includes the network traffic size of the device node, the third obtaining subunit 30 may be based on the device node. The dynamic resource allocation rule of the network traffic size acquires resource allocation information corresponding to the network traffic size included in the description information.
在本发明实施例中,当接收单元 100接收到设备节点发送的携带描述信息 的资源分配请求时,通知获取单元 200根据预置的动态资源分配规则获取描述 信息所对应的资源分配信息,并通知分配单元 300根据所述资源分配信息对设 备节点进行资源分配, 这可有效的分配资源和优化资源分配,提高资源的利用 率。 In the embodiment of the present invention, when the receiving unit 100 receives the resource allocation request that carries the description information sent by the device node, the notification acquiring unit 200 acquires the resource allocation information corresponding to the description information according to the preset dynamic resource allocation rule, and notifies the The allocating unit 300 performs resource allocation on the device node according to the resource allocation information, which can effectively allocate resources and optimize resource allocation, and improve resource utilization.
请参见图 4, 为本发明实施例提供的一种控制设备。 如图 4所示, 本实施 例所述的一种控制设备可包括: 接收单元 100、 获取单元 200和分配单元 300; Referring to FIG. 4, a control device according to an embodiment of the present invention is provided. As shown in FIG. 4, a control device in this embodiment may include: Receiving unit 100, obtaining unit 200 and allocating unit 300;
其中, 所述获取单元还包括: The obtaining unit further includes:
第四获取子单元 40, 用于获取当前网络资源状况。 The fourth obtaining sub-unit 40 is configured to acquire a current network resource status.
在本发明实施例中,第四获取子单元 40可获取当前网络资源的描述信息, 其中, 当前网络资源的描述信息可包括当前可用资源容量、 当前地址资源剩余 量、上行带宽容量和上行带宽占用可用资源比例等等描述控制设备当前网络情 况的描述信息。 In the embodiment of the present invention, the fourth obtaining sub-unit 40 may obtain the description information of the current network resource, where the description information of the current network resource may include the current available resource capacity, the current address resource remaining amount, the uplink bandwidth capacity, and the uplink bandwidth occupation. Describe the information about the current network conditions of the control device, such as the ratio of available resources.
第五获取子单元 50, 用于按预置的动态资源分配规则获取在所述当前网 络资源状况下的所述描述信息所对应的资源分配信息。 置不同的描述信息对应的最优的资源分配方式,动态资源分配规则可以是基于 控制设备的网络资源状况和描述信息设计的算法,该算法可以计算获取最优的 资源分配方式。 The fifth obtaining sub-unit 50 is configured to obtain resource allocation information corresponding to the description information in the current network resource status according to a preset dynamic resource allocation rule. The optimal resource allocation manner corresponding to different description information may be an algorithm based on the network resource status and description information of the control device, and the algorithm may calculate and obtain an optimal resource allocation manner.
在本发明实施例中, 第五获取子单元 50可在当前资源状况下根据动态资 源分配规则对设备节点进行最适度分配, 以有效的分配资源和优化资源分配。 例如: 当控制设备的可用资源容量比较多时, 第五获取子单元 50可向节点设 备适度分配比较多的资源, 当控制设备的可用资源容量比较少时, 第五获取子 单元 50可向节点设备适度调整分配比较少的资源。 其中, 分配的过程都符合 动态资源分配规则的最优分配原则。 因此, 第五获取子单元 50可根据接收到 的描述信息和控制设备当前的网络资源状况获取描述信息对应的最优的资源 分配信息, 其中, 资源分配信息包括分配的代理前缀的长度大小和带宽容量, 以及设备节点的休眠功能等配置信息。 In the embodiment of the present invention, the fifth obtaining sub-unit 50 can optimally allocate the device nodes according to the dynamic resource allocation rule under the current resource condition, so as to effectively allocate resources and optimize resource allocation. For example, when the available resource capacity of the control device is relatively large, the fifth obtaining sub-unit 50 can appropriately allocate more resources to the node device. When the available resource capacity of the control device is relatively small, the fifth obtaining sub-unit 50 can moderately to the node device. Adjust the resources that are allocated less. Among them, the process of allocation is in line with the principle of optimal allocation of dynamic resource allocation rules. Therefore, the fifth obtaining sub-unit 50 may obtain the optimal resource allocation information corresponding to the description information according to the received description information and the current network resource status of the control device, where the resource allocation information includes the length and bandwidth of the allocated proxy prefix. Configuration information such as capacity and sleep function of the device node.
在本发明实施例中,当接收单元 100接收到设备节点发送的携带描述信息 的资源分配请求时,通知获取单元 200控制设备获取当前网络资源状况, 并根 据预置的动态资源分配规则获取描述信息所对应的资源分配信息,并通知分配 单元 300根据所述资源分配信息对设备节点进行资源分配,这可有效的分配资 源和优化资源分配, 提高资源的利用率。 In the embodiment of the present invention, when the receiving unit 100 receives the resource allocation request that carries the description information sent by the device node, the notification acquiring unit 200 controls the device to acquire the current network resource status, and obtains the description information according to the preset dynamic resource allocation rule. Corresponding resource allocation information, and notifying the allocating unit 300 to perform resource allocation on the device node according to the resource allocation information, which can effectively allocate resources and optimize resource allocation, and improve resource utilization.
请参见图 5, 为本发明实施例提供的一种控制设备。 如图 5所示, 本实施 例所述的一种控制设备 300可包括: Referring to FIG. 5, a control device according to an embodiment of the present invention is provided. As shown in FIG. 5, a control device 300 according to this embodiment may include:
处理器 201 (终端中的处理器 201的数量可以一个或多个, 图 5以一个处 理器为例;)、存储器 202、输出装置 203和输入装置 204。在本发明的实施例中, 处理器 201、 存储器 202、 输出装置 203和输入装置 204可通过总线或其它方 式连接, 其中, 图 5中以通过总线连接为例。 Processor 201 (the number of processors 201 in the terminal may be one or more, Figure 5 is in one place The processor is an example; the memory 202, the output device 203, and the input device 204. In the embodiment of the present invention, the processor 201, the memory 202, the output device 203, and the input device 204 may be connected by a bus or other means, wherein the bus connection is taken as an example in FIG.
其中, 处理器 201执行如下步骤: The processor 201 performs the following steps:
控制所述输入装置 204接收设备节点发送的资源分配请求,所述资源分配 请求携带所述设备节点的用于描述所述设备节点当前状态的描述信息; Controlling the input device 204 to receive a resource allocation request sent by the device node, where the resource allocation request carries description information of the device node for describing a current state of the device node;
按预置的动态资源分配规则获取所述描述信息所对应的资源分配信息; 根据所述资源分配信息对所述设备节点进行资源分配。 Obtaining resource allocation information corresponding to the description information according to the preset dynamic resource allocation rule; and performing resource allocation on the device node according to the resource allocation information.
其中, 所述描述信息包括: 所述设备节点的配置参数、 所述设备节点的总 带宽容量以及所述设备节点的网络流量中的至少一种, 其中, 所述配置参数包 括设备节点的角色信息。 The description information includes: at least one of a configuration parameter of the device node, a total bandwidth capacity of the device node, and a network traffic of the device node, where the configuration parameter includes role information of the device node. .
其中,所述处理器 201控制输入装置接收设备节点发送的资源分配请求之 前包括: The processor 201 controls the input device to receive the resource allocation request sent by the device node before:
制定所述动态资源分配规则,所述动态资源分配规则包括基于设备节点的 配置参数的动态资源分配规则、基于设备节点的总带宽容量的动态资源分配规 则和设备节点的网络流量的动态资源分配规则中的至少一种。 And formulating the dynamic resource allocation rule, where the dynamic resource allocation rule includes a dynamic resource allocation rule based on a configuration parameter of the device node, a dynamic resource allocation rule based on a total bandwidth capacity of the device node, and a dynamic resource allocation rule of the network traffic of the device node. At least one of them.
其中,所述处理器 201按预置的动态资源分配规则获取所述描述信息所对 应的资源分配信息, 包括: The processor 201 acquires the resource allocation information corresponding to the description information according to the preset dynamic resource allocation rule, and includes:
当所述动态资源分配规则包括基于设备节点的配置参数的动态资源分配 规则时,按所述基于设备节点的配置参数的动态资源分配规则获取所述描述信 息包括的配置参数所对应的资源分配信息; 或者, When the dynamic resource allocation rule includes a dynamic resource allocation rule based on the configuration parameter of the device node, the resource allocation information corresponding to the configuration parameter included in the description information is obtained according to the dynamic resource allocation rule based on the configuration parameter of the device node. Or,
当所述动态资源分配规则包括基于设备节点的总带宽容量的动态资源分 配规则时,按所述基于设备节点的总带宽容量的动态资源分配规则获取所述描 述信息包括的所述总带宽容量对应的资源分配信息; 或者, When the dynamic resource allocation rule includes a dynamic resource allocation rule based on the total bandwidth capacity of the device node, the total bandwidth capacity corresponding to the description information is obtained according to the dynamic resource allocation rule based on the total bandwidth capacity of the device node. Resource allocation information; or,
当所述动态资源分配规则包括基于设备节点的网络流量大小的动态资源 分配规则时,按所述基于设备节点的网络流量大小的动态资源分配规则获取所 述描述信息包括的所述网络流量所对应的资源分配信息。 When the dynamic resource allocation rule includes a dynamic resource allocation rule based on the network traffic size of the device node, the dynamic resource allocation rule based on the network traffic size of the device node acquires the network traffic corresponding to the description information. Resource allocation information.
其中,述处理器 201按预置的动态资源分配规则获取所述描述信息所对应 的资源分配信息包括: The obtaining, by the processor 201, the resource allocation information corresponding to the description information according to the preset dynamic resource allocation rule includes:
获取当前网络资源状况; 按预置的动态资源分配规则获取在所述当前网络资源状况下的所述描述 信息所对应的资源分配信息。 Obtain the current network resource status; Obtaining resource allocation information corresponding to the description information in the current network resource status according to a preset dynamic resource allocation rule.
可以理解的是,本实施例的终端的各功能模块的功能可根据上述方法实施 例中的方法具体实现, 其具体实现过程可以参照上述方法实施例的相关描述, 此处不再进行赘述。 It is to be understood that the functions of the functional modules of the terminal in this embodiment may be specifically implemented according to the method in the foregoing method embodiment. For the specific implementation process, reference may be made to the related description of the foregoing method embodiments, and details are not described herein.
由上可见, 在本发明的一些可行的实施方式中, 本发明接收设备节点发送 的资源分配请求,所述资源分配请求携带所述设备节点的用于描述所述设备节 点当前状态的描述信息,按预置的动态资源分配规则获取所述描述信息所对应 的资源分配信息, 进而根据所述资源分配信息对所述设备节点进行资源分配, 这可灵活动态地对设备节点进行配置资源或调整资源,并能够可有效的分配资 源和优化资源分配, 提高资源的利用率, 减少资源浪费。 It can be seen that, in some possible implementation manners of the present invention, the present invention receives a resource allocation request sent by a device node, where the resource allocation request carries description information of the device node for describing a current state of the device node, Obtaining resource allocation information corresponding to the description information according to the preset dynamic resource allocation rule, and performing resource allocation on the device node according to the resource allocation information, which can flexibly and dynamically configure resources or adjust resources of the device node. And can effectively allocate resources and optimize resource allocation, improve resource utilization, and reduce resource waste.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程, 是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算 机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。 其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory, ROM )或随机存储记忆体 ( Random Access Memory, RAM )等。 A person skilled in the art can understand that all or part of the process of implementing the above embodiment method can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium, the program When executed, the flow of an embodiment of the methods as described above may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之 权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。 The above is only the preferred embodiment of the present invention, and the scope of the present invention is not limited thereto, and the equivalent changes made by the claims of the present invention are still within the scope of the present invention.
Claims
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201480079164.6A CN106416173B (en) | 2014-05-30 | 2014-05-30 | A method and device for resource allocation |
PCT/CN2014/078994 WO2015180169A1 (en) | 2014-05-30 | 2014-05-30 | Resource allocation method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2014/078994 WO2015180169A1 (en) | 2014-05-30 | 2014-05-30 | Resource allocation method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2015180169A1 true WO2015180169A1 (en) | 2015-12-03 |
Family
ID=54697941
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2014/078994 WO2015180169A1 (en) | 2014-05-30 | 2014-05-30 | Resource allocation method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106416173B (en) |
WO (1) | WO2015180169A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112437494A (en) * | 2020-11-24 | 2021-03-02 | 北京中航通用科技有限公司 | Resource allocation method and device |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110445725B (en) * | 2019-07-08 | 2022-07-26 | 福建天泉教育科技有限公司 | Method and storage medium for shunting newly-added load node |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101232503A (en) * | 2008-02-22 | 2008-07-30 | 中兴通讯股份有限公司 | Resource allocation method and resource release method |
CN103049309A (en) * | 2012-12-11 | 2013-04-17 | 华为技术有限公司 | Device, method and system for resource management of virtual machine |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8488451B2 (en) * | 2005-03-22 | 2013-07-16 | At&T Intellectual Property I, Lp | System and method for allocating processing bandwith in a residential gateway utilizing transmission rules and data mapping |
CN101878670B (en) * | 2007-12-29 | 2016-05-18 | 上海贝尔股份有限公司 | For the method and apparatus of resource allocation request and distribution |
JP5309708B2 (en) * | 2008-06-16 | 2013-10-09 | 富士通株式会社 | Mobile station and data transmission method |
CN102681899B (en) * | 2011-03-14 | 2015-06-10 | 金剑 | Virtual computing resource dynamic management system of cloud computing service platform |
CN103281787B (en) * | 2013-06-07 | 2017-01-25 | 北京亚信时代融创咨询有限公司 | Service resource allocating method, service resource allocating server, service resource allocating terminal and service resource allocating system |
-
2014
- 2014-05-30 CN CN201480079164.6A patent/CN106416173B/en active Active
- 2014-05-30 WO PCT/CN2014/078994 patent/WO2015180169A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101232503A (en) * | 2008-02-22 | 2008-07-30 | 中兴通讯股份有限公司 | Resource allocation method and resource release method |
CN103049309A (en) * | 2012-12-11 | 2013-04-17 | 华为技术有限公司 | Device, method and system for resource management of virtual machine |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112437494A (en) * | 2020-11-24 | 2021-03-02 | 北京中航通用科技有限公司 | Resource allocation method and device |
CN112437494B (en) * | 2020-11-24 | 2025-03-28 | 北京中航通用科技有限公司 | Resource allocation method and device |
Also Published As
Publication number | Publication date |
---|---|
CN106416173A (en) | 2017-02-15 |
CN106416173B (en) | 2020-04-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112136294B (en) | Message and system for influencing service route by application function | |
US20200015131A1 (en) | Communication method and communications device | |
US11240198B2 (en) | Session management method and apparatus | |
CN110166580B (en) | Resource management method, equipment and system | |
CN108476549B (en) | A kind of IP address allocation method and device | |
US20110113146A1 (en) | Dynamic quality of service (qos) setup over wired and wireless networks | |
WO2017137008A1 (en) | Virtual network apparatus, and related method | |
US10575300B2 (en) | Bandwidth control method and bandwidth control device | |
CN114945159A (en) | Direct communication processing method and device, relay terminal and remote terminal | |
EP2905911B1 (en) | Methods and apparatuses for setting group-based connection | |
US11558491B2 (en) | Information-centric networking over 5G or later networks | |
CN113259260B (en) | Method and device for deploying application instance and scheduling application instance | |
CN115226073A (en) | Message forwarding method, device and system and computer readable storage medium | |
CN106254447A (en) | Load-balancing method, BRAS equipment and SDN controller | |
CN104320787A (en) | Method for generating wireless virtual network, and wireless network control device | |
WO2015100570A1 (en) | Gre tunnel determination method, gateway device and access station | |
WO2019114459A1 (en) | Data transmission method and related device | |
CN105681266B (en) | A kind of communication cluster method and device of mediaphone MMTel | |
WO2015180169A1 (en) | Resource allocation method and device | |
CN112838983B (en) | Data transmission method, system, device, proxy server and storage medium | |
WO2018223304A1 (en) | Method and apparatus for transmitting data | |
CN105791164B (en) | Network resource allocation method and system | |
CN103597802B (en) | The system of the address administration in distributed mobile core network, apparatus and method | |
CN107666443A (en) | A kind of message forwarding method and device | |
CN113132188B (en) | A communication method and network equipment |
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: 14893648 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 14893648 Country of ref document: EP Kind code of ref document: A1 |