CN101902520A - Mobile terminal and method for transmitting and storing number information in batch - Google Patents

Mobile terminal and method for transmitting and storing number information in batch Download PDF

Info

Publication number
CN101902520A
CN101902520A CN2009101075894A CN200910107589A CN101902520A CN 101902520 A CN101902520 A CN 101902520A CN 2009101075894 A CN2009101075894 A CN 2009101075894A CN 200910107589 A CN200910107589 A CN 200910107589A CN 101902520 A CN101902520 A CN 101902520A
Authority
CN
China
Prior art keywords
character
short message
subclauses
message content
clauses
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2009101075894A
Other languages
Chinese (zh)
Inventor
朱丹丹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN2009101075894A priority Critical patent/CN101902520A/en
Publication of CN101902520A publication Critical patent/CN101902520A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention relates to a mobile terminal and a method for transmitting and storing number information in batch. The mobile terminal comprises a number selecting module and/or a number extracting module. The method comprises the following steps of: when the mobile terminal receives a request of inserting a plurality of numbers, prompting a user to select the numbers to be inserted from a telephone directory, and inserting the number entry information selected by the user into the currently edited short message content after the user finishes the selection; and when a request for storing a plurality of numbers is received, extracting the number information from the current short message content, and storing the number information into the local telephone directory. Through the method, a plurality of pieces of number information can be inserted in the same short message by only one-time operation, or the plurality of pieces of number information can be extracted from the same short message and saved, and the method has the advantages of simpleness, convenience, and communication cost conservation.

Description

The method of portable terminal and batch transmission and number storing information
Technical field
The present invention relates to moving communicating field, particularly the method for portable terminal and batch transmission and number storing information.
Background technology
Along with the generally use of portable terminal, it has become the necessity in the present people life, except this basic functions of making a phone call, it also have take pictures, online, electronic telephone this etc. function.
The function that present portable terminal has mostly been realized directly sending telephone number from yellow pages or insert the telephone number in the yellow pages in note, but all can only once send/insert a telephone number, if this moment, the user needs a transmission/insertion N telephone number, N time can only be sent so and N telephone number of needs the other side could be sent to, perhaps inserting N time could be inserted into the telephone number of needs in the short message content, again or the mode by the manual editing number of needs is input in the short message content; Equally, if receive N telephone number, so just need operation just the number of receiving all to be stored for N time.Like this, operate not only loaded down with trivial details, and the waste communication expense.
Summary of the invention
Technical problem to be solved by this invention is that the method for portable terminal and batch transmission and number storing information is provided.The present invention was both simple and convenient, had saved communication cost again.
The invention discloses a kind of portable terminal, comprise number selection module, be used for the number that prompting user selection will be inserted when receiving a plurality of number request of insertion; Be used for after the user selects to finish, the number items for information that the user is chosen is inserted in the short message content of pre-editing.
Described number selects module also to be used for before the number that the prompting user selects to insert from yellow pages, is 0 with the mark position of all number clauses and subclauses in the described yellow pages; Be used to create interim chained list; Being used for when the number clauses and subclauses are selected, is 1 with its mark position; Being used for after the user selects to finish, is that 1 number clauses and subclauses read buffer memory in the described chained list with flag bit.
Described number selects module also to be used for being inserted into before the short message content of pre-editing at the number items for information with described chained list, inserts first symbol at the cursor place of described short message content; Be used for number items for information of every insertion, insert end mark simultaneously thereafter.
The invention also discloses a kind of portable terminal, comprise the number extraction module, be used for when receiving the request of a plurality of numbers of storage, the number information that extracts one by one wherein from current short message content also is saved in the yellow pages successively.
Described number extraction module also is used to search the first symbol of current short message content; And behind described first symbol, judge character by character whether current character is end mark, if end mark then extracts described end mark character before; Be used to judge behind the described end mark whether also have character,, then extract next end mark character before if having; Be used for before extracting character in the newly-built number clauses and subclauses of yellow pages.
Described number extraction module is used to also judge whether the character that extracts is numeral, if then it is deposited in the phone number field of described newly-built number clauses and subclauses; Otherwise, deposit it name field of described number clauses and subclauses in.
The present invention further discloses that a kind of portable terminal sends in batches and the method for number storing information, described method is:
When portable terminal receives the request of inserting a plurality of numbers, point out the user to select the number that will insert from yellow pages, after the user selected to finish, the number items for information that the user is chosen was inserted in the short message content of pre-editing;
When described portable terminal receives the request of a plurality of numbers of storage, from current short message content, extract number information, and store in the toll free number basis.
Described portable terminal
Before the prompting user selected number, also the mark position with all number clauses and subclauses in the yellow pages was 0, and creates an interim chained list;
After the number clauses and subclauses are selected, be 1 with its mark position;
And after the user selects to finish, be that 1 number clauses and subclauses read buffer memory in the described chained list from described yellow pages with flag bit, then the number items for information in the described chained list is inserted into one by one in the short message content of pre-editing.
Described portable terminal is inserted into the described number items for information of choosing before the short message content of pre-editing, at first inserts first symbol in the cursor position of described short message content; And every insertion finishes a number items for information, also inserts end mark behind this number items for information of described short message content.
The described number information that extracts from current short message content is specially:
Search the first symbol in the described short message content, behind described first symbol, judge character by character whether current character is end mark, if current character is an end mark, newly-built number clauses and subclauses in described yellow pages then, and extract character before the described end mark character by character, whether the character of judging current extraction is numeral, if then it is deposited in the phone number field of described number clauses and subclauses; Otherwise, deposit it name field of described number clauses and subclauses in; Judge behind the described end mark whether also have character again, if continue then behind described end mark, to judge character by character whether current character is end mark; Otherwise, this EO.
The user can ask to insert a plurality of numbers in the short message editing pattern or under the telephone number searching pattern.
The present invention only needs once-through operation can insert a plurality of telephone numbers in a note, also inserted the additional information-name of this telephone number simultaneously, can only insert a telephone number with the once-through operation of prior art and compare, both simple and convenient, saved communication cost again.
Description of drawings
Fig. 1 is the structural representation of portable terminal embodiment one of the present invention;
Fig. 2 is the structural representation of portable terminal embodiment two of the present invention;
Fig. 3 is the structural representation of portable terminal embodiment three of the present invention;
Fig. 4 is the flow chart the when user sends number information in batches in the method for the invention;
Fig. 5 is user's flow chart during number storing information in batches in the method for the invention.
Embodiment
The present invention will be further described below in conjunction with accompanying drawing and preferred embodiment.
As shown in Figure 1, it is the structural representation of portable terminal embodiment one of the present invention, in the present embodiment, portable terminal has the function that sends number information in batches, promptly comprise number selection module, being used for receiving when inserting a plurality of number request, is 0 with the mark position of all number clauses and subclauses in the yellow pages; Create interim chained list, point out the user to select the number that will insert then; Being used for when the number clauses and subclauses are selected, is 1 with its mark position; Be used for after the user selects to finish, with flag bit is that 1 number clauses and subclauses read buffer memory in the described chained list, insert first symbol at the cursor place of the short message content of working as pre-editing then, the number items for information of buffer memory is inserted into one by one in the short message content of pre-editing, and number items for information of every insertion inserts end mark simultaneously thereafter.
As shown in Figure 2, be the structural representation of portable terminal embodiment two of the present invention, in the present embodiment, portable terminal has the function of number storing information in batches, promptly comprise the number extraction module, be used for when receiving the request of a plurality of numbers of storage, from current short message content, searching first symbol; And behind first symbol, judge character by character whether current character is end mark, if end mark, then in yellow pages after the newly-built number clauses and subclauses, extract described end mark character before, and judge whether the character that extracts is numeral, if then it is deposited in the phone number field of described newly-built number clauses and subclauses; Otherwise, deposit it name field of described number clauses and subclauses in; Also be used to judge behind the end mark whether also have character,, then extract next end mark character before if having.
As shown in Figure 3, it is the structural representation of portable terminal embodiment three of the present invention, in the present embodiment, portable terminal not only has the function that sends number information in batches, also has the function of number storing information in batches, promptly comprise yellow pages, short message editing device, options interface module, number selection module and number extraction module
The options interface module is used to the yellow pages of portable terminal that " sending a plurality of numbers " option and interface is provided; For portable terminal provides " inserting a plurality of numbers " option and interface under the short message editing pattern; For portable terminal provides " storing a plurality of numbers " option and interface under note is checked pattern; That is: the present invention has increased " sending a plurality of numbers " option in the option of the address list of portable terminal, in the option of create message, increased " inserting a plurality of numbers ", in checking the option of note, increased " storing a plurality of numbers " option, if the user has needs, as long as select corresponding option, can enter corresponding flow process according to prompting.
Number selects module to be used for receiving when inserting a plurality of number request, is 0 with the mark position of all number clauses and subclauses in the yellow pages, and after creating interim chained list, the number that the prompting user selects to insert also present toll free number this; Be used for the number clauses and subclauses selected after, be 1 with its mark position; Be used for after the user selects to finish, traversal yellow pages, and check the flag bit of the number clauses and subclauses of current traversal are that 1 number clauses and subclauses read in the described chained list with flag bit; Be used for inserting first symbol, and the number items for information in the described chained list is inserted into one by one in the short message content of pre-editing, and behind every number information, add end mark at the cursor place of current short message content;
The number extraction module is used for searching first symbol in current short message content, and judge character by character whether current character is end mark behind first symbol when receiving the request of a plurality of numbers of storage; Be used for when current character is non-end mark, newly-built number clauses and subclauses in yellow pages, read then and judge that current character is to be numeral, if numeral, then it is deposited in the phone number field of newly-built number clauses and subclauses, if nonnumeric, then it is deposited in the name field of newly-built number clauses and subclauses; When current character is end mark, judge behind the end mark whether also have character, if having, then enter the extraction and the storage of next bar number information; If do not have, then end operation.
In the present embodiment, employing be from first symbol traversal short message content, run into the character that is not end mark, directly extract and store, run into end mark after, begin the extraction and the storage of new number clauses and subclauses; In other embodiments, can also be from the first symbol traversal, after traveling through out end mark, extract and store the character between first symbol and the end mark more character by character, carry out the extraction and the storage of new number clauses and subclauses after the end, promptly continue the traversal short message content, after traveling through out end mark once more, extract and store the character between previous end mark symbol and the current end mark character by character, and the like, finish up to traversal.
As shown in Figure 4, be the flow chart the when user sends number information in batches in the method for the invention, present embodiment comprises the steps:
TS401: the user can enter the short message editing interface by the mode of writing short breath, also can enter the short message editing interface by " sending a plurality of numbers " option in the options menu of yellow pages;
TS402: after the user enters the short message editing interface, in " option " menu, select " inserting a plurality of numbers " option;
TS403: it is 0 with the mark position of all number clauses and subclauses in the yellow pages that number is selected module, creates an interim chained list simultaneously;
Among the present invention, has flag bit in the structure of the yellow pages of portable terminal, under the initial condition, the flag bit that stores the number clauses and subclauses in the phone directory into is 0, if the number clauses and subclauses are selected, then number selection module is 1 with the mark position of these clauses and subclauses, after this inserts and finishes, the flag bit of the clauses and subclauses of selected mistake is constant, so before the number that the prompting user selects to insert, to be 0 with the mark position of all number clauses and subclauses in the yellow pages at first, the number clauses and subclauses of choosing when operating last time to eliminate.
TS404: the prompting user selects the telephone number that needs and enters the yellow pages list interface from yellow pages;
The user need can select the telephone number of insertion in the yellow pages list interface, flow process is continued by " determining " in the back of selecting to finish, by " withdrawing from " process ends.
TS405: after the user selected to finish, number selected module to begin to travel through yellow pages;
TS406: check the flag bit of the number clauses and subclauses of current traversal, if 1, execution in step TS407 then; Otherwise, execution in step TS408;
TS407: the number clauses and subclauses of current traversal are read in the interim chained list;
TS408: judge whether that traversal finishes, if, execution in step TS410 then; Otherwise, execution in step TS409;
TS409: travel through next number clauses and subclauses, execution in step TS406;
TS410: the cursor place at the short message content of working as pre-editing inserts first symbol, the number items for information in the interim chained list is inserted into one by one in the short message content of pre-editing, and inserts end mark after the number clauses and subclauses of each insertion;
TS411: after all insertion finishes, return the short message editing interface, at this moment, the user can continue the editing short message content, and perhaps direct " transmission "/" withdrawing from " note finishes.
Suppose that the telephone number that the user chooses is Zhang San 13911111111, Li Si 13822222222 and king 5 13733333333, in yellow pages, their order is followed successively by Li Si 13822222222, king 5 13733333333, Zhang San 13911111111; Then from yellow pages, read " Li Si 13822222222 " these number clauses and subclauses in interim chained list, read " king 5 13733333333; Zhang San 13911111111 " then successively, after the number clauses and subclauses that the user is chosen read in the interim chained list, at first insert first symbol at short message content cursor place when pre-editing, in the present embodiment, adopting " * " is first symbol, then the number items for information in the interim chained list is inserted in the short message content of pre-editing, insertion finishes the back at short message content back interpolation end mark, the end mark of present embodiment adopts " # ", what at first insert is " Li Si 13822222222 ", and the insertion end mark, this moment, short message content was " * Li Si 13822222222# "; Then insert " king 5 13733333333 ", and insert end mark, this moment, short message content was " * Li Si 13822222222# king five 13733333333# "; Insert " Zhang San 13911111111 " at last and insert end mark, this moment, short message content was " * Li Si 13822222222# king five 13733333333# Zhang San 13911111111# "; Return the short message editing interface after finishing, this moment, the user can continue the editing short message content, perhaps directly selected " transmission "/" withdrawing from " note.
As shown in Figure 5, be in the method for the invention, when including a plurality of number information in the note that the user receives, the process chart during number storing information in batches; Comprise:
TS501: the user selects " storing a plurality of numbers " option in the options menu under note is checked pattern, enters number storing information flow in batches;
TS502: the number extraction module after the request of receiving, newly-built number clauses and subclauses in yellow pages;
TS503: from current short message content, search first symbol, and from first symbol traversal short message content;
TS504: whether the character of judging current traversal is end mark, if, execution in step TS510 then; Otherwise, execution in step TS505:
TS505: read current character;
TS506: judge whether the character that reads is numeral, and promptly whether current character is " 0-9 ", if then think telephone number, execution in step TS507; Otherwise, think name, execution in step TS508;
TS507: deposit the character that reads in the phone number field of newly-built number clauses and subclauses, execution in step TS509;
TS508: the name field that the character that reads is deposited in newly-built number clauses and subclauses;
TS509: traversal character late, execution in step TS504;
In the present embodiment, employing be from first symbol traversal short message content, run into the character that is not end mark, directly extract and store, run into end mark after, begin the extraction and the storage of new number clauses and subclauses; In other embodiments, can also be from the first symbol traversal, after traveling through out end mark, extract and store the character between first symbol and the end mark more character by character, carry out the extraction and the storage of new number clauses and subclauses after the end, promptly continue the traversal short message content, after traveling through out end mark once more, extract and store the character between previous end mark symbol and the current end mark character by character, and the like, finish up to traversal.
TS510: judge whether also have character behind the described end mark, if, execution in step TS511 then; Otherwise, execution in step TS512;
TS511: skip described end mark, newly-built number clauses and subclauses in yellow pages continue the traversal short message content, promptly begin the extraction and the storage of next number clauses and subclauses, execution in step TS504;
TS512: return note and check the interface, this EO.
Suppose that the user receives short message content and is: " number that you want: * Li Si 13822222222# king five 13733333333# Zhang San 13911111111# ", after then the user selects " storing a plurality of numbers " option, the number extraction module is from " * " beginning of this short message content, at first extract " Li Si 13822222222 ", and store in the toll free number basis; Then extract " king 5 13733333333 ", and store in the toll free number basis; Extract at last " Zhang San 13911111111 ", and store in the toll free number basis.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.Should be understood that; concerning the those of ordinary skill in field, the technology of the present invention place; can be equal to accordingly according to technical scheme of the present invention and design thereof and change or replace, and all these changes or replacement, all should belong to the protection range of claims of the present invention.

Claims (10)

1. a portable terminal is characterized in that, comprises number selection module, is used for the number that prompting user selection will be inserted when receiving a plurality of number request of insertion; Be used for after the user selects to finish, the number items for information that the user is chosen is inserted in the short message content of pre-editing.
2. portable terminal as claimed in claim 1 is characterized in that, described number selects module also to be used for before the number that the prompting user selects to insert from yellow pages, is 0 with the mark position of all number clauses and subclauses in the described yellow pages; Be used to create interim chained list; Being used for when the number clauses and subclauses are selected, is 1 with its mark position; Being used for after the user selects to finish, is that 1 number clauses and subclauses read buffer memory in the described chained list with flag bit.
3. portable terminal as claimed in claim 2 is characterized in that, described number selects module also to be used for being inserted into before the short message content of pre-editing at the number items for information with described chained list, inserts first symbol at the cursor place of described short message content; Be used for number items for information of every insertion, insert end mark simultaneously thereafter.
4. a portable terminal is characterized in that, comprises the number extraction module, is used for when receiving the request of a plurality of numbers of storage, and the number information that extracts one by one wherein from current short message content also is saved in the yellow pages successively.
5. portable terminal as claimed in claim 4 is characterized in that described number extraction module also is used to search the first symbol of current short message content; And behind described first symbol, judge character by character whether current character is end mark, if end mark then extracts described end mark character before; Be used to judge behind the described end mark whether also have character,, then extract next end mark character before if having; Be used for before extracting character in the newly-built number clauses and subclauses of yellow pages.
6. portable terminal as claimed in claim 5 is characterized in that, described number extraction module is used to also judge whether the character that extracts is numeral, if then it is deposited in the phone number field of described newly-built number clauses and subclauses; Otherwise, deposit it name field of described number clauses and subclauses in.
7. a portable terminal sends and the method for number storing information in batches, it is characterized in that,
When portable terminal receives the request of inserting a plurality of numbers, point out the user to select the number that will insert from yellow pages, after the user selected to finish, the number items for information that the user is chosen was inserted in the short message content of pre-editing;
When described portable terminal receives the request of a plurality of numbers of storage, from current short message content, extract number information, and store in the toll free number basis.
8. portable terminal as claimed in claim 7 sends and the method for number storing information in batches, it is characterized in that described portable terminal
Before the prompting user selected number, also the mark position with all number clauses and subclauses in the yellow pages was 0, and creates an interim chained list;
After the number clauses and subclauses are selected, be 1 with its mark position;
And after the user selects to finish, be that 1 number clauses and subclauses read buffer memory in the described chained list from described yellow pages with flag bit, then the number items for information in the described chained list is inserted into one by one in the short message content of pre-editing.
9. as claim 7 or 8 described portable terminals send in batches and the method for number storing information, it is characterized in that, described portable terminal is inserted into the described number items for information of choosing before the short message content of pre-editing, at first inserts first symbol in the cursor position of described short message content; And every insertion finishes a number items for information, also inserts end mark behind this number items for information of described short message content.
10. portable terminal as claimed in claim 9 sends and the method for number storing information in batches, it is characterized in that, the described number information that extracts from current short message content is specially:
Search the first symbol in the described short message content, behind described first symbol, judge character by character whether current character is end mark, if current character is an end mark, newly-built number clauses and subclauses in described yellow pages then, and extract character before the described end mark character by character, whether the character of judging current extraction is numeral, if then it is deposited in the phone number field of described number clauses and subclauses; Otherwise, deposit it name field of described number clauses and subclauses in; Judge behind the described end mark whether also have character again, if continue then behind described end mark, to judge character by character whether current character is end mark; Otherwise, this EO.
CN2009101075894A 2009-05-31 2009-05-31 Mobile terminal and method for transmitting and storing number information in batch Pending CN101902520A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101075894A CN101902520A (en) 2009-05-31 2009-05-31 Mobile terminal and method for transmitting and storing number information in batch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101075894A CN101902520A (en) 2009-05-31 2009-05-31 Mobile terminal and method for transmitting and storing number information in batch

Publications (1)

Publication Number Publication Date
CN101902520A true CN101902520A (en) 2010-12-01

Family

ID=43227714

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101075894A Pending CN101902520A (en) 2009-05-31 2009-05-31 Mobile terminal and method for transmitting and storing number information in batch

Country Status (1)

Country Link
CN (1) CN101902520A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102361490A (en) * 2011-11-01 2012-02-22 深圳市五巨科技有限公司 Mobile terminal and method for increasing address list in batches
CN103237122A (en) * 2013-03-29 2013-08-07 东莞宇龙通信科技有限公司 Text message editing method and device
CN104301542A (en) * 2014-10-31 2015-01-21 小米科技有限责任公司 Message transmitting method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102361490A (en) * 2011-11-01 2012-02-22 深圳市五巨科技有限公司 Mobile terminal and method for increasing address list in batches
CN103237122A (en) * 2013-03-29 2013-08-07 东莞宇龙通信科技有限公司 Text message editing method and device
CN103237122B (en) * 2013-03-29 2016-05-04 东莞宇龙通信科技有限公司 A kind of short message editing method and device
CN104301542A (en) * 2014-10-31 2015-01-21 小米科技有限责任公司 Message transmitting method and device

Similar Documents

Publication Publication Date Title
CN103167167B (en) Mobile terminal and extraction method of communication contact person information
CN101702840A (en) Method and device for automatically processing message content
CN102387237A (en) Mobile phone communication SIM card selection system and method thereof
CN102883059A (en) Short message displaying method and device, and short message replying method and device
CN102184252A (en) Intelligent inquiry and dialup software system used for embedded equipment and implementation method thereof
CN101951427A (en) System and method for acquiring information of contact person
CN101902520A (en) Mobile terminal and method for transmitting and storing number information in batch
CN100461975C (en) Method for differentiating the network of the multi-mode terminal with different card numbers
CN103037338A (en) Signature inserting method of contact information and communication terminal
CN103164122B (en) A kind of method and device calling address list content
CN102572113A (en) System and method for extracting contact person information from texts to operate mobile phone
CN100411468C (en) Method of deleting short messages in mobile communication terminal
CN102014351A (en) Method for adding contact addresses while sending short messages by mobile phone
CN101646134A (en) Method and device for realizing calling card information transfer of mobile terminal
CN103346821A (en) Method for transferring address list through bluetooth
CN102932960A (en) Exchange system and exchange method for electronic business cards
CN102970401A (en) Method and device for recoding contact information
CN101193369A (en) A device and method for realizing mobile phone and external network access of PC based on mobile phone
CN103108050B (en) Method and system capable of achieving synchronization of mobile terminal phone directories of tablet computer
CN102938804B (en) A kind of method and apparatus of managing liaison information
CN103200301B (en) A kind of information saving method based on note and mobile terminal
CN103002140B (en) Method and device for rapidly inserting telephone number in short message service (SMS)
CN102055833B (en) Method of event record storage for low-end mobile phone by using SIM card
CN100531201C (en) Method and apparatus of receiving/display/sending font data
CN101729666B (en) Method for mobile communication terminal to search short message

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20101201