Summary of the invention
In order to overcome the weak point of the prior art of above-mentioned indication, the present invention provides a kind of sending short messages in groups method of portable terminal, and to solve the user when the bulk SMS, the inconvenient operation when handling a large amount of contact data improves the efficient that customer group is sent short messages.
The present invention realizes through following technical scheme:
A kind of sending short messages in groups method of portable terminal may further comprise the steps:
A, a plurality of contact data are added into short message text;
When b, said portable terminal transmission note, read contact data successively by the interpolation order;
C, detect the number number of single contact data,, then show whole numbers of this contact person and accept user's selection instruction, perhaps to this contact person's the direct execution in step d of whole numbers if comprise a plurality of numbers in the single contact data;
D, the preset fixed line number rule of basis are discerned the fixed telephone number in the contact number, and the prompting user confirms whether this fixed telephone number is destination Mobile Station International ISDN Number;
E, the preset legal number rule of basis judge whether contact number is legal number, if, execution in step f, otherwise, this number from contact data, rejected;
F, note is sent to destination Mobile Station International ISDN Number.
The number number that said step c detects single contact data further comprises:
In detecting single contact data, comprise a plurality of numbers, supply users to select, to selected number skips steps d and execution in step e through ejecting whole numbers that dialog box shows this contact person;
In detecting single contact data, only comprise a number, to this number execution in step d.
Further, the number rule of fixed line described in the steps d is set to: said contact number is the combination of 7/8 pure digi-tal symbols; Perhaps, said contact number is to be the combination of 11-13 pure digi-tal symbols of first place with zero.
Said steps d confirms that through ejecting dialog box prompting user whether this fixed telephone number is destination Mobile Station International ISDN Number, and further comprise:
To confirming as the fixed telephone number of destination Mobile Station International ISDN Number through the user, direct execution in step f;
When the user denies said fixed telephone number is destination Mobile Station International ISDN Number, then from contact data, rejects this fixed telephone number and returns step b and read next contact data.
Further, legal number rule is set to described in the step e: said contact number is more than or equal to 6 and smaller or equal to the combination of 20 pure digi-tal symbol; Perhaps, said contact number be the first additional character+with more than or equal to 8 and smaller or equal to the combination of 20 bit digital symbols.
When contact number and legal number rule coupling, be judged as legal number among the said step e; Otherwise be judged as illegal number, directly point out this number to send failure, and return step b and read next contact data.
In the present invention, said step a is added into short message text with a plurality of contact data and is meant:
Contact data is carried out grouping management, the group of contacts of creating is added into short message text;
Perhaps, by the user contact data is added into short message text one by one.
Said portable terminal is a mobile phone.
The present invention compared with prior art allows the contact person that the user adds needs to send note, and need not pass through judgement and the selection of user to contact number at the short message editing interface; Through cell phone system backstage in the sending short messages in groups process to the judgement of contact number; Contact person's number data is carried out automatically or automatic filtering screening; Can solve the user when bulk SMS, the inconvenient operation when handling a large amount of contact data reduces time of bulk SMS.Through sending short messages in groups method of the present invention, the user can improve the efficient of bulk SMS, improves user experience.
Embodiment
For the ease of those skilled in the art's understanding, the present invention is done further description below in conjunction with accompanying drawing and embodiment.
A kind of sending short messages in groups method of portable terminal may further comprise the steps:
A, a plurality of contact data are added into short message text;
When b, said portable terminal transmission note, read contact data successively by the interpolation order;
C, detect the number number of single contact data,, then show whole numbers of this contact person and accept user's selection instruction, perhaps to this contact person's the direct execution in step d of whole numbers if comprise a plurality of numbers in the single contact data;
D, the preset fixed line number rule of basis are discerned the fixed telephone number in the contact number, and the prompting user confirms whether this fixed telephone number is destination Mobile Station International ISDN Number;
E, the preset legal number rule of basis judge whether contact number is legal number, if, execution in step f, otherwise, this number from contact data, rejected;
F, note is sent to destination Mobile Station International ISDN Number.
The number number that said step c detects single contact data further comprises:
In detecting single contact data, comprise a plurality of numbers, supply users to select, to selected number skips steps d and execution in step e through ejecting whole numbers that dialog box shows this contact person;
In detecting single contact data, only comprise a number, to this number execution in step d.
Further, the number rule of fixed line described in the steps d is set to: said contact number is the combination of 7/8 pure digi-tal symbol 0-9; Perhaps, said contact number is to be the combination of 11-13 pure digi-tal symbol 0-9 of first place with zero.Steps d is through this fixed line number rule identification fixed telephone number, promptly satisfies one of them of two conditions in the fixed line number rule when contact number, then is identified as fixed telephone number.For example, when the contact number of user input is " 22378410 " perhaps when " 075922378410 ", system is identified as fixed telephone number with it.But fixed line number rule of the present invention should not be limited to aforesaid rule, and answers according to specific time and site suiting measures to different conditions, makes corresponding adjustment, under the prerequisite that does not break away from the present invention's design, all should be included in protection scope of the present invention.
Said steps d confirms that through ejecting dialog box prompting user whether this fixed telephone number is destination Mobile Station International ISDN Number, and further comprise:
To confirm as the fixed telephone number of destination Mobile Station International ISDN Number through the user, directly execution in step f sends note;
When the user denies said fixed telephone number is destination Mobile Station International ISDN Number, then from contact data, rejects this fixed telephone number and returns step b and read next contact data.
Further, legal number rule is set to described in the step e: said contact number is more than or equal to 6 and smaller or equal to the combination of 20 pure digi-tal symbol 0-9; Perhaps, said contact number be the first additional character+with more than or equal to 8 and smaller or equal to the combination of 20 bit digital symbol 0-9.Step e detects illegal number through this legal number rule, promptly as long as contact number satisfies one of them of two conditions in the legal number rule, just judges that it is legal telephone number, otherwise is judged as illegal number, and it is rejected from contact data.For example; When the contact number of user input is that " 22378 " are perhaps when " * 12345678 "; System is identified as illegal number with it, when the contact number of user input is that cluster net cornet " 123456 " perhaps is identified as legal number with it when "+8612345678910 ".But legal number rule of the present invention should not be limited to aforesaid rule, and answers according to specific time and site suiting measures to different conditions, makes corresponding adjustment, under the prerequisite that does not break away from the present invention's design, all should be included in protection scope of the present invention.
When contact number and legal number rule coupling, be judged as legal number among the said step e; When contact number does not meet legal number rule, judge that this contact number is illegal number, directly point out this number to send failure, and return step b and read next contact data.Automatically judge through the system backstage whether contact number is effective, the automatic fitration invalid number has avoided note is sent to the operation of invalid number, has saved the time of sending short messages in groups.
In the present invention, said step a is added into short message text with a plurality of contact data and is meant:
By the user contact data is added into short message text one by one;
Perhaps, contact data is carried out grouping management, the group of contacts of creating is added into short message text, avoid in phone directory the troublesome operation of contact person's ground selection/input one by one.
In preferred embodiment of the present invention, said portable terminal is a mobile phone.This portable terminal also can be other communication equipments with the function of sending short messages.
Embodiment 1
A kind of sending short messages in groups method of portable terminal shown in accompanying drawing 1, may further comprise the steps:
A, user be the input short message content at the short message editing interface, reads contact database, and selection needs the contact data of mass-sending, and a plurality of contact data are added into short message text;
B, user send note, when said portable terminal sends note, read contact data successively by the interpolation order, judge whether to exist readable data, if, execution in step c then, otherwise EP (end of program);
The number number of c, the single contact data of detection; If comprise a plurality of numbers in the single contact data; Then supply users to select through the whole numbers that eject this contact person of dialog box demonstration; The number skips steps d that the user is selected and execution in step e are if only comprise a number in the single contact data, then to this number execution in step d;
Whether d, preset this contact number of fixed line number rule identification of basis are fixed telephone number; If; Then confirming through ejecting dialog box prompting user whether this fixed telephone number is destination Mobile Station International ISDN Number, promptly point out the user to judge whether to need to send note to this fixed telephone number, is destination Mobile Station International ISDN Number if the user confirms as this fixed telephone number; Direct execution in step f, otherwise from contact data, reject this fixed telephone number and return step b and read next contact data;
E, the preset legal number rule of basis judge whether contact number is legal number, if, execution in step f, otherwise, directly indicate this number and send unsuccessful and this number of rejecting from contact data;
F, note is sent to destination Mobile Station International ISDN Number, returns step b then and read next contact data.
Embodiment 2
The difference of present embodiment and embodiment 1 is the number number of the single contact data of detection of step c.In the present embodiment, if comprise a plurality of numbers in the single contact data, then whole numbers of this contact person are directly pressed interpolation order execution in step d successively, and screen without the user; If only comprise a number in the single contact data, then to this number execution in step d.
Above content is to combine concrete optimal way to the further explain that the present invention did, and should not assert that practical implementation of the present invention is confined to above explanation.For the technical staff in present technique field, under the prerequisite that does not break away from the present invention's design, can also make some simple deduction or replace, within the protection range that the claim that all should be regarded as being submitted to by the present invention is confirmed.