A kind of method with the SMS query remaining sum of intelligent network subscriber
Technical field
The present invention relates to mobile intelligent net, relate in particular to a kind of method with the SMS query remaining sum of intelligent network subscriber.
Background technology
Mobile intelligent net is to introduce the intelligent network functional entity in the mobile network, to finish a kind of network to the Based Intelligent Control of mobile calls.It is existing mobile network and the combining of intelligent network.If transform the switching center of mobile network as the Service Switching Point Service Switching Point, the mobile network of bottom is linked to each other with the intelligent network (SCP, SMP, SCE, SMAP etc.) of high level, separate realization thereby will move exchange with professional, just formed mobile intelligent net.
Support by means of No.7 signaling network and large-scale centralized formula database, the function of exchange and the controlled function with network of mobile intelligent net are separated, originally the network intelligence that was arranged in each end office switch in the telephone network is focused on the functional part of newly establishing---on the Service Control Point of intelligent network be made up of medium-mini computer, and original switch is only finished the basic function that continues.
Mobile intelligent net generally is made up of SSP, Service Control Point, ip intelligent peripherals (IP), business management system (SMS), service creation environment several parts such as (SCE).SSP is the tie point that connects existing mobile network and intelligent network, and the function that inserts intelligent network function collection is provided.SCP is the core component of intelligent network, its storaging user data and service logic.Major function is to receive Query Information and the Query Database that SSP sends here, carries out various decodings; Simultaneously, SCP can start different service logics according to the call event of offering on the SSP, sends the calling control command according to service logic to corresponding SSP, thereby realizes various intelligent calls.IP is a special resource of assisting to finish IN service.Usually have various phonetic functions, as phonetic synthesis, the playback notice receives DTMF pulsing, carries out speech recognition or the like.SMS is made up of computer system, generally possesses 5 kinds of functions, i.e. service logic management, Service Data Management, user data management, professional monitoring and traffic management.The function of SCE is the new service logic of demand generation according to the client.The general structure of mobile intelligent net system as shown in Figure 1.
The online open the earliest business of intelligent movable is exactly walk in the Divine Land prepayment service (a PPS business), and the walk in the Divine Land prepayment service user of China Mobile is near 3,000 ten thousand at present.The method that present walk in the Divine Land intelligent subscriber queries the balance has:
1, speech polling
The user dials 13800138000, and after system connected, " ask the kind of input prompt language: 1 was mandarin, and 2 is English at first to play voice.Please select the language type of prompt announcement, 1 forMandarin, 2 for English. "; after selecting category of language, the user (supposes to select Chinese); intelligent net system is play voice, and " rechargeable card is please by 1, queries the balance please by 2, revises user cipher please by 3, report the loss processing please by 4, help please by 0 as the need operator." user selects 2, system will play the account of this user on intelligent network the remaining sum and the term of validity.After finishing playing, system then plays " if you also need other service, please by 1." if the user selects 1, this moment, the function selecting place was got back to by system, and " rechargeable card is please by 1, queries the balance please by 2, revises user cipher please by 3, reports the loss processing please by 4, helps please by 0 as the need operator to play voice." user can select on-hook, stops this inquiry.
2, SMAP (SMAP) inquiry
SMAP is the SMAP of intelligent network, and the function of inquiring user data generally all is provided.On SMAP, enter the function corresponding interface, input user's phone number, inquiry then, intelligent net system can be on the interface data of explicit user, comprise the remaining sum and the term of validity.
3, the SCP short-message sending is given the user
The user is with after the rechargeable card success, and SCP can send out a short message notification user.
There is following shortcoming in prior art:
1, speech polling
The user dials the remaining sum of 13800138000 speech pollings oneself, because voice are disposable broadcasts, if do not catch, needs inquiry again.Secondly, this method needs the user to answer voice, and the user certainly will be subjected to the radiation of mobile phone.In addition, owing to finishing day by day of SMS, the deaf and dumb individuals with disabilities of part also buys mobile phone, utilizes short message to chat mutually and greeting mutually.The deaf disability personage is subjected to the restriction of physical qualification, can't listen to voice, therefore can only go inquiry to the business hall.At last, the system resource that this technology takies is many, causes system congestion easily.
2, SMAP inquiry
The SMAP inquiry, because SMAP is placed on the business hall, the user need go to the business hall by bus, and is so just very inconvenient.The outlet that the business hall is just fixing, business hall, some areas seldom, the user is far usually from the business hall.This technology generally is that the operator of operator just uses when process user is complained just as a supplement.
3, the SCP short-message sending is given the user
SCP can only supplement the back with money to user's short-message sending, and can not accept the query requests that user's short message is sent.
Summary of the invention
Shortcoming at above-mentioned prior art, the objective of the invention is to propose a kind of method with SMS query intelligent subscriber remaining sum, certain special number that user's short-message sending is set to operator, short message service center issues SCP with destination Mobile Station International ISDN Number for the short message of this number, SCP is according to the content of the format analysis short message of stipulating in advance, and the execution query actions, SCP issues the user with Query Result in the mode of short message after inquiry.
Particular content of the present invention is as follows:
A kind of method with the SMS query remaining sum of intelligent network subscriber, this method may further comprise the steps:
A) distribute recipient's number SPID for each service control point (SCP); And the service coding of each SCP definition oneself;
B) short message of cellphone subscriber's edit requests remaining sum service, and short message sent to the SMC of short message service center, this remaining sum service comprise and query the balance, inquire about the term of validity and query the balance and the term of validity;
C) after the SMC of this short message service center receives this short message,, this short message is sent to corresponding SCP according to SPID;
D) after this SCP receives this short message,, search information needed according to the service of customer requirements and user's phone number;
E) this SCP finds required information inquiring, then sends to the client by short message way; If this mobile phone number of the account is not on this SCP, this SCP can't find this user's information, then execution in step f) or g);
F) directly can't provide this service with the short message notification user;
G) the former SCP of user's request finds the SCP at mobile phone account place according to the corresponding relation of number segment and SCP, passes through interconnection agreement, request is transmitted to the SCP at mobile phone account place, after this SCP receives request, information needed is sent to former SCP, former SCP is again with the short message notification user.
And system goes up the record phone number section of storage and the form of the SCPID of correspondence according to SCP, notify the user SPID of its number correspondence.Open Service Proxy OSP resolves the SMPP agreement, obtains content of short message.
This SCP supports the SMPP agreement, discerns content of short message, and carries out respective handling according to different content of short message.This SCP supports SMPP agreement and CMPP agreement, and is identical with service provider (SP), and is assigned with an ID.
Compare with existing technology speech polling remaining sum, the present invention has following advantage:
1) can carry out whenever and wherever possible;
2) short message has memory function, and the balance amount information that inquires can be saved in the mobile phone, and the user can thumb in needs at any time, has not needed deletion again;
3) the invention solves deaf disability personage's worries, they also can query the balance whenever and wherever possible, and need not meet with back and forth in the hardship of business hall again;
4) system resource that takies of short message is less, and system is not easy congested;
5) query the balance and be not subjected to the injury of mobile phone radiation.
Description of drawings
Fig. 1 is the overall construction drawing of mobile intelligent net system;
Fig. 2 is a networking diagram of the present invention;
Fig. 3 is for handling the query requests flow chart.
Embodiment
Engage drawings and Examples below the present invention is described in further detail and be illustrated in figure 2 as networking diagram of the present invention.The present invention has increased an Open Service Proxy (OSP) software on the basis of intelligent network, it can resolve the SMPP agreement, obtains content of short message.Characteristics such as it is high to have stability, and fault-tolerance is strong, and capacity is big.Whole realization proposal is based on mobile intelligent net, sets up network mutually by SMAP (SMAP), service management point (SMP), Service Control Point, Open Service Proxy (OSP), short message service center (SMC), short messaging gateway (ISMG) and website (SP) and is connected to form the intelligent subscriber remaining sum inquiring system.Wherein, this OSP resolves the SMPP agreement, obtains content of short message.This SCP supports the SMPP agreement, discerns content of short message, and carries out respective handling according to different content of short message.And this SCP supports SMPP agreement and CMPP agreement, and is similar to service provider (SP), and is assigned with an ID.
Be illustrated in figure 3 as and handle the query requests flow chart.
Three SCP are for example arranged now, be designated SCP1, SCP2, SCP3 respectively.Operator at first distributes SPID to SCP, specifies SPID to be respectively: 7550319181,7550319281,7550319381.Simultaneously, each SCP specifies the service coding of oneself, and the service coding of identical service on different SCP can be inequality, and for aspect user's memory and use, it is identical also can to encode.The service that SCP definition queries the balance is encoded to: cxye, the service of the inquiry term of validity is encoded to: cxyxq queries the balance and the service of the term of validity is encoded to: cxyehyxq.
Phone number is that user's content of edit of 13612345678 is the cxyehyxq short message, sends to 7550319281 then, after SMC receives this short message, is 7550319281 according to SPID, and this short message is transmitted to SCP2.After SCP2 receives this short message, according to content cxyehyxq, know that the service that the user wants is to query the balance and the term of validity, SCP2 will be according to user's phone number so, searches this user's the remaining sum and the term of validity in the system, if find, then give the user user's the remaining sum and the term of validity as the context notification of short message, after the user received short message, the content of short message of leafing through was promptly known oneself the remaining sum and the term of validity.
The account of supposing user 13612345678 is not on SCP2, and SCP2 just can't find this user's information so, and at this moment following two kinds of processing methods are arranged:
1, directly can't provide this service with the short message notification user.For example send content and be " because your account not on 7550319281, this service can't provide ".Because the corresponding relation of phone number section and SCP is arranged on the SCP, can also be according to the SPID of this phone number correspondence of corresponding relation, and point out the user with open arms, for example " you can send to 7550319381 with request ".
2, SCP realizes interconnection, SCP2 finds that usersaccount information is not on this SCP, go up the corresponding relation of stored phone number section and SCP according to SCP, find the SCP at account place, be assumed to be SCP3, then SCP2 is by the SCP interconnection agreement, request is transmitted to SCP3, after SCP3 receives request, the information of the remaining sum and the term of validity is sent to SCP2, SCP2 gives the user with short message notification again.
Store the correspondence table (pps_msisdntoid) of phone number section and each SCP on the SCP, field comprises initial phone number (msisdnstart), ends phone number (msisdnstop) and corresponding SCPID (scpno), this table exists, and similar data is as follows:
msisdnstart msisdnstop scpno
13680400000 13680519999 497
13680700000 13680999999 487
13682300000 13682699999 493
13682700000 13682999999 486
13684810000 13684859999 322
13685070000 13685099999 342
13685300000 13685319999 381
13685320000 13685329999 382
13685330000 13685349999 381
13685350000 13685369999 382
13685370000 13685399999 381
13685400000 13685419999 381
13685430000 13685439999 381
13685450000 13685459999 382
The number segment size of this table is unrestricted, can arbitrarily be provided with, but require number segment not overlap each other, and by this table, the phone number of a walk in the Divine Land can be determined unique ownership SCP.For example 13685434455, should belong to and be numbered 381 SCP, just data such as this user's remaining sum, the term of validity are on SCP381.
Sending SMS message queries the balance, the same with speech polling, can carry out whenever and wherever possible.Short message has memory function simultaneously, and the balance amount information that inquires can be kept in the mobile phone, and the user can thumb in needs at any time, has not needed deletion again.Simultaneously, the invention solves deaf disability personage's worries, they also can query the balance at any time, and need not arrive the business hall again.At last, the system resource that short message takies is less, and system is not easy congested.
Simultaneously, the present invention can also make that the user can be mutual with SCP by short message, makes that the user can be by short message and system interaction in the new business of operator exploitation, by the needed personalizing parameters of various users oneself is set alternately, or inquire about the situation that is provided with of current various parameters.