CN100442227C - A software loading system and software loading implementation method - Google Patents
A software loading system and software loading implementation method Download PDFInfo
- Publication number
- CN100442227C CN100442227C CNB2005101034716A CN200510103471A CN100442227C CN 100442227 C CN100442227 C CN 100442227C CN B2005101034716 A CNB2005101034716 A CN B2005101034716A CN 200510103471 A CN200510103471 A CN 200510103471A CN 100442227 C CN100442227 C CN 100442227C
- Authority
- CN
- China
- Prior art keywords
- loading
- processing unit
- software
- service
- unit
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
本发明提供了一种软件加载系统,包括:至少一个业务单板、通信管理单元、负载均衡单元、至少两个加载处理单元以及数据策略服务器,这些器件相互配合,以保证多个加载处理单元中的一个尚未达到加载处理极限的加载处理单元能够为业务单板进行软件加载过程。本发明还提供了一种软件加载的实现方法,当业务单板需要进行软件加载时,在可以处理软件加载任务的多个加载处理单元中确定一个尚未达到加载处理极限的加载处理单元,并由该加载处理单元为需要进行软件加载的所述业务单板进行后续软件加载过程。本发明系统和方法使得软件加载能力被明显提升,保证在处理大量软件加载过程时仍可满足电信级服务要求。
The present invention provides a software loading system, including: at least one business single board, a communication management unit, a load balancing unit, at least two loading processing units, and a data policy server. These devices cooperate with each other to ensure that multiple loading processing units A loading processing unit that has not yet reached the loading processing limit can perform a software loading process for the service single board. The present invention also provides a method for implementing software loading. When the service board needs to perform software loading, a loading processing unit that has not yet reached the loading processing limit is determined among multiple loading processing units that can handle the software loading task, and is determined by The loading processing unit performs a subsequent software loading process for the service single board that needs to be loaded with software. The system and method of the present invention significantly improve the software loading capability, and ensure that the service requirements of the telecommunication level can still be met when handling a large number of software loading processes.
Description
技术领域 technical field
本发明涉及通信领域,具体涉及一种软件加载系统和软件加载实现方法。The invention relates to the communication field, in particular to a software loading system and a method for realizing software loading.
背景技术 Background technique
目前,软件加载是通信设备尤其是电信设备能实现的一个基本功能。现有技术的软件加载系统如图1所示。在图1所示的软件加载系统中,设备主机110包含第一业务单板111、第二业务单板112、第N业务单板113等N个业务单板,N可以是1以上的任意整数。At present, software loading is a basic function that can be realized by communication equipment, especially telecommunication equipment. A prior art software loading system is shown in FIG. 1 . In the software loading system shown in Figure 1, the
当设备主机110中的某个业务单板需要进行软件加载时,该业务单板向加载服务器100中的通信管理单元101发送加载请求。假设第一业务单板111向通信管理单元101发送加载请求,通信管理单元101将来自第一业务单板111的加载请求转发给加载处理单元102。加载处理单元102收到来自通信管理单元101的加载请求后,从软件管理服务器120中获取第一业务单板111需要加载的业务软件,并将获取的业务软件通过通信管理单元101发送给第一业务单板111,第一业务单板111收到所述业务软件后保存并运行该业务软件。When a certain service board in the
至此,整个软件加载过程结束。加载处理单元因收到一个加载请求而进行的后续软件加载过程可以被看作是一个加载任务。So far, the whole software loading process is over. The subsequent software loading process performed by the loading processing unit upon receiving a loading request can be regarded as a loading task.
上述的软件管理服务器120实际上是一个逻辑管理单元,可以独立设置在一个物理实体中,也可以与通信管理单元101等共同设置在同一个物理实体中,主要用于保存并提供可加载到业务单板上的业务软件。The above-mentioned software management server 120 is actually a logical management unit, which can be set independently in a physical entity, or can be set together with the
在实际应用中,加载处理单元102可以在满足电信级服务要求的前提下并行处理多个上述的软件加载过程,以保证多个业务单板在同一时间段可分别加载一个或一个以上业务软件。In practical applications, the
尽管如此,随着设备主机110中业务单板的增多,加载处理单元102会达到自身的加载处理极限,导致加载处理单元102的工作性能明显下降,无法满足电信级服务要求。However, with the increase of service boards in the
鉴于上述问题,目前通常通过提高加载服务器中加载处理单元的硬件性能来提升该加载处理单元的加载能力,以保证提升了加载能力的加载处理单元可以满足电信级服务要求。然而,加载处理单元硬件性能的提高是有限度的,因此加载处理单元加载能力的提升也是有限度的。因此,随着需要进行软件加载的业务单板的增多,加载处理单元在处理大量的软件加载过程时仍会达到自身的加载处理极限,导致加载处理单元的工作性能明显下降,无法满足电信级服务要求。In view of the above problems, at present, the loading capability of the loading processing unit in the loading server is usually improved by improving the hardware performance of the loading processing unit, so as to ensure that the loading processing unit with the improved loading capability can meet the service requirements of telecommunication grades. However, the improvement of the hardware performance of the loading processing unit is limited, so the improvement of the loading capability of the loading processing unit is also limited. Therefore, as the number of business boards that need to be loaded with software increases, the loading processing unit will still reach its own loading processing limit when processing a large number of software loading processes, resulting in a significant decline in the performance of the loading processing unit, which cannot meet carrier-class services. Require.
发明内容 Contents of the invention
有鉴于此,本发明的主要目的在于提供一种软件加载系统,以提升软件加载能力,保证在处理大量软件加载过程时仍可满足电信级服务要求。In view of this, the main purpose of the present invention is to provide a software loading system, so as to improve the software loading capability and ensure that the carrier-grade service requirements can still be met when handling a large number of software loading processes.
本发明的另一目的在于提供一种软件加载的实现方法,以提升软件加载能力,保证在处理大量软件加载过程时仍可满足电信级服务要求。Another object of the present invention is to provide a method for implementing software loading, so as to improve the software loading capability and ensure that the carrier-grade service requirements can still be met when handling a large number of software loading processes.
为达到上述目的,本发明的技术方案是这样实现的:In order to achieve the above object, technical solution of the present invention is achieved in that way:
本发明公开了一种软件加载系统,该系统包括:The invention discloses a software loading system, which includes:
至少一个业务单板,每个业务单板均与通信管理单元相连,用于向通信管理单元发送加载请求并接收来自通信管理单元的业务软件;At least one service board, each service board is connected to the communication management unit, and is used to send a loading request to the communication management unit and receive business software from the communication management unit;
所述通信管理单元,与负载均衡单元相连,用于将来自每个业务单板的加载请求发送给所述负载均衡单元并将来自所述负载均衡单元的所述业务软件发送给每个业务单板;The communication management unit is connected to the load balancing unit, and is used to send the load request from each service single board to the load balancing unit and send the service software from the load balancing unit to each service single board plate;
所述负载均衡单元,与所有加载处理单元以及数据策略服务器相连,用于根据来自所述通信管理单元的加载请求向所述数据策略服务器发送负载均衡策略请求,以及接收来自所述数据策略服务器的负载均衡策略响应并将所述加载请求发送给该负载均衡策略响应所针对的加载处理单元;还用于将来自所述加载处理单元的所述业务软件发送给所述通信管理单元;The load balancing unit is connected to all the loading processing units and the data policy server, and is configured to send a load balancing policy request to the data policy server according to the loading request from the communication management unit, and receive a load balancing policy request from the data policy server Responding to a load balancing policy and sending the loading request to the loading processing unit targeted by the load balancing policy response; and sending the business software from the loading processing unit to the communication management unit;
至少两个所述加载处理单元,与所述数据策略服务器相连,用于根据来自所述负载均衡单元的加载请求从所述数据策略服务器中获取所述业务软件,并将获取的所述业务软件发送给所述负载均衡单元;At least two of the loading processing units, connected to the data policy server, are used to acquire the business software from the data policy server according to the load request from the load balancing unit, and transfer the acquired business software sent to the load balancing unit;
所述数据策略服务器,用于根据来自所述负载均衡单元的负载均衡策略请求和预先设置的策略,在所述至少两个加载处理单元中选择一个没有达到加载处理极限的所述加载处理单元,并针对该选择的加载处理单元,向所述负载均衡单元发送负载均衡策略响应,还用于向各加载处理单元提供所述业务软件。The data policy server is configured to select, from the at least two load processing units, one of the load processing units that has not reached the load processing limit according to the load balance policy request from the load balance unit and a preset policy, And for the selected loading processing unit, send a load balancing policy response to the load balancing unit, and also provide the service software to each loading processing unit.
本发明还公开了一种软件加载的实现方法,有至少两个加载处理单元为需要进行软件加载的业务单板进行软件加载;该方法包括:The present invention also discloses a method for implementing software loading. There are at least two loading processing units to perform software loading for the service single board that needs to be loaded with software; the method includes:
当业务单板需要进行软件加载时,业务单板向通信管理单元发送加载请求,所述通信管理单元将收到的该加载请求发送给负载均衡单元,负载均衡单元根据该加载请求向数据策略服务器发送负载均衡策略请求,所述数据策略服务器在多个加载处理单元中根据策略确定一个尚未达到加载处理极限的加载处理单元,将从所述数据策略服务器获取的业务软件,通过所述数据策略服务器确定的加载处理单元进行加载,并发送给需要进行软件加载的所述业务单板。When the service single board needs to carry out software loading, the service single board sends a loading request to the communication management unit, and the communication management unit sends the received loading request to the load balancing unit, and the load balancing unit sends the data policy server the loading request according to the loading request. Sending a load balancing policy request, the data policy server determines a load processing unit that has not yet reached the load processing limit according to the policy among multiple load processing units, and passes the business software obtained from the data policy server through the data policy server The determined loading processing unit performs loading and sends it to the service board that needs to be loaded with software.
所述根据策略确定加载处理单元的方法是:The method for determining the loading processing unit according to the policy is:
根据预先设置的业务单板与加载处理单元之间的对应关系,将所述业务单板所对应的加载处理单元确定为要进行后续软件加载过程的加载处理单元。According to the preset correspondence between the service single board and the loading processing unit, the loading processing unit corresponding to the service single board is determined as the loading processing unit to perform the subsequent software loading process.
所述根据策略确定加载处理单元的方法是:The method for determining the loading processing unit according to the policy is:
获取各加载处理单元的中央处理器CPU占用率,将CPU占用率最低的加载处理单元确定为要进行后续软件加载过程的加载处理单元;或,Acquiring the CPU occupancy rate of the central processing unit of each loading processing unit, and determining the loading processing unit with the lowest CPU occupancy rate as the loading processing unit to perform the subsequent software loading process; or,
获取各加载处理单元的CPU占用率,将获取的所有CPU占用率与预先设置的CPU占用率门限值相比较,从低于CPU占用率门限值的CPU占用率中任选一个CPU占用率,并将具有该CPU占用率的一个加载处理单元确定为要进行后续软件加载过程的加载处理单元。Obtain the CPU usage of each loading processing unit, compare all the obtained CPU usage with the preset CPU usage threshold, and select a CPU usage from the CPU usage lower than the CPU usage threshold , and determine a loading processing unit with the CPU usage rate as a loading processing unit to perform a subsequent software loading process.
所述CPU占用率门限值是根据加载处理单元的加载能力设置的。The CPU usage threshold is set according to the loading capability of the loading processing unit.
所述根据策略确定加载处理单元的方法是:The method for determining the loading processing unit according to the policy is:
获取各加载处理单元的加载任务数量,将加载任务数量最少的加载处理单元确定为要进行后续软件加载过程的加载处理单元;或,Obtain the number of loading tasks of each loading processing unit, and determine the loading processing unit with the least number of loading tasks as the loading processing unit to perform the subsequent software loading process; or,
获取各加载处理单元的加载任务数量,将获取的所有加载任务数量与预先设置的加载任务数量门限值相比较,从低于加载任务数量门限值的加载任务数量中任选一个加载任务数量,并将具有该加载任务数量的一个加载处理单元确定为要进行后续软件加载过程的加载处理单元。Obtain the number of loading tasks of each loading processing unit, compare the acquired number of loading tasks with the preset threshold value of the number of loading tasks, and select a loading task number from the number of loading tasks lower than the threshold value of the number of loading tasks , and determine a loading processing unit having the number of loading tasks as a loading processing unit to perform a subsequent software loading process.
所述加载任务数量门限值是根据加载处理单元的加载能力设置的。The threshold value of the number of loading tasks is set according to the loading capability of the loading processing unit.
进行的所述后续软件加载过程包括:The subsequent software loading process performed includes:
被确定要进行软件加载过程的加载处理单元获取所述业务单板需要加载的业务软件,并将获取的业务软件发送给该业务单板。The loading processing unit determined to perform the software loading process obtains the service software to be loaded on the service board, and sends the obtained service software to the service board.
所述业务单板收到所述业务软件后,进一步保存并运行该业务软件。After the service single board receives the service software, it further saves and runs the service software.
与现有技术相比,本发明所提供的软件加载系统包括:至少一个业务单板、通信管理单元、负载均衡单元、至少两个加载处理单元和数据策略服务器,这些器件相互配合,以保证多个加载处理单元中的一个尚未达到加载处理极限的加载处理单元能够为业务单板进行软件加载过程。这使得软件加载系统的软件加载能力被明显提升,保证在处理大量软件加载过程时仍可满足电信级服务要求。Compared with the prior art, the software loading system provided by the present invention includes: at least one business single board, a communication management unit, a load balancing unit, at least two loading processing units and a data policy server, and these devices cooperate with each other to ensure multiple One of the loading processing units that has not reached the loading processing limit can perform a software loading process for the service single board. This enables the software loading capability of the software loading system to be significantly improved, ensuring that carrier-class service requirements can still be met when a large number of software loading processes are processed.
本发明所提供的软件加载的实现方法,当业务单板需要进行软件加载时,在可以处理软件加载任务的多个加载处理单元中确定一个尚未达到加载处理极限的加载处理单元,并由该加载处理单元为需要进行软件加载的所述业务单板进行后续软件加载过程。这同样使得软件加载能力被明显提升,保证在处理大量软件加载过程时仍可满足电信级服务要求。In the method for realizing software loading provided by the present invention, when a service board needs to perform software loading, a loading processing unit that has not yet reached the loading processing limit is determined among multiple loading processing units that can handle software loading tasks, and the loading processing unit is determined by the loading processing unit. The processing unit performs a subsequent software loading process for the service single board that needs to be loaded with software. This also significantly improves the software loading capability, ensuring that carrier-class service requirements can still be met when handling a large number of software loading processes.
附图说明 Description of drawings
图1为现有技术的软件加载系统图;Fig. 1 is a software loading system diagram of the prior art;
图2为本发明一较佳实施例的软件加载系统图;Fig. 2 is a software loading system diagram of a preferred embodiment of the present invention;
图3为图2中软件加载系统所实现的软件加载流程图。FIG. 3 is a flow chart of software loading implemented by the software loading system in FIG. 2 .
具体实施方式 Detailed ways
下面结合附图及具体实施例对本发明详细说明。The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.
本发明所提供的软件加载系统包括:至少一个业务单板、通信管理单元、负载均衡单元、至少两个加载处理单元和数据策略服务器,这些器件相互配合,以保证多个加载处理单元中的一个尚未达到加载处理极限的加载处理单元能够为业务单板进行软件加载过程。The software loading system provided by the present invention includes: at least one business single board, a communication management unit, a load balancing unit, at least two loading processing units, and a data policy server. These devices cooperate with each other to ensure that one of the multiple loading processing units The loading processing unit that has not reached the loading processing limit can perform a software loading process for the service single board.
本发明所提供的软件加载的实现方法,当业务单板需要进行软件加载时,在多个加载处理单元中确定一个尚未达到加载处理极限的加载处理单元,并由该加载处理单元为所述业务单板进行后续软件加载过程。In the method for realizing software loading provided by the present invention, when a service single board needs to perform software loading, a loading processing unit that has not yet reached the loading processing limit is determined among multiple loading processing units, and the loading processing unit is used for the said business The board performs subsequent software loading process.
参见图2,图2为本发明一较佳实施例的软件加载系统图。图2中,设备主机230包含第一业务单板231、第二业务单板232、第N业务单板233等N个业务单板,N可以是1以上的任意整数。设备主机230中的每个业务单板都与加载服务器200中的通信管理单元202相连,通信管理单元202通过负载均衡单元201与基本加载处理单元203相连。Referring to FIG. 2, FIG. 2 is a diagram of a software loading system in a preferred embodiment of the present invention. In FIG. 2 , the
负载均衡单元201与第一辅助加载处理单元210、第M辅助加载处理单元220等M个辅助加载处理单元相连,负载均衡单元201还与数据策略服务器240相连,数据策略服务器240还与基本加载处理单元203以及第一辅助加载处理单元210、第M辅助加载处理单元220等M个辅助加载处理单元相连。M可以是1以上的任意整数。负载均衡单元201、通信管理单元202、数据策略服务器240中均存储有各加载处理单元标识和各业务单板标识。The
上述的基本加载处理单元203以及第一辅助加载处理单元210、第M辅助加载处理单元220等M个辅助加载处理单元中的每个加载处理单元,其结构、操作逻辑、功能与现有技术中的加载处理单元的结构、操作逻辑、功能均相同,区别只在于:所述基本加载处理单元203是现有技术的软件加载系统中存在的加载处理单元,而所述辅助加载处理单元是新加入软件加载系统中、用于为基本加载处理单元203分担软件加载工作量的加载处理单元。Each of the above-mentioned basic
上述的数据策略服务器240是在现有技术中软件管理服务器的基础上形成的逻辑管理单元,数据策略服务器240与所述软件管理服务器的区别在于:数据策略服务器240在原来的软件管理服务器的基础上新加入了用于将软件加载工作量分配给上述的各加载处理单元的操作逻辑,以确保每个加载处理单元在处理软件加载过程时不会达到自身的加载处理极限。数据策略服务器240可以独立设置在一个物理实体中,也可以与通信管理单元202等共同设置在同一个物理实体中。The aforementioned data policy server 240 is a logical management unit formed on the basis of the software management server in the prior art. The difference between the data policy server 240 and the software management server is that the data policy server 240 is based on the original software management server. An operation logic for distributing the workload of software loading to the above-mentioned loading processing units is newly added to ensure that each loading processing unit will not reach its own loading processing limit when processing the software loading process. The data policy server 240 can be set independently in one physical entity, or can be set together with the
当设备主机230中的某个业务单板需要进行软件加载时,该业务单板向加载服务器200中的通信管理单元202发送加载请求。假设第一业务单板231向通信管理单元202发送加载请求,该加载请求中至少包含第一业务单板231的单板标识和业务类型,通信管理单元202将来自第一业务单板231的加载请求转发给负载均衡单元201。When a certain service board in the
负载均衡单元201收到来自通信管理单元202的加载请求后,将该加载请求所包含的单板标识和业务类型携带于负载均衡策略请求中,发送给数据策略服务器240。数据策略服务器240收到该负载均衡策略请求后,根据预先设置的操作逻辑在软件加载系统包含的多个加载处理单元中确定一个没有达到加载处理极限的加载处理单元,并将该加载处理单元的标识携带于负载均衡策略响应中发送给负载均衡单元201,以告知负载均衡单元201由所述加载处理单元标识所对应的加载处理单元来进行后续的软件加载过程。After receiving the loading request from the
上述的数据策略服务器240确定所述加载处理单元的方法总体有两种,第一种方法为静态确定方法,第二种方法为动态确定方法;并且无论是静态确定方法还是动态确定方法,都可以认为是用于确定所述加载处理单元的策略。There are generally two methods for the above-mentioned data policy server 240 to determine the loading processing unit, the first method is a static determination method, and the second method is a dynamic determination method; and whether it is a static determination method or a dynamic determination method, it can be Consider the policy used to determine the loaded processing unit.
当应用静态确定方法时,数据策略服务器240中需要预先设置并保存业务单板标识与加载处理单元标识之间的对应关系。这样,数据策略服务器240可以根据该对应关系找到所述负载均衡策略请求中包含的第一业务单板231标识所对应的加载处理单元标识,将具有该加载处理单元标识的加载处理单元确定为要进行后续软件加载过程的加载处理单元。When the static determination method is applied, the data policy server 240 needs to preset and save the corresponding relationship between the service board ID and the loading processing unit ID. In this way, the data policy server 240 can find the load processing unit identifier corresponding to the first service
当然,所述的业务单板标识与加载处理单元标识之间的对应关系也可以预先设置并保存于其它物理实体中,只要当数据策略服务器240需要业务单板标识所对应的加载处理单元标识时,可以从该物理实体中获取相应的加载处理单元标识即可。Of course, the correspondence between the service board ID and the loading processing unit ID can also be preset and stored in other physical entities, as long as the data policy server 240 needs the loading processing unit ID corresponding to the business board ID , and the corresponding loading processing unit identifier can be obtained from the physical entity.
当应用动态确定方法时,数据策略服务器240获取各加载处理单元的工作负荷,并从多个加载处理单元中选择一个没有达到加载处理极限的加载处理单元,将该加载处理单元确定为要进行后续软件加载过程的加载处理单元。上述的加载处理单元工作负荷可以表现为多种形式,如:加载处理单元当前的中央处理器(CPU)占用率或加载处理单元当前并行处理的加载任务数量。When the dynamic determination method is applied, the data policy server 240 obtains the workload of each load processing unit, and selects a load processing unit that has not reached the load processing limit from a plurality of load processing units, and determines the load processing unit to be used for subsequent processing. The loading processing unit of the software loading process. The aforementioned workload of the loading processing unit may be expressed in various forms, such as: the current central processing unit (CPU) occupancy rate of the loading processing unit or the number of loading tasks currently processed by the loading processing unit in parallel.
如果数据策略服务器240要获取各加载处理单元的CPU占用率,数据策略服务器240则向各加载处理单元发送CPU占用率查询命令。各加载处理单元收到该CPU占用率查询命令后,将自身应用现有技术所记录的CPU占用率发送给数据策略服务器240。数据策略服务器240收到来自各加载处理单元的CPU占用率后,选择一个CPU占用率最低的加载处理单元,将该加载处理单元确定为要进行后续软件加载过程的加载处理单元。If the data policy server 240 wants to acquire the CPU usage of each loading processing unit, the data policy server 240 sends a CPU usage query command to each loading processing unit. After each loading processing unit receives the CPU usage query command, it sends the CPU usage recorded by itself using the prior art to the data policy server 240 . After receiving the CPU usage rates from each loading processing unit, the data policy server 240 selects a loading processing unit with the lowest CPU usage rate, and determines the loading processing unit as the loading processing unit for subsequent software loading process.
当然,数据策略服务器240也可以用预先设置的CPU占用率门限值与收到的CPU占用率相比较,以确定收到的哪些CPU占用率低于所述CPU占用率门限值,再从低于所述CPU占用率门限值的CPU占用率中任选一个CPU占用率,并将具有该CPU占用率的某个加载处理单元确定为要进行后续软件加载过程的加载处理单元。Of course, the data policy server 240 can also compare the received CPU usage with the preset CPU usage threshold to determine which CPU usage is lower than the CPU usage threshold, and then from Selecting one of the CPU occupancy rates lower than the CPU occupancy rate threshold value, and determining a loading processing unit with the CPU occupancy rate as a loading processing unit to perform a subsequent software loading process.
上述的CPU占用率门限值可以根据加载处理单元的加载能力确定,那么,如果某个加载处理单元的CPU占用率超过了该CPU占用率门限值,则说明该加载处理单元达到了自身的加载处理极限。比如:当加载处理单元的CPU占用率达到80%时,该加载处理单元达到自身的加载处理极限,加载能力无法再进一步提升。基于这种情况,就可以将该加载处理单元的CPU占用率门限值设置为80%。The above CPU usage threshold can be determined according to the loading capability of the loading processing unit. If the CPU usage of a certain loading processing unit exceeds the CPU usage threshold, it means that the loading processing unit has reached its own threshold. Load processing limit. For example: when the CPU usage rate of the loading processing unit reaches 80%, the loading processing unit reaches its own loading processing limit, and the loading capacity cannot be further improved. Based on this situation, the CPU usage threshold of the loading processing unit may be set to 80%.
如果数据策略服务器240要获取各加载处理单元的加载任务数量,数据策略服务器240则向各加载处理单元发送加载任务数量查询命令。各加载处理单元收到该加载任务数量查询命令后,将自身应用现有技术所记录的当前处理的加载任务数量发送给数据策略服务器240。数据策略服务器240收到来自各加载处理单元的加载任务数量后,选择一个加载任务数量最少的加载处理单元,将该加载处理单元确定为要进行后续软件加载过程的加载处理单元。If the data policy server 240 wants to acquire the loading task quantity of each loading processing unit, the data policy server 240 sends a loading task quantity query command to each loading processing unit. After each loading processing unit receives the loading task quantity query command, it sends the currently processed loading task quantity recorded by itself using the prior art to the data policy server 240 . After receiving the number of loading tasks from each loading processing unit, the data policy server 240 selects a loading processing unit with the least number of loading tasks, and determines this loading processing unit as the loading processing unit to perform the subsequent software loading process.
当然,数据策略服务器240也可以用预先设置的加载任务数量门限值与收到的加载任务数量相比较,以确定收到的哪些加载任务数量低于所述加载任务数量门限值,再从低于所述加载任务数量门限值的加载任务数量中任选一个加载任务数量,并将具有该加载任务数量的某个加载处理单元确定为要进行后续软件加载过程的加载处理单元。Of course, the data policy server 240 can also use the preset load task quantity threshold value to compare with the received load task quantity, to determine which load task quantity received is lower than the load task quantity threshold value, and then from Selecting a loading task quantity among the loading task quantity lower than the loading task quantity threshold value, and determining a certain loading processing unit with the loading task quantity as the loading processing unit to perform the subsequent software loading process.
上述的加载任务数量门限值可以根据加载处理单元的加载能力确定,那么,如果某个加载处理单元当前处理的加载任务数量超过了该加载任务数量门限值,则说明该加载处理单元达到了自身的加载处理极限。The above-mentioned threshold value of the number of loading tasks can be determined according to the loading capacity of the loading processing unit. Then, if the number of loading tasks currently processed by a certain loading processing unit exceeds the threshold value of the number of loading tasks, it means that the loading processing unit has reached Own load handling limit.
当数据策略服务器240应用上述方法确定了要进行后续软件加载过程的加载处理单元后,数据策略服务器240将确定的加载处理单元的标识携带于负载均衡策略响应中发送给负载均衡单元201。负载均衡单元201收到该负载均衡策略响应后,将前述的加载请求发送给负载均衡策略响应中包含的加载处理单元标识所对应的加载处理单元。该加载处理单元收到来自负载均衡单元201的加载请求后,根据该请求中包含的业务类型应用现有技术从数据策略服务器240中获取第一业务单板231所需要加载的业务软件。After the data policy server 240 applies the method above to determine the loading processing unit to perform the subsequent software loading process, the data policy server 240 carries the identification of the determined loading processing unit in the load balancing policy response and sends it to the
上述的获取业务软件的具体操作为:被确定为要进行后续软件加载过程的加载处理单元向数据策略服务器240发送至少包含业务类型的业务软件请求,该请求中包含的业务类型与第一业务单板231发送的加载请求中包含的业务类型相同。数据策略服务器240收到来自上述加载处理单元的业务软件请求后,读取该业务软件请求中包含的业务类型,并将自身存储的与该业务类型相吻合的业务软件携带于业务软件响应中发送给所述加载处理单元。The above-mentioned specific operation of obtaining business software is as follows: the loading processing unit that is determined to carry out the subsequent software loading process sends a business software request containing at least a business type to the data policy server 240, and the business type contained in the request is consistent with the first business order. The service types contained in the load request sent by the
当被确定为要进行后续软件加载过程的加载处理单元从数据策略服务器240中获取了所述业务软件后,该加载处理单元将获取的该业务软件通过负载均衡单元201、通信管理单元202发送给第一业务单板231,第一业务单板231收到业务软件后保存并运行该业务软件。After the loading processing unit that is determined to carry out the subsequent software loading process obtains the business software from the data policy server 240, the loading processing unit sends the obtained business software through the
至此,整个软件加载过程结束。So far, the whole software loading process is over.
可以将图2所示的软件加载原理以图3所示的流程表示,图3所示流程包括以下步骤:The software loading principle shown in Figure 2 can be represented by the process shown in Figure 3, and the process shown in Figure 3 includes the following steps:
步骤301至步骤302:当设备主机中的业务单板需要进行软件加载时,该业务单板通过通信管理单元向负载均衡单元发送加载请求。Step 301 to Step 302: When the service board in the device host needs to be loaded with software, the service board sends a loading request to the load balancing unit through the communication management unit.
步骤303至步骤304:负载均衡单元收到来自业务单板的加载请求后,向数据策略服务器发送负载均衡策略请求,数据策略服务器收到该负载均衡策略请求后,应用静态/动态确定方法在多个加载处理单元中确定一个用于进行后续软件加载过程的加载处理单元,并将确定的该加载处理单元的标识携带于负载均衡策略响应中发送给负载均衡单元。Step 303 to step 304: After the load balancing unit receives the load request from the service single board, it sends a load balancing policy request to the data policy server, and after the data policy server receives the load balancing policy request, it applies the static/dynamic determination method in multiple One of the loading processing units is determined to be used for the subsequent software loading process, and the identification of the determined loading processing unit is carried in the load balancing policy response and sent to the load balancing unit.
步骤305:负载均衡单元收到来自数据策略服务器的加载处理单元标识后,向该加载处理单元标识所对应的加载处理单元发送加载请求。Step 305: After receiving the loading processing unit identifier from the data policy server, the load balancing unit sends a loading request to the loading processing unit corresponding to the loading processing unit identifier.
步骤306至步骤307:收到来自负载均衡单元的加载请求的加载处理单元向数据策略服务器发送业务软件请求,数据策略服务器收到该业务软件请求后,将自身存储的与该业务软件请求中包含的业务类型相吻合的业务软件携带于业务软件响应中发送给所述加载处理单元。Step 306 to Step 307: The loading processing unit that receives the loading request from the load balancing unit sends a service software request to the data policy server. The service software matching the service type is carried in the service software response and sent to the loading processing unit.
步骤308:加载处理单元将收到的业务软件携带于加载响应中,并通过负载均衡单元、通信管理单元将该加载响应发送给曾发送所述加载请求的业务单板,该业务单板保存并运行收到的业务软件。Step 308: The loading processing unit carries the received business software in the loading response, and sends the loading response to the service board that sent the loading request through the load balancing unit and the communication management unit, and the service board saves and Run the received business software.
在实际应用中,所述的静态确定方法与动态确定方法也可以同时应用,如果这两种确定方法最终确定的加载处理单元是同一个,则可以将被确定的加载处理单元作为要进行后续软件加载过程的加载处理单元;如果所述两种确定方法最终确定的加载处理单元是不同的两个,则从这两个加载处理单元中任选一个加载处理单元或选择一个工作负载较低的加载处理单元,并将选择的加载处理单元作为要进行后续软件加载过程的加载处理单元。In practical applications, the static determination method and the dynamic determination method can also be applied at the same time. If the loading processing unit finally determined by the two determination methods is the same, the determined loading processing unit can be used as the subsequent software to be performed. The loading processing unit of the loading process; if the loading processing units finally determined by the two determination methods are different, then choose one loading processing unit from the two loading processing units or select a loading processing unit with a lower workload processing unit, and use the selected loading processing unit as the loading processing unit for subsequent software loading process.
上述的加载处理单元标识与业务单板标识可以有多种标识方法,如:软件加载系统内部编号等;业务单板标识也可以用业务单板的物理位置信息表示。上述的业务软件主要包括可应用于业务单板上的应用软件程序、配置数据、程序补丁、配置文件等。The above-mentioned loading processing unit identification and service single board identification can have multiple identification methods, such as: software loading system internal number, etc.; the service single board identification can also be represented by the physical location information of the service single board. The above-mentioned business software mainly includes application software programs, configuration data, program patches, configuration files, etc. that can be applied to the business board.
另外,在实际应用中,也可以通过对负载均衡单元和数据策略服务器进行设置,以禁用部分或所有的辅助加载处理单元。当所有辅助加载处理单元中的一部分被禁用时,数据策略服务器只在基本加载处理单元和没有被禁用的辅助加载处理单元中确定要进行软件加载过程的加载处理单元。In addition, in practical applications, some or all of the auxiliary loading processing units may also be disabled by setting the load balancing unit and the data policy server. When part of all the auxiliary loading processing units are disabled, the data policy server only determines the loading processing units to perform the software loading process among the basic loading processing units and the auxiliary loading processing units that are not disabled.
当所有辅助加载处理单元全部被禁用时,数据策略服务器则确定只应用基本加载处理单元进行软件加载过程。这时,负载均衡单元也失去了其原有的作用,而只作为一个对通信信息进行透传的器件。When all the auxiliary loading processing units are disabled, the data policy server determines that only the basic loading processing unit is used for the software loading process. At this time, the load balancing unit also loses its original function, and is only used as a device for transparently transmitting communication information.
由以上所述可以看出,本发明所提供的软件加载系统,在现有技术的基础上新加入了一个或一个以上的辅助加载处理单元,使得整个软件加载系统的加载能力得到明显提高;本发明所提供的软件加载系统还新加入了用于将软件加载工作量分配给各加载处理单元的操作逻辑,确保每个加载处理单元在处理软件加载过程时不会达到自身的加载处理极限,使整个软件加载系统保持较高的加载能力。可见,本发明所提供的软件加载系统提升了软件加载能力,并保证在处理大量软件加载过程时仍可满足电信级服务要求。It can be seen from the above that the software loading system provided by the present invention adds one or more auxiliary loading processing units on the basis of the prior art, so that the loading capacity of the entire software loading system is significantly improved; The software loading system provided by the invention also newly adds operation logic for distributing the workload of software loading to each loading processing unit, so as to ensure that each loading processing unit will not reach its own loading processing limit when processing the software loading process, so that The entire software loading system maintains a high loading capacity. It can be seen that the software loading system provided by the present invention improves the software loading capability, and ensures that the carrier-class service requirements can still be met when handling a large number of software loading processes.
本发明所提供的软件加载实现方法,在新加入辅助加载处理单元和用于将软件加载工作量分配给各加载处理单元的操作逻辑的前提下,在包括辅助加载处理单元和基本加载处理单元的多个加载处理单元中确定一个没有达到加载处理极限的加载处理单元,将该加载处理单元作为要进行软件加载过程的加载处理单元,并由该加载处理单元进行后续的相应软件加载过程。可见,本发明所提供的软件加载实现方法使软件加载能力得到了明显的提升,并保证在处理大量软件加载过程时仍可满足电信级服务要求。The method for implementing software loading provided by the present invention, on the premise of newly adding an auxiliary loading processing unit and operating logic for distributing software loading workload to each loading processing unit, includes the auxiliary loading processing unit and the basic loading processing unit A loading processing unit that does not reach the loading processing limit is determined among the multiple loading processing units, and this loading processing unit is used as a loading processing unit to perform a software loading process, and the subsequent corresponding software loading process is performed by this loading processing unit. It can be seen that the method for implementing software loading provided by the present invention significantly improves the software loading capability, and ensures that the requirements of telecom-level services can still be met when handling a large number of software loading processes.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005101034716A CN100442227C (en) | 2005-09-15 | 2005-09-15 | A software loading system and software loading implementation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005101034716A CN100442227C (en) | 2005-09-15 | 2005-09-15 | A software loading system and software loading implementation method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1881896A CN1881896A (en) | 2006-12-20 |
CN100442227C true CN100442227C (en) | 2008-12-10 |
Family
ID=37519885
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005101034716A Expired - Fee Related CN100442227C (en) | 2005-09-15 | 2005-09-15 | A software loading system and software loading implementation method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100442227C (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101383724B (en) * | 2008-08-29 | 2011-04-13 | 上海华为技术有限公司 | Network updating method and operation maintaining element, and network element updating system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1155340A (en) * | 1994-07-25 | 1997-07-23 | 英国电讯有限公司 | computer system with client-server hierarchy |
US6598160B1 (en) * | 1999-07-15 | 2003-07-22 | Fujitsu Limited | IPL system applied to a multiprocessor system |
CN1485733A (en) * | 2002-09-25 | 2004-03-31 | 鸿富锦精密工业(深圳)有限公司 | Automatic installation and update system and method for patent inquiry program |
JP2004280457A (en) * | 2003-03-14 | 2004-10-07 | Japan Research Institute Ltd | Data management system, batch control system, and batch control program |
-
2005
- 2005-09-15 CN CNB2005101034716A patent/CN100442227C/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1155340A (en) * | 1994-07-25 | 1997-07-23 | 英国电讯有限公司 | computer system with client-server hierarchy |
US6598160B1 (en) * | 1999-07-15 | 2003-07-22 | Fujitsu Limited | IPL system applied to a multiprocessor system |
CN1485733A (en) * | 2002-09-25 | 2004-03-31 | 鸿富锦精密工业(深圳)有限公司 | Automatic installation and update system and method for patent inquiry program |
JP2004280457A (en) * | 2003-03-14 | 2004-10-07 | Japan Research Institute Ltd | Data management system, batch control system, and batch control program |
Also Published As
Publication number | Publication date |
---|---|
CN1881896A (en) | 2006-12-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018149221A1 (en) | Device management method and network management system | |
CN108322325B (en) | Virtual machine management method and device | |
WO2019237594A1 (en) | Session persistence method and apparatus, and computer device and storage medium | |
CN109379448B (en) | File distributed deployment method and device, electronic equipment and storage medium | |
CN108933829A (en) | A kind of load-balancing method and device | |
CN109151512A (en) | The method and device of content is obtained in CDN network | |
CN103458013A (en) | Streaming media server cluster load balancing system and balancing method | |
CN101222374A (en) | A system, device and method for realizing service upgrade | |
CN105721552B (en) | A kind of method and DNS system for realizing dynamic load leveling based on DNS | |
CN110008029B (en) | ceph metadata cluster directory distribution method, system, device and readable storage medium | |
EP3267323A1 (en) | Thin client system, connection management device, virtual machine operating device, method, and storage medium | |
CN112134964B (en) | Controller allocation method, computer equipment, storage media and network business system | |
CN104917805A (en) | Load sharing method and equipment | |
US20170279654A1 (en) | Data Processing System and Data Processing Method | |
CN103095824A (en) | File uploading control method and system | |
CN107645540A (en) | The load-balancing method of web application systems | |
US8458702B1 (en) | Method for implementing user space up-calls on java virtual machine before/after garbage collection | |
CN114595167A (en) | Distributed cache system, method and device | |
CN113268329A (en) | Request scheduling method, device and storage medium | |
CN112087401A (en) | Method and device for realizing service quality in distributed storage | |
EP3301626A1 (en) | Method, device, and system | |
CN100442227C (en) | A software loading system and software loading implementation method | |
CN105897865A (en) | Protocol-independent network file service management system and method | |
WO2019076068A1 (en) | Data transmission method, server, unloading card, and storage medium | |
CN112733051A (en) | Websocket-based information push management system and method |
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 |
Granted publication date: 20081210 Termination date: 20150915 |
|
EXPY | Termination of patent right or utility model |