Background technology
Increasingly mature along with the IP technology, with soft switch and IP packet-switch technology is next generation network (the Next Generation Network of core, be called for short NGN) technology, because its wide application prospect and, become one of focus that industry pays close attention to most to the support of people's variation, individual business demand.As the visual plant among the NGN, (be called for short: PROXY) the typical networking model in the NGN network as shown in Figure 1 for acting server.
PROXY is the soft switchcall server of terminal 1 as the Xin Lingdaili and the Media proxy of terminal 1.The SP flow process of PROXY is: the user's registration and the call information of terminal 1 all send to PROXY, and PROXY is through being transmitted to the application server or the terminal 2 of core net again after the signaling process; When application server or terminal 2 calling terminals 1, call request at first sends to PROXY, and PROXY is transmitted to terminal 1 again through after the signaling process.In this process, PROXY need support SIP (Session Initiation Protocol, be called for short SIP), the MGCP of audio frequency and video agreement, ietf standard (Media GatewayContro1ler Protoco1 H.323, abbreviation MGCP), H.248 the MGCP of ITU-T standard waits one or more agent functionalitys in the agreement, and because PROXY has participated in whole flow process, so PROXY can obtain details such as corresponding user's registration, calling.The flow process of the MP of PROXY is: when PROXY agency's terminal 1 when terminal 2 or application server send Media Stream, at first need processing and forwarding through PROXY, therefore, the destination address that terminal 1 sends Media Stream is the PROXY address; When terminal 2 or server when terminal 1 sends Media Stream because same processing and forwarding through PROXY, therefore sending the address of pointing to is the address of PROXY.The schematic diagram of PROXY proxy signaling stream and Media Stream as shown in Figure 2, solid line is a Media Stream, dotted line is a signaling flow.
As can be seen: the signaling flow of terminal 1 and Media Stream are all handled and transfer by PROXY.Because the number of signaling message is generally less, calling is greatly about about 10 signaling messages, and Media Stream just may reach 30~50 messages one second, therefore, has caused the asymmetry of signaling traffic and medium flow.Because PROXY must guarantee that signaling message and media message can both in time obtain handling, under the situation that the media message flow is big in that the signaling message flow is little, the processing of media message has occupied the most processing resource of PROXY, therefore the conversation number causes centralized PROXY capacity to be difficult to improve when having limited PROXY and can handle.
Therefore, at present big capacity PROXY adopts distributed treatment, form by one or more SP equipment and one or more MP equipment, finish the processing of Xin Lingdaili function and Media proxy function respectively, as shown in Figure 3, wherein SP and MP can be deployed in same region physically, also can be deployed in different regions.Because the relative Media Stream of signaling traffic is much smaller, so SP can be simultaneously and a plurality of MP collaborative works, to solve signaling traffic and the unbalanced problem of medium flow.
But in the distributed treatment process, because SP and MP are respectively according to self configuration process same call, so relevant configuration information of two equipment, need be consistent as qos policy information, security information, authentication information etc., otherwise will cause the processing confusion in the same call flow process, even conversation failure. in the prior art, need respectively SP and a plurality of MP to be configured processing, more loaded down with trivial details; And, when the configuration of a certain equipment changes, must upgrade other equipment, not easy care respectively in order to guarantee the consistency of distinct device configuration.
Summary of the invention
The objective of the invention is in order to overcome above-mentioned defective of the prior art, a kind of method and system of configuring distributed proxy server information are proposed, unify configuration information and send to each MP by SP, avoid disposing respectively SP and MP information, guarantee the consistency of SP and MP configuration information simultaneously.
Another object of the present invention is in order to overcome above-mentioned defective of the prior art, a kind of method and system of configuring distributed proxy server information are proposed, monitor the variation of each MP configuration information in real time by SP, the configuration information of SP and each MP keeps the collaborative of SP and MP configuration information synchronously.
For achieving the above object, the invention provides a kind of method of configuring distributed proxy server information, described acting server comprises a Xin Lingdaili equipment and at least one media agent device, said method comprising the steps of:
Step 1, between Xin Lingdaili equipment and each media agent device, set up a secured communication channel respectively, be used for information exchange;
Step 2, the configuration information of described Xin Lingdaili equipment and media agent device is set with unified format on Xin Lingdaili equipment;
Step 3, Xin Lingdaili equipment are given described each media agent device with described configuration information synchronously by described secured communication channel;
Described configuration information is resolved and installed to step 4, described each media agent device.
In order to satisfy collaborative requirement, can also comprise after the described step 4:
Described Xin Lingdaili equipment is configuration information on described each media agent device of monitoring in real time, when configuration information changes on the media agent device, and the local configuration information of described Xin Lingdaili apparatus modifications, and execution in step 3 again.
Perhaps, in order to satisfy collaborative requirement, comprise after the described step 4:
When described Xin Lingdaili equipment received the configuring request of described media agent device transmission or receives the network management terminal command triggers, described Xin Lingdaili equipment was reset local configuration information, re-executes step 3.
A kind of system of configuring distributed proxy server information also is provided, described acting server comprises a Xin Lingdaili equipment and at least one media agent device, described Xin Lingdaili equipment is connected by a secured communication channel respectively with described each media agent device, described Xin Lingdaili equipment is used for being provided with unified format the configuration information of described Xin Lingdaili equipment and media agent device, and gives described each media agent device synchronously by described each secured communication channel respectively with described configuration information; Described each media agent device is used for sendaisle and sets up request, resolves and install described configuration information.
In order to satisfy collaborative requirement, can also include a real-time monitoring module in the equipment of Xin Lingdaili described in the said system, be used for regularly sending query requests to described media agent device by described secured communication channel, when configuration information changed on the media agent device, described Xin Lingdaili equipment was reset local configuration information.
Perhaps, in order to satisfy collaborative requirement, can also include a real-time monitoring module in the equipment of Xin Lingdaili described in the said system, be used to receive configuring request or the network management terminal command triggers that described media agent device sends, and instruct described Xin Lingdaili equipment to reset local configuration information.
As shown from the above technical solution, the present invention adopts the method for monitoring in real time by disposing and issue configuration information in the unification of Xin Lingdaili equipment end, has following beneficial effect:
1, simplified each MP configuration;
2, guaranteed SP and MP consistency in the configuration of aspects such as qos policy, security information, authentication information;
3,, guaranteed the working in coordination with of configuration information of each MP and SP by monitoring in real time.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Embodiment
Embodiment 1:
Referring to Fig. 4, by the configuring distributed PROXY information of following steps:
Step 101, between SP equipment and each MP equipment, set up a secured communication channel, be used for information exchange;
Step 102, the configuration information of described SP equipment and MP equipment is set with unified format on SP equipment;
Step 103, SP equipment are given described each MP equipment with described configuration information synchronously by described secured communication channel;
Step 104, described each MP device parses are also installed described configuration information, finish.
Wherein, set up can setting up of a secured communication channel between SP equipment and the MP equipment, also can adopt secured communication channel method for building up provided by the present invention based on existing arbitrary secure communication mechanism, as shown in Figure 5:
Step 101a, a MP equipment B are set up request to the SP of same PROXY device A sendaisle when power-up initializing;
Step 101b, SP device A are carried out authentication to the MP equipment B, and this authentication can be adopted the mechanism of similar chap authentication; By verifying then execution in step 101c, also finish otherwise return invalid information to the MP equipment B;
Whether step 101c, SP device A set up secured communication channel bb between itself and MP equipment B, and keep sending heartbeat message, can the real-time confirmation passage unimpeded according to the feedback of heartbeat message, thereby guarantee the availability of passage;
Step 101d, when the heartbeat message shows that described secured communication channel bb disconnects, re-execute step 101b, otherwise execution in step 102.
The said process of step 101, with public open policy service protocol (the Common Open Policy Service of basis by IETF resource allocation working group (being called for short RFC) definition, abbreviation COPS) secured communication channel of agreement foundation is an example, when SP equipment is wanted to check the QoS configuration information of MP equipment, the user is behind SP equipment end input command capable " display mp mp-id QoS-configuration ", and SP equipment checks that with this QoS configure order is encapsulated in the DEC message and sends to MP equipment; After MP equipment is received DEC message, at first parse command type, then the content of the QoS of self configuration mode with character string is encapsulated in the RPT message, and sends to SP for checking QoS configuration; After SP receives RPT message, resolve its content, if the data of carrying in the message are not sky, then the content with character string shows.
Secured communication channel of the present invention is not limited to the communication process mechanism of above-mentioned COPS agreement, and the treatment mechanism of communicating by letter between other similar SP and the MP is all described within the scope at this paper.
The method that the configuration information of SP equipment and MP equipment is set in the step 102 is: the configuration information of utility command row or system command configuration SP equipment and MP equipment, such as, carry out the order line operation by the SP device end and realize information configuration.
Be provided with in the step 102 SP equipment and MP equipment configuration information method can also for: at format editing one text of SP device end, comprise the configuration information content that SP equipment will be handed down to MP equipment in this document with SP equipment and MP equipment coordination.
The method that the configuration information of SP equipment and MP equipment is set in the step 102 can also adopt other the arbitrary method known to those skilled in the art, guarantees that the compatibility of SP equipment and MP equipment gets final product.
Simultaneously, model based on SP equipment in the step 102 and MP equipment is different different with manufacturer, the configuration information file form that SP equipment and MP equipment are coordinated has otherness, therefore, need concrete the coordination and setting, as long as satisfy SP equipment and MP equipment can be discerned each other mutually, irrelevant with technical scheme of the present invention, therefore it is not further described.
Step 104 can adopt existing arbitrary configuration information installation method, and the also method that can adopt body of the present invention to provide as shown in Figure 6, may further comprise the steps:
Step 104a, MP equipment B, C resolve configuration information according to described unified format;
Step 104b, resolve successfully, execution in step 104d returns to the SP device A and resolves unsuccessful information and execution in step 104c otherwise resolve unsuccessful MP equipment;
Step 104c, SP device A are reset unified configuration information and execution in step 103;
Step 104d, successful MP equipment B, the C of parsing install described configuration information and finish.
Embodiment 2:
On the basis of embodiment 1, the better embodiment of the method for the configuring distributed proxy server information of the present invention is by obtaining the information of each MP equipment in real time on SP equipment, guaranteeing the consistency of information on SP equipment and each MP equipment.Referring to Fig. 7, may further comprise the steps:
Step 201, between SP equipment and each MP equipment, set up a secured communication channel;
Step 202, on the SP device A with unified format editor one text, the unified configuration information of SP device A is set;
Step 203, SP device A are given the MP equipment B with text file synchronously by secured communication channel bb, give MP equipment C synchronously by secured communication channel cc, this MP equipment C had set up secured communication channel cc with the SP device A before step 201, method for building up is identical with the method for setting up escape way bb;
Step 204, each MP device parses are also installed described configuration information;
After above-mentioned steps, present embodiment also comprises the information of obtaining each MP equipment in real time and the step of being handled:
On step 205, the SP device A according to default, the information that MP equipment B, C are inquired about in timing, comprise connection state information, the MP equipment B of MP equipment B, C and SP device A, the configuration information of C etc., this timing can artificially be provided with according to network condition, such as inquiry in per 5 minutes once;
After step 206, MP equipment B, C receive query requests, resolve this query requests;
Step 207, resolve successfully then execution in step 208, resolve failure information to MP device A and re-execute step 205 otherwise return;
Step 208, MP equipment B, C give the SP device A with corresponding information feedback;
Behind step 209, the SP device A feedack, show its content, and judge whether the configuration information of MP equipment B, C variation has taken place, and is then to re-execute step 202, otherwise finish.
Wherein, the method that provides in the embodiment of the invention 1 can be provided step 201 to step 204, also can adopt the arbitrary method known to those skilled in the art.
As can be seen, different with the Telnet mode of standard, the SP device A need not logined MP equipment B, C in the present embodiment, when each SP device A is carried out user instruction, all is to send message by the secured communication channel of having set up; The SP device A is with the MP equipment B, when C communicates by letter, and the SP device A does not send the order of the Telnet of login usefulness, and MP equipment B, C do not need to resolve telnet command yet; SP device A and MP equipment B, C all do not carry out option negotiation, and directly parsings if resolves successfully, then passed through the secured communication channel loopback to SP with corresponding information when each MP equipment B, C receive the instruction that the SP device A issues; Simultaneously, when the configuration information of arbitrary MP equipment B, C changed owing to artificial or system's reason, the SP device A can both be monitored in real time, and adjusted with synchronous again, had guaranteed the consistency of MP equipment and SP device configuration information.
Embodiment 3:
On the basis of embodiment 1, the better embodiment of the method for the configuring distributed proxy server information of the present invention is by network management terminal command triggers SP equipment, carries out the configuration information update of SP and MP, referring to Fig. 8, may further comprise the steps:
Step 301, between SP device A and each MP equipment B, C, respectively set up a secured communication channel, be used for information exchange;
Step 302, the configuration information of described SP device A and MP equipment B, C is set with unified format on the SP device A;
Step 303, SP device A are given described each MP equipment B, C with described configuration information synchronously by described secured communication channel;
Step 304, described each MP equipment B, C resolve and install described configuration information;
Step 305, SP device A receive the network management terminal command triggers, if require to reset configuration information, then execution in step 306, otherwise carry out the corresponding command and end;
The form that step 306, SP device A are indicated according to order is reset configuration information, and execution in step 303 then.
Wherein, the method that provides in the embodiment of the invention 1 can be provided step 301 to step 304, also can adopt the arbitrary method known to those skilled in the art.
In the step 305 of present embodiment 3, what the SP device A received also can be the configuring request of MP equipment B or C transmission, promptly realizes the renewal of configuration information according to the information in the configuring request of MP equipment B or C transmission.
Referring to Fig. 9, be the system block diagram of configuring distributed proxy server information provided by the present invention, comprise a SP equipment 1, MP equipment 21 and 22, SP equipment 1 is connected with MP equipment 21 by secured communication channel 31, and SP equipment 1 is connected with MP equipment 22 by secured communication channel 32.
SP equipment 1 is used for being provided with unified format the configuration information of SP equipment 1 and MP equipment 21 and 22, and gives Media proxy MP equipment 21 and 22 respectively synchronously by secured communication channel 31 and 32 respectively with described configuration information; Wherein, the method that the configuration information of SP equipment and MP equipment is set is: the configuration information of utility command row or system command configuration SP equipment and MP equipment, such as, carry out the order line operation by the SP device end and realize information configuration; Put SP equipment and MP equipment configuration information method can also for: at format editing one text of SP device end, comprise the configuration information content that SP equipment will be handed down to MP equipment in this document with SP equipment and MP equipment coordination.
Media agent device 21 and 22 is used for sendaisle and sets up request, resolves and install described configuration information.
Also include an identity authentication module (not shown) in the SP equipment 1, be used for carrying out authentication in the MP equipment 21 and/or 22 of the request of setting up to sendaisle, checking is set up secured communication channel 31 and/or 32 by SP equipment 1 then.
Also include a real-time monitoring module (not shown) in the SP equipment 1, be used for regularly sending query requests to MP equipment 21 and/or 22 by secured communication channel 31 and/or 32, when a MP equipment, when changing such as the configuration information on the MP equipment 31, SP equipment is reset local configuration information.
Perhaps, this real-time monitoring module (not shown) is used to receive MP equipment 31 and/or 32 configuring request or the network management terminal command triggers that send, and instruction SP equipment is reset local configuration information.
It is pointed out that technique scheme only is illustrated the system of configuring distributed proxy server information provided by the invention, do not limit the quantity of MP, the quantity of this MP equally can be for more than one or two.
It should be noted last that, above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that, can make amendment or be equal to replacement technical scheme of the present invention, and not break away from the spirit and scope of technical solution of the present invention.