Summary of the invention
The invention provides a kind of wireless terminal collocation method and system, solved the problem that can't obtain the concrete implementation status of configuration.
A kind of wireless terminal collocation method comprises:
OTAPS extracts the message identifier of this configuration result message when receiving the configuration result message that portable terminal returns;
Described OTAPS compares described message identifier with the message identifier of the configuration note of storage;
When having the message identifier that is complementary with described message identifier, then think configuration successful, recording configuration result.
Further, described OTAPS also comprises after described message identifier and the step that the message identifier of the configuration note of storage is compared:
When not having the message identifier that is complementary with described message identifier, then think configuration failure, recording configuration result.
Further, described OTAPS extracts before the step of message identifier of this configuration result message when receiving the configuration result message that portable terminal returns, and also comprises:
Described OTAPS sends the configuration note via short message interface machine (IMP) to sms center (SMSC);
Described IMP receives the affirmation note that described SMSC returns, and many affirmation notes are merged into configure-ack message, sends described configure-ack message to described OTAPS, carries the message identifier that respectively disposes note in described configure-ack message;
Described OTAPS extracts and preserves the message identifier of described configuration note from described configure-ack message.
Further, described OTAPS extracts before the step of message identifier of this configuration result message when receiving the configuration result message that portable terminal returns, and also comprises:
Described SMSC is handed down to portable terminal with described configuration note;
Described portable terminal returns configuration result message to described SMSC after configuration is finished;
Described SMSC sends the configuration result note via described IMP to described OTAPS.
Further, described SMSC sends described configuration result note to described OTAPS and comprises via described IMP:
Described SMSC extracts message identifier and configuration result from described configuration result message;
According to described configuration result, generate the success status sign indicating number;
Described SMSC sends described message identifier and success status sign indicating number with the form of IMP message body to described IMP;
Described IMP extracts described message identifier from the IMP message body that receives, generate the configuration result note and send to OTAPS, carries described message identifier in this configuration result note.
Further, described OTAPS comprises to SMSC transmission configuration note via IMP:
Described OTAPS sends IMP message body to IMP, carries configuration information in described IMP message body, and described configuration information is specially webmaster parameter and the network linking address of described OTAPS, and the wireless access number of the user's who himself preserves wireless terminal;
Described IMP changes described IMP message body, and the IMP message body after the conversion is split as many configuration notes, is handed down to described SMSC;
Described SMSC sends to the corresponding mobile terminal with described configuration note.
The present invention also provides a kind of wireless terminal configuration-system, comprises OTAPS;
Described OTAPS, be used for when receiving the configuration result message that portable terminal returns, extract the message identifier of this configuration result message, described message identifier is compared with the message identifier of the configuration note of storage, when having the message identifier that is complementary with described message identifier, think configuration successful, recording configuration result.
Further, described OTAPS also is used for when not having the message identifier that is complementary with described message identifier, thinks configuration failure, recording configuration result.
Further, above-mentioned wireless terminal configuration-system also comprises IMP and SMSC;
Described IMP is used to receive the affirmation note that described SMSC returns, and many affirmation notes are merged into configure-ack message, sends described configure-ack message to described OTAPS, carries the message identifier that respectively disposes note in described configure-ack message;
Described OTAPS also is used for extracting and preserving from described configure-ack message the message identifier of described configuration note.
Further, described SMSC also is used for described configuration note is handed down to portable terminal, the configuration result message that mobile terminal receive returns after configuration is finished, and, send the configuration result note to described OTAPS via described IMP.
Further, described OTAPS also is used for sending the configuration note via described IMP to described SMSC;
Described IMP also is used for described IMP message body is changed, and the IMP message body after the conversion is split as many configuration notes, is handed down to described SMSC.
Wireless terminal collocation method provided by the invention and system, OTAPS is when receiving the configuration result message that portable terminal returns, extract the message identifier of this configuration result message, described OTAPS compares described message identifier with the message identifier of the configuration note of storage, and when having the message identifier that is complementary with described message identifier, think configuration successful, recording configuration result, configuration result can be learnt from OTAPS one side by operator, has solved the problem that can't know the concrete implementation status of configuration.
Embodiment
In order to solve the problem that to know the concrete implementation status of configuration, the invention provides a kind of wireless terminal collocation method.
At first, embodiments of the invention one are described.
As shown in Figure 1, the embodiment of the invention provides a kind of wireless terminal collocation method, and the flow process of using this method to finish configuration comprises:
Step 101, described OTAPS send the configuration note via IMP to SMSC;
This step comprises specifically as shown in Figure 2:
Step 1011, described OTAPS send IMP message body to IMP, carry configuration information in described IMP message body;
In this step, the OTAPS module of network management platform or OTAPS are according to self webmaster parameter and network linking address, and the discernible IMP message body of the configuration informations such as wireless access number of the user's who self preserves wireless terminal generation IMP sends to IMP.
Step 1012, described IMP change described IMP message body, and the IMP message body after the conversion is split as many configuration notes, are handed down to described SMSC;
In this step, concrete, IMP carry out message conversion (for example hexadecimal IMP message body being converted to metric message body) according to the message body parameter of IMP message body and will change according to the length requirement of note after IMP message split into many and dispose notes and send to sms center.For example, the general length requirement of note is below 140 bytes, and the IMP message body after then will changing is a unit with 140 bytes, is divided into some configuration notes.
Step 1013, described SMSC send to the corresponding mobile terminal with described configuration note;
In this step, SMSC will dispose note and be sent to relevant terminal respectively according to the wireless terminal wireless access number in each bar configuration note.
Step 102, described IMP receive the affirmation note that described SMSC returns, and many affirmation notes are merged into configure-ack message, send described configure-ack message to described OTAPS, carry the message identifier that respectively disposes note in described configure-ack message;
In this step, concrete, SMSC is after receiving the configuration note, can generate respectively with each bar configuration note and confirm note (the unique identification messageID that wherein has every configuration note accordingly, generate and distribute to the configuration note by SMSC), to confirm that note all sends to IMP, IMP receives many affirmation notes and merges, and replys OTAPS module or the OTAPS that configure-ack message replies to network management platform to one that obtains after merging.For example, article three, the messageID of configuration note is respectively messageID1=1111, messageID2=2222, messageID3=3333 just carries the messageID that respectively disposes note with 111122223333 form in the configure-ack message that obtains after the merging.
Need to prove, because IMP is when fractionation obtains disposing note, can distribute unique identification for each configuration note, and one section internal memory of unique identification division that will belong to many configuration notes of same IMP message body is preserved, because the messageID that SMSC distributes for the affirmation note of configuration note is associated with the content of configuration note, so when IMP receives the confirmation note, match corresponding unique identification according to the messageID that confirms note, when each unique identification that belongs to same IMP message body has all matched corresponding messageID, whole acknowledge messages to this IMP message body correspondence merge, and obtain configure-ack message.
Step 103, described OTAPS extract and preserve the message identifier of described configuration note from described configure-ack message;
In this step, OTAPS module in the network management platform or OTAPS all are saved in whole messageID that extraction obtains in the local data base.
Step 104, described SMSC are handed down to portable terminal with described configuration note;
Step 105, described portable terminal return configuration result message to described SMSC after configuration is finished;
In this step, wireless terminal is receiving the configuration note, automatically replies configuration result message promptly according to the content configuration business that disposes note, and to SMSC, carries messageID in this message.
Step 106, described SMSC send described configuration result message via described IMP to described OTAPS;
In this step, SMSC handles the configuration result message that receives, and extracts message identifier messageID and also generates the success status sign indicating number, and messageID and success status sign indicating number are sent to IMP with the form of IMP message body.Wherein, the success status sign indicating number is generated by SMSC, has shown the configuration execution result of terminal, and every IMP message body is carried the configuration result of a terminal.
IMP therefrom extracts messageID again after receiving IMP message body, structure configuration result note is carried messageID in this note, this configuration result note is returned to the OTAPS module or the OTAPS of network management platform.
Step 107, OTAPS are extracted the message identifier of this configuration result message when receiving the configuration result message that portable terminal returns;
Step 108, described OTAPS compare described message identifier with the message identifier of the configuration note of storage;
Step 109, when having the message identifier that is complementary with described message identifier, then think configuration successful, recording configuration result;
Step 110, when not having the message identifier that is complementary with described message identifier, then think configuration failure, recording configuration result.
Below in conjunction with accompanying drawing, embodiments of the invention two are described.
The embodiment of the invention two provides a kind of wireless terminal collocation method, is configured to example and describes to finish capturing service in the embodiment of the invention.Use flow process that this method finishes configuration as shown in Figure 3, comprising:
After step 301, MMS trigger, no matter be which kind of situation triggering all can send to OTAPS to end message (phone number, imei (mobile phone sign), imsi (mobile phone card sign) etc.).
Opening MMS and want earlier configuration service, can be that trigger at the operator interface, can be that terminal note triggers, and can be the automatic triggering of system etc.
There is cellphone information (cell phone manufacturer, model, the business of support etc.) step 302, OTAPS inside, inquire about according to sending over end message, take out cellphone information, judge whether mobile phone supports multimedia message.
Step 303, support multimedia message, OTAPS obtains template and carries out content encoding from database according to user profile.
Template is as follows:
<?xml?version=″1.0″encoding=″UTF-8″?>
<!DOCTYPE?wap-provisioningdoc(View?Source?for?full?doctype...)>
-<wap-provisioningdoc>
-<CHARACTERISTIC?TYPE=″BOOTSTRAP″>
<PARM?NAME=″NAME″VALUE=″CSL?Data″/>
</CHARACTERISTIC>
-<CHARACTERISTIC?TYPE=″PXLOGICAL″>
<PARM?NAME=″PROXY-ID″VALUE=″CSL-PROXY″/>
<PARM?NAME=″NAME″VALUE=″CSL?Data″/>
-<CHARACTERISTIC?TYPE=″PXPHYSICAL″>
<PARMNAME=″PHYSICAL-PROXY-ID″VALUE=″CSL-PROXY″/>
<PARM?NAME=″PXADDR″VALUE=″192.168.59.51″/>
<PARM?NAME=″PXADDRTYPE″VALUE=″IPV4″/>
<PARM?NAME=″TO-NAPID″VALUE=″CSL-GPRS″/>
-<CHARACTERISTIC?TYPE=″PORT″>
<PARM?NAME=″PORTNBR″VALUE=″8080″/>
</CHARACTERISTIC>
</CHARACTERISTIC>
</CHARACTERISTIC>
-<CHARACTERISTIC?TYPE=″NAPDEF″>
<PARM?NAME=″NAPID″VALUE=″CSL-GPRS″/>
<PARM?NAME=″BEARER″VALUE=″GSM-GPRS″/>
<PARM?NAME=″NAME″VALUE=″CSL?APN″/>
<PARM?NAME=″NAP-ADDRESS″VALUE=″hkcsl″/>
<PARM?NAME=″NAP-ADDRTYPE″VALUE=″APN″/>
<PARM?NAME=″INTERNET″VALUE=″″/>
</CHARACTERISTIC>
-<CHARACTERISTIC?TYPE=″APPLICATION″>
<PARM?NAME=″APPID″VALUE=″w2″/>
<PARM?NAME=″TO-PROXY″VALUE=″CSL-PROXY″/>
<PARM?NAME=″NAME″VALUE=″Browser″/>
-<CHARACTERISTIC?TYPE=″RESOURCE″>
<PARM?NAME=″NAME″VALUE=″CSL″/>
<PARM?NAME=″URI″VALUE=″http://bookmark.hkcsl.com/home″/>
<PARM?NAME=″STARTPAGE″VALUE=″″/>
</CHARACTERISTIC>
</CHARACTERISTIC>
-<CHARACTERISTIC?TYPE=″APPLICATION″>
<PARM?NAME=″APPID″VALUE=″w4″/>
<PARM?NAME=″TO-PROXY″VALUE=″CSL-PROXY″/>
<PARM?NAME=″NAME″VALUE=″CSL?MMS″/>
<PARM?NAME=″ADDR″VALUE=″http://192.168.58.171:8002″/>
</CHARACTERISTIC>
</wap-provisioningdoc>
Step 304, the multimedia message template is added among the content of IMP message body, send to IMP after the basic parameter compiling;
The message body form is as follows:
typedef?struct
{
UINT8sdshead[10]; // message SIB header structure
SmsImHead_TimHead; // mutual header structure
UINT8SrcTermId[cmppLenTermId_N]; // source Mobile Station International ISDN Number is for sky is to get the source of configuration number
UINT8DestTermId[cmppLenTermId_N]; // destination Mobile Station International ISDN Number
UINT8RegDelivery; // whether require return state report
UINT8MsgFmt; // information format: 0-ASCII, 8-Unicode, 15-GB, 16-UTF-8
UINT8host[150]; // sms center host, form: IP+Port, interface is selected (many ISMG support) automatically during for sky
UINT32content_len; // message body length
UINT8isFormat; // whether needing hand over word collection: 1-to change into Unicode, (changing successfully rearmounted MsgFmt is 8, is UTF8->Unicode) during MsgFmt=16
// 2-changes into designated character collection (according to configuration item CodePage)
UINT8longMsg; // expression short message content divides and to send several times: 0-does not specify, and the 250-WapPush note (from content[0] begin to put url, from content[500] begin to put the content of wappush message)
UINT8SegMsgLen; // note splits length (being not more than 134): 0-does not specify
//LBA the project support: need transparent transmission agreement relevant field
UINT8MsgID[cmppLenMsgId_N]; // message identification: PkTotal be 0 o'clock invalid
UINT8PkTotal; The information bar number of // identical Msg_Id: 0-does not specify
UINT8PkNumber; The sequence number of // identical Msg_Id: 0-does not specify
UINT8MsgLevel; // levels of information: 255-does not specify
UINT8SerId[10]; // type of service: for sky is represented not specify
UINT8Fee_UserType; // user's fee type: 255-does not specify
UINT8Fee_TermID[cmppLenTermId_N]; // user's fee number: for sky is represented not specify
UINT8 Fee_TermiType; // by the user's fee type: 255-does not specify
UINT8 TP_pId; //gsm protocol type: 255-does not specify
UINT8 TP_udhi; //gsm protocol type: 255-does not specify
UINT8MsgSrc[6]; // information source: for sky is represented not specify
UINT8FeeType[2]; // tariff class: for sky is represented not specify
UINT8FeeCode[6]; // rate code: for sky is represented not specify
UINT8ValidTime[17]; // survival the term of validity: for sky is represented not specify
UINT8AtTime[17]; // timed sending time: for sky is represented not specify
UINT8DestTermType; The user's of // reception note the type of number: the true number of 0-; The 1-pseudo-code, 255-does not specify
UINT8content[smsMaxContent_N]; // message body content
}cmppSubmitReq_T;
Step 305, IMP receive message, are converted into many configuration notes according to message-length, send to SMSC.
Step 306, SMSC receive the configuration note that IMP sends, and handle, and confirm note with the corresponding one by one generation of the configuration note that receives, and will confirm that message reply is to IMP.
Step 307, IMP receive the affirmation note that SMSC sends, and carry the messageID (message identifier) that respectively confirms note, merge (messageID splices together), generate a configure-ack message and send to OTAPS.
Step 308, OTAPS extract the whole messageID that carries in the configure-ack message after receiving acknowledge message, be saved in the internal memory.
Step 309, when step 306 takes place, SMSC also can send to corresponding M S to the configuration note respectively.
Step 310, MS receive that message can send a reply acknowledge message and give SMSC, and MS is receiving that article one message can be according to GSM standard (cell phone manufacturer's message specification) simultaneously, and judgement is the configuration note, is merged into a configuration messages, and MMS is installed.
Step 311, SMSC send to IMP with status report request and configuration result after the MS return results is put in order.
Step 312, IMP receive the MS return results of SMSC, put in order, are transmitted to OTAPS.
Step 313, OTAPS receive the return results of MS, put in order, and the messageID that extracts messageID and preservation compares, and judge configuration result success or failure.
Embodiments of the invention also provide a kind of wireless terminal configuration-system, and its structure comprises OTAPS401 as shown in Figure 4;
Described OTAPS401, be used for when receiving the configuration result message that portable terminal returns, extract the message identifier of this configuration result message, described message identifier is compared with the message identifier of the configuration note of storage, when having the message identifier that is complementary with described message identifier, think configuration successful, recording configuration result.
Further, described OTAPS401 also is used for when not having the message identifier that is complementary with described message identifier, thinks configuration failure, recording configuration result.
Further, above-mentioned wireless terminal configuration-system also comprises IMP402 and SMSC403 as shown in Figure 5;
Described IMP402, be used to receive the affirmation note that described SMSC403 returns, and confirm that with many notes merge into configure-ack message, and send described configure-ack message to described OTAPS401, in described configure-ack message, carry the message identifier that respectively disposes note;
Described OTAPS401 also is used for extracting and preserving from described configure-ack message the message identifier of described configuration note.
Further, described SMSC403 also is used for described configuration note is handed down to portable terminal, the configuration result message that mobile terminal receive returns after configuration is finished, and, send described configuration result note to described OTAPS via described IMP402.
Further, described OTAPS401 also is used for sending the configuration note via described IMP402 to described SMSC403;
Described IMP402 also is used for described IMP402 message is changed, and the IMP402 message body after the conversion is split as many configuration notes, is handed down to described SMSC403.
Above-mentioned wireless terminal configuration-system, can combine with a kind of wireless terminal collocation method that embodiments of the invention provide, OTAPS is when receiving the configuration result message that portable terminal returns, extract the message identifier of this configuration result message, described OTAPS compares described message identifier with the message identifier of the configuration note of storage, and when having the message identifier that is complementary with described message identifier, think configuration successful, recording configuration result, configuration result can be learnt from OTAPS one side by operator, has solved the problem that can't know the concrete implementation status of configuration.And will dispose the execution result record, make things convenient for statistics configuration service success situation, help to judge the stability of a system, and can find in time that time point that the configuration service failure occurs is with orientation problem.
The all or part of step that the one of ordinary skill in the art will appreciate that the foregoing description program circuit that can use a computer is realized, described computer program can be stored in the computer-readable recording medium, described computer program (as system, unit, device etc.) on the relevant hardware platform is carried out, when carrying out, comprise one of step or its combination of method embodiment.
Alternatively, all or part of step of the foregoing description also can use integrated circuit to realize, these steps can be made into integrated circuit modules one by one respectively, perhaps a plurality of modules in them or step is made into the single integrated circuit module and realizes.Like this, the present invention is not restricted to any specific hardware and software combination.
Each device/functional module/functional unit in the foregoing description can adopt the general calculation device to realize, they can concentrate on the single calculation element, also can be distributed on the network that a plurality of calculation element forms.
Each device/functional module/functional unit in the foregoing description is realized with the form of software function module and during as independently production marketing or use, can be stored in the computer read/write memory medium.The above-mentioned computer read/write memory medium of mentioning can be a read-only memory, disk or CD etc.
Anyly be familiar with those skilled in the art in the technical scope that the present invention discloses, can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the described protection range of claim.