Summary of the invention
The invention provides a kind of wireless terminal configuration method and system, solve the problem that cannot obtain and configure concrete implementation status.
A kind of wireless terminal configuration method, comprising:
OTAPS, when receiving the configuration result message that mobile terminal returns, extracts the message identifier of this configuration result message;
Described OTAPS by described message identifier compared with the message identifier of the configuration note of storage;
When there is the message identifier matched with described message identifier, then think configuration successful, recording configuration result.
Further, described OTAPS, by after the step of described message identifier compared with the message identifier of the configuration note of storage, also comprises:
When there is not the message identifier matched with described message identifier, then think configuration failure, recording configuration result.
Further, described OTAPS, when receiving the configuration result message that mobile terminal returns, before extracting the step of the message identifier of this configuration result message, also comprises:
Described OTAPS sends configuration note via short message interface machine (IMP) to sms center (SMSC);
Described IMP receives the confirmation note that described SMSC returns, and confirms that note merges into configure-ack message by many, sends described configure-ack message, carry the message identifier of each configuration note in described configure-ack message to described OTAPS;
Described OTAPS extracts and preserves the message identifier of described configuration note from described configure-ack message.
Further, described OTAPS, when receiving the configuration result message that mobile terminal returns, before extracting the step of the message identifier of this configuration result message, also comprises:
Described configuration note is handed down to mobile terminal by described SMSC;
Described mobile terminal after configuration is complete, returns configuration result message to described SMSC;
Described SMSC, via described IMP, sends configuration result note to described OTAPS.
Further, described SMSC, via described IMP, sends described configuration result note to described OTAPS and comprises:
Described SMSC extracts message identifier and configuration result from described configuration result message;
According to described configuration result, generate success status code;
Described SMSC sends described message identifier and success status code with the form of IMP message body to described IMP;
Described IMP extracts described message identifier from the IMP message body received, and generates configuration result short message sending to OTAPS, in this configuration result note, carries described message identifier.
Further, described OTAPS comprises to SMSC transmission configuration note via IMP:
Described OTAPS sends IMP message body to IMP, and in described IMP message body, carry configuration information, described configuration information is specially webmaster parameter and the network linking address of described OTAPS, and the wireless access number of the wireless terminal of the user himself preserved;
Described IMP message body is changed by described IMP, the IMP message body after conversion is split as many configuration notes, is handed down to described SMSC;
Described configuration short message sending is given corresponding mobile terminal by described SMSC.
Present invention also offers a kind of wireless terminal configuration-system, comprise OTAPS;
Described OTAPS, for when receiving the configuration result message that mobile terminal returns, extract the message identifier of this configuration result message, by described message identifier compared with the message identifier of the configuration note of storage, when there is the message identifier matched with described message identifier, think configuration successful, recording configuration result.
Further, described OTAPS, also for when there is not the message identifier matched with described message identifier, thinks configuration failure, recording configuration result.
Further, above-mentioned wireless terminal configuration-system also comprises IMP and SMSC;
By many, described IMP, for receiving the confirmation note that described SMSC returns, and confirming that note merges into configure-ack message, sending described configure-ack message, carry the message identifier of each configuration note in described configure-ack message to described OTAPS;
Described OTAPS, also for extracting from described configure-ack message and preserving the message identifier of described configuration note.
Further, described SMSC, also for described configuration note is handed down to mobile terminal, the configuration result message that mobile terminal receive returns after configuration is complete, and via described IMP, send configuration result note to described OTAPS.
Further, described OTAPS, also for sending configuration note via described IMP to described SMSC;
Described IMP, also for described IMP message body being changed, being split as many configuration notes, being handed down to described SMSC by the IMP message body after conversion.
Wireless terminal configuration method provided by the invention and system, OTAPS is when receiving the configuration result message that mobile terminal returns, extract the message identifier of this configuration result message, described OTAPS by described message identifier compared with the message identifier of the configuration note of storage, and when there is the message identifier matched with described message identifier, think configuration successful, recording configuration result, configuration result can be learnt from OTAPS side by operator, solves the problem cannot known and configure concrete implementation status.
Embodiment
In order to solve the problem cannot known and configure concrete implementation status, the invention provides a kind of wireless terminal configuration method.
First, embodiments of the invention one are described.
As shown in Figure 1, embodiments provide a kind of wireless terminal configuration method, the flow process using the method to complete configuration comprises:
Step 101, described OTAPS send configuration note via IMP to SMSC;
This step is concrete as shown in Figure 2, comprising:
Step 1011, described OTAPS send IMP message body to IMP, in described IMP message body, carry configuration information;
In this step, the OTAPS module of network management platform or OTAPS are according to the webmaster parameter of self and network linking address, and the configuration information such as wireless access number of the wireless terminal of the user self preserved generates the discernible IMP message body of IMP and is sent to IMP.
Described IMP message body is changed by step 1012, described IMP, the IMP message body after conversion is split as many configuration notes, is handed down to described SMSC;
In this step, concrete, IMP carries out message conversion (such as hexadecimal IMP message body being converted to metric message body) according to the message body parameter of IMP message body and according to the length requirement of note, the IMP message after conversion is split into many configuration short message sending to sms center.Such as, the general length requirement of note is below 140 bytes, then by conversion after IMP message body in units of 140 bytes, be divided into some configuration notes.
Described configuration short message sending is given corresponding mobile terminal by step 1013, described SMSC;
In this step, configuration note, according to the wireless terminal wireless access number in each bar configuration note, is sent to corresponding terminal by SMSC respectively.
Step 102, described IMP receive the confirmation note that described SMSC returns, and confirm that note merges into configure-ack message by many, send described configure-ack message, carry the message identifier of each configuration note in described configure-ack message to described OTAPS;
In this step, concrete, SMSC is after receiving configuration note, can generate respectively and configure the corresponding confirmation note of note to each bar and (wherein there is the unique identification messageID that every bar configures note, generated by SMSC and distribute to configuration note), confirmation note is all sent to IMP, and IMP receives many and confirms note and merge, and replys configure-ack message back to the OTAPS module of network management platform or OTAPS one that obtains after merging.Such as, article three, the messageID configuring note is respectively messageID1=1111, messageID2=2222, messageID3=3333, the form just with 111122223333 in the configure-ack message obtained after merging carries the messageID of each configuration note.
It should be noted that, because IMP is when fractionation obtains configuration note, can be that each configuration note distributes unique identification, and the unique identification belonging to many of same IMP message body configuration notes is divided one section of internal memory save, the messageID being the confirmation note distribution of configuration note due to SMSC is associated with the content of configuration note, therefore when IMP receives the confirmation note, according to confirming that the messageID of note matches corresponding unique identification, when each unique identification belonging to same IMP message body has all matched corresponding messageID, the whole acknowledge messages corresponding to this IMP message body merge, 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, the OTAPS module in network management platform or OTAPS are all saved in local data base extracting the whole messageID obtained.
Described configuration note is handed down to mobile terminal by step 104, described SMSC;
Step 105, described mobile terminal after configuration is complete, return configuration result message to described SMSC;
In this step, wireless terminal is receiving configuration note, namely according to the content configuration business of configuration note, and automatically replies configuration result message to SMSC, carries messageID within the message.
Step 106, described SMSC, via described IMP, send described configuration result message to described OTAPS;
In this step, SMSC processes the configuration result message received, and extracts message identifier messageID and generates success status code, messageID and success status code are sent to IMP with the form of IMP message body.Wherein, success status code is generated by SMSC, indicates the configuration execution result of terminal, and the configuration result of a terminal carried by every bar IMP message body.
IMP after receiving IMP message body, more therefrom extracts messageID, and structure configuration result note, carries messageID, this configuration result note is returned to OTAPS module or the OTAPS of network management platform in this note.
Step 107, OTAPS, when receiving the configuration result message that mobile terminal returns, extract the message identifier of this configuration result message;
Step 108, described OTAPS by described message identifier compared with the message identifier of the configuration note of storage;
Step 109, when there is the message identifier matched with described message identifier, then think configuration successful, recording configuration result;
Step 110, when there is not the message identifier matched 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 present invention two provides a kind of wireless terminal configuration method, is configured to example and is described in the embodiment of the present invention to complete capturing service.Use the method to complete the flow process of 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 end message (phone number, imei (mobile phone sign), imsi (Mobile phone card sign) etc.).
Opening MMS and first want configuration service, can be that carrier interface triggers, and can be that terminal note triggers, can be that system triggers automatically.
Step 302, OTAPS inside have cellphone information (cell phone manufacturer, model, the business etc. of support), 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, according to user profile, obtains template from database and carries out research content.
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, multimedia message template is added in the content of IMP message body, after basic parameter compiling, send to IMP;
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, for sky gets source of configuration number
UINT8DestTermId [cmppLenTermId_N]; // destination Mobile Station International ISDN Number
UINT8RegDelivery; // whether require that return state is reported
UINT8MsgFmt; // information format: 0-ASCII, 8-Unicode, 15-GB, 16-UTF-8
UINT8host [150]; // sms center host, form: IP+Port, for interface during sky is selected (many ISMG support) automatically
UINT32content_len; // message body length
UINT8isFormat; // change into Unicode (change successfully rearmounted MsgFmt into during 8, MsgFmt=16 being UTF8-> Unicode) the need of hand over word collection: 1-
// 2-changes into designated character collection (according to configuration item CodePage)
UINT8longMsg; // representing that short message content divides to send several times: 0-does not specify, 250-WapPush note (put url from content [0], put the content of wappush message from content [500])
UINT8SegMsgLen; // note splits length (being not more than 134): 0-does not specify
//LBA the project support: need transparent protocol relevant field
UINT8MsgID [cmppLenMsgId_N]; // message identification: PkTotal is invalid when being 0
UINT8PkTotal; The information 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: do not specify for sky represents
UINT8Fee_UserType; // user's fee type: 255-does not specify
UINT8Fee_TermID [cmppLenTermId_N]; // user's fee number: do not specify for sky represents
UINT8 Fee_TermiType; // by 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: do not specify for sky represents
UINT8FeeType [2]; // tariff class: do not specify for sky represents
UINT8FeeCode [6]; // rate code: do not specify for sky represents
UINT8ValidTime [17]; // survival the term of validity: do not specify for sky represents
UINT8AtTime [17]; // timed sending time: do not specify for sky represents
UINT8DestTermType; The type of number of the user of // reception note: the true number of 0-; 1-pseudo-code, 255-does not specify
UINT8content [smsMaxContent_N]; // message body content
}cmppSubmitReq_T;
Step 305, IMP receive message, be converted into many configuration notes, send to SMSC according to message-length.
Step 306, SMSC receive the configuration note that IMP sends, and process, and generate and confirm note, and will confirm that message reply is to IMP with the configuration note one_to_one corresponding received.
Step 307, IMP receive the confirmation note that SMSC sends, and carry the messageID (message identifier) of each confirmation note, carry out merging (messageID splicing together), generate a configure-ack message and send to OTAPS.
Step 308, OTAPS upon receipt of the confirmation message, extract the whole messageID carried in configure-ack message, are saved in internal memory.
Step 309, step 306 occur while, SMSC also can configuration note send to corresponding MS respectively.
Step 310, MS receive message can send a reply acknowledge message to SMSC, simultaneously MS receive Article 1 message can according to GSM specification (cell phone manufacturer's message specification), judgement is configuration note, carries out being merged into a configuration messages, installs MMS.
After step 311, SMSC return results arrangement MS, state report request and configuration result are sent to IMP.
The MS that step 312, IMP receive SMSC returns results, and arranges, and is transmitted to OTAPS.
Step 313, OTAPS receive returning results of MS, arrange, and the messageID extracting messageID and preservation compares, and judge configuration result success or failure.
Embodiments of the invention additionally provide a kind of wireless terminal configuration-system, and its structure as shown in Figure 4, comprises OTAPS401;
Described OTAPS401, for when receiving the configuration result message that mobile terminal returns, extract the message identifier of this configuration result message, by described message identifier compared with the message identifier of the configuration note of storage, when there is the message identifier matched with described message identifier, think configuration successful, recording configuration result.
Further, described OTAPS401, also for when there is not the message identifier matched with described message identifier, thinks configuration failure, recording configuration result.
Further, above-mentioned wireless terminal configuration-system as shown in Figure 5, also comprises IMP402 and SMSC403;
Described IMP402, for receiving the confirmation note that described SMSC403 returns, and confirm that note merges into configure-ack message by many, send described configure-ack message to described OTAPS401, in described configure-ack message, carry the message identifier of each configuration note;
Described OTAPS401, also for extracting from described configure-ack message and preserving the message identifier of described configuration note.
Further, described SMSC403, also for described configuration note is handed down to mobile terminal, the configuration result message that mobile terminal receive returns after configuration is complete, and via described IMP402, send described configuration result note to described OTAPS.
Further, described OTAPS401, also for sending configuration note via described IMP402 to described SMSC403;
Described IMP402, also for described IMP402 message being changed, being split as many configuration notes, being handed down to described SMSC403 by the IMP402 message body after conversion.
Above-mentioned wireless terminal configuration-system, can combine with a kind of wireless terminal configuration method that embodiments of the invention provide, OTAPS is when receiving the configuration result message that mobile terminal returns, extract the message identifier of this configuration result message, described OTAPS by described message identifier compared with the message identifier of the configuration note of storage, and when there is the message identifier matched with described message identifier, think configuration successful, recording configuration result, configuration result can be learnt from OTAPS side by operator, solves the problem cannot known and configure concrete implementation status.And execution result record will be configured, facilitate statistics configuration service successful instance, contribute to judging the stability of a system, and the time point that energy Timeliness coverage configuration service unsuccessfully occurs is with orientation problem.
One of ordinary skill in the art will appreciate that all or part of step of above-described embodiment can use computer program flow process to realize, described computer program can be stored in a computer-readable recording medium, described computer program (as system, unit, device etc.) on corresponding hardware platform performs, when performing, step comprising embodiment of the method one or a combination set of.
Alternatively, all or part of step of above-described embodiment also can use integrated circuit to realize, and these steps can be made into integrated circuit modules one by one respectively, or the multiple module in them or step are made into single integrated circuit module to realize.Like this, the present invention is not restricted to any specific hardware and software combination.
Each device/functional module/functional unit in above-described embodiment can adopt general calculation element to realize, and they can concentrate on single calculation element, also can be distributed on network that multiple calculation element forms.
Each device/functional module/functional unit in above-described embodiment using the form of software function module realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.The above-mentioned computer read/write memory medium mentioned can be 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, change can be expected easily or replace, 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 protection range described in claim.