[go: up one dir, main page]

CN101764852A - Licence control method, system and server - Google Patents

Licence control method, system and server Download PDF

Info

Publication number
CN101764852A
CN101764852A CN200810241698A CN200810241698A CN101764852A CN 101764852 A CN101764852 A CN 101764852A CN 200810241698 A CN200810241698 A CN 200810241698A CN 200810241698 A CN200810241698 A CN 200810241698A CN 101764852 A CN101764852 A CN 101764852A
Authority
CN
China
Prior art keywords
license
business
business components
service
server
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN200810241698A
Other languages
Chinese (zh)
Other versions
CN101764852B (en
Inventor
汪洋
鞠飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN 200810241698 priority Critical patent/CN101764852B/en
Publication of CN101764852A publication Critical patent/CN101764852A/en
Application granted granted Critical
Publication of CN101764852B publication Critical patent/CN101764852B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明公开了一种许可证License控制方法、系统及服务器。该方法包括:获取各个业务部件的业务量,根据各个业务部件的业务量计算各个业务部件的License需求量之和;若各个业务部件的License需求量之和超过设置的许可证阈值量,则指示各个业务部件拒绝为后续业务请求提供服务。有效解决了对业务设备使用License的控制,使业务设备在不超过License总量的前提下实现License资源充分利用。

The invention discloses a license control method, system and server. The method includes: obtaining the business volume of each business component, and calculating the sum of the license requirements of each business component according to the business volume of each business component; if the sum of the license requirements of each business component exceeds the set license threshold value, indicating Individual business components refuse to service subsequent business requests. It effectively solves the problem of controlling the use of licenses for business equipment, enabling business equipment to fully utilize license resources without exceeding the total amount of licenses.

Description

一种许可证控制方法、系统及服务器 A license control method, system and server

技术领域technical field

本发明涉及通信领域,尤其涉及一种许可证控制方法、系统及服务器。The present invention relates to the communication field, in particular to a license control method, system and server.

背景技术Background technique

许可证文件,即License文件是用于对相应通信设备提供的服务进行授权,从而保证网络中的通信设备可以根据授权情况提供相应的服务。目前,设备提供商在提供电信设备给运营商时,通常根据运营商购买的设备License进行对设备允许的最大能力进行限制,即设备实际承载的最大能力不可超过预先设定的License值,超过部分将会被直接拒绝或者降低服务质量。由于不同设备承载的业务对License需求不同,各设备实际使用的License量也不同,造成部分设备的License使用率很高,甚至License不足;而部分设备的License使用率严重不足,License有大量的剩余。License的使用不均造成License的浪费,甚至造成服务质量的下降。The license file, that is, the License file is used to authorize the services provided by the corresponding communication devices, so as to ensure that the communication devices in the network can provide corresponding services according to authorization conditions. At present, when equipment providers provide telecommunications equipment to operators, they usually limit the maximum capacity allowed by the equipment according to the equipment license purchased by the operator, that is, the actual maximum capacity of the equipment cannot exceed the preset license value. will be directly rejected or the quality of service will be reduced. Because the services carried by different devices have different requirements for licenses, the actual amount of licenses used by each device is also different. As a result, the license usage rate of some devices is high, or even insufficient. . Uneven use of licenses results in a waste of licenses and even a drop in service quality.

发明内容Contents of the invention

有鉴于此,为解决对业务部件使用许可证License的控制,使业务设备在不超过License总量的前提下实现License资源充分利用,本发明实施例提供了一种许可证控制方法、系统及服务器。In view of this, in order to solve the problem of controlling the use of licenses for business components, so that business equipment can fully utilize license resources without exceeding the total amount of licenses, embodiments of the present invention provide a license control method, system, and server .

本发明实施例提供了一种控制许可证License方法,包括:An embodiment of the present invention provides a method for controlling a license, including:

获取各个业务部件的业务量,根据所述各个业务部件的业务量计算所述各个业务部件的License需求量之和;若所述各个业务部件的License需求量之和超过设置的License阈值量,则指示所述各个业务部件拒绝为后续业务请求提供服务。Obtain the business volume of each business component, and calculate the sum of the license requirements of the various business components according to the business volume of the various business components; if the sum of the license requirements of the various business components exceeds the set license threshold value, then Instructing the respective service components to refuse to provide services for subsequent service requests.

同时,本发明实施例还提供了一种License控制系统,包括:用于控制业务部件的License服务器;At the same time, the embodiment of the present invention also provides a License control system, including: a License server for controlling service components;

所述License服务器,用于获取各个业务部件的业务量,根据所述各个业务部件的业务量计算所述各个业务部件的License需求量之和,若所述各个业务部件的License需求量之和超过设置的License阈值量,则指示所述各个业务部件拒绝为后续业务请求提供服务;所述业务部件,用于向所述License服务器上报业务量,并接受所述License服务器的指示。The License server is configured to obtain the business volume of each business component, and calculate the sum of the license requirements of the various business components according to the business volume of the various business components, if the sum of the license requirements of the various business components exceeds The set license threshold value instructs each service component to refuse to provide services for subsequent service requests; the service component is configured to report the service volume to the license server and accept the license server's instruction.

另外,本发明实施例还提供了一种License服务器,包括:In addition, the embodiment of the present invention also provides a License server, including:

获取模块,用于获取各个业务部件上报的业务量;计算模块,根据所述各个业务部件的业务量计算所述各个业务部件的License需求量之和;比较模块,用于将根据所述计算模块计算得到的各个业务部件的License需求量之和与设置的License阈值量进行比较;指示模块,用于若比较所述各个业务部件的License需求量之和超过设置的License阈值量,则指示所述各个业务部件拒绝为后续业务请求提供服务。The obtaining module is used to obtain the business volume reported by each business unit; the calculation module is used to calculate the sum of the license requirements of each business unit according to the business volume of each business unit; The calculated sum of the license requirements of each business component is compared with the set license threshold amount; the indication module is used to indicate that the sum of the license requirements of each business component exceeds the set license threshold amount. Individual business components refuse to service subsequent business requests.

本发明实施例根据计算各个业务部件的License需求量之和是否超过设置的License阈值量;根据计算结果指示业务部件业务部件为后续业务请求提供服务。利用对License总量的控制来指示业务部件为后续的业务请求提供服务,实现了业务部件在不超过License总量的前提下实现License资源充分利用。有效地解决了业务部件License使用不均导致的License浪费的问题,同时提高了业务部件为业务请求提供服务的质量。The embodiment of the present invention calculates whether the sum of the license requirements of each service component exceeds the set license threshold; and instructs the service component to provide services for subsequent service requests according to the calculation result. Controlling the total amount of licenses is used to instruct business components to provide services for subsequent business requests, so that the business components can fully utilize license resources without exceeding the total amount of licenses. It effectively solves the problem of license waste caused by uneven use of licenses by business components, and at the same time improves the quality of services provided by business components for business requests.

附图说明Description of drawings

图1为本发明的一个控制License方法实施例的流程图。FIG. 1 is a flowchart of an embodiment of a license control method in the present invention.

图2为本发明的一个控制License系统实施例的结构示意图。FIG. 2 is a schematic structural diagram of an embodiment of a control license system of the present invention.

图3为本发明的一个License服务器实施例的结构示意图。FIG. 3 is a schematic structural diagram of a License server embodiment of the present invention.

图4为本发明的又一个License服务器实施例的结构示意图。FIG. 4 is a schematic structural diagram of yet another License server embodiment of the present invention.

具体实施方式Detailed ways

目前,设备提供商在提供电信设备给运营商时,通常根据运营商购买的设备License进行对设备允许的最大能力进行限制,即设备实际承载的最大能力不可超过预先设定的License值,超过部分将会被直接拒绝或者降低服务质量。由于不同设备承载的业务对License需求不同,各设备实际使用的License量也不同,造成部分设备的License使用率很高,甚至License不足;而部分设备的License使用率严重不足,License有大量的剩余,License的使用不均造成License的浪费,甚至造成服务质量的下降。At present, when equipment providers provide telecommunications equipment to operators, they usually limit the maximum capacity allowed by the equipment according to the equipment license purchased by the operator, that is, the actual maximum capacity of the equipment cannot exceed the preset license value. will be directly rejected or the quality of service will be reduced. Because the services carried by different devices have different requirements for licenses, the actual amount of licenses used by each device is also different. As a result, the license usage rate of some devices is high, or even insufficient. , The uneven use of licenses leads to waste of licenses and even a decline in service quality.

为了提高对License的控制,实现业务设备在不超过License总量的前提下实现License资源充分利用;有效解决License使用率不均导致的License浪费的问题,提高对业务请求的服务质量。In order to improve the control over licenses, realize the full utilization of license resources for business equipment without exceeding the total amount of licenses; effectively solve the problem of license waste caused by uneven license usage, and improve the service quality of business requests.

本发明实施例提供了一种控制License方法,请结合参看图1,包括:The embodiment of the present invention provides a license control method, please refer to Figure 1, including:

步骤101,获取各个业务部件的业务量,根据各个业务部件的业务量计算各个业务部件的License需求量之和。Step 101, acquire the business volume of each business component, and calculate the sum of the license requirements of each business component according to the business volume of each business component.

各业务部件定时或实时把业务部件的业务量上报给License服务器。Each service component reports the service volume of the service component to the license server regularly or in real time.

License服务器控制共享license的各个业务部件。业务部件内有各自的License客户端,各License客户端都直接和License服务器进行相连。各业务部件的License客户端负责定时或实时把各业务部件的业务量的License需求量上报给License服务器,License服务器接收各个业务部件的License客户端上报的各个业务部件的License需求量。The license server controls each business component that shares the license. Each business component has its own license client, and each license client is directly connected to the license server. The license client of each business component is responsible for reporting the license demand of the business volume of each business component to the license server regularly or in real time, and the license server receives the license demand of each business component reported by the license client of each business component.

根据各个业务部件的业务量计算各个业务部件的License需求量,即计算各个业务部件的License客户端上报的各个业务部件的License需求量之和。Calculate the license requirements of each service component based on the business volume of each service component, that is, calculate the sum of the license requirements of each service component reported by the license client of each service component.

业务部件的License客户端定时(如,按周期)或实时上报各个业务部件的License需求量,该特征适用于本发明其他实施例。The license client of the service component reports the license demand of each service component regularly (for example, periodically) or in real time, and this feature is applicable to other embodiments of the present invention.

可选的,License服务器可以通过监控,获取各个业务部件的业务量以及License需求量。Optionally, the license server can obtain the service volume and license demand of each service component through monitoring.

可选的,各个业务部件可以是为不同业务请求提供服务的业务设备。例如,业务部件可以是短消息业务中心(Short Message Service Centre,SMSC)设备,也可以是多媒体消息服务中心(Multimedia Messaging Service Center,MMSC)设备,或者是其他业务设备。Optionally, each service component may be a service device that provides services for different service requests. For example, the service component may be a Short Message Service Center (Short Message Service Center, SMSC) device, a Multimedia Messaging Service Center (Multimedia Messaging Service Center, MMSC) device, or other service devices.

步骤102,若各个业务部件的License需求量之和超过设置的许可证阈值量,则指示各个业务部件拒绝为后续业务请求提供服务。Step 102, if the sum of the license requirements of each service component exceeds the set license threshold, instruct each service component to refuse to provide services for subsequent service requests.

设备提供商在提供电信设备给运营商时,通常根据运营商购买的设备License进行对设备允许的最大能力进行限制,即设备实际承载的最大能力不可超过预先设置的License值,即License阈值量。When equipment providers provide telecom equipment to operators, they usually limit the maximum capacity allowed by the equipment according to the equipment license purchased by the operator, that is, the actual maximum capacity carried by the equipment cannot exceed the preset license value, that is, the license threshold value.

业务部件向业务请求提供服务应获得License。当各个业务部件的业务量消耗的License量总和,即License需求量总和超过设置的License阈值量,License服务器则指示业务部件拒绝为后续的业务请求提供服务。若各业务部件的业务量的License需求量之和超过设置的License阈值量,License服务器仍然指示该业务部件的为后续的业务请求提供服务,会导致整个业务请求的整体服务质量下降。Business components that provide services to business requests should obtain a license. When the total license amount consumed by the business volume of each business component, that is, the total license demand exceeds the set license threshold, the license server instructs the business component to refuse to provide services for subsequent business requests. If the sum of the license requirements of the business volume of each business component exceeds the set license threshold, the license server still instructs the business component to provide services for subsequent business requests, which will lead to a decline in the overall service quality of the entire business request.

若各业务部件的业务量的License需求量之和没有超过设置的License阈值量,License服务器则允许业务部件为后续业务请求提供服务。If the sum of the license requirements of the service volume of each service component does not exceed the set license threshold, the license server allows the service component to provide services for subsequent service requests.

本发明实施例在各不同的业务部件进行license共享时,具体可采用以下方式来计算各个业务部件的License需求量之和是否超过设置的License阈值量:In the embodiment of the present invention, when different business components share licenses, the following methods can be used to calculate whether the sum of the license requirements of each business component exceeds the set license threshold:

在License服务器中,可针对License的度量定义一个基本单位,每个基本单位定义为单位BaseLicense。License服务器设置License阈值量为MaxLicense。In the license server, a basic unit can be defined for the measurement of the license, and each basic unit is defined as the unit BaseLicense. The license server sets the license threshold to MaxLicense.

定义一个License基本单位,设为BaseLicense。不同的业务部件的业务请求的License需求量是不相同的,并且不同业务部件的业务请求的License需求量单位计算也不相同。例如,短消息业务是以每条短消息业务的License需求量为基本单位,多媒体消息业务是以每条多媒体消息业务的License需求量为基本单位。根据不同业务请求的处理的License需求量,把对应的单位实际业务流量License需求量量化为以BaseLicense为单位的需求量。例如:每条短消息业务(Short Message Service,SMS)的License需求量是1个BaseLicense,每条多媒体消息业务(Multimedia Messaging Service,MMS)的License需求量是5个BaseLicense。假设业务部件1的单位实际业务流量License需求量为X1个BaseLicense单位,业务部件2的单位实际业务流量License需求量为X2个BaseLicense单位,业务部件N的单位实际业务流量License需求量为XN个BaseLicense单位。Define a basic license unit and set it to BaseLicense. The license requirements for service requests of different service parts are different, and the calculation of the license demand units for service requests of different service parts is also different. For example, the short message service takes the license requirement of each short message service as the basic unit, and the multimedia message service uses the license demand of each multimedia message service as the basic unit. According to the license demand for processing different business requests, quantify the corresponding unit actual service traffic license demand into the base license demand. For example, the license requirement for each Short Message Service (Short Message Service, SMS) is 1 BaseLicense, and the license requirement for each Multimedia Messaging Service (MMS) is 5 BaseLicenses. Assume that the unit actual service traffic license demand of business component 1 is X 1 BaseLicense unit, the unit actual business traffic license demand of business component 2 is X 2 BaseLicense units, and the unit actual business traffic license demand of business component N is X N BaseLicense units.

业务部件1的实际业务流量为Traffic1,业务部件2的实际业务流量为Traffic2,业务部件N的的实际业务流量为TrafficN,则业务部件1的License客户端上报业务部件1的实际处理的License需求量为Traffic1×X1个BaseLicense单位;业务部件2的License客户端上报业务部件2的实际处理的License需求量为Traffic2×X2个BaseLicense单位;业务部件N的License客户端上报业务部件N的实际处理的License需求量为TrafficN×XN个BaseLicense单位。The actual service traffic of business unit 1 is Traffic1, the actual business traffic of business unit 2 is Traffic2, and the actual business traffic of business unit N is TrafficN, then the license client of business unit 1 reports the actual processing license demand of business unit 1 Traffic1×X 1 BaseLicense unit; the license client of business component 2 reports the actual processing license demand of business component 2 is Traffic2×X 2 BaseLicense units; the license client of business component N reports the actual processing of business component N The license requirement is TrafficN×X N BaseLicense units.

License服务器对所有控制的业务部件的License客户端上报的需求量之和进行计算(Traffic1×X1)+(Traffic2×X2)+(...)+(Trafficn×XN),即

Figure G2008102416980D0000051
The license server calculates the sum of the demands reported by the license clients of all controlled business components (Traffic1×X 1 )+(Traffic2×X 2 )+(...)+(Trafficn×X N ), namely
Figure G2008102416980D0000051

License服务器对所有控制的业务部件进行控制具体为:≤MaxLicense。The license server controls all the controlled business components as follows: ≤MaxLicense.

Figure G2008102416980D0000053
即业务部件的License需求量之和没有超过设置的阈值量,则允许业务部件为后续业务请求提供服务。否则,指示业务部件拒绝为后续业务请求提供服务。like
Figure G2008102416980D0000053
That is, if the sum of the license requirements of the business components does not exceed the set threshold, the business components are allowed to provide services for subsequent business requests. Otherwise, instruct the business component to refuse to service subsequent business requests.

例如,若运营商向设备提供商购买了短消息业务中心(Short MessageService Centre,SMSC)和多媒体消息服务中心(Multimedia Messaging ServiceCenter,MMSC)设备,SMSC和MMSC设备的License统一由License服务器进行控制。假设每条SMS占用的License是1个BaseLicense,每条MMS占用的License是5个BaseLicense,运营商购买了1000BaseLicense。则SMSC设备最大可以允许1000条/秒的流量(此时MMSC设备的流量为0),MMSC设备最大可以允许200条/秒的流量(此时SMSC设备的流量为0),或者SMSC可以支持500条/秒的流量(此时MMSC设备的流量可以最大支持到100条/秒)。即只要满足(SMSC设备的实际流量×1)+(MMSC设备的实际流量×5)≤1000,则允许SMSC设备、MMSC设备根据自身业务量进行License资源共享。For example, if an operator purchases Short Message Service Center (Short Message Service Center, SMSC) and Multimedia Messaging Service Center (Multimedia Messaging Service Center, MMSC) equipment from an equipment provider, the licenses of the SMSC and MMSC equipment are uniformly controlled by the License Server. Assume that the license occupied by each SMS is 1 BaseLicense, the license occupied by each MMS is 5 BaseLicenses, and the operator has purchased 1000 BaseLicenses. Then the SMSC device can allow a maximum of 1000 streams per second (the traffic of the MMSC device is 0 at this time), the MMSC device can allow a maximum of 200 streams per second (the traffic of the SMSC device is 0 at this time), or the SMSC can support 500 Bar/second traffic (at this time, the flow of MMSC equipment can support up to 100 streams/second). That is, as long as (the actual traffic of the SMSC device × 1) + (the actual traffic of the MMSC device × 5) ≤ 1000, the SMSC device and the MMSC device are allowed to share license resources according to their own traffic.

本发明实施例通过License服务器对业务部件对业务请求提供服务的控制,使各个业务部件在不超过设置的License阈值量的前提下实现License资源的共享,实现对License资源的充分利用。In the embodiment of the present invention, the license server controls the services provided by the business components to the business requests, so that each business component can realize the sharing of license resources and fully utilize the license resources under the premise of not exceeding the set license threshold amount.

请结合参看图2,本发明实施例提供了一种控制License系统,具体包括:Please refer to FIG. 2 , the embodiment of the present invention provides a control license system, which specifically includes:

License服务器201,用于控制业务部件。具体用于获取各个业务部件的业务量,并根据各个业务部件的业务量计算各个业务部件的License需求量之和,若各个业务部件的License需求量之和超过设置的License阈值量,则指示各个业务部件拒绝为后续业务请求提供服务。License server 201, used to control service components. It is specifically used to obtain the business volume of each business component, and calculate the sum of the license requirements of each business component based on the business volume of each business component. If the sum of the license requirements of each business component exceeds the set license threshold, instruct each The business component refuses to service subsequent business requests.

License服务器201可针对License度量定义一个基本单位,将License度量的基本单位定义为BaseLicense。并设置设备的License阈值量,设为MaxLicense。The License server 201 may define a basic unit for License measurement, and define the basic unit of License measurement as BaseLicense. And set the license threshold of the device as MaxLicense.

不同的业务部件的业务请求的License需求量是不相同的,并且不同业务部件的业务请求的License需求量单位计算也不相同。例如,短消息业务是以每条短消息业务的License需求量为基本单位,多媒体消息业务是以每条多媒体消息业务的License需求量为基本单位。根据不同业务请求的处理的License需求量,把对应的单位实际业务流量License需求量量化为以BaseLicense为单位的需求量。例如:每条短消息业务(Short Message Service,SMS)的License需求量是1个BaseLicense,每条多媒体消息业务(MultimediaMessaging Service,MMS)的License需求量是5个BaseLicense。假设业务部件1的单位实际业务流量License需求量为X1个BaseLicense单位,业务部件2的单位实际业务流量License需求量为X2个BaseLicense单位,业务部件N的单位实际业务流量License需求量为XN个BaseLicense单位。The license requirements for service requests of different service parts are different, and the calculation of the license demand units for service requests of different service parts is also different. For example, the short message service takes the license requirement of each short message service as the basic unit, and the multimedia message service uses the license demand of each multimedia message service as the basic unit. According to the license demand for processing different business requests, quantify the corresponding unit actual service traffic license demand into the base license demand. For example, the license requirement for each Short Message Service (Short Message Service, SMS) is 1 BaseLicense, and the license requirement for each Multimedia Message Service (Multimedia Messaging Service, MMS) is 5 BaseLicenses. Assume that the unit actual service traffic license demand of business component 1 is X 1 BaseLicense unit, the unit actual business traffic license demand of business component 2 is X 2 BaseLicense units, and the unit actual business traffic license demand of business component N is X N BaseLicense units.

License服务器201对所有控制的业务部件的License客户端上报的License需求量之和进行计算(Traffic1×X1)+(Traffic2×X2)+(...)+(Trafficn×XN),即

Figure G2008102416980D0000071
License server 201 calculates the sum of the license requirements reported by the license clients of all controlled business components (Traffic1×X 1 )+(Traffic2×X 2 )+(...)+(Trafficn×X N ), namely
Figure G2008102416980D0000071

License服务器201对所有控制的业务部件进行控制具体为:

Figure G2008102416980D0000072
The License server 201 controls all the controlled business components as follows:
Figure G2008102416980D0000072

License服务器201接收各个业务部件上报的业务量,并根据

Figure G2008102416980D0000073
统计各个业务部件的License需求量。若
Figure G2008102416980D0000074
License服务器201则允许业务部件为后续的业务请求提供服务。否则,指示业务部件拒绝为后续业务请求提供服务。License server 201 receives the business volume reported by each business component, and according to
Figure G2008102416980D0000073
Collect statistics on the license requirements of each service component. like
Figure G2008102416980D0000074
The License server 201 allows service components to provide services for subsequent service requests. Otherwise, instruct the business component to refuse to service subsequent business requests.

可选的,该License控制系统可以包括业务部件202,用于向License服务器201上报业务量,并接受License服务器201的指示。Optionally, the License control system may include a service component 202 configured to report the traffic to the License server 201 and accept instructions from the License server 201 .

可选的,若各个业务部件的License需求量之和超过设置的License阈值量,业务部件202根据License服务器201的指示拒绝为后续业务请求提供服务。Optionally, if the sum of the license requirements of each service component exceeds the set license threshold, the service component 202 refuses to provide services for subsequent service requests according to the instruction of the license server 201 .

可选的,License控制系统可以包括N个业务部件,N可以为任一自然数。Optionally, the license control system may include N business components, where N may be any natural number.

可选的,各个业务部件可以是为不同业务请求提供服务的业务设备。例如,业务部件可以是短消息业务中心(Short Message Service Centre,SMSC)设备,也可以是多媒体消息服务中心(Multimedia Messaging Service Center,MMSC)设备,或者是其他业务设备。该特征适用于本发明其他实施例。Optionally, each service component may be a service device that provides services for different service requests. For example, the service component may be a Short Message Service Center (Short Message Service Center, SMSC) device, a Multimedia Messaging Service Center (Multimedia Messaging Service Center, MMSC) device, or other service devices. This feature is applicable to other embodiments of the invention.

可选的,业务部件202包括License客户端,用于向License服务器201上报业务部件202处理业务量License需求量。Optionally, the service component 202 includes a license client, configured to report to the license server 201 the license requirement of the service volume processed by the service component 202 .

请结合参看图3,本发明实施例提供了一种License服务器201,包括:获取模块301,计算模块302,比较模块303,指示模块304。Please refer to FIG. 3 , the embodiment of the present invention provides a License server 201 , including: an acquisition module 301 , a calculation module 302 , a comparison module 303 , and an indication module 304 .

获取模块301,用于获取各个业务部件上报的业务量。The acquiring module 301 is configured to acquire the business volume reported by each business component.

获取模块301接收各个业务部件定时或实时上报的业务量。The acquisition module 301 receives the service volume reported by each service component in a regular or real-time manner.

业务部件内有各自的License客户端,各License客户端都直接和License服务器进行相连。各业务部件的License客户端负责定时或实时把各业务部件的业务量的License需求量上报。可选的,获取模块301接收各个业务部件的License客户端上报的各个业务部件的License需求量。Each business component has its own license client, and each license client is directly connected to the license server. The license client of each business component is responsible for reporting the license demand of the business volume of each business component regularly or in real time. Optionally, the acquisition module 301 receives the license requirements of each service component reported by the license client of each service component.

可选的,获取模块301也可以通过监控、查询等方式获取各个业务部件的业务量。Optionally, the acquisition module 301 may also acquire the business volume of each business component by means of monitoring and querying.

计算模块302,用于根据各个业务部件的业务量计算各个业务部件的License需求量之和。The calculation module 302 is configured to calculate the sum of the license requirements of each service component according to the service volume of each service component.

根据各个业务部件的业务量计算各个业务部件的License需求量,即计算各个业务部件的License客户端上报的各个业务部件的License需求量之和。Calculate the license requirements of each service component based on the business volume of each service component, that is, calculate the sum of the license requirements of each service component reported by the license client of each service component.

比较模块303,用于将根据计算模块302计算得到的各个业务部件的License需求量之和与设置的License阈值量进行比较。The comparison module 303 is configured to compare the sum of the license requirements of each service component calculated according to the calculation module 302 with the set license threshold.

指示模块304,用于若比较各个业务部件的License需求量之和超过设置的License阈值量,则指示各个业务部件拒绝为后续业务请求提供服务。The instructing module 304 is configured to instruct each service component to refuse to provide services for subsequent service requests if the sum of the license requirements of each service component exceeds the set license threshold.

可选的,若比较各个业务部件的License需求量之和没有超过设置的License阈值量,则指示各个业务部件为后续业务请求提供服务Optionally, if the sum of the license requirements of each business component does not exceed the set license threshold, each business component is instructed to provide services for subsequent business requests

请结合参看图4,本发明实施例提供了一种License服务器201,包括:获取模块401,量化模块402,计算模块403,比较模块404,指示模块405。其中,图4所示实施例在图3所示实施例的基础上增加了量化模块402,该量化模块402为可选的。Please refer to FIG. 4 , the embodiment of the present invention provides a License server 201 , including: an acquisition module 401 , a quantization module 402 , a calculation module 403 , a comparison module 404 , and an indication module 405 . Wherein, the embodiment shown in FIG. 4 adds a quantization module 402 on the basis of the embodiment shown in FIG. 3 , and the quantization module 402 is optional.

获取模块401,用于获取各个业务部件上报的业务量。The acquiring module 401 is configured to acquire the business volume reported by each business component.

获取模块401接收各个业务部件定时或实时上报的业务量。The acquisition module 401 receives the service volume reported by each service component in a regular or real-time manner.

业务部件内有各自的License客户端,各License客户端都直接和License服务器进行相连。各业务部件的License客户端负责定时或实时把各业务部件的业务量的License需求量上报。可选的,获取模块301接收各个业务部件的License客户端上报的各个业务部件的License需求量。Each business component has its own license client, and each license client is directly connected to the license server. The license client of each business component is responsible for reporting the license demand of the business volume of each business component regularly or in real time. Optionally, the acquisition module 301 receives the license requirements of each service component reported by the license client of each service component.

可选的,获取模块401也可以通过监控、查询等方式获取各个业务部件的业务量以及License需求量。Optionally, the obtaining module 401 may also obtain the service volume and license demand of each service component by means of monitoring and querying.

量化模块402,用于配置各个业务部件的每一单位业务量与以BaseLicense为单位的License需求量之间的量化关系,该BaseLicense为License度量的基本单位。The quantification module 402 is configured to configure the quantification relationship between each unit business volume of each business component and the license demand in the unit of BaseLicense, which is the basic unit of license measurement.

针对License的度量定义一个基本单位,每个基本单位定义为单位BaseLicense。不同的业务部件的业务请求的License需求量是不相同的,并且不同业务部件的业务请求的License需求量单位计算也不相同。例如,短消息业务是以每条短消息业务的License需求量为基本单位,多媒体消息业务是以每条多媒体消息业务的License需求量为基本单位。根据不同业务请求的处理的License需求量,量化模块402把对应的单位实际业务流量License需求量量化为以BaseLicense为单位的需求量。例如:每条短消息业务(Short Message Service,SMS)的License需求量是1个BaseLicense,每条多媒体消息业务(Multimedia Messaging Service,MMS)的License需求量是5个BaseLicense。假设业务部件1的单位实际业务流量License需求量为X1个BaseLicense单位,业务部件2的单位实际业务流量License需求量为X2个BaseLicense单位,业务部件N的单位实际业务流量License需求量为XN个BaseLicense单位。A basic unit is defined for the measurement of the license, and each basic unit is defined as the unit BaseLicense. The license requirements for service requests of different service parts are different, and the calculation of the license demand units for service requests of different service parts is also different. For example, the short message service takes the license requirement of each short message service as the basic unit, and the multimedia message service uses the license demand of each multimedia message service as the basic unit. According to the license demand for the processing of different service requests, the quantification module 402 quantifies the corresponding license demand per unit of actual service traffic into the demand in units of BaseLicense. For example, the license requirement for each Short Message Service (Short Message Service, SMS) is 1 BaseLicense, and the license requirement for each Multimedia Messaging Service (MMS) is 5 BaseLicenses. Assume that the unit actual service traffic license demand of business component 1 is X 1 BaseLicense unit, the unit actual business traffic license demand of business component 2 is X 2 BaseLicense units, and the unit actual business traffic license demand of business component N is X N BaseLicense units.

计算模块403,用于根据各个业务部件的业务量计算各个业务部件的License需求量之和。The calculation module 403 is configured to calculate the sum of the license requirements of each service component according to the service volume of each service component.

根据各个业务部件的业务量计算各个业务部件的License需求量,即计算各个业务部件的License客户端上报的各个业务部件的License需求量之和。Calculate the license requirements of each service component based on the business volume of each service component, that is, calculate the sum of the license requirements of each service component reported by the license client of each service component.

例如,业务部件1的实际业务流量为Traffic1,业务部件2的实际业务流量为Traffic2,业务部件N的的实际业务流量为TrafficN,则业务部件1的License客户端上报业务部件1的实际处理的License需求量为Traffic1×X1个BaseLicense单位;业务部件2的License客户端上报业务部件2的实际处理的License需求量为Traffic2×X2个BaseLicense单位;业务部件N的License客户端上报业务部件N的实际处理的License需求量为TrafficN×XN个BaseLicense单位。For example, if the actual service traffic of service component 1 is Traffic1, the actual service traffic of service component 2 is Traffic2, and the actual service traffic of service component N is TrafficN, the license client of service component 1 reports the license actually processed by service component 1. The demand is Traffic1×X 1 BaseLicense unit; the license client of business component 2 reports the actual processing license demand of business component 2 to Traffic2×X 2 BaseLicense units; the license client of business component N reports the license demand of business component N The actual license demand for processing is TrafficN×X N BaseLicense units.

计算模块403对业务部件的License客户端上报的需求量之和进行计算(Traffic1×X1)+(Traffic2×X2)+(...)+(Trafficn×XN),即计算模块403采用公式

Figure G2008102416980D0000102
计算得出各个业务部件的License需求量之和。The calculation module 403 calculates (Traffic1×X 1 )+(Traffic2×X 2 )+(...)+(Trafficn×X N ) the sum of the demands reported by the license clients of the business components, namely Calculation module 403 uses the formula
Figure G2008102416980D0000102
Calculate the sum of the license requirements of each service component.

比较模块404,用于将根据计算模块计算得到的各个业务部件的License需求量之和与设置的License阈值量进行比较。The comparison module 404 is configured to compare the sum of the license requirements of each service component calculated by the calculation module with the set license threshold.

具体的,比较模块404将

Figure G2008102416980D0000103
与MaxLicense进行比较。Specifically, the comparison module 404 will
Figure G2008102416980D0000103
Compare with MaxLicense.

指示模块405,用于若比较各个业务部件的License需求量之和超过设置的License阈值量,则指示各个业务部件拒绝为后续业务请求提供服务。The instructing module 405 is configured to instruct each service component to refuse to provide services for subsequent service requests if the sum of the license requirements of each service component exceeds the set license threshold.

Figure G2008102416980D0000104
即业务部件的License需求量之和没有超过设置的阈值量,指示模块405则指示业务部件为后续业务请求提供服务。否则,指示模块405指示业务部件拒绝为后续业务请求提供服务。like
Figure G2008102416980D0000104
That is, the sum of the license requirements of the service components does not exceed the set threshold, and the instructing module 405 instructs the service components to provide services for subsequent service requests. Otherwise, the instructing module 405 instructs the service component to refuse to provide services for subsequent service requests.

本发明上述实施例根据计算各个业务部件的License需求量之和是否超过设置的License阈值量;根据比较结果指示业务部件业务部件为后续业务请求提供服务。一方面,利用对License总量的控制来指示业务部件为后续的业务请求提供服务,实现了业务部件在不超过License总量的前提下实现License资源充分利用。有效地解决了业务部件License使用不均导致的License浪费的问题,同时提高了业务部件为业务请求提供服务的质量。另一方面,由于可以设置业务部件的License客户端实时上报各个业务部件的License量需求情况,可以实时实现对License的控制,有效地解决了License使用率不均导致的License浪费的问题,节约了运营商的运营成本。同时,由于实时对License的控制,在超过设置的License阈值量时,指示业务部件拒绝为后续的业务请求提供服务,提高了业务部件为业务请求提供服务的质量,提高了用户的体验。The above embodiments of the present invention calculate whether the sum of the license requirements of each service component exceeds the set license threshold; and instruct the service component to provide services for subsequent service requests according to the comparison result. On the one hand, control the total amount of licenses to instruct business components to provide services for subsequent business requests, so that business components can fully utilize license resources without exceeding the total amount of licenses. It effectively solves the problem of license waste caused by uneven use of licenses by business components, and at the same time improves the quality of services provided by business components for business requests. On the other hand, since the license client of a business component can be set to report the license quantity demand of each business component in real time, the license can be controlled in real time, which effectively solves the problem of license waste caused by uneven license usage and saves Operator's operating costs. At the same time, due to the real-time control of the license, when the set threshold value of the license is exceeded, the business component is instructed to refuse to provide services for subsequent business requests, which improves the service quality of business components for business requests and improves user experience.

本领域普通技术人员通过阅读本申请可知,上述方法中的全部或部分步骤也可以通过程序指令相关的硬件完成,该程序可以存储于计算机可读存储介质中,所述计算机可读存储介质如:ROM、RAM或光盘等。Those of ordinary skill in the art can know by reading this application that all or part of the steps in the above method can also be completed by hardware related to program instructions, and the program can be stored in a computer-readable storage medium, such as: ROM, RAM or CD, etc.

综上所述,以上仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。To sum up, the above are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

Claims (10)

1. licence License control method is characterized in that described method comprises:
Obtain the traffic carrying capacity of each business components, calculate the License demand sum of described each business components according to the traffic carrying capacity of described each business components;
If the License demand sum of described each business components surpasses the License threshold quantity that is provided with, then indicate described each business components refusal to provide service for follow-up business.
2. the method for claim 1 is characterized in that, described method also comprises:
If the License demand sum of described each business components does not surpass described License threshold quantity, then indicate described each business components to provide service for the follow-up business request.
3. the method for claim 1 is characterized in that, the described traffic carrying capacity of obtaining each business components is specially:
Receive the traffic carrying capacity of described each business components timing or real-time report.
4. as the described arbitrary method of claim 1 to 3, it is characterized in that the License demand sum that described traffic carrying capacity according to described each business components is calculated described each business components is specially:
Adopt formula
Figure F2008102416980C0000011
Calculate the License demand sum of each business components; Traffic wherein NBe the practical business flow of business components N, X NFor business components N per unit professional required be the License demand of unit with BaseLicense, N is the numbering of business components, the described natural number that is numbered, described BaseLicense are the base unit of License tolerance.
5. as the described arbitrary method of claim 1 to 3, it is characterized in that described each business components provides the business components of different business service.
6. a License control system is characterized in that, described system comprises: the License server that is used to control business components;
Described License server, be used to obtain the traffic carrying capacity of each business components, calculate the License demand sum of described each business components according to the traffic carrying capacity of described each business components, if the License demand sum of described each business components surpasses the License threshold quantity that is provided with, then indicate described each business components refusal to provide service for the follow-up business request;
Described business components is used for to described License server reporting service amount, and accepts the indication of described License server.
7. a License server is characterized in that, described server comprises:
Acquisition module is used to obtain the traffic carrying capacity that each business components reports;
Computing module is used for the License demand sum according to described each business components of traffic carrying capacity calculating of described each business components;
Comparison module is used for the License demand sum of each business components that will calculate according to described computing module and the License threshold quantity of setting and compares;
Indicating module is used for if the License demand sum of more described each business components surpasses the License threshold quantity that is provided with, and then indicates described each business components refusal to provide service for the follow-up business request.
8. server as claimed in claim 7 is characterized in that, described server also comprises:
Quantization modules is used to dispose the per unit traffic carrying capacity of each business components and is quantitative relationship between the License demand of unit with BaseLicense, and described BaseLicense is the base unit of License tolerance.
9. server as claimed in claim 8 is characterized in that described computing module specifically is used to adopt formula
Figure F2008102416980C0000021
Calculate the License demand sum of each business components; Traffic wherein NBe the practical business flow of business components N, X NFor business components N per unit professional required be the License demand of unit with BaseLicense, N is the numbering of business components, the described natural number that is numbered.
10. server as claimed in claim 9, it is characterized in that, described indicating module also is used for: if the License demand sum of described each business components does not surpass described License threshold quantity, then indicate described each business components to provide service for the follow-up business request.
CN 200810241698 2008-12-24 2008-12-24 License control method, system and server Expired - Fee Related CN101764852B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200810241698 CN101764852B (en) 2008-12-24 2008-12-24 License control method, system and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200810241698 CN101764852B (en) 2008-12-24 2008-12-24 License control method, system and server

Publications (2)

Publication Number Publication Date
CN101764852A true CN101764852A (en) 2010-06-30
CN101764852B CN101764852B (en) 2013-04-24

Family

ID=42495832

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200810241698 Expired - Fee Related CN101764852B (en) 2008-12-24 2008-12-24 License control method, system and server

Country Status (1)

Country Link
CN (1) CN101764852B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075973A (en) * 2010-12-24 2011-05-25 华为技术有限公司 LICENSE control method and device
CN102130837A (en) * 2011-03-31 2011-07-20 中兴通讯股份有限公司 A method and system for dynamic regulation and control of business license
WO2012041067A1 (en) * 2010-09-27 2012-04-05 刘建 License management system and method for telecommunication network management apparatuses
CN102739424A (en) * 2011-04-08 2012-10-17 中兴通讯股份有限公司 Method and apparatus for optimizing resources based on service license
WO2012155650A1 (en) * 2011-08-22 2012-11-22 中兴通讯股份有限公司 Service-flow-license-based service scheduling method, device and system
CN109874115A (en) * 2017-12-05 2019-06-11 中兴通讯股份有限公司 Licensing method of adjustment and device
CN112989289A (en) * 2019-12-02 2021-06-18 成都鼎桥通信技术有限公司 Software license checking method and device, electronic equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060089917A1 (en) * 2004-10-22 2006-04-27 Microsoft Corporation License synchronization
CN1863092A (en) * 2006-03-01 2006-11-15 华为技术有限公司 System and method for controlling software registering quantity of client terminal
CN101093532A (en) * 2006-06-23 2007-12-26 佳能株式会社 License management system, license management server apparatus, information processing apparatus utilizing a license, and control method thereof
CN101150440A (en) * 2006-09-18 2008-03-26 西门子企业通讯有限责任两合公司 Method and apparatus for managing licenses

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060089917A1 (en) * 2004-10-22 2006-04-27 Microsoft Corporation License synchronization
CN1863092A (en) * 2006-03-01 2006-11-15 华为技术有限公司 System and method for controlling software registering quantity of client terminal
CN101093532A (en) * 2006-06-23 2007-12-26 佳能株式会社 License management system, license management server apparatus, information processing apparatus utilizing a license, and control method thereof
CN101150440A (en) * 2006-09-18 2008-03-26 西门子企业通讯有限责任两合公司 Method and apparatus for managing licenses

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102421107B (en) * 2010-09-27 2015-09-16 中兴通讯股份有限公司 A kind of LICENSE management system of telecommunicatioin network management and method
WO2012041067A1 (en) * 2010-09-27 2012-04-05 刘建 License management system and method for telecommunication network management apparatuses
CN102421107A (en) * 2010-09-27 2012-04-18 中兴通讯股份有限公司 LICENSE management system and method for telecommunication network management
CN102075973A (en) * 2010-12-24 2011-05-25 华为技术有限公司 LICENSE control method and device
CN102130837A (en) * 2011-03-31 2011-07-20 中兴通讯股份有限公司 A method and system for dynamic regulation and control of business license
WO2012129856A1 (en) * 2011-03-31 2012-10-04 中兴通讯股份有限公司 Method and system for regulating and controlling service license dynamically
CN102130837B (en) * 2011-03-31 2015-06-03 中兴通讯股份有限公司 Method and system for dynamically regulating service license
CN102739424A (en) * 2011-04-08 2012-10-17 中兴通讯股份有限公司 Method and apparatus for optimizing resources based on service license
CN102739424B (en) * 2011-04-08 2014-12-10 中兴通讯股份有限公司 Method and apparatus for optimizing resources based on service license
WO2012155650A1 (en) * 2011-08-22 2012-11-22 中兴通讯股份有限公司 Service-flow-license-based service scheduling method, device and system
CN109874115A (en) * 2017-12-05 2019-06-11 中兴通讯股份有限公司 Licensing method of adjustment and device
WO2019109952A1 (en) * 2017-12-05 2019-06-13 中兴通讯股份有限公司 License adjustment method and device
CN112989289A (en) * 2019-12-02 2021-06-18 成都鼎桥通信技术有限公司 Software license checking method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN101764852B (en) 2013-04-24

Similar Documents

Publication Publication Date Title
CN101764852B (en) License control method, system and server
US20120140632A1 (en) Congestion Control in a Telecommunications Network
CN107171839B (en) Bandwidth flow cost control method
CN105071964A (en) Strategy operation, configuration issuing, conflict resolution and closed-loop management method and system
CN101232339A (en) Dynamic service level agreement control system and control method
CN109995668B (en) Flow control method and device, storage medium
CN1901458A (en) Method for controlling defaulting risk of mobile user
CN102571552B (en) Gateway congestion regulation and control method and system, gateway and network element
CN107168853A (en) A kind of server performance information acquisition method, system and substrate control manager
CN101742476B (en) Subscription service issuing system and issuing method
CN100346655C (en) Charge information processing method
CN115052323B (en) Smart city mobile service system based on big data
CN109428781A (en) Session dosage monitoring and control method, server and storage medium
CN100484098C (en) Switching device with overload control capability and overload control notification method thereof
CN102281590B (en) Method and device for controlling load capacity
CN104427624B (en) A kind of common network resource distribution method and system
CN101980563B (en) Method and device for monitoring configurable number of services
CN100417102C (en) System and method for monitoring service quality
CN103974294B (en) A kind of collocation method and device of wireless network data volume of business
CN111506469B (en) Communication XDR-based key area monitoring method, system and storage medium
CN102739424B (en) Method and apparatus for optimizing resources based on service license
CN103501231A (en) Business service method, network analysis device and billing system
CN111245559B (en) Information determination method, information judgment method and device and computing equipment
CN101005688A (en) Optimizing method for distributing small area resource in mobile communication network and its system
WO2025171542A1 (en) Device and method for energy consumption control and enforcement

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130424