CN103516738A - Message distribution method, device and system - Google Patents

Message distribution method, device and system Download PDF

Info

Publication number
CN103516738A
CN103516738A CN201210207903.8A CN201210207903A CN103516738A CN 103516738 A CN103516738 A CN 103516738A CN 201210207903 A CN201210207903 A CN 201210207903A CN 103516738 A CN103516738 A CN 103516738A
Authority
CN
China
Prior art keywords
communication equipment
message
state information
dispatch messages
distribution strategy
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.)
Pending
Application number
CN201210207903.8A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201210207903.8A priority Critical patent/CN103516738A/en
Publication of CN103516738A publication Critical patent/CN103516738A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a message distribution method, a device and a system. The method comprises the following steps: status information of each communication device in the cloud environment is acquired; a message distribution strategy of distributing a message to each communication device is determined according to the above status information; and a message is distributed to each communication device according to the above message distribution strategy. According to the invention, the strategy of distributing a message to each communication device is dynamically determined according to the status information of each communication device in the cloud environment, and resource utilization rate of each communication device is raised.

Description

The distribution method of message, Apparatus and system
Technical field
The present invention relates to the communications field, in particular to a kind of distribution method, Apparatus and system of message.
Background technology
Along with the development of modern communications technology, intelligent network business kind becomes increasingly abundant, and number of users is more and more, and the number of devices in system also constantly increases, and the operation cost of operator, especially equipment cost also increase thereupon.Traffic peak for some bursts of tackling, operator has to improve the hardware configuration of equipment, but most of equipment does not all have oepration at full load at ordinary times, can not bring into play the advantage of device hardware configuration, its configuration using rate is very low, and some equipment only just can embody its advantage when peak traffic, and these equipment be often configure higher, the equipment that price is more expensive, has so just caused the serious waste of device resource.
Cloud computing technology had obtained development rapidly in recent years, cloud environment is as a kind of concrete manifestation form of cloud computing technology, its main advantage is exactly that some machines have been formed to a virtual facility resource pool, can be according to actual conditions, the hardware configuration of distribution according to need equipment, improved greatly the utilance of equipment, can reduce significantly hardware cost again simultaneously.There have been at present telecom operators by equipment cloud, set up cloud environment.In cloud environment, all equipment all distributes " virtual " equipment by systematic unity, its hardware configuration is as central processing unit (Central Processing Unit, referred to as CPU), internal memory is all dynamic change, this is one of important feature of cloud just also, when there is traffic peak, the lower device resource allocation of other loads can be given on the equipment in peak traffic, improve the hardware configuration of this equipment, increase its traffic handing capacity.
There are the following problems when access cloud environment at present traditional communication equipment: first, in traditional intelligence planar network architecture, the hardware configuration of all devices itself is all changeless, and the hardware configuration of every equipment is by system dynamic assignment in cloud environment, traditional intelligent network message distributing method cannot adapt to this variation automatically; The second, the message distribution mode of current industry mostly generally is fixed proportion ways of distribution, cannot automatically adjust distribution policy according to the configuration of equipment, is difficult to adapt to cloud environment equipment and configures changeable feature.
For problem above-mentioned in correlation technique, effective solution is not yet proposed at present.
Summary of the invention
For cannot dynamically adjusting in correlation technique to the tactful problem of each communication equipment dispatch messages under cloud environment, the invention provides a kind of distribution method, Apparatus and system of message, at least to address the above problem.
According to an aspect of the present invention, provide a kind of distribution method of message, having comprised: the state information of obtaining each communication equipment under cloud environment; According to described state information, determine the message distribution strategy to described each communication equipment dispatch messages; The described message distribution strategy of foundation is to described each communication equipment dispatch messages.
Preferably, according to described state information, determine the message distribution strategy to described each communication equipment dispatch messages, comprising: the state information of described each communication equipment that statistics is obtained in current period; Result according to described statistics determines that current period is to the message distribution strategy of described each communication equipment dispatch messages.
Preferably, describedly also comprise: the weight of obtaining parameters in pre-configured described state information; According to described state information, determine the message distribution strategy to described each communication equipment dispatch messages, comprising: the described distribution policy of determining current period according to the weight of described state information and described parameters.
Preferably, according to the weight of described state information and described parameters, determine described distribution policy, comprising: the state information of described each communication equipment that statistics is obtained in current period; According to the result of described statistics and the weight of described parameters, determine that current period is to the message distribution strategy of described each communication equipment dispatch messages.
Preferably, the state information of obtaining each communication equipment comprises: to described each communication equipment, send heartbeat message; Receive the heartbeat response that described each communication equipment returns; From described heartbeat response, obtain the state information of described each communication equipment.
Preferably, described state information comprise following one of at least: described each communication equipment is to the current configuration of the disposal ability of message, described each communication equipment, set up the success rate of communication link with described each communication equipment.
Preferably, the current configuration of described each communication equipment comprise following one of at least: processor remaining proportion, the current internal memory remaining proportion of described each communication equipment that described each communication equipment is current.
According to another aspect of the present invention, provide a kind of dispensing device of message, having comprised: acquisition module, for obtaining the state information of each communication equipment under cloud environment; Determination module, for determining the message distribution strategy to described each communication equipment dispatch messages according to described state information.Distribution module, for according to described message distribution strategy to described each communication equipment dispatch messages.
Preferably, described determination module, comprising: the first statistic unit, for add up the state information of described each communication equipment obtaining in current period; The first determining unit, for the result according to described statistics, determines that current period is to the message distribution strategy of described each communication equipment dispatch messages.
Preferably, described acquisition module, also for obtaining the weight of pre-configured described state information parameters; Described determination module, for the weight according to described state information and described parameters, determines the described distribution policy of current period.
Preferably, described determination module comprises: the second statistic unit, for add up the state information of described each communication equipment obtaining in current period; The second determining unit, for according to the result of described statistics and the weight of described parameters, determines that current period is to the message distribution strategy of described each communication equipment dispatch messages.
Preferably, described acquisition module comprises: transmitting element, for sending heartbeat message to described each communication equipment; Receiving element, the heartbeat response of returning for receiving described each communication equipment; Acquiring unit, for obtaining the state information of described each communication equipment from described heartbeat response.
Preferably, described state information comprise following one of at least: described each communication equipment is to the current configuration of the disposal ability of message, described each communication equipment, set up the success rate of communication link with described each communication equipment.
Preferably, the current configuration of described each communication equipment comprise following one of at least: processor remaining proportion, the current internal memory remaining proportion of described each communication equipment that described each communication equipment is current.
According to a further aspect of the invention, provide a kind of server, comprised the dispensing device of above-mentioned message provided by the invention.
According to a further aspect of the invention, a kind of dissemination system of message is provided, comprise: server and a plurality of communication equipment, wherein, described server, for obtaining the state information of each communication equipment under cloud environment, according to described state information, determine the message distribution strategy to described each communication equipment dispatch messages, and the described message distribution strategy of foundation is to described each communication equipment dispatch messages; Communication equipment described in each, for report the state information of described communication equipment to described server, and the message that receives described server distribution.
Preferably, described server is determined the message distribution strategy to described each communication equipment dispatch messages in such a way: the state information of described each communication equipment that statistics is obtained in current period; Result according to described statistics determines that current period is to the message distribution strategy of described each communication equipment dispatch messages.
Preferably, described server, also for obtaining the weight of pre-configured described state information parameters, and the weight of the described state information of foundation and described parameters is determined the described distribution policy of current period.
Preferably, described server obtains the state information of each communication equipment in such a way: to described each communication equipment, send heartbeat message; Receive the heartbeat response that described each communication equipment returns; From described heartbeat response, obtain the state information of described each communication equipment.
Preferably, described state information comprise following one of at least: described each communication equipment is to the current configuration of the disposal ability of message, described each communication equipment, set up the success rate of communication link with described each communication equipment.
By the present invention, obtain the state information of each communication equipment under cloud environment, according to this state information, determine the message distribution strategy to each communication equipment dispatch messages, according to message distribution strategy to each communication equipment dispatch messages.Realized according to the state information of each communication equipment in cloud environment, dynamically determined to the strategy of each communication equipment dispatch messages, improved the resource utilization of each communication equipment.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, forms the application's a part, and schematic description and description of the present invention is used for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is according to the schematic diagram of the message distributing system of the embodiment of the present invention;
Fig. 2 is according to the structured flowchart of the dispensing device of the message of the embodiment of the present invention;
Fig. 3 is the structured flowchart one according to the preferred determination module of the embodiment of the present invention;
Fig. 4 is the structured flowchart two according to the preferred determination module of the embodiment of the present invention;
Fig. 5 is according to the structured flowchart of the preferred acquisition module of the embodiment of the present invention;
Fig. 6 is according to the structured flowchart of the dispensing device of the message of the specific embodiment of the invention;
Fig. 7 is according to the flow chart of the distribution method of the message of the embodiment of the present invention;
Fig. 8 is according to the flow chart of the distribution method of the preferred message of the embodiment of the present invention;
Fig. 9 is according to the schematic diagram of the dissemination system of the message of the specific embodiment of the invention;
Figure 10 is according to the schematic diagram of the dissemination system of the message of the specific embodiment of the invention;
Figure 11 is the schematic diagram transmitting according to the equipment room message of the specific embodiment of the invention.
Embodiment
Hereinafter with reference to accompanying drawing, also describe the present invention in detail in conjunction with the embodiments.It should be noted that, in the situation that not conflicting, embodiment and the feature in embodiment in the application can combine mutually.
For cannot dynamically adjusting the tactful problem to each communication equipment dispatch messages in correlation technique, the invention provides a kind of distribution approach of message, this scheme comprises a kind of distribution method of message, Apparatus and system, realization is distributed control to message, message is more reasonably distributed on each equipment under cloud environment, solution is due to the unsteadiness of cloud environment and the problem of the uncertain message distribution inequality causing, device resource is fully utilized, avoid because message distribution inequality causes the part communication equipment excessive problem of loading simultaneously, make the framework of intelligent network more be applicable to access cloud environment, for the cloud of communication equipment provides important guarantee.Respectively the method for the embodiment of the present invention, Apparatus and system are described below.
According to the embodiment of the present invention, a kind of dissemination system of message is provided, realize according to the state information of each communication equipment in cloud environment, dynamically determine to the strategy of each communication equipment dispatch messages, improve the resource utilization of each communication equipment.
Fig. 1 is according to the schematic diagram of the message distributing system of the embodiment of the present invention, as shown in Figure 1, this system mainly comprises server 1 and communication equipment 2, wherein, server 1, for obtaining the state information of each communication equipment 2 under cloud environment, according to this state information, determine to the message distribution strategy of each communication equipment 2 dispatch messages, and according to this message distribution strategy to each communication equipment 2 dispatch messages; Communication equipment 2, for report the state information of communication equipment 2 to server 1, and the message of reception server 1 distribution.
By example of the present invention, server 1 obtains the state information of each communication equipment 2 under cloud environment, according to this state information, determine to the message distribution strategy of each communication equipment 2 dispatch messages, according to message distribution strategy to each communication equipment 2 dispatch messages.Realized according to the state information of each communication equipment in cloud environment, dynamically determined to the strategy of each communication equipment dispatch messages, improved the resource utilization of each communication equipment.
In a preferred implementation of the embodiment of the present invention, server can obtain the state information of each communication equipment in such a way, to each communication equipment, send heartbeat message, receive the heartbeat response that each communication equipment returns, from the heartbeat response of returning, obtain the state information of each communication equipment.For example, communication equipment can be by the current configuration of communication equipment, and for example, the remaining proportion of processor and the remaining proportion of internal memory, be carried in heartbeat response, sends to server.Server, after sending heartbeat response, can judge whether to receive the heartbeat response of communication equipment, and statistics and communication equipment are set up the success rate of link.
In embodiments of the present invention, above-mentioned state information include but not limited to following one of at least: each communication equipment is to the current configuration of the disposal ability of message, each communication equipment, set up the success rate of communication link with each communication equipment.The configuration that each communication equipment is current, include but not limited to following one of at least: the current internal memory remaining proportion of processor remaining proportion, each communication equipment that each communication equipment is current.Server 1 can be according to communication equipment to the disposal ability of message, current configuration, set up the success rate of communication link with intelligent network, dynamically determine to the strategy of communication equipment dispatch messages.
In a preferred implementation of the embodiment of the present invention, server 1 can be determined the message distribution strategy to each communication equipment dispatch messages in such a way: the state information of each communication equipment 2 that statistics is obtained in current period; According to the result of statistics, determine that current period is to the message distribution strategy of each communication equipment dispatch messages.Message distribution strategy can be to the percentage of each communication equipment 2 dispatch messages, and the percentage sum of each communication equipment 2 is 1.In actual applications, when size of message within the unit interval is large, it is more accurate that measurement period embodies compared with short message distribution ratio; Within the unit interval, relatively hour, it is more accurate that the longer message distribution ratio of measurement period embodies size of message.In concrete enforcement, also can carry out by other means to determine message distribution strategy, for example, according to the state information of Real-time Obtaining, determine message distribution strategy.
There is certain difference in the configuration of considering each communication equipment, for example, each communication equipment may there are differences the disposal ability of message, in a preferred implementation of the embodiment of the present invention, server 1 is also for obtaining the weight of pre-configured state information parameters, and according to the weight of state information and parameters, determines the message distribution strategy of current period.For example, consider remaining proportion and the difference of internal memory remaining proportion to happiness use influence degree of communications device processor, server can obtain the weight of pre-configured above-mentioned parameter, according to the weight of the parameter of obtaining and parameter, determines message distribution strategy.
Further, in a preferred implementation of the embodiment of the present invention, when server is determined distribution policy according to the weight of above-mentioned state information and parameters, can add up the state information of each communication equipment obtaining in current period, according to the result of statistics and the weight of parameters, determine that current period is to the message distribution strategy of each communication equipment dispatch messages.By this preferred implementation, realization finishes the state information of share the pre-configured and communication equipment in family, dynamically determine to the strategy of each communication equipment dispatch messages, improved the accuracy of message distribution strategy, can better improve the resource utilization of communication equipment.
Server is determined after message distribution strategy, the message of ethernet device transmission can be sent to each communication equipment according to definite message distribution strategy, by each communication equipment, message is processed.In embodiments of the present invention, the message between server and ethernet device can be called front end message, and the message between the communication equipment under server and cloud environment can be called rear end message, and the message distribution of the embodiment of the present invention refers to the distribution to front end message.
According to the embodiment of the present invention, a kind of preferred implementation of server is also provided, by the dispensing device of message, on server, realize the function of the embodiment of the present invention.
Fig. 2 is according to the structured flowchart of the dispensing device of the message of the embodiment of the present invention, and as shown in Figure 2, this device mainly comprises: acquisition module 10, determination module 20 and distribution module 30.Wherein, acquisition module 10, for obtaining the state information of each communication equipment under cloud environment; Determination module 20, is coupled with acquisition module 10, for determining the message distribution strategy to each communication equipment dispatch messages according to the state information of obtaining; Distribution module 30, is coupled with determination module 20, for according to definite message distribution strategy to each communication equipment dispatch messages.
Pass through the embodiment of the present invention, the acquisition module 10 of server 1 obtains the state information of each communication equipment 2 under cloud environment, determination module 20 determines to the message distribution strategy of each communication equipment 2 dispatch messages according to this state information, distribution module 30 according to message distribution strategy to each communication equipment 2 dispatch messages.Realized according to the state information of each communication equipment in cloud environment, dynamically determined to the strategy of each communication equipment dispatch messages, improved the resource utilization of each communication equipment.
Server 1 can be determined the message distribution strategy to each communication equipment dispatch messages in such a way: the state information of each communication equipment 2 that statistics is obtained in current period; According to the result of statistics, determine that current period is to the message distribution strategy of each communication equipment dispatch messages.Therefore, in a preferred implementation of the embodiment of the present invention, as shown in Figure 3, determination module 20 can comprise: the first statistic unit 202, for add up the state information of each communication equipment obtaining in current period; The first determining unit 204, is coupled with the first statistic unit 202, for the result according to statistics, determines that current period is to the message distribution strategy of each communication equipment dispatch messages.
There is certain difference in the configuration of considering each communication equipment, for example, each communication equipment may there are differences the disposal ability of message, in a preferred implementation of the embodiment of the present invention, acquisition module 20, also for obtaining the weight of pre-configured state information parameters.Determination module 20, also for the weight according to state information and parameters, is determined the message distribution strategy of current period.For example, consider remaining proportion and the difference of internal memory remaining proportion to happiness use influence degree of communications device processor, acquisition module 20 can obtain the weight of pre-configured above-mentioned parameter, and determination module 20 is determined message distribution strategy according to weight and the parameter of the parameter of obtaining.
Further, when determination module 20 is determined distribution policy according to the weight of above-mentioned state information and parameters, can add up the state information of each communication equipment obtaining in current period, according to the result of statistics and the weight of parameters, determine that current period is to the message distribution strategy of each communication equipment dispatch messages.Therefore, in another preferred implementation of the embodiment of the present invention, as shown in Figure 4, determination module 20 can comprise: the second statistic unit 206, for add up the state information of each communication equipment obtaining in current period; The second determining unit 208, is coupled with the second statistic unit 206, for the result according to statistics and the weight of parameters, determines that current period is to the message distribution strategy of each communication equipment dispatch messages.
Server can obtain the state information of each communication equipment in such a way, to each communication equipment, sends heartbeat message, receives the heartbeat response that each communication equipment returns, and obtains the state information of each communication equipment from the heartbeat response of returning.Therefore, in a preferred implementation of the embodiment of the present invention, as shown in Figure 5, acquisition module 10 can comprise: transmitting element 102, for sending heartbeat message to each communication equipment; Receiving element 104, is coupled with transmitting element 102, the heartbeat response of returning for receiving each communication equipment; Acquiring unit 106, is coupled with receiving element 104, for obtain the state information of each communication equipment from heartbeat response.
In specific implementation process, also can realize by other means the function of server in the above embodiment of the present invention, Fig. 6 is according to the structured flowchart of the dispensing device of the message of the specific embodiment of the invention, below in conjunction with Fig. 6, the dispensing device of the message of the specific embodiment of the invention is described.
As shown in Figure 6, the dispensing device of the message of the specific embodiment of the invention mainly comprises: message management unit 32, for the heartbeat message between this device of sending and receiving and the equipment of cloud environment, heartbeat message is sent to message statistic unit 31 and add up, and send by the message of definite message distribution strategy distribution to the equipment of cloud environment.Message statistic unit 31, for obtain current configuration, the heartbeat message success rate of equipment of cloud environment by heartbeat message, by fixing measurement period, add up, calculate the statistical value in timing statistics section, statistical value is sent to distribution policy administrative unit 33 and analyze.User configures preset unit 34, for the weight of configuration messages statistic unit 31 each statistical items, and user configured weight is sent to distribution policy administrative unit 33 analyzes.Distribution policy administrative unit 33, for the statistical value calculating according to message statistic unit 31, in conjunction with user configured value, calculates message distribution strategy and sends to message management unit 32.
Above-mentioned message management unit 32 is equivalent to acquisition module 10 and the distribution module 30 in the invention process, realizes the state information of each equipment under cloud environment that obtains, and to each equipment dispatch messages.Message statistic unit 31 and distribution policy administrative unit 33 are equivalent to the determination module 20 in the embodiment of the present invention, realize the distribution policy of determining message according to the state information of obtaining.The dispensing device that it should be noted in the discussion above that the message of the embodiment of the present invention is not limited to above two kinds of implementations, and those skilled in the art are partition functionality module according to actual needs, otherwise realizes the function of the server of the embodiment of the present invention.
According to the embodiment of the present invention, a kind of distribution method of message is also provided, in the system in the embodiment of the present invention and device, realization is according to the state information of each communication equipment in cloud environment, dynamically determine to the strategy of each communication equipment dispatch messages, improve the resource utilization of each communication equipment.
Fig. 7 is according to the flow chart of the distribution method of the message of the embodiment of the present invention, and as shown in Figure 7, the method can comprise that step S702 is to step S706.
Step S702, obtains the state information of each communication equipment under cloud environment.
Step S704, determines the message distribution strategy to each communication equipment dispatch messages according to above-mentioned state information.
Step S706, the above-mentioned message distribution strategy of foundation is to each communication equipment dispatch messages.
By example of the present invention, obtain the state information of each communication equipment under cloud environment, according to this state information, determine the message distribution strategy to each communication equipment dispatch messages, according to message distribution strategy to each communication equipment dispatch messages.Realized according to the state information of each communication equipment in cloud environment, dynamically determined to the strategy of each communication equipment dispatch messages, improved the resource utilization of each communication equipment.
In a preferred implementation of the embodiment of the present invention, can obtain in such a way the state information of each communication equipment, to each communication equipment, send heartbeat message, receive the heartbeat response that each communication equipment returns, from the heartbeat response of returning, obtain the state information of each communication equipment.For example, communication equipment can be by the current configuration of communication equipment, and for example, the remaining proportion of processor and the remaining proportion of internal memory, be carried in heartbeat response, obtains the information such as remaining proportion of remaining proportion and the internal memory of processor from heartbeat response.After sending heartbeat response, can judge whether to receive the heartbeat response of communication equipment, and statistics and communication equipment are set up the success rate of link.
In embodiments of the present invention, above-mentioned state information include but not limited to following one of at least: each communication equipment is to the current configuration of the disposal ability of message, each communication equipment, set up the success rate of communication link with each communication equipment.The configuration that each communication equipment is current, include but not limited to following one of at least: the current internal memory remaining proportion of processor remaining proportion, each communication equipment that each communication equipment is current.Can be according to communication equipment to the disposal ability of message, current configuration, set up the success rate of communication link with intelligent network, dynamically determine to the strategy of communication equipment dispatch messages.
In a preferred implementation of the embodiment of the present invention, can determine in such a way the message distribution strategy to each communication equipment dispatch messages: the state information of each communication equipment that statistics is obtained in current period; According to the result of statistics, determine that current period is to the message distribution strategy of each communication equipment dispatch messages.Message distribution strategy can be to the percentage of each communication equipment dispatch messages, and the percentage sum of each communication equipment is 1.In actual applications, when size of message within the unit interval is large, it is more accurate that measurement period embodies compared with short message distribution ratio; Within the unit interval, relatively hour, it is more accurate that the longer message distribution ratio of measurement period embodies size of message.In concrete enforcement, also can carry out by other means to determine message distribution strategy, for example, according to the state information of Real-time Obtaining, determine message distribution strategy.
There is certain difference in the configuration of considering each communication equipment, for example, each communication equipment may there are differences the disposal ability of message, in a preferred implementation of the embodiment of the present invention, can also obtain the weight of parameters in pre-configured state information, and according to the weight of state information and parameters, determine the message distribution strategy of current period.For example, consider remaining proportion and the difference of internal memory remaining proportion to happiness use influence degree of communications device processor, can obtain the weight of pre-configured above-mentioned parameter, according to the weight of the parameter of obtaining and parameter, determine message distribution strategy.
Further, in a preferred implementation of the embodiment of the present invention, while determining distribution policy according to the weight of above-mentioned state information and parameters, can add up the state information of each communication equipment obtaining in current period, according to the result of statistics and the weight of parameters, determine that current period is to the message distribution strategy of each communication equipment dispatch messages.By this preferred implementation, realization finishes the state information of share the pre-configured and communication equipment in family, dynamically determine to the strategy of each communication equipment dispatch messages, improved the accurately fixed of message distribution strategy, can better improve the resource utilization of communication equipment.
Determine after message distribution strategy, the message that ethernet device can be sent, sends to each communication equipment according to definite message distribution strategy, by each communication equipment, message is processed.Realized message has been distributed to control, message is more reasonably distributed on each equipment under cloud environment, solved due to the unsteadiness of cloud environment and the problem of the uncertain message distribution inequality causing.
Fig. 8 is according to the flow chart of the distribution method of the preferred message of the embodiment of the present invention, and as shown in Figure 8, the method can comprise that step S802 is to step S808.
Step S802, the dispensing device of message and the equipment of cloud environment are set up heartbeat message, can obtain current configuration, the heartbeat message success rate of equipment of cloud environment by heartbeat message.
Step S804, the dispensing device of message, by fixing measurement period, is added up respectively above-mentioned information, calculates the statistical value in designated statistics these information in the time period.
Step S806, the dispensing device of message is analyzed statistical value, in conjunction with the predefined configuration of user, determines the distribution policy of current measurement period Inner Front End message.
Step S808, the dispensing device of message, according to above-mentioned message distribution strategy, is distributed front end message.
By this preferred implementation, message has been carried out to distribution to be controlled, can make message more reasonably be distributed on each equipment under cloud environment, can effectively solve due to the unsteadiness of cloud environment and the problem of the uncertain message distribution inequality causing, device resource is fully utilized, effectively avoided due to the equipment component that message distribution inequality the causes excessive problem of loading simultaneously, thereby the framework that makes existing intelligent network is applicable to access cloud environment more, for the cloud of communication equipment provides important guarantee.
Below by specific embodiment, the method for the above embodiment of the present invention, Apparatus and system are described.
Fig. 9 is according to the schematic diagram of the dissemination system of the message of the specific embodiment of the invention, and as shown in Figure 9, this system comprises each communication equipment under cloud environment, dispensing device and each ethernet device of message.Wherein, the dispensing device of message can be the server of the above embodiment of the present invention.Message distribution device is by the facility information in heartbeat message timing acquisition cloud environment, in conjunction with user's configuration, calculate the distribution policy of current measurement period, message Ethernet being passed over by this strategy, is distributed on the equipment in cloud environment via described message distribution device.
In the specific embodiment of the invention, with message distribution device as shown in Figure 6 in order to describe.Figure 10 is according to the schematic diagram of the dissemination system of the message of the specific embodiment of the invention, Figure 10 show relation between the unit of said apparatus and with the contacting of each equipment, ruuning situation that can more intuitive understanding whole system.
In the system shown in Figure 10, this system equipment comprises: ethernet device 36, cloud environment equipment 35, and message distribution device.As shown in Figure 6, this device comprises: message statistic unit 31, message management unit 32, distribution policy administrative unit 33 and user configure preset unit 34.Wherein, cloud environment equipment 35 can be service control point (Service Control Point, referred to as the SCP) equipment in intelligent network, and message distribution device also belongs to the part in intelligent network, is responsible for the Ethernet message distribution of receiving to SCP equipment.
Message management unit 32 is connected with ethernet device 36, the message sending for receiving ethernet device 36; Message management unit 32 is connected with each cloud environment equipment 35, for receiving the heartbeat message of cloud environment equipment 35 and sending a message to cloud environment equipment 35.
Message statistic unit 31 is connected with message management unit 32, for heartbeat message is analyzed, parse each cloud environment equipment 35 relevant information, and count the heartbeat message success rate with each cloud environment equipment, message statistic unit 31 is issued message management unit 32 by these information.
User configures preset unit 34 and is connected with distribution policy administrative unit 33, for preset distribution policy, and preset distribution policy is issued to message management unit 32.
Distribution policy administrative unit 33 is connected with message management unit 32, reception is from the information of message statistic unit 31, in conjunction with user, configure the information of preset unit 34, calculate the message distribution strategy in measurement period, and this strategy is issued to message management unit 32, message management unit 32 by according to this strategy by the message distribution that comes from ethernet device 36 to cloud environment equipment 35.
Figure 11 is the schematic diagram transmitting according to the equipment room message of the specific embodiment of the invention, as shown in figure 11, message distribution device as one independently node deployment in whole system, between message distribution device and each cloud environment equipment, connect, by heartbeat message 402, detect link, by heartbeat message 402, obtain the relevant information on cloud environment equipment, as the foundation of calculating message distribution strategy simultaneously.Ethernet device sends to message distribution device by message 401, and message distribution device, according to the message distribution strategy calculating, is distributed to message 403 on cloud environment equipment.
Below the distribution method of the message of the specific embodiment of the invention is described in detail, the method can comprise that step 1 is to step 4.
Step 1, message management unit in message distribution device and cloud environment equipment connection, set up heartbeat message, heartbeat message is that the timed sending of cloud environment equipment is to the message of message distribution device, wherein, in heartbeat message, carry CPU residue ratio and two parameters of internal memory residue ratio of cloud environment equipment.
Step 2, message statistic unit in message distribution device carries out statistical analysis to heartbeat message, from heartbeat message, parse CPU residue ratio and two parameters of internal memory residue ratio of each cloud environment equipment, count the success rate with the heartbeat message of each cloud environment equipment simultaneously.Message statistic unit passes to distribution policy administrative unit these parameters.
Step 3, obtains last message distribution strategy in conjunction with user's configuration.Consider the certain difference that may exist that disposes of each equipment in cloud environment equipment, or need to the factor such as distribute to the disposal ability of message, user, configure in preset unit and can the distribution ratio at each cloud environment equipment room be configured message; CPU residue ratio and the difference of two parameters of internal memory residue ratio to systematic influence degree of considering cloud environment equipment, configure the weighted value that can configure these two parameters in preset unit user; User's dispensing unit passes to distribution policy administrative unit by the parameter preseting.The information that distribution policy administrative unit is obtained according to step 2 and step 3, COMPREHENSIVE CALCULATING outbound message distribution policy.The particular content of distribution policy is the message distribution ratio in measurement period, the percentage of the message of distributing on each cloud environment equipment, and on each cloud environment equipment, the percentage summation of dispatch messages is 1.
Preferably, above-mentioned distribution ratio can embody more accurately under the prerequisite of larger message count magnitude, when measurement period relatively in short-term, the size of message in the unit interval is larger, it is more accurate that message distribution ratio embodies; Within the unit interval, relatively hour, measurement period is longer for size of message, and it is more accurate that message distribution ratio embodies.
Step 4, the distribution policy administrative unit in message distribution device passes to message management unit by distribution policy, and message management unit is distributed the Ethernet message receiving by this strategy.
From above description, can find out, the present invention has realized following technique effect:, obtain the state information of each communication equipment under cloud environment, according to this state information, determine the message distribution strategy to each communication equipment dispatch messages, according to message distribution strategy to each communication equipment dispatch messages.Realized according to the state information of each communication equipment in cloud environment, dynamically determined to the strategy of each communication equipment dispatch messages, improved the resource utilization of each communication equipment.Further, the state information of and communication equipment pre-configured in conjunction with user, dynamically determines to the strategy of each communication equipment dispatch messages, has improved the accuracy of message distribution strategy, can better improve the resource utilization of communication equipment.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on the network that a plurality of calculation elements form, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in storage device and be carried out by calculation element, and in some cases, can carry out shown or described step with the order being different from herein, or they are made into respectively to each integrated circuit modules, or a plurality of modules in them or step are made into single integrated circuit module to be realized.Like this, the present invention is not restricted to any specific hardware and software combination.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (20)

1. a distribution method for message, is characterized in that, comprising:
Obtain the state information of each communication equipment under cloud environment;
According to described state information, determine the message distribution strategy to described each communication equipment dispatch messages;
The described message distribution strategy of foundation is to described each communication equipment dispatch messages.
2. method according to claim 1, is characterized in that, according to described state information, determines the message distribution strategy to described each communication equipment dispatch messages, comprising:
The state information of described each communication equipment that statistics is obtained in current period;
Result according to described statistics determines that current period is to the message distribution strategy of described each communication equipment dispatch messages.
3. method according to claim 1, is characterized in that,
Describedly also comprise: the weight of obtaining parameters in pre-configured described state information;
According to described state information, determine the message distribution strategy to described each communication equipment dispatch messages, comprising: the described distribution policy of determining current period according to the weight of described state information and described parameters.
4. method according to claim 3, is characterized in that, according to the weight of described state information and described parameters, determines described distribution policy, comprising:
The state information of described each communication equipment that statistics is obtained in current period;
According to the result of described statistics and the weight of described parameters, determine that current period is to the message distribution strategy of described each communication equipment dispatch messages.
5. according to the method described in any one in claim 1 to 4, it is characterized in that, the state information of obtaining each communication equipment comprises:
To described each communication equipment, send heartbeat message;
Receive the heartbeat response that described each communication equipment returns;
From described heartbeat response, obtain the state information of described each communication equipment.
6. according to the method described in any one in claim 1 to 4, it is characterized in that, described state information comprise following one of at least: described each communication equipment is to the current configuration of the disposal ability of message, described each communication equipment, set up the success rate of communication link with described each communication equipment.
7. method according to claim 6, is characterized in that, the current configuration of described each communication equipment comprise following one of at least: processor remaining proportion, the current internal memory remaining proportion of described each communication equipment that described each communication equipment is current.
8. a dispensing device for message, is characterized in that, comprising:
Acquisition module, for obtaining the state information of each communication equipment under cloud environment;
Determination module, for determining the message distribution strategy to described each communication equipment dispatch messages according to described state information;
Distribution module, for according to described message distribution strategy to described each communication equipment dispatch messages.
9. device according to claim 8, is characterized in that, described determination module, comprising:
The first statistic unit, for adding up the state information of described each communication equipment obtaining in current period;
The first determining unit, for the result according to described statistics, determines that current period is to the message distribution strategy of described each communication equipment dispatch messages.
10. device according to claim 8, is characterized in that,
Described acquisition module, also for obtaining the weight of pre-configured described state information parameters;
Described determination module, for the weight according to described state information and described parameters, determines the described distribution policy of current period.
11. devices according to claim 10, is characterized in that, described determination module comprises:
The second statistic unit, for adding up the state information of described each communication equipment obtaining in current period;
The second determining unit, for according to the result of described statistics and the weight of described parameters, determines that current period is to the message distribution strategy of described each communication equipment dispatch messages.
Device in 12. according to Claim 8 to 11 described in any one, is characterized in that, described acquisition module comprises:
Transmitting element, for sending heartbeat message to described each communication equipment;
Receiving element, the heartbeat response of returning for receiving described each communication equipment;
Acquiring unit, for obtaining the state information of described each communication equipment from described heartbeat response.
Device in 13. according to Claim 8 to 11 described in any one, it is characterized in that, described state information comprise following one of at least: described each communication equipment is to the current configuration of the disposal ability of message, described each communication equipment, set up the success rate of communication link with described each communication equipment.
14. devices according to claim 13, is characterized in that, the current configuration of described each communication equipment comprise following one of at least: processor remaining proportion, the current internal memory remaining proportion of described each communication equipment that described each communication equipment is current.
15. 1 kinds of servers, is characterized in that, comprise the device described in any one in claim 8 to 14.
The dissemination system of 16. 1 kinds of message, is characterized in that, comprising: server and a plurality of communication equipment, wherein,
Described server, for obtaining the state information of each communication equipment under cloud environment, according to described state information, determine the message distribution strategy to described each communication equipment dispatch messages, and the described message distribution strategy of foundation is to described each communication equipment dispatch messages;
Communication equipment described in each, for report the state information of described communication equipment to described server, and the message that receives described server distribution.
17. systems according to claim 16, is characterized in that, described server is determined the message distribution strategy to described each communication equipment dispatch messages in such a way:
The state information of described each communication equipment that statistics is obtained in current period;
Result according to described statistics determines that current period is to the message distribution strategy of described each communication equipment dispatch messages.
18. systems according to claim 16, is characterized in that, described server,
Also for obtaining the weight of pre-configured described state information parameters, and according to the weight of described state information and described parameters, determine the described distribution policy of current period.
19. according to claim 16 to the system described in any one in 18, it is characterized in that, described server obtains the state information of each communication equipment in such a way:
To described each communication equipment, send heartbeat message;
Receive the heartbeat response that described each communication equipment returns;
From described heartbeat response, obtain the state information of described each communication equipment.
20. according to claim 16 to the system described in any one in 18, it is characterized in that, described state information comprise following one of at least: described each communication equipment is to the current configuration of the disposal ability of message, described each communication equipment, set up the success rate of communication link with described each communication equipment.
CN201210207903.8A 2012-06-21 2012-06-21 Message distribution method, device and system Pending CN103516738A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210207903.8A CN103516738A (en) 2012-06-21 2012-06-21 Message distribution method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210207903.8A CN103516738A (en) 2012-06-21 2012-06-21 Message distribution method, device and system

Publications (1)

Publication Number Publication Date
CN103516738A true CN103516738A (en) 2014-01-15

Family

ID=49898769

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210207903.8A Pending CN103516738A (en) 2012-06-21 2012-06-21 Message distribution method, device and system

Country Status (1)

Country Link
CN (1) CN103516738A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105468641A (en) * 2014-09-09 2016-04-06 上海盛大网络发展有限公司 Search cloud message real-time distribution system and method
CN105912412A (en) * 2016-03-31 2016-08-31 北京奇虎科技有限公司 Message distribution method, message distribution device and message distribution system
CN106789587A (en) * 2016-12-28 2017-05-31 国家计算机网络与信息安全管理中心 The communicator and method of reliable news under a kind of cloud computing environment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1795446A (en) * 2003-05-27 2006-06-28 诺基亚公司 Data collection in a computer cluster
CN102045451A (en) * 2009-10-14 2011-05-04 中兴通讯股份有限公司 Uniform message scheduling system and business message notification method and system
CN102063339A (en) * 2010-12-21 2011-05-18 北京高森明晨信息科技有限公司 Resource load balancing method and equipment based on cloud computing system
US8065259B1 (en) * 2005-11-29 2011-11-22 Tilera Corporation Pattern matching in a multiprocessor environment
CN102301664A (en) * 2011-07-20 2011-12-28 华为技术有限公司 Method and device for dispatching streams of multicore processor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1795446A (en) * 2003-05-27 2006-06-28 诺基亚公司 Data collection in a computer cluster
US8065259B1 (en) * 2005-11-29 2011-11-22 Tilera Corporation Pattern matching in a multiprocessor environment
CN102045451A (en) * 2009-10-14 2011-05-04 中兴通讯股份有限公司 Uniform message scheduling system and business message notification method and system
CN102063339A (en) * 2010-12-21 2011-05-18 北京高森明晨信息科技有限公司 Resource load balancing method and equipment based on cloud computing system
CN102301664A (en) * 2011-07-20 2011-12-28 华为技术有限公司 Method and device for dispatching streams of multicore processor

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105468641A (en) * 2014-09-09 2016-04-06 上海盛大网络发展有限公司 Search cloud message real-time distribution system and method
CN105468641B (en) * 2014-09-09 2020-08-18 上海盛大网络发展有限公司 Search cloud message real-time distribution system and method
CN105912412A (en) * 2016-03-31 2016-08-31 北京奇虎科技有限公司 Message distribution method, message distribution device and message distribution system
CN106789587A (en) * 2016-12-28 2017-05-31 国家计算机网络与信息安全管理中心 The communicator and method of reliable news under a kind of cloud computing environment
CN106789587B (en) * 2016-12-28 2021-05-18 国家计算机网络与信息安全管理中心 Communication device and method for reliable message in cloud computing environment

Similar Documents

Publication Publication Date Title
CN110312279B (en) Network data monitoring method and device
US8099488B2 (en) Real-time monitoring of service agreements
EP2537366B1 (en) Configuration of the operational state of delay-tolerant wireless devices based on network traffic level of a particular network sector
US10230573B2 (en) Management of network entity selection
US20030120764A1 (en) Real-time monitoring of services through aggregation view
CN102004673A (en) Processing method and system of multi-core processor load balancing
CN112311628B (en) Network speed measuring method, system, network equipment and storage medium
CA2221579A1 (en) Communications network monitoring
WO2016173280A1 (en) Monitoring management method and apparatus
CN114302429B (en) NWDAF network element determination method, device, equipment and storage medium
CN101355521B (en) Control method for equalizing load, communication apparatus and communication system
CN109921925A (en) A kind of dial testing method and device
CN106375102A (en) Service registration method, application method and correlation apparatus
CN103677983A (en) Scheduling method and device of application
CN103516738A (en) Message distribution method, device and system
US9077735B2 (en) Method and related device for controlling service charging
US20240118935A1 (en) Pod deployment method and apparatus
CN105791349A (en) Data analysis method, device and system, terminal and server
CN110087226A (en) Flow statistical method, device, storage medium and electronic device
CN117278482A (en) Token bucket implementation method and device
CN104639379A (en) Proxy testing method and device
CN108667873B (en) Shunting method, shunting device, electronic equipment and readable storage medium
CN113727386B (en) Communication method and device
CN112202614B (en) Method and device for communication between systems
CN105656855A (en) Resource access control method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140115