Therefore, one object of the present invention is the above-mentioned shortcoming that overcomes prior art provides a kind of GT of significantly improving sign indicating number translation speed and ability to shorten the control and treatment method of the STP machine of forwards time delay simultaneously greatly.
Another object of the present invention provides and a kind ofly guarantees the conforming method of STP system data based on the invention described above control and treatment method.
For achieving the above object, STP machine of the present invention adopts full dispersion treatment centralized control method to the control and treatment of SCCP module, is about to the routing part of SCCP module and GT sign indicating number interpretative function and is dispersed in each processing unit and controls simultaneously.Each processing unit all has identical GT sign indicating number translation table, and all adopts the HASH algorithm to realize the translation of GT sign indicating number.
The full dispersion treatment centralized control of SCCP of the present invention method also comprises the conforming method of STP system data that guarantees, whether it comprises with following dual mode judgment data consistent: the lint-long integer of a fixed length is set as version number for the version of expression data modification course, whether consistent with the sign version, revise each time, add 1 promptly for described version number; With generate check word by data, the twin check word is with the consistency of judgment data again.Inconsistent data is adopted different measure as the case may be: when finding that single or multiple LPU data are inconsistent, then start this link processing unit LPU and reset by terminal interface; When finding that system processing unit (SYS) plate and Back Administration Module (BAM) when data are inconsistent, then are loaded into backstage BAM with SYS plate data, by terminal data are carried out necessary modification then.
Because the above-mentioned full dispersion treatment centralized control structure of STP machine of the present invention makes when arbitrary functional processing module is received the message that contains the GT sign indicating number, can be directly to its routing with carry out the translation of GT sign indicating number, compare with the mode that before the GT sign indicating number was concentrated on a Translation Services Center, reduce the inner hop count of message and also need not to increase in addition interpreting equipment, obviously the translation ability of STP machine increasing and strengthen and do not influence substantially the propagation delay time of message with LPU, in addition, adopted the HASH algorithm to carry out the translation of GT sign indicating number, make the inventive method significantly improve the GT sign indicating number translation speed and the translation ability of STP machine, simultaneously shorten the forwards time delay greatly, thereby improved the performance of STP machine.A large amount of experimental datas show that the inventive method has reached following remarkable result: (1) GT sign indicating number translation speed greatly improves, and every link each second is the fastest translates 85 GT sign indicating numbers, and message-length is 80 bytes.(2) translation of GT sign indicating number does not have influence substantially to propagation delay time.(3) translation ability of a STP model machine of utilization the inventive method is up to 46080GT sign indicating number/second.
Above index is all considerably beyond the recent and long range requirement of GB institute standard.
Now be described with reference to the accompanying drawings the embodiment of the inventive method, in the accompanying drawing:
Referring to Fig. 2 to Fig. 4, as shown in Figure 2, No.7 signalling system software in the STP machine comprises Message Transfer Part MTP, SCCP SCCP, Transaction Capability Application Part TCAP TCAP, Operation and Maintenance part of O MAP with Signaling System Number 7, the function of each part mentioned above and the interface of intermodule, in the ITU-T suggestion, specified in more detail is arranged, so do not give unnecessary details at this, the No.7 signalling system software of STP machine of the present invention structurally also satisfies as above form, but as shown in Figure 3, adopt full dispersion treatment, centralized control: SCCP Management and control section 31 be arranged on switch or the STP machine have in the module of complete machine management role system handles plate SYS as shown in Figure 4, in other words has OMAP shown in Figure 2 on the SYS plate, the management function of the repertoire of TCAP module and SCCP and MTP; And SCCP routing function and GT code table and GT sign indicating number interpretative function are arranged in each disposable plates of Signaling System Number 7 or module, realize on the link processing line processing unit as shown in Figure 4, MTP on each disposable plates or the module has the ability that local SCCP message directly is transmitted to the last SCCP of this plate (or module), in other words, line processing unit has the routing function of SCCP and the routing function of GT sign indicating number interpretative function and MTP.
Fig. 4 schematically illustrates the system configuration of an embodiment of the full dispersion treatment centralized control of utilization the present invention method.As seen from the figure, the STP machine comprises inner high speed bus 40 in this example; Be connected on inside story conversion board PMC plate 43 and system handles plate (to call the SYS plate in the following text) 41 on the high-speed bus 40; The backstage 42 that links to each other with the SYS plate, and the link processing plate line processing unit 44 that links to each other with PMC plate 43.
Wherein, system handles plate SYS plate 41, the management of mainly being responsible for STP reaches and backstage (BAM) 42 communications; The 43 main inside stories of being responsible for the STP machine of forwards plate PMC plate are transmitted; Line processing unit 44 is main to be responsible for handling the message that transmits on the Signaling System Number 7 links 45 and it is carried out routing and addressing.
The routing part and GT sign indicating number translator unit-GT code table and the GT sign indicating number interpretative function that all have SCCP on every line processing unit 44.
The course of work of system shown in Figure 4 now is described in conjunction with Fig. 5.
When the No.7 signaling message enters line processing unit 44 by link 45, at first by this message of Signaling System Number 7 MTP resume module, if this message is the message of only transmitting through MTP, then MTP is to its routing again, and which bar Signaling System Number 7 link is the message of decision after handling will forward and the line processing unit at this link place number through, by PMC plate 43 and bus 40 this message is forwarded on this line processing unit afterwards, by MTP module on it message is forwarded in the respective link again and send; If this message is SCCP message, then MTP is given to this message the SCCP of this plate, enter flow process shown in Figure 5, promptly at S11, SCCP receives the message that MTP comes, routing (S12) through SCCP, then, need to judge whether translation GT sign indicating number, if need translation then to enter S14 at S13, after carrying out the translation of GT sign indicating number, issue the MTP module again, proceed to S15 afterwards, otherwise directly proceed to S15, again it is carried out routing and selects the link process by MTP, and by PMC plate and bus message is forwarded on the respective link and to send out (S16).
The translation process of following brief description GT sign indicating number.For further improving translation speed, the present invention has adopted the HASH algorithm.When this method just loads in program, to carry out initialization to the HASH concordance list of GT code table, this initialization flow process at step S51, begins initialization procedure as shown in Figure 6, step S52 begins circulation, then, get the GT sign indicating number, calculate the HASH value at S54 afterwards at S53, adopt following function calculation in this example: per 4 bytes of GT sign indicating number are got lint-long integer, back to these lint-long integers summations with maximum GT yardage delivery.After finishing, calculating enters step S55; Judge whether " conflict " takes place, flow process proceeds to S56 if do not clash then; The sequence number of this GT sign indicating number in the GT code table deposited in the relevant position of HASH concordance list, enter then S61 judged whether the GT sign indicating number if this judged result be "Yes" then flow process return S52, enter next circulation, repeat above all steps, if S61 be judged as "No" the time, then flow process proceeds to S62: end loop, and proceed to S63 and finish this initialization procedure.When step S55 judged result is "Yes", then flow process proceeds to S57, further judge: whether " conflict " district full? if the S57 judged result is a "No", then flow process proceeds to S60: enter S61 after depositing this GT sign indicating number sequence number in " conflict " district relevant position, when if the S57 judged result is "Yes", then flow process proceeds to S58, as error handling processing, and proceeds to S59 end initialization procedure.After the initialization of the HASH concordance list of having realized the above GT table, can translate the GT sign indicating number, this translation process is as shown in Figure 6.At first at S61, begin this flow process, then at step S62, the HASH value of the GT sign indicating number that calculating will be translated, this computing method and S54 shown in Figure 5 are identical, then judge at S64 whether this GT sign indicating number is the GT sign indicating number that will translate, then enter S65 if be judged as "Yes", show and translate successfully, and finish translation process in S66; If S64 is judged as "No", then flow process proceeds to S67, " searching the GT sign indicating number that will translate in the battleground ", then enters S68, judges whether to find the GT sign indicating number that will translate, then repeats above-mentioned steps S65, S66 if be judged as "Yes"; If S68 be judged as "No" then flow process proceed to S69, the expression translation failure also enters S70, finishes translation process.
Be understood that from the above description the STP system in this example is the structure of a centralized control, distributed treatment, its configuration data resides at the SYS plate, BAM plate and all line processing units, thereby how to guarantee the consistency of the system data on all plates to become the key issue that dispersion treatment centralized control method of the present invention must solve.
This paper states the front, the present invention guarantees that the conforming method of STP system data comprises whether judgment data is consistent in two ways, the first identifies version with version number, whether the versions of data of homologous ray is consistent come the data modification action of specified data disposable plates normal for the versions of data of judgment data disposable plates, be to identify version as version number in this example with one 32 lint-long integer, process by its check system data consistency is as shown in Figure 8: at first, when carrying out the data modification operation (S0) at every turn, by backstage BAM structure the corresponding command message, and in the versions of data of the BAM number insertion command messages, issue foreground SYS plate (S1) afterwards, after the SYS plate is received this message, compare version number with the data of preserving on the SYS plate, if the inconsistent step S7 that then changes, structure comparative result message also reports backstage BAM; If consistent, then the operation (S2) of fill order message requirement sends this command messages (S3) to each movable line processing unit afterwards.When each movable line processing unit was received this message, at first the comparing data version if inconsistent commentaries on classics S5 goes on foot, was constructed comparative result message and is also reported the SYS plate; If consistent, then the operation (S4) of fill order message requirement is changeed S5, reported result afterwards.The SYS plate is responsible for collecting the result (S6) that each line processing unit reports, and does corresponding analysis and statistics, when all line processing units all after the reported result message, just constructs the results messages on whole foreground and reports (S7).Backstage BAM receives the executing result message of returning on the foreground and does respective handling, as the display operation success or not, and (S8) such as reasons of operation failure, finish whole data modification operating process (S9) then.
Whether consistent another kind of mode is to generate check word by data to judgment data, contrasts check word then and comes the judgment data consistency, to avoid causing by byte check the huge consumption of system resource.The consistency desired result process of commands flow process that is started by BAM is shown among Fig. 9, referring now to Fig. 9 this flow process is described:
At first, regularly start the order of (or the user starts by terminal interface) data consistent check at S91 by backstage BAM, in command messages, carry " check word " of versions of data number and each tables of data of BAM, then at S92, control the comparison that relatively reaches versions of data (S94) that whole foreground comprises the data check word on SYS plate and the line processing unit by the dataman module of foreground SYS plate, then at S93, each line processing unit to activity sends corresponding command messages, when each line processing unit reports the SYS plate to result relatively (S95), dataman module then is responsible for collecting the reported result (S96) of each line processing unit, then make preliminary statistics and gather at S97, construct the results messages of whole Foreground Data consistency check simultaneously and report the backstage, then receive this results messages and handle accordingly on the S98 backstage.
By STP machine or the switch that the present invention realizes, must consider also when certain disposable plates (line processing unit) fault was resumed work again after a period of time, will guarantee that data are consistent with whole STP machine/switch on it that this process is referring to Figure 10.At first by " maintenance management " module on the SYS plate, detect certain line processing unit and return to operating state by malfunction, and give data management module (S101) on the SYS plate this situation report, construct the check word of each tables of data by data management module afterwards and obtain on the SYS plate versions of data number, and construct a command messages (S102) thus, and send on the line processing unit of just having resumed work.At step S103, data check word on the line processing unit and versions of data number are compared with data check word and versions of data on the SYS plate, afterwards comparative result are reported SYS plate (S104).The SYS plate is collected these line processing unit data results messages (S105) relatively, and do corresponding analysis (S106), if inconsistent on this line processing unit on data and the SYS plate then notified backstage BAM (S107), do respective handling (sending out the order of these line processing unit data of loading to SYS) by the backstage; If the comparative result unanimity, then the line processing unit of explanation recovery can operate as normal.
Referring to Figure 11, this illustrates an example that STP machine of the present invention is applied to the Modern Telecommunication net, and each mark is represented among the figure:
MSU wireless remote multi-user access unit; The PABX subscriber computer;
The 2B+DISDN terminal use; Home Location Registry place among the HLR GSM;
Service control point in the SCP intelligent network; Service management point in the SMP intelligent network;
Service creation environment in the SCE intelligent network; PSPDN public packet switched data net;
The RSU Remote Interface Unit; The RSA remote subscriber inserts; The RSM remote subscriber module;
Below summarize the operating position of STP machine
Be example now with certain IN service in the intelligent network.Suppose that certain user under the SSP will carry out " Account Card Calling ", when SSP checks out that this calling is intelligent call, just analyze its class of service and Business Nature, and determine the position of relative service control point (SCP), SSP is by the Signaling System Number 7 net afterwards, get in touch through one or more STP machines and SCP foundation possibly, and inquire about the further operation of this IN service.In the process of whole inquiry and visit, the STP machine plays a part to transmit message and guarantees to provide reliable signaling link, therefore the STP machine plays key effect in intelligent network is used, and the signaling network of being made up of it and No. seven links is intelligent network most important physical platform in implementation procedure.
Though more than in conjunction with the embodiments the full dispersion treatment centralized control of the present invention method is described, but those skilled in the art may make all conspicuous modification according to above design, for example can also following manner calculate the HASH value:, ask itself and number delivery again every 2 byte round numbers; Or after 2 byte round numbers, to each integer square get again and, ask mould afterwards, or " every the position " round numbers delivery etc. of suing for peace again.So protection range of the present invention is determined by appended claims.