WO2009155771A1 - 资源配置方法、服务器、网络设备及网络系统 - Google Patents

资源配置方法、服务器、网络设备及网络系统 Download PDF

Info

Publication number
WO2009155771A1
WO2009155771A1 PCT/CN2008/073909 CN2008073909W WO2009155771A1 WO 2009155771 A1 WO2009155771 A1 WO 2009155771A1 CN 2008073909 W CN2008073909 W CN 2008073909W WO 2009155771 A1 WO2009155771 A1 WO 2009155771A1
Authority
WO
WIPO (PCT)
Prior art keywords
resource
network device
network
registration information
server
Prior art date
Application number
PCT/CN2008/073909
Other languages
English (en)
French (fr)
Inventor
唐雷
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP08874770A priority Critical patent/EP2159958A4/en
Priority to US12/545,489 priority patent/US8631098B2/en
Publication of WO2009155771A1 publication Critical patent/WO2009155771A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/085Retrieval of network configuration; Tracking network configuration history
    • H04L41/0853Retrieval of network configuration; Tracking network configuration history by actively collecting configuration information or by backing up configuration information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/085Retrieval of network configuration; Tracking network configuration history
    • H04L41/0853Retrieval of network configuration; Tracking network configuration history by actively collecting configuration information or by backing up configuration information
    • H04L41/0856Retrieval of network configuration; Tracking network configuration history by actively collecting configuration information or by backing up configuration information by backing up or archiving configuration information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/78Architectures of resource allocation
    • H04L47/781Centralised allocation of resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/82Miscellaneous aspects
    • H04L47/822Collecting or measuring resource availability data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/50Centralised arrangements for answering calls; Centralised arrangements for recording messages for absent or busy subscribers ; Centralised arrangements for recording messages
    • H04M3/51Centralised call answering arrangements requiring operator intervention, e.g. call or contact centers for telemarketing
    • H04M3/523Centralised call answering arrangements requiring operator intervention, e.g. call or contact centers for telemarketing with call distribution or queueing
    • H04M3/5237Interconnection arrangements between ACD systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q3/00Selecting arrangements
    • H04Q3/0016Arrangements providing connection between exchanges
    • H04Q3/0062Provisions for network management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4541Directories for service discovery

Definitions

  • the present invention relates to the field of communications, and in particular, to a resource configuration method, a server, a network device, and a network system. Background technique
  • IP Internet Protocol
  • VOIP Voice Over Internet Protocol
  • resources deployed in each communication switching point network device can serve network devices at other points than the communication switching point through the IP network. Such resources can allocate resources through the IP network and improve the efficiency of resource utilization.
  • a server is set up at a relatively secure communication switching point, and a unified resource configuration table is configured on the server.
  • the specific steps of the method are as follows: The resource configuration table is set in the server in advance, and the resource configuration table is not changed after being configured, and the next update needs to be manually set;
  • the network device of the communication switching point A sends the resource demand request to the server
  • the server After receiving the resource requirement request sent by the network device of the communication switching point A, the server searches the resource configuration table configured in the server, and obtains the ID of the network device of the communication switching point B having the resource; The server then sends a resource requirement request to the network device of the communication switching point B;
  • the network device of the communication switching point B After receiving the resource demand request sent by the server, the network device of the communication switching point B checks whether it has the requested resource, and if so, returns a "request success" response to the server, and packages the resource with a compression algorithm. Directly sent to the network device application of the communication switching point A in the form of an IP packet; otherwise, a "request failed" response is returned to the server.
  • the server After receiving the "Request Failure" response, the server continues to search in the resource configuration table until it acquires the required resources or finds the communication switching point of the entire network to obtain the required resources.
  • the prior art shown in FIG. 1 uses a static resource configuration table, which requires manual configuration and periodic manual update, which cannot be timely. Update the resource registration information of each communication switching point. After the network device of the communication switching point A sends the resource demand request to the server, the server can only find that the network device of the communication switching point B has its required resources, and when the communication exchange B receives After the resource request request sent by the server, if it detects that the requested resource is not idle, it returns a failure response to the server, and the server needs to initiate a resource request request to all other communication switching points in the network in turn, which affects the method. The speed of resource allocation causes inconvenience to the user and causes a great waste of server processing power. Summary of the invention
  • the embodiments of the present invention provide a resource configuration method, a server, a network device, and a network system.
  • the allocation of network resources can be realized efficiently and quickly.
  • An embodiment of the present invention provides a resource configuration method, where the method includes:
  • the resource configuration is performed on the network device according to the resource requirement of the network device and the updated resource configuration information, where the resource configuration information includes resource registration information reported by each network device in the network.
  • a corresponding embodiment of the present invention provides a server, including:
  • a resource update unit configured to automatically update its resource configuration information according to resource registration information reported by each network device in the network
  • a configuration control unit configured to perform resource configuration on the network device according to resource requirements of the network device and resource configuration information updated by the resource update unit.
  • a corresponding network device including: a detecting unit, configured to detect whether a reporting trigger condition of the resource registration information is reached;
  • the sending unit is configured to report the resource registration information of the device to the server when the trigger condition is reached.
  • a network system including:
  • a server configured to perform resource configuration on the network device according to the resource requirement of the network device in the network and the updated resource configuration information, where the resource configuration information includes resource registration information reported by each network device in the network;
  • a network device configured to send resource registration information of the device to the server, or send a resource requirement request to the server, or send the resource to another network device according to the resource configuration indication information of the server.
  • the server of the embodiment of the present invention performs resource configuration on the network device according to resource requirements of the network device in the network and the updated resource configuration information.
  • the resource configuration information on the server is updated each time the resource configuration is performed.
  • the resource configuration information such that implementing the embodiments of the present invention can shorten the number of times of searching for resources and processes, thereby effectively performing resource allocation.
  • a resource search can be done with one lookup if the update frequency is fast enough.
  • This dynamic resource configuration information enables rapid resource allocation and can effectively avoid wasting server processing power.
  • FIG. 1 is a schematic diagram of resource configuration of a static resource configuration table in a server
  • FIG. 2 is a schematic diagram of a system for implementing resource configuration according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a server for implementing resource configuration according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a network device for implementing resource configuration according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of a method for implementing resource configuration according to an embodiment of the present invention.
  • FIG. 2 is a schematic structural diagram of a system for implementing resource configuration according to an embodiment of the present invention.
  • the system includes a first network device 10, a second network device 20, and a server 30, and a first network device 10 and a second network device.
  • 20 and the server 30 are connected via an IP network.
  • the server 30 dynamically updates its own resource configuration information according to the resource registration information reported by the network device.
  • the resource configuration information includes resource registration information in each network device in the network, and the resource configuration information may be in the form of a file or a database table. .
  • the first network device 10 and the second network device 20 report the resource registration information to the server 30, or send a resource requirement request to the server 30, or send a resource to another network device according to the resource configuration indication information of the server 30;
  • the resource registration information includes the resource type, the availability of the resource, and the network device identifier.
  • the availability of the resource is: the number of resources, the percentage of resources idle, or the resource idle identifier, etc., which can determine whether a certain resource is currently idle or not.
  • Content resource types include sound, fax, conference, video, and images.
  • the resource registration information needs to be reported to the server 30 after the network device reaches the trigger condition for reporting, and the triggering conditions include:
  • the resource included in the network device changes.
  • the change of the resource refers to a certain change in the resource currently included in the network device, such as a change in the number of resources, a change in the percentage of resources, or a resource.
  • the state is changed from idle to occupied, and the like, and the reporting period of the resource registration information is set in the network device, and the reporting period of the resource registration information may be set in the network device in advance, such as setting
  • the network device sends the resource registration information to the server every 100 ms, and the time may also be set in the network device in advance, for example, setting the resource registration information to the server at 12 o'clock every day; wherein, the two may exist at the same time, for example, 12 per day.
  • the point sends the resource registration information to the server, and sends a resource registration letter to the server every 100 ms. Interest rate
  • the network device When the network device receives the request for reporting the resource registration information of the network device, for example, when the network device receives the request that the network device needs to report the network device resource ownership, the network device reports the resource registration information.
  • the server may send the request to the network device according to a period or a time point, where the resource registration information reporting period may be set in the network device in advance, for example, setting the network device to send the resource registration information to the server every 100 ms.
  • the time can also be set in the network device in advance, for example, setting the resource registration information to the server at 12 o'clock every day; wherein the two can exist at the same time, for example, the resource registration information is sent to the server at 12 o'clock every day, during every 100 ms period.
  • the server sends resource registration information.
  • the server 30 determines whether the received resource registration information is included in the current resource configuration information, and if the determination is no, updates its own resource configuration information; otherwise, the update is not performed. Of course, the server 30 can also directly update the resource configuration table without receiving any judgment after receiving the resource registration information reported by the network device.
  • the first network device 10 is used as a requesting device for sending a resource request request in the system as an example:
  • the resource request request is sent to the server 30, where the resource request includes: the requested resource type, the requested resource amount, and the identifier of the first network device. .
  • the server 30 When receiving the resource requirement request sent by the first network device 10, the server 30 searches for the currently stored resource configuration information, and determines whether the network device has the requested resource in the network, where the search includes a linear table search and a hash table. Find and SQL relational database table lookups, etc. After finding the second network device 20 in the network that owns the requested resource, returning a response requesting success to the first network device 10, and providing the availability of the resource of the second network device 20 Marking (the flag is used to indicate that the resource is already occupied) and initiating configuration control to send the resource registration information to the first network device 10 to the first network device 10 to the second network device 20 that includes the resource Message; otherwise, a message that the request failed is sent to the first network device 10.
  • the search includes a linear table search and a hash table. Find and SQL relational database table lookups, etc.
  • the resources required by the first network device 10 are packaged by the compression algorithm, and transmitted to the first network device 10 through the standard VIOP protocol communication in the form of IP data packets.
  • the VIOP protocol communication includes SIP, H.323, MGCP, H.248, etc.
  • Local resources can also be set in the second network device 20.
  • the local resources are mainly set to ensure the use of local communication, and the local communication is guaranteed to provide resources to other network devices for communication. For example, in the network device, a certain quantity of resources of 5 is set by using an identifier or other setting method. The five resources are used only for local communication. When the number of the resources is less than 5, the type is reported in the resource message reported to the server 30. The availability of a resource is "zero" or "occupied”.
  • the first network device 10 serves as a resource requirement requesting end
  • the second network device 20 serves as a resource providing end.
  • the same network device may be configured or has exhausted resources required by the client.
  • the resource requirement request is sent to the server 30, and may also be provided to other network devices when the resource is idle.
  • the server 30 specifically includes: a first receiving unit 31, a first determining unit 32, a resource updating unit 33, and a configuration control unit 34.
  • the first receiving unit 31, the first determining unit 32, the resource updating unit 33, and the configuration control unit 34 are sequentially connected.
  • the first receiving unit 31 is configured to receive resource registration information reported by the network device (including the first network device 10 and the second network device 20).
  • the first determining unit 32 is configured to determine whether the resource registration information received by the first receiving unit 31 is included in the currently stored resource configuration information. If it is determined that the resource registration information received by the first receiving unit 31 is included in the currently stored resource configuration information, the current resource configuration information is not updated; if it is determined that the resource registration information received by the first receiving unit 31 is not included in the In the currently stored resource configuration information, the current resource configuration information needs to be updated.
  • the resource allocation table may be directly updated without judging the received resource registration information, that is, the determining unit is not provided.
  • the resource update unit 33 is configured to update resource configuration information.
  • the resource configuration information sent by the network device is received and it is determined by the first determining unit 32 that the resource registration information received by the first receiving unit 31 is not included in the currently stored resource configuration information, the resource configuration information is updated, otherwise the resource configuration information is updated.
  • Original resource configuration information may be directly updated without judging the received resource registration information.
  • the configuration control unit 34 is configured to configure resources in the network according to resource requirements of the first network device 10 and resource configuration information updated by the resource update unit 33, where the unit further The second receiving unit 341, the searching unit 342, the marking unit 343, and the transmitting unit 344 are included.
  • the second receiving unit 341, the searching unit 342, the marking unit 343, and the transmitting unit 344 are in a sequential connection relationship.
  • the second receiving unit 341 is configured to receive a resource requirement request sent by the first network device 10.
  • the resource requirement request information includes a resource type, a resource requirement amount, and identifier information of the first network device 10, which are required by the first network device 10.
  • the searching unit 342 is configured to search for the currently stored resource configuration information according to the resource requirement request received by the second receiving unit 341, and determine whether the network device has the requested resource in the network. If it is found that there is a network device in the network that owns the requested resource, the sending unit 344 initiates, to the network device, a configuration control message that needs to send the resource to the first network device 10; otherwise, A message that the request failed is sent to the first network device 10.
  • a marking unit 343, configured to, when the searching unit 342 finds a network device that has the requested resource in the network, initiate, to the network device, that the resource needs to be sent to the first network device 10 And configuring a control message, and marking the availability of the resource of the network device, the flag is used to indicate that the resource is occupied.
  • the identifier is used to indicate that the resource in the second network device 20 requested by the first network device 10 has been pre-occupied, and the server is avoided when other network devices request the same type of resource.
  • the same idle resource may still provide insufficient resources for the network device that provides the resource, so that the network device that does not obtain the required resource needs to send the resource request request to the server 30 again, perform resource configuration again, and easily cause resource confusion. .
  • a sending unit 344 configured to, after the searching unit 342 finds the resource registration information, initiate a configuration control message that needs to send the resource to the first network device 10 to the second network device 20 that includes the resource, At the same time, a message requesting success is sent to the first network device 10; otherwise, a message requesting failure is sent to the first network device 10.
  • the first network device 10 includes: a transmitting unit 11 and a detecting unit 12.
  • the transmitting unit 11 is connected to the detecting unit 12.
  • the sending unit 11 is configured to send resource registration information of the device to the server, or send a resource requirement request to the server, or send the resource to another network device. Sending resource registration information of the device to the server for updating the resource configuration information of the server; sending the resource of the device to the server The demand request is used by the server to configure resources in the network; the sending of resources to other network devices is a configuration of sending resource completion resources to other network devices under the control of the server.
  • the detecting unit 12 is configured to detect whether the reporting condition of the resource registration information is reached. When the triggering condition is reached, the sending unit 11 is notified to the server to report the resource registration information of the device, and the unit further includes: a first detecting unit 121 and / or second detection unit 122 and / or third detection unit 123.
  • the first detecting unit 121 is configured to detect whether the resource registration information of the local device is changed. When detecting that the resource included in the network device changes, the sending unit 11 is notified to the server to report the resource registration information included in the device. When the resource registration information in the network device 10 changes, for example, when the part of the resource changes from idle to busy, or the amount of resources changes, the first detecting unit 121 can detect the resource. If the triggering condition reported by the resource registration information is a change of the resource registration information, the first detecting unit 121 detects that the resource registration information in the first network device 10 changes relative to the last reported resource registration information, and notifies the sending unit 11 Report the current resource registration information to the server.
  • the second detecting unit 122 is configured to detect whether the resource registration information reporting period or time point set in the network device is reached, and when it is detected that the resource registration information reporting period or time point set in the network device is reached, the notification station is notified.
  • the sending unit 11 reports the resource registration information included in the device to the server; if the network device is configured to send the resource registration information to the server every 100 ms, the time is set in advance in the network device, for example, setting the server to the server at 12 o'clock every day.
  • the resource registration information is sent; wherein, the two can exist at the same time, for example, the resource registration information is sent to the server at 12 o'clock every day, and the resource registration information is sent to the server every 100 ms.
  • the third detecting unit 123 is configured to detect whether the network device receives a request for the device to report the resource status of the network device, and when detecting, notify the sending unit 11 to report the resource registration information included in the device to the server.
  • the server may send a resource update request to the network device according to a period or a time point, where the resource registration information reporting period is set in advance in the network device, for example, setting the network device to send resource registration information to the server every 100 ms, the time Set in advance in the network device, for example, setting resource registration information to the server at 12 o'clock every day; wherein, the two can exist at the same time, for example, sending resource registration information to the server at 12 o'clock every day, and sending resource registration information to the server every 100 ms.
  • the server of the embodiment of the present invention performs resource configuration on the network device according to resource requirements of the network device in the network and the updated resource configuration information.
  • the resource configuration information on the server is updated each time the resource configuration is performed.
  • the resource configuration information such that implementing the embodiments of the present invention can shorten the number of times of searching for resources and processes, thereby effectively performing resource allocation.
  • the search for resources can be done with one lookup when the update frequency is fast enough. This dynamic resource configuration information enables rapid resource allocation and can effectively avoid waste of server processing power.
  • FIG. 5 is a flowchart of a resource configuration method according to an embodiment of the present invention.
  • the resource configuration information is updated by the server according to the resource registration information reported by the network device, thereby shortening the number of resource search times. And processes to effectively allocate resources.
  • a resource search can be done with a single lookup if the update frequency is fast enough.
  • This dynamic resource configuration information enables rapid resource allocation and can effectively avoid the waste of server processing power.
  • the resource configuration method includes the following steps:
  • Step S101 The network device sends the resource registration information to the server when the trigger condition is reached.
  • the resource registration information includes a resource type, a resource availability, and a network device identifier, where the availability of the resource is: the number of resources, the percentage of resources idle, or the resource idle identifier, etc., and can determine whether a certain resource is currently idle or the like. information.
  • the resource registration information needs to be reported to the server after the network device reaches the trigger condition for reporting, and the triggering condition includes: the resource included in the network device changes, and the change of the information resource refers to the current included resource in the network device.
  • the resource registration information reported last time has a certain degree of change, for example, the change of the quantity of resources, the percentage of resources, or the change from idle to no idle, etc.; reaching the reporting period or time point of the resource registration information set in the network device,
  • the resource registration information reporting period is set in advance in the network device.
  • the network device is configured to send resource registration information to the server every 100 ms, and the time is set in advance in the network device, for example, setting the resource to the server at 12 o'clock every day.
  • the two can exist at the same time, for example, the resource registration information is sent to the server at 12 o'clock every day, and the resource registration information is sent to the server every 100 ms; when the network device receives the request for reporting the resource registration information of the network device , the network device is receiving the service After the resource update request is sent, the server may report the resource registration information, and the server may send a resource update request to the network device according to the period or the time point, where the resource registration information reporting period is set in advance in the network device, for example, setting the network.
  • the device sends resource registration information to the server every 100 ms.
  • the time is set in the network device in advance. For example, the resource registration information is sent to the server at 12 o'clock every day.
  • the two can exist at the same time, for example, 12 o'clock to the server every day.
  • the resource registration information is sent, and the resource registration information is sent to the server every 100 ms.
  • Step S102 The server receives the resource registration information sent by the network device.
  • Step S103 It is determined whether the received resource registration information is included in the current resource configuration information. If the determination is no, step S104 is performed; otherwise, step S111 is not performed. In a specific implementation, after step S111 is performed, the process may proceed to step S102. Of course, the server can also directly update the resource configuration table without receiving any judgment after receiving the resource registration information reported by the network device.
  • Step S104 The server updates current resource configuration information.
  • Step S105 Receive a resource requirement request sent by the first network device.
  • the resource request request is sent to the server, where the resource request includes: the required resource type, the resource requirement, and the identifier of the first network device. information.
  • the resource requirement request may also include request information on which compression mode and transmission mode are extracted from the network device providing the resource.
  • Step S106 Search for the currently stored resource configuration information according to the received resource requirement request sent by the first network device, and determine whether the network device has the requested resource in the network.
  • the server After receiving the resource requirement request sent by the first network device, the server invokes and searches for the stored resource configuration information, and may perform a search according to the resource type required by the first network device, where the search includes a linear table search, a hash table search, and SQL relational database table lookup and so on.
  • step S112 the message that the request fails is sent to the first network device.
  • the process may go to step S102 or go to step S105.
  • the search of the resource can be realized by one search, that is, by one search, it can be known whether other network devices in the network are free to have the resources required by the first network device.
  • Step S107 marking the availability of the resource of the network device, where the flag is used to indicate that the resource is occupied.
  • Resources of the resource registration information of the part in the resource configuration information may be After the cost is marked, it indicates that the resource requested by the first network device has been pre-occupied, and the server does not provide the same idle resource when the other network device requests the same type of resource, which may result in insufficient network device resources for providing the resource, and thus is not obtained.
  • the network device of the required resource also needs to send the resource request request to the server again, and perform resource configuration again, which is also likely to cause confusion in resource configuration.
  • Step S108 The server sends a configuration control message to the second network device that includes the resource according to the network device identifier included in the found resource registration information.
  • the server can directly control the second network device to directly send the resources required by the first network device to the first network device to complete the resource configuration.
  • this can also be used as the default setting of the network instead of being included in the configuration control message.
  • Step S109 After receiving the configuration control message, the second network packages the requested resource. Packaging the resources that need to be sent in advance by the compression algorithm facilitates data transmission between the networks.
  • Step S110 The second network device directly sends the packaged resource to the first network device by using standard VOIP protocol communication in the form of an IP data packet.
  • the first network device and the second network device communicate through a standard VOIP protocol, including SIP, H.323, Media Gateway Control Protocol (MGCP), and H.248.
  • MGCP Media Gateway Control Protocol
  • resources can be used locally in the network device settings.
  • the local resources are set in the network device mainly to ensure the use of local communication, and resources are provided to other network devices for communication purposes only if local communication is guaranteed.
  • a certain quantity of resources of 5 is set by using an identifier or other setting method. The five resources are used only for local communication.
  • the resource of the type is reported in the resource message reported to the server. The availability is zero or reported as "no idle".
  • the server performs resource configuration on the network device according to the resource requirement of the network device in the network and the updated resource configuration information, and the resource configuration information on the server is updated each time the resource configuration is performed.
  • the implementation of the embodiment of the present invention can shorten the number of times of searching for resources and processes, thereby effectively performing resource allocation.
  • a resource search can be done with one lookup when the update frequency is fast enough. This dynamic resource configuration information enables rapid resource allocation and can effectively avoid wasting server processing power.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (hereinafter referred to as ROM) or a random access memory (hereinafter referred to as RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Description

资源配置方法、 服务器、 网络设备及网络系统 本申请要求于 2008 年 6 月 28 日提交中国专利局、 申请号为 200810029173.0、 发明名称为"一种资源配置方法、 服务器、 网络设备及网络 系统"的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域
本发明涉及通信领域, 尤其涉及一种资源配置方法、 服务器、 网络设备 及网络系统。 背景技术
为了解决传统电路域交换时代服务范围小和资源利用率低的缺点, 出现 了分组域交换。 这种方法也是在不同地点建立通信交换点, 例如多点的用户 级交换机( Private Branch Exchange, 以下简称: PBX ) , 多点的呼叫中心等 网络设备, 与传统的电路域交换不同的是分组域交换的通信交换点通过互联 网协议(Internet Protocol, 以下简称: IP )网络连接。 各个通信交换点的网络 设备之间是通过 IP网络连接, 所以每个点网络设备之间的媒体流可以通过声 讯网络协议 (Voice Over Internet Protocol, 以下简称: VOIP)的方式传递, 这样 就可以真正的做到跨地域服务; 同时, 每个通信交换点网络设备中所部署的 资源则可以通过 IP网络为该通信交换点以外的其他点的网络设备服务。 这样 资源可以通过 IP网络进行资源的分配, 提高资源的利用效率。
为了实现资源的分配, 现有技术釆用专门的服务器来配置统一的资源配 置表, 请参见图 1所示, 在相对安全的通信交换点设置一个服务器, 该服务 器上配置有统一的资源配置表, 结合图 1所示, 这种方法的具体步骤如下: 预先在服务器中设置资源配置表, 该资源配置表配置之后便不会改变, 下一次的更新需要重新人工设置;
通信交换点 A的网络设备向服务器发送该资源需求请求;
服务器接收到通信交换点 A的网络设备发送的资源需求请求后, 搜索服 务器中配置的资源配置表, 获取具有该资源的通信交换点 B网络设备的 ID; 服务器再向通信交换点 B的网络设备发送资源需求请求;
通信交换点 B的网络设备在接收到服务器发送的资源需求请求后, 检查 自身是否空闲有该请求的资源, 如果有, 则向服务器返回 "请求成功" 响应, 并将该资源用压缩算法打包,以 IP数据包的形式直接发送给通信交换点 A的 网络设备应用; 否则向服务器返回 "请求失败" 响应。
服务器接收到 "请求失败" 响应后, 继续在资源配置表中搜索, 直至获 取所需的资源或者查找完整个网络的通信交换点而获取不到所需的资源。
发明人在实现本发明的过程中, 发现现有技术至少存在以下缺点: 如图 1 所示的现有技术釆用的是静态资源配置表, 需要人工事先配置和定期进行 人工的更新, 不能及时更新各个通信交换点的资源注册信息, 通信交换点 A 的网络设备向服务器发送该资源需求请求后, 服务器只能查找到通信交换点 B的网络设备具有其所需的资源, 当通信交换 B接收到服务器发过来的资源 需求请求后, 如果检查到自身没有空闲该请求的资源, 则向服务器返回失败 响应, 服务器需要依次向网络中其他的所有通信交换点发起资源需求请求, 这种方法影响了资源分配的速度, 给用户造成使用的不便, 并且造成服务器 处理能力很大程度的浪费。 发明内容
有鉴于此, 本发明实施例提供了一种资源配置方法、 服务器、 网络设备 及网络系统。 可以有效快速的实现网络资源的分配。
本发明实施例提供了一种资源配置方法, 该方法包括:
根据网络设备的资源需求和更新后的资源配置信息对所述网络设备进行 资源配置, 所述资源配置信息包括网络中各网络设备上报的资源注册信息。
相应的本发明实施例提供了一种服务器, 包括:
资源更新单元, 用于根据网络中各网络设备上报的资源注册信息自动更 新自身的资源配置信息;
配置控制单元, 用于根据网络设备的资源需求和经所述资源更新单元更 新后的资源配置信息对所述网络设备进行资源配置。
相应的本发明实施例提供了一种网络设备, 包括: 检测单元, 用于检测是否达到资源注册信息的上报触发条件;
发送单元, 用于当达到触发条件时, 向服务器上报本设备的资源注册信 息。
相应的本发明实施例提供了一种网络系统, 包括:
服务器, 用于根据网络中的网络设备的资源需求和更新后的资源配置信 息对所述网络设备进行资源配置 , 所述资源配置信息包括网络中各网络设备 上报的资源注册信息;
网络设备, 用于向所述服务器发送本设备的资源注册信息, 或向服务器 发送资源需求请求, 或根据所述服务器的资源配置指示信息向另一网络设备 发送资源。
本发明实施例的服务器根据网络中的网络设备的资源需求和更新后的资 源配置信息对所述网络设备进行资源配置, 由于每次进行资源配置时, 服务 器上的资源配置信息均是更新后的资源配置信息, 这样实施本发明实施例可 缩短资源的查找次数和过程, 从而有效的进行资源分配。 在更新频率够快的 情况下可以通过一次查找来实现资源的搜索。 这种动态的资源配置信息能够 快速的进行资源分配, 并且能够有效避免服务器处理能力的浪费。 附图说明 施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面 描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。
图 1为釆用服务器中静态资源配置表的资源配置示意图;
图 2为本发明实施例实现资源配置的系统示意图;
图 3为本发明实施例实现资源配置的服务器结构示意图;
图 4为本发明实施例实现资源配置的网络设备结构示意图;
图 5为本发明实施例实现资源配置方法的流程图。 具体实施方式 下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而 不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作 出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。
为使本发明的目的、 技术方案及优点更加清楚明白, 以下参照附图对本 发明实施例进一步详细说明。
在网络中, 服务器可与多个网络设备通信相连, 每个网络设备的操作模 式、 功能、 结构可以相同, 为使描述方便, 在本发明中的实施例以二个网络 设备与服务器通信相连进行说明。 请参见图 2所示, 图 2为本发明实施例实 现资源配置的系统结构示意图, 该系统包括第一网络设备 10、 第二网络设备 20和服务器 30, 第一网络设备 10、 第二网络设备 20和服务器 30通过 IP网 络连接。服务器 30根据网络设备上报的资源注册信息动态自动更新自身的资 源配置信息,所述的资源配置信息包括网络内各网络设备中的资源注册信息, 所述资源配置信息可以为文件或者数据库表等形式。第一网络设备 10和第二 网络设备 20向所述服务器 30上报资源注册信息,或向服务器 30发送资源需 求请求, 或根据所述服务器 30 的资源配置指示信息向另一网络设备发送资 源; 所述的资源注册信息中包括资源类型、 资源的可用度以及网络设备标识 等, 其中资源的可用度为: 资源的数量、 资源空闲的百分比或资源空闲标识 等能够判断某类资源当前是否空闲等信息内容; 资源类型包括声音、 传真、 会议、 视频以及图片等。 资源注册信息需要网络设备达到上报的触发条件之 后才向服务器 30上报, 所述的触发条件包括:
网络设备包含的资源发生变化, 所述资源的变化是指该网络设备中当前 包含的资源相对于上次上报资源注册信息时具有一定程度的变化, 比如资源 数量的变化、 资源百分比的变化或者资源状态由空闲变为已占用等等; 而所 述达到网络设备中设定的资源注册信息上报周期或时间点中, 所述资源注册 信息的上报周期可预先在网络设备中设定, 如设定网络设备每隔 100ms向服 务器发送资源注册信息, 所述的时间也可预先在网络设备中设定, 例如设定 每天 12 点向服务器发送资源注册信息; 其中, 二者可以同时存在, 如每天 12点向服务器发送资源注册信息,期间每隔 100ms向服务器发送资源注册信 息;
网络设备接收到需要上报该网络设备的资源注册信息的请求时, 比如, 当网络设备在接收到服务器发送的需要所述网络设备上报该网络设备资源拥 有情况的请求后进行资源注册信息的上报, 具体的, 服务器可以按照周期或 时间点向网络设备发送所述请求, 所述资源注册信息上报周期可预先在网络 设备中设定, 如设定网络设备每隔 100ms向服务器发送资源注册信息, 所述 的时间也可预先在网络设备中设定,例如设定每天 12点向服务器发送资源注 册信息;其中,二者可以同时存在,如每天 12点向服务器发送资源注册信息, 期间每隔 100ms向服务器发送资源注册信息。
服务器 30在接收到网络设备上报的资源注册信息时,判断接收到的资源 注册信息是否包括在当前资源配置信息中, 如果判断为否, 则更新自身的资 源配置信息; 否则, 不进行更新。 当然, 服务器 30也可以接收到网络设备上 报的资源注册信息后不做任何判断直接进行资源配置表的更新。
下面以第一网络设备 10 在该系统中作为发送资源需求请求的请求设备 为例进行说明:
当第一网络设备 10 中没有配置或者已经耗尽客户端需要的资源时向服 务器 30发送资源需求请求, 该资源需求请求中包括: 请求的资源类型、 请求 的资源量以及第一网络设备的标识。
服务器 30在接收到第一网络设备 10发送的资源需求请求时, 查找当前 存储的资源配置信息, 确定网络中是否有网络设备拥有所述请求的资源, 所 述的查找包括线性表查找、 Hash表查找以及 SQL关系数据库表查找等。 当查 找到网络中存在拥有所述请求的资源的第二网络设备 20后,则向第一网络设 备 10返回请求成功的响应, 同时并将所述第二网络设备 20的所述资源的可 用度进行标记(所述标记用于指示所述资源已被占用 ) 并向包含该资源的第 二网络设备 20发起需向第一网络设备 10发送所述资源注册信息给第一网络 设备 10的配置控制消息; 否则, 向第一网络设备 10发送请求失败的消息。
第二网络设备 20在接收到服务器 30发送的配置控制消息时, 对第一网 络设备 10 需求的资源通过压缩算法打包, 以 IP 数据包的形式通过标准的 VIOP协议通信发送给第一网络设备 10, 所述的 VIOP协议通信包括 SIP、 H.323、 MGCP以及 H.248等。 还可以在第二网络设备 20中设置本地资源。 设置本地资源主要为了保证本地通信的使用, 在本地通信得到保证的前提下 才向其他网络设备提供资源供其通信使用。 例如在网络设备中通过标识或者 其他设置方法设置数量为 5的某种资源, 这 5个资源仅供本地通信使用, 在 该种资源的数量小于 5时,向服务器 30上报的资源消息中该种类资源的可用 度为 "零" 或 "已占用" 。
本系统中第一网络设备 10作为资源需求请求端, 第二网络设备 20作为 资源的提供端, 但是在实际的应用中, 同一个网络设备既可以没有配置或者 已经耗尽客户端需要的资源时向服务器 30发送资源需求请求,也可以在资源 空闲时向其他网络设备提供。
请参见图 3所示, 服务器 30具体包括: 第一接收单元 31、 第一判断单 元 32、 资源更新单元 33以及配置控制单元 34。 其中第一接收单元 31、 第一 判断单元 32、 资源更新单元 33以及配置控制单元 34依次相连。
第一接收单元 31 , 该单元用于接收网络设备 (包括第一网络设备 10和 第二网络设备 20 )上报的资源注册信息。
第一判断单元 32, 该单元用于判断第一接收单元 31接收到的资源注册 信息是否包括在当前存储的资源配置信息中。如果判断第一接收单元 31接收 到的资源注册信息包括在当前存储的资源配置信息中, 则保持当前的资源配 置信息不进行更新;如果判断第一接收单元 31接收到的资源注册信息不包括 在当前存储的资源配置信息中, 则需要更新当前的资源配置信息。 当然也可 以不对接收到的资源注册信息进行判断而直接进行对资源配置表的更新, 即 不设置本判断单元。
资源更新单元 33 , 用于更新资源配置信息。 当接收到网络设备发送的资 源注册信息且通过第一判断单元 32判断第一接收单元 31接收到的资源注册 信息不包括在当前存储的资源配置信息中时, 对资源配置信息进行更新, 否 则维持原资源配置信息。 当然, 也可以不对接收到的资源注册信息进行判断 而直接进行对资源配置信息的更新。
配置控制单元 34, 用于根据第一网络设备 10的资源需求和经所述资源 更新单元 33更新后的资源配置信息对网络中的资源进行配置,该单元进一步 包括: 第二接收单元 341、 查找单元 342、 标记单元 343和发送单元 344。 其 中, 第二接收单元 341、 查找单元 342、 标记单元 343和发送单元 344为依次 连接关系。
第二接收单元 341 , 该单元用于接收第一网络设备 10发送的资源需求请 求。 所述的资源需求请求信息中含有第一网络设备 10所需的资源类型、 资源 需求量以及第一网络设备 10的标识信息等。
查找单元 342, 用于根据所述第二接收单元 341接收到的资源需求请求, 查找当前存储的资源配置信息, 确定网络中是否有网络设备拥有所述请求的 资源。 如果查找到网络中存在拥有所述请求的资源的网络设备, 则由所述发 送单元 344向所述网络设备发起需向所述第一网络设备 10发送所述资源的配 置控制消息; 否则, 则向第一网络设备 10发送请求失败的消息。
标记单元 343 , 该单元用于当所述查找单元 342查找到网络中存在拥有 所述请求的资源的网络设备后, 向所述网络设备发起需向所述第一网络设备 10发送所述资源的配置控制消息, 并将所述网络设备的所述资源的可用度进 行标记, 所述标记用于指示所述资源已被占用。 比如, 在本实施例中, 所述 标记用于指示第一网络设备 10请求的所述第二网络设备 20中的所述资源已 经被预先占用,避免了其他网络设备请求相同类型的资源时服务器 30仍然提 供相同的空闲资源可能造成提供资源的网络设备资源不足, 从而未获取所需 资源的网络设备还需要再次向服务器 30发送资源需求请求,进行再次的资源 配置, 也容易造成资源配置的混乱。
发送单元 344, 该单元用于当查找单元 342查找到所述资源注册信息后, 向包含该资源的第二网络设备 20发起需向所述第一网络设备 10发送所述资 源的配置控制消息, 同时向第一网络设备 10发送请求成功的消息; 否则, 向 所述第一网络设备 10发送请求失败的消息。
请参见图 4所示, 第一网络设备 10包括: 发送单元 11和检测单元 12。 发送单元 11和检测单元 12相连接。
发送单元 11 , 用于向服务器发送本设备的资源注册信息, 或向服务器发 送资源需求请求, 或向其他网络设备发送资源。 向服务器发送本设备的资源 注册信息用于服务器对其资源配置信息的更新; 向服务器发送本设备的资源 需求请求用于服务器对网络中的资源进行配置; 向其他网络设备发送资源是 在服务器的控制下向其他网络设备发送资源完成资源的配置。
检测单元 12, 用于检测是否达到资源注册信息的上报触发条件, 当达到 触发条件时, 通知所述发送单元 11向服务器上报本设备的资源注册信息, 该 单元进一步包括:第一检测单元 121和 /或第二检测单元 122和 /或第三检测单 元 123。
第一检测单元 121 , 用于检测本网络设备的资源注册信息是否发生变化, 当检测到本网络设备包含的资源发生变化时,通知所述发送单元 11向服务器 上报本设备包含的资源注册信息。 当网络设备 10中的资源注册信息发生变化 时, 比如该部分资源从空闲变为繁忙时, 或者资源数量上发生变化等, 均可 通过第一检测单元 121来检测。 如果资源注册信息上报的触发条件为资源注 册信息的变化时,第一检测单元 121检测到第一网络设备 10中的资源注册信 息相对于上次上报的资源注册信息发生变化时,通知发送单元 11将当前的资 源注册信息上报至服务器。
第二检测单元 122, 用于检测是否达到本网络设备中设定的资源注册信 息上报周期或时间点, 当检测到达到本网络设备中设定的资源注册信息上报 周期或时间点时,通知所述发送单元 11向服务器上报本设备包含的资源注册 信息; 如设定网络设备每隔 100ms向服务器发送资源注册信息, 所述的时间 预先在网络设备中设定, 例如设定每天 12点向服务器发送资源注册信息; 其 中, 二者可以同时存在, 如每天 12点向服务器发送资源注册信息, 期间每隔 100ms向服务器发送资源注册信息。
第三检测单元 123 , 用于检测本网络设备是否接收到需要本设备上报该 网络设备资源拥有情况的请求, 当检测到时, 通知所述发送单元 11向服务器 上报本设备包含的资源注册信息。 服务器可以按照周期或时间点向网络设备 发送资源更新的请求, 所述资源注册信息上报周期预先在网络设备中设定, 如设定网络设备每隔 100ms向服务器发送资源注册信息, 所述的时间预先在 网络设备中设定, 例如设定每天 12点向服务器发送资源注册信息; 其中, 二 者可以同时存在, 如每天 12点向服务器发送资源注册信息, 期间每隔 100ms 向服务器发送资源注册信息。 本发明实施例的服务器根据网络中的网络设备的资源需求和更新后的资 源配置信息对所述网络设备进行资源配置, 由于每次进行资源配置时, 服务 器上的资源配置信息均是更新后的资源配置信息, 这样实施本发明实施例可 缩短资源的查找次数和过程, 从而有效的进行资源分配。 在更新频率够快的 情况下可以通过一次查找来实现资源的搜索。 这种动态的资源配置信息能够 快速的进行资源分配, 并且能够有效避免服务器处理能力的浪费。
请参照图 5所示, 图 5为本发明实施例实现资源配置方法的流程图, 本 发明实施例在通过服务器根据网络设备上报的资源注册信息更新自身的资源 配置信息, 来缩短资源的查找次数和过程, 从而有效的进行资源分配。 在更 新频率够快的情况下可以通过一次查找来实现资源的搜索。 这种动态的资源 配置信息能够快速的进行资源分配, 并且能够有效避免服务器处理能力的浪 费。
所述的资源配置方法包括如下步骤:
步骤 S101 , 网络设备在达到触发条件时向服务器发送资源注册信息。 所 述的资源注册信息中包括资源类型、 资源的可用度以及网络设备标识等, 其 中资源的可用度为: 资源的数量、 资源空闲的百分比或资源空闲标识等能够 判断某类资源当前是否空闲等信息内容。 资源注册信息需要网络设备达到上 报的触发条件之后才向服务器上报, 所述的触发条件包括: 网络设备包含的 资源发生变化, 所述信息资源的变化是指该网络设备中当前的包含资源相对 于上次上报的资源注册信息具有一定程度的变化,比如规定资源数量的变化、 资源百分比或者由空闲变为无空闲等等; 达到网络设备中设定的资源注册信 息上报周期或时间点, 所述资源注册信息上报周期预先在网络设备中设定, 如设定网络设备每隔 100ms向服务器发送资源注册信息, 所述的时间预先在 网络设备中设定, 例如设定每天 12点向服务器发送资源注册信息; 其中, 二 者可以同时存在, 如每天 12点向服务器发送资源注册信息, 期间每隔 100ms 向服务器发送资源注册信息; 网络设备接收到需要其上报该网络设备的资源 注册信息的请求时, 网络设备在接收到服务器发送的资源更新的请求后进行 资源注册信息的上报, 服务器可以按照周期或时间点向网络设备发送资源更 新的请求, 所述资源注册信息上报周期预先在网络设备中设定, 如设定网络 设备每隔 100ms向服务器发送资源注册信息, 所述的时间预先在网络设备中 设定, 例如设定每天 12点向服务器发送资源注册信息; 其中, 二者可以同时 存在,如每天 12点向服务器发送资源注册信息,期间每隔 100ms向服务器发 送资源注册信息。
步骤 S102, 服务器接收到网络设备发送的资源注册信息。
步骤 S103 ,判断接收到的资源注册信息是否包括在当前资源配置信息中, 如果判断为否, 则执行步骤 S104; 否则, 执行步骤 S111不进行更新的步骤。 具体实现中, 当执行完步骤 S111之后, 可转到步骤 S102。 当然, 服务器也 可以接收到网络设备上报的资源注册信息后不做任何判断直接进行资源配置 表的更新。
步骤 S104, 服务器更新当前的资源配置信息。
步骤 S105 , 接收第一网络设备发送的资源需求请求。 网络中第一网络设 备中没有配置或者已经耗尽客户端需要的资源时则向服务器发送资源需求请 求, 该资源需求请求中包括: 所需的资源类型、 资源需求量以及第一网络设 备的标识信息。 在资源需求请求中也可以包括对提供该资源的网络设备釆取 何种压缩方式和传送方式的请求信息。
步骤 S106, 根据接收到的第一网络设备发送的资源需求请求, 查找当前 存储的资源配置信息, 确定网络中是否有网络设备拥有所述请求的资源。 服 务器在接收到第一网络设备发送的资源需求请求后, 调用并查找存储的资源 配置信息, 可以根据第一网络设备需求的资源类型进行查找, 所述的查找包 括线性表查找、 Hash表查找以及 SQL关系数据库表查找等。
如果查找到其他网络设备空闲有第一网络设备请求的资源时, 则向第一 网络设备发送请求成功的消息, 否则执行步骤 S112, 向第一网络设备发送请 求失败的消息。 具体实现中, 当执行完步骤 S112之后, 可转到步骤 S102或 转到步骤 S105。在更新频率够快的情况下可以通过一次查找实现资源的搜索, 即通过一次查找就可以知道网络中其他网络设备是否空闲有第一网络设备所 需的资源。
步骤 S107, 将所述网络设备的所述资源的可用度进行标记, 所述标记用 于指示所述资源已被占用。 资源配置信息中该部分的资源注册信息的资源可 用度被标记后, 表明第一网络设备请求的资源已经被预先占用, 避免了其他 网络设备请求相同类型的资源时服务器仍然提供相同的空闲资源可能造成提 供资源的网络设备资源不足, 从而未获取所需资源的网络设备还需要再次向 服务器发送资源需求请求, 进行再次的资源配置, 也容易造成资源配置的混 乱。
步骤 S108, 服务器根据查找到的资源注册信息中包含的网络设备标识向 包含有该资源的第二网络设备发送配置控制消息。 服务器可以直接控制第二 网络设备将第一网络设备需求的资源直接发送给第一网络设备从而完成资源 配置, 当然这也可以作为网络的默认设置而不再用包含在配置控制消息中。
步骤 S109,第二网络接收到配置控制消息后,将被请求的资源进行打包。 通过压缩算法事先对需要发送的资源进行打包有利于网络之间的数据传输。
步骤 S110, 第二网络设备将打包的资源以 IP数据包的形式通过标准的 VOIP协议通信直接发送给第一网络设备。第一网络设备和第二网络设备之间 通过标准的 VOIP协议通信, 包括 SIP、 H.323、 媒体网关控制协议(Media Gateway Control Protocol, 以下简称: MGCP ) 以及 H.248等。
除此之外, 还可以在网络设备设置本地使用资源。 在网络设备中设置本 地资源主要为了保证本地通信的使用, 在本地通信得到保证的前提下才向其 他网络设备提供资源供其通信使用。 例如在网络设备中通过标识或者其他设 置方法设置数量为 5的某种资源, 这 5个资源仅供本地通信使用, 在该种资 源的数量小于 5时, 向服务器上报的资源消息中该种类资源的可用度为零或 者上报为 "无空闲" 。
本发明实施例的方法中服务器根据网络中的网络设备的资源需求和更新 后的资源配置信息对所述网络设备进行资源配置,由于每次进行资源配置时, 服务器上的资源配置信息均是更新后的资源配置信息, 这样实施本发明实施 例可缩短资源的查找次数和过程, 从而有效的进行资源分配。 在更新频率够 快的情况下可以通过一次查找来实现资源的搜索。 这种动态的资源配置信息 能够快速的进行资源分配, 并且能够有效避免服务器处理能力的浪费。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流 程, 是可以通过计算机程序来指令相关的硬件来完成, 所述的程序可存储于 一计算机可读取存储介质中, 该程序在执行时, 可包括如上述各方法的实施 例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体( Read-Only Memory, 以下简称: ROM )或随机存储记忆体( Random Access Memory, 以下简称: RAM )等。
以上所列举的仅为本发明的较佳实施例而已, 当然不能以此来限定本发 明之权利范围, 因此依本发明权利要求所作的等同变化, 仍属本发明所涵盖 的范围。

Claims

权利要求
1、 一种资源配置方法, 其特征在于, 包括:
根据网络设备的资源需求请求和更新后的资源配置信息对所述网络设备 进行资源配置, 所述资源配置信息包括网络中各网络设备上报的资源注册信 息。
2、 如权利要求 1所述的资源配置方法, 其特征在于, 所述根据网络设备 的资源需求请求和更新后的资源配置信息对所述网络设备进行资源配置之前 还包括:
根据网络中各网络设备上报的资源注册信息自动更新自身的资源配置信 息。
3、 如权利要求 2所述的资源配置方法, 其特征在于, 还包括: 资源注册信息;
或, 接收网络中的各网络设备在达到所述网络设备中设定的资源注册信 息上 ^艮周期或时间点时上 ^艮的资源注册信息;
或, 接收网络中各网络设备在需要所述网络设备上报该网络设备资源拥 有情况的请求时上报的资源注册信息。
4、 如权利要求 3所述的资源配置方法, 其特征在于, 所述根据网络中各 网络设备上报的资源注册信息自动更新自身的资源配置信息之前, 还包括: 判断接收到的资源注册信息是否包括在当前资源配置信息中, 如果判断 为否, 则更新自身的资源配置信息; 否则, 不进行更新。
5、 如权利要求 1所述的资源配置方法, 其特征在于, 所述根据网络设备 的资源需求请求和更新后的资源配置信息对所述网络设备进行资源配置包 括:
根据接收到的第一网络设备发送的资源需求请求, 查找当前存储的更新 后的资源配置信息, 确定网络中是否有网络设备拥有所述请求的资源;
当查找到网络中存在拥有所述请求的资源的网络设备后, 向所述网络设 备发起需向所述第一网络设备发送所述资源的配置控制消息; 否则, 向所述 第一网络设备发送请求失败的消息。
6、 如权利要求 1-5中任一项所述的资源配置方法, 其特征在于, 所述的 资源注册信息包括资源类型、 资源可用度以及包含所述资源的网络设备的设 备标识。
7、 如权利要求 6所述的资源配置方法, 其特征在于, 当查找到网络中存 在拥有所述请求的资源的网络设备后, 向所述网络设备发起需向所述第一网 络设备发送所述资源的配置控制消息包括:
当查找到网络中存在拥有所述请求的资源的网络设备后, 向所述网络设 备发起需向所述第一网络设备发送所述资源的配置控制消息, 并将所述网络 设备的所述资源的可用度进行标记, 所述标记用于指示所述资源已被占用。
8、 如权利要求 5所述的资源配置方法, 其特征在于, 在查找当前存储的 资源配置信息, 确定网络中是否有拥有所述请求的资源的网络设备之前还包 括:
向网络中各网络设备发送资源更新请求, 以指示所述网络设备上报资源 拥有情况的请求;
接收所述网络设备根据所述资源更新请求上报的资源注册信息; 根据所述网络设备上报的资源注册信息更新当前存储的资源配置信息。
9、 一种服务器, 其特征在于, 包括:
资源更新单元, 用于根据网络中各网络设备上报的资源注册信息更新自 身的资源配置信息;
配置控制单元, 用于根据网络设备的资源需求请求和经所述资源更新单 元更新后的资源配置信息对所述网络设备进行资源配置。
10、 如权利要求 9所述的服务器, 其特征在于, 该服务器还包括: 第一接收单元, 该单元用于接收网络设备上报的资源注册信息; 第一判断单元, 用于判断所述接收单元接收到的所述资源注册信息是否 包括在当前存储的资源配置信息中;
则所述资源更新单元, 用于在接收到所述第一判断单元输出的否定判断 结果时, 根据所述网络设备上报的资源注册信息自动更新自身的资源配置信 息。
11、 如权利要求 9所述的服务器, 其特征在于, 所述的配置控制单元包 括:
第二接收单元, 用于接收第一网络设备发送的资源需求请求;
查找单元, 用于根据所述第二接收单元接收到的资源需求请求, 查找当 前存储的资源配置信息, 确定网络中是否有网络设备拥有所述请求的资源; 发送单元,用于当查找到网络中存在拥有所述请求的资源的网络设备后 , 向所述网络设备发起需向所述第一网络设备发送所述资源的配置控制消息; 否则, 向所述第一网络设备发送请求失败的消息。
12、 如权利要求 9所述的服务器, 其特征在于, 所述配置控制单元还包 括:
标记单元, 用于当所述查找单元查找到网络中存在拥有所述请求的资源 的网络设备后, 向所述网络设备发起需向所述第一网络设备发送所述资源的 配置控制消息, 并将所述网络设备的所述资源的可用度进行标记, 所述标记 用于指示所述资源已被占用。
13、 一种网络设备, 其特征在于, 包括:
检测单元, 用于检测是否达到资源注册信息的上报触发条件;
发送单元, 用于当达到触发条件时, 向服务器上报本设备的资源注册信 息。
14、 如权利要求 13所述的网络设备, 其特征在于, 所述的检测单元具体 包括:
第一检测单元, 用于检测本网络设备的包含的资源是否发生变化, 当检 测到本网络设备的包含的资源发生变化时, 通知所述发送单元向所述服务器 上报本设备的资源注册信息; 和 /或
第二检测单元, 用于检测是否达到本网络设备中设定的资源注册信息上 报周期或时间点, 当检测到达到本网络设备中设定的资源注册信息上报周期 或时间点时, 通知所述发送单元向所述服务器上报本设备的资源注册信息; 和 /或
第三检测单元, 用于检测本网络设备是否接收到需要本设备上报该网络 设备资源拥有情况的请求, 当检测到时, 通知所述发送单元向所述服务器上 报本设备的资源注册信息。
15、 一种网络系统, 其特征在于, 包括:
网络设备, 用于发送本设备的资源注册信息, 或发送资源需求请求; 服务器, 用于根据网络中的网络设备的资源需求和更新后的资源配置信 息对所述网络设备进行资源配置 , 所述资源配置信息包括网络中各网络设备 上报的资源注册信息;
16、 如权利要求 15所述的网络系统, 其特征在于, 所述网络设备还用于 根据所述服务器的资源配置指示信息向另一网络设备发送资源。
17、 如权利要求 15所述的网络系统, 其特征在于, 所述服务器还用于根 据网络中各网络设备上报的资源注册信息更新自身的资源配置信息。
PCT/CN2008/073909 2008-06-28 2008-12-31 资源配置方法、服务器、网络设备及网络系统 WO2009155771A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP08874770A EP2159958A4 (en) 2008-06-28 2008-12-31 RESOURCE ALLOCATION METHOD, SERVER, NETWORK DEVICE, AND NETWORK SYSTEM
US12/545,489 US8631098B2 (en) 2008-06-28 2009-08-21 Resource configuration method, server, network equipment and network system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2008100291730A CN101304330B (zh) 2008-06-28 2008-06-28 一种资源配置方法、服务器、及网络系统
CN200810029173.0 2008-06-28

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US12/545,489 Continuation US8631098B2 (en) 2008-06-28 2009-08-21 Resource configuration method, server, network equipment and network system

Publications (1)

Publication Number Publication Date
WO2009155771A1 true WO2009155771A1 (zh) 2009-12-30

Family

ID=40114055

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/073909 WO2009155771A1 (zh) 2008-06-28 2008-12-31 资源配置方法、服务器、网络设备及网络系统

Country Status (4)

Country Link
US (1) US8631098B2 (zh)
EP (1) EP2159958A4 (zh)
CN (1) CN101304330B (zh)
WO (1) WO2009155771A1 (zh)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101304330B (zh) * 2008-06-28 2010-12-08 华为技术有限公司 一种资源配置方法、服务器、及网络系统
CN101478425B (zh) * 2008-12-31 2015-05-06 深圳市同洲电子股份有限公司 一种网络管理代理的方法及系统
CN102118263B (zh) * 2010-01-06 2015-05-20 中兴通讯股份有限公司 配置信息的发布方法及系统
CN102137014B (zh) * 2011-03-11 2013-12-04 华为技术有限公司 资源管理方法、系统和资源管理器
US10380041B2 (en) 2012-08-23 2019-08-13 Dell Products, Lp Fabric independent PCIe cluster manager
US9086919B2 (en) * 2012-08-23 2015-07-21 Dell Products, Lp Fabric independent PCIe cluster manager
CN103501347B (zh) * 2013-10-14 2016-08-10 中国联合网络通信集团有限公司 资源分配方法及装置
CN105357026B (zh) * 2015-09-24 2019-07-23 华为技术有限公司 一种资源信息收集方法和计算节点
CN106900060B (zh) * 2015-12-18 2021-07-13 中兴通讯股份有限公司 一种获取、下发应用信息的方法和设备
WO2018014351A1 (zh) * 2016-07-22 2018-01-25 华为技术有限公司 一种资源配置方法及装置
CN106776033B (zh) * 2016-12-27 2020-05-08 东软集团股份有限公司 一种嵌入式设备的资源利用方法及系统
CN109586970B (zh) * 2018-12-13 2022-07-08 新华三大数据技术有限公司 资源分配方法、装置及系统
CN112751917A (zh) * 2020-12-28 2021-05-04 锐捷网络股份有限公司 资源文件加载方法、网络设备、电子设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030172163A1 (en) * 2002-03-05 2003-09-11 Nec Corporation Server load balancing system, server load balancing device, and content management device
CN1489069A (zh) * 2002-10-10 2004-04-14 华为技术有限公司 面向内容的负载均衡方法和设备
CN1679300A (zh) * 2002-09-07 2005-10-05 国际商业机器公司 用于提供所要求的能力的万维网服务器的远程动态配置
CN1738244A (zh) * 2004-08-17 2006-02-22 北京亿阳巨龙智能网技术有限公司 在软交换系统中设置应用服务器的代理服务器的方法
CN101304330A (zh) * 2008-06-28 2008-11-12 华为技术有限公司 一种资源配置方法、服务器、网络设备及网络系统

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5619716A (en) * 1991-11-05 1997-04-08 Hitachi, Ltd. Information processing system having a configuration management system for managing the software of the information processing system
US5812748A (en) * 1993-06-23 1998-09-22 Vinca Corporation Method for improving recovery performance from hardware and software errors in a fault-tolerant computer system
US5974461A (en) * 1996-06-03 1999-10-26 Webtv Networks, Inc. Method for automatically regenerating information at a client system in the event of power or communication disruption between the client system and the server
US6044399A (en) * 1998-02-27 2000-03-28 Micron Electronics, Inc. Inferring the identity of a preferred server from configuration information
US6614781B1 (en) * 1998-11-20 2003-09-02 Level 3 Communications, Inc. Voice over data telecommunications network architecture
US6901446B2 (en) * 2001-02-28 2005-05-31 Microsoft Corp. System and method for describing and automatically managing resources
US7089297B1 (en) * 2001-05-25 2006-08-08 Oracle International Corporation Mechanism for automatically configuring a network resource
US6628763B1 (en) * 2001-05-31 2003-09-30 Alcatel Call waiting service in multimedia-capable network
CN100454794C (zh) * 2002-08-08 2009-01-21 中兴通讯股份有限公司 一种用于宽带码分多址系统的频间硬切换判决方法
JP2005266917A (ja) * 2004-03-16 2005-09-29 Nec Corp 分散資源獲得システム、分散資源獲得方法および分散資源獲得用プログラム
GB2412108B (en) * 2004-03-19 2008-12-24 Pvaxx Res & Dev Ltd Load-carrying apparatus and methods of manufacture
IL165416A0 (en) * 2004-11-28 2006-01-15 Objective data regarding network resources
KR100705564B1 (ko) * 2004-12-10 2007-04-10 삼성전자주식회사 네트워크에서의 자원 관리 장치 및 방법
CN100466600C (zh) * 2005-03-08 2009-03-04 华为技术有限公司 下一代网络中实现接入配置模式资源预留的方法
US20080311896A1 (en) * 2007-06-12 2008-12-18 Jeyhan Karaoguz Method and system for a mobile multi-service interface device
US7870251B2 (en) * 2008-01-10 2011-01-11 At&T Intellectual Property I, L.P. Devices, methods, and computer program products for real-time resource capacity management
US8452855B2 (en) * 2008-06-27 2013-05-28 Yahoo! Inc. System and method for presentation of media related to a context

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030172163A1 (en) * 2002-03-05 2003-09-11 Nec Corporation Server load balancing system, server load balancing device, and content management device
CN1679300A (zh) * 2002-09-07 2005-10-05 国际商业机器公司 用于提供所要求的能力的万维网服务器的远程动态配置
CN1489069A (zh) * 2002-10-10 2004-04-14 华为技术有限公司 面向内容的负载均衡方法和设备
CN1738244A (zh) * 2004-08-17 2006-02-22 北京亿阳巨龙智能网技术有限公司 在软交换系统中设置应用服务器的代理服务器的方法
CN101304330A (zh) * 2008-06-28 2008-11-12 华为技术有限公司 一种资源配置方法、服务器、网络设备及网络系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2159958A4 *

Also Published As

Publication number Publication date
US8631098B2 (en) 2014-01-14
EP2159958A1 (en) 2010-03-03
CN101304330A (zh) 2008-11-12
EP2159958A4 (en) 2010-07-14
US20090327455A1 (en) 2009-12-31
CN101304330B (zh) 2010-12-08

Similar Documents

Publication Publication Date Title
WO2009155771A1 (zh) 资源配置方法、服务器、网络设备及网络系统
EP1839420B1 (en) A method and apparatus for handling emergency calls
US20040081159A1 (en) Method and apparatus for multi-media communication over multiple networks
WO2010118604A1 (zh) 身份标识与位置分离的实现方法、系统及装置
WO2015003566A1 (zh) 组播域名系统中报文传输的方法、装置及系统
WO2016177056A1 (zh) 用于视频会议的数据传输方法、装置及系统
JP2009543438A (ja) マルチキャスト・データを信頼できる形で送達するための方法および装置
WO2009067937A1 (fr) Procédé, dispositif et système de surveillance de session basés sur une technique de multidiffusion
WO2013040970A1 (zh) 中继节点选择方法及装置
WO2009003394A1 (fr) Procédé d'étude d'adresse mac et élément de réseau
WO2019100831A1 (zh) 传输层协议适配的方法、网元设备及系统
WO2011160587A1 (zh) 一种双栈终端连接网络的方法及系统
WO2009021460A1 (fr) Procédé de rapport d'un résultat de mise en œuvre de politique, système de communication par réseau et équipement
KR20110008311A (ko) 네트워크를 관리하는 방법들 및 디바이스들
WO2014114088A1 (zh) 一种ngn下实现宽带业务功能的方法及业务平台
WO2013113201A1 (zh) 一种获取sip服务器地址的方法和装置
WO2008125057A1 (fr) Procédé et système de communication avec un abonné supportant divers services de messagerie
WO2011120365A1 (zh) 多穴终端建立连接的方法和系统
WO2013023469A1 (zh) 接入管理方法、装置和系统
WO2016177103A1 (zh) 一种发现共享资源的方法、系统及装置
CN101325564B (zh) 一种虚拟媒体网关选择方法、装置及系统
WO2009094933A1 (fr) Procédé de traitement du tunnel d'un réseau par paquets, système de communication, et appareil associé
WO2011047614A1 (zh) 一种映射关系的查询方法与系统及相应数据报文发送方法
WO2022166608A1 (zh) 一种基于quic协议的服务升级方法、装置及电子设备
WO2012175006A1 (zh) 基于点对点的网络管理方法及代理选择服务器

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 2008874770

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 237/KOLNP/2010

Country of ref document: IN

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

Ref document number: 08874770

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE