Note retransmission unit and method
Technical field
The note that the present invention relates to a kind of mobile terminal forwards, particularly a kind of note retransmission unit and method that can show former note sender information.
Background technology
Development along with mobile communication system, note with its information transmission accurately and reliably, feature timely rapidly, more and more be subject to popular favor, its range of application is also more and more wider, not only be applied to the two information communications of sending out of short message receiving-transmitting, can also be applied to every field, and in the forwarding of note, the general content that only can show institute's forwarding short message, if user wants this note to be transmitted to the friend of understanding each other, when hope shows former short message editing person's information in the content of note, need manually to have inputted, increased undoubtedly operating procedure.
Summary of the invention
The object of this invention is to provide a kind of note retransmission unit and method, the technical problem that solve is the information that the note that makes to forward can be selected former short message editing person, reduces forwarding person's operating procedure.
For addressing the above problem, the present invention realizes by the following technical solutions: a kind of note retransmission unit, and described note retransmission unit comprises:
The mutual module that monitors, Real-Time Monitoring user no to forwarding short message by input screen, editor or transmit operation, and by editor notice or send to notify and send to Data Integration module; If user does not treat forwarding short message data and screens or transmit operation after once integrating, monitor that alternately module sends notice to Data Integration module; If the note word that user treats in forwarding short message data after once integrating is modified, monitor that alternately module sends editor's notice to Data Integration module;
Data Integration module, the original short message of the note that need to forward user is searched in the note data storehouse of communication terminal database, the corresponding original contact data of the original short message finding is searched in the contact database in mobile terminal data storehouse, after the original short message of the note that Data Integration module forwards needs and the original contact data finding are extracted, the original short message of the note that needs are forwarded and the original contact data finding are once integrated into be treated forwarding short message data and is presented in user interface by output with the form of character string, short message content and former editor's information that user treats in forwarding short message data by input are screened, editor or transmission, and final forwarding short message content is presented in user interface by output, Data Integration module also receives editor's notice or the transmission notice that mutual supervision module is sent, Data Integration module receives and sends after notice, in treating forwarding short message data, carry out mark, the final forwarding short message content after once integrating is sent to the SMS module of communication terminal, the recipient that SMS module sends to appointment by it by communication module locates again, Data Integration module receives after editor's notice, treat that forwarding short message data carry out secondary integration by user is amended, and the forwarding short message data for the treatment of after secondary integration are presented in user interface through output with the form of character string, if the treat forwarding short message data of user after to secondary integration are no longer modified, Data Integration module sends to the final forwarding short message content after secondary integration the SMS module of communication terminal, and the recipient that SMS module sends to appointment by it by communication module locates, if the treat forwarding short message data of user after to secondary integration are modified again, monitor alternately that module sends to Data Integration module by editor's notice again, Data Integration module treats that to amended forwarding short message data integrate again, and the final forwarding short message content after integrating is presented in user interface through output, user no longer modifies to forwarding short message content, Data Integration module sends to the final forwarding short message content after integrating for the last time the SMS module of communication terminal, the recipient that SMS module sends to appointment by it by communication module locates,
Note data storehouse, stores the original short message sending in communication terminal;
Contact database, stores original contact data;
Described input, the keyboard of communication terminal or touch screen;
Output, the display screen of communication terminal;
User interface, human-computer interaction interface.
Of the present invention be integrated into the original note of the note that needs are forwarded and mode that former editor's information adopts list by original note, original contact phone and receive the original note time resequence.
Data Integration module of the present invention receives and sends after notice, treat forwarding short message data and carry out mark, described mark mode is the character of the pre-recorded byte of 2-12 in Data Integration module, the forwarding short message data for the treatment of after once integrating are not carried out any edit operation, and Data Integration module is just written to the character of the pre-recorded byte of 2-12 in Data Integration module in the message details of final forwarding short message content.
The content that user of the present invention treats in forwarding short message data by input is screened, and is chosen in the phone that shows original contact person in final forwarding short message content and the information that receives the original note time.
Original short message of the present invention comprises note word, receives original note time and note sender ID; Original contact data comprises contact person's name and phone; Treat that forwarding short message data comprise the note word in original short message, original contact phone, original name of contact person and receive the original note time; Described final forwarding short message content forms by forwarding content, message details, transmission cell-phone number and accepting the original note time, and its repeating content is the short-and-medium message word of original short message or the note word after user edits.
A note retransmission method, comprises the following steps:
One, user forwards original note by the input of communication terminal;
Two, Data Integration module starts, and Data Integration module is selected user original note by input is searched in the note data storehouse of communication terminal database, obtains original short message; Described original short message comprises note word, receives original note time and note sender ID;
Three, Data Integration module is searched the original contact data identical with note sender ID according to the note sender ID in original short message in the contact database of communication terminal database, and original contact data comprises the sorting position of original name of contact person and original contact phone and place current contacts database;
Four, Data Integration module is extracted after note word, time of reception and the original contact data in original short message and is once integrated into and treats forwarding short message data, this treats that forwarding short message data show through output with the form of character string in user interface, described in after note word, time of reception and the original contact data of original short message in forwarding short message data are arranged in the mode of list, in user interface, show; Describedly treat that forwarding short message data comprise the note word in original short message, original contact phone, original name of contact person and receive the original note time;
Five, user by input in user interface to be presented in user interface treat that forwarding short message data are screened, editor or transmit operation; Mutual supervision module Real-Time Monitoring active user operation;
Mutual monitor that module detects the note that user treats forwarding short message data and note word do not modified, to Data Integration module, send notice, Data Integration module is treated forwarding short message data and is carried out mark after receiving transmission notice, and the forwarding short message data for the treatment of after mark are generated to final forwarding short message content, and final forwarding short message content being sent to the SMS module of communication terminal, the recipient that SMS module sends to appointment by it by communication module locates;
Described mark mode is that Data Integration module is just written to the character of the pre-recorded byte of 2-12 in Data Integration module in message details.
In step 5 of the present invention, also comprise: monitor alternately module Real-Time Monitoring active user operation, after user treats forwarding short message data and edits, mutual supervision module sends editor's notice to Data Integration module, Data Integration module, after receiving editor's notice, is not treated forwarding short message data and is carried out mark.
Of the present invention when not treating forwarding short message data and carry out mark, Data Integration module is carried out secondary integration by the amended forwarding short message data for the treatment of through once integration of user, and the forwarding short message data for the treatment of after secondary integration are presented in user interface through output with the form of character string, if the treat forwarding short message data of user after to secondary integration are no longer modified, Data Integration module sends to the final forwarding short message content after secondary integration the SMS module of communication terminal, the recipient that SMS module sends to appointment by it by communication module locates.
The treat forwarding short message data of user of the present invention after to secondary integration are modified again, Data Integration module is integrated amended band forwarding short message data again, when no longer treating forwarding short message data, user modifies, Data Integration module sends to the final forwarding short message content after integrating for the last time the SMS module of communication terminal, and the recipient that SMS module sends to appointment by it by communication module locates.
User of the present invention screens the content in forwarding short message data for the treatment of being presented in user interface in user interface by input, is chosen in the phone that shows original contact person in final forwarding short message content and the information that receives the original note time; Described final forwarding short message content forms by forwarding content, message details, transmission cell-phone number and accepting the original note time, and its repeating content is the short-and-medium message word of original short message or the note word after user edits.
The present invention compared with prior art, note needs being forwarded by Data Integration module and former short message editing person's information merge, and by input, select the former short message editing person's that need to show the information content, the note that makes to forward can show former short message editing person's information, increase the emotion of note, also reduced the operating procedure that forwards this.
Accompanying drawing explanation
Fig. 1 is the structured flowchart of note retransmission unit of the present invention.
Fig. 2 is the flow chart of note retransmission method of the present invention.
Embodiment
Below in conjunction with drawings and Examples, the present invention is described in further detail.
As shown in Figure 1, note retransmission unit of the present invention comprises the note retransmission unit being arranged in communication terminal, this note retransmission unit is provided with mutual supervision module, mutual supervision module is connected with Data Integration module, note data storehouse in the database of Data Integration module and communication terminal is connected with contact database, Data Integration module is connected with output with the input of communication terminal, mutual supervision module is also connected with input, input and output and user interface, wherein:
The mutual module that monitors, Real-Time Monitoring user no to forwarding short message by input screen, editor or transmit operation, and by editor notice or send to notify and send to Data Integration module; If user does not treat forwarding short message data and screens or transmit operation after once integrating, monitor that alternately module sends notice to Data Integration module; If the note word that user treats in forwarding short message data after once integrating is modified, monitor that alternately module sends editor's notice to Data Integration module;
Data Integration module, the original short message of the note that need to forward user is searched in the note data storehouse of communication terminal database, the corresponding original contact data of the original short message finding is searched in the contact database in mobile terminal data storehouse, after the original short message of the note that Data Integration module forwards needs and the original contact data finding are extracted, the original short message of the note that needs are forwarded and the original contact data finding are once integrated into be treated forwarding short message data and is presented in user interface by output with the form of character string, short message content and former editor's information that user treats in forwarding short message data by input are screened, editor or transmission, and final forwarding short message content is presented in user interface by output, Data Integration module also receives editor's notice or the transmission notice that mutual supervision module is sent, Data Integration module receives and sends after notice, in treating forwarding short message data, carry out mark, the final forwarding short message content after once integrating is sent to the SMS module of communication terminal, the recipient that SMS module sends to appointment by it by communication module locates again, Data Integration module receives after editor's notice, treat that forwarding short message data carry out secondary integration by user is amended, and the forwarding short message data for the treatment of after secondary integration are presented in user interface through output with the form of character string, if the treat forwarding short message data of user after to secondary integration are no longer modified, Data Integration module sends to the final forwarding short message content after secondary integration the SMS module of communication terminal, and the recipient that SMS module sends to appointment by it by communication module locates, if the treat forwarding short message data of user after to secondary integration are modified again, monitor alternately that module sends to Data Integration module by editor's notice again, Data Integration module treats that to amended forwarding short message data integrate again, and the final forwarding short message content after integrating is presented in user interface through output, until user no longer modifies to forwarding short message content, Data Integration module sends to the final forwarding short message content after integrating for the last time the SMS module of communication terminal, the recipient that SMS module sends to appointment by it by communication module locates,
In note data storehouse, store the original short message sending in communication terminal; Described original short message comprises note word, receives original note time and note sender ID;
In contact database, store original contact data, original contact data comprises contact person's name and phone.
Treat that forwarding short message data comprise the note word in original short message, original contact phone, original name of contact person and receive the original note time;
Described be integrated into the original note of the note that needs are forwarded and mode that former editor's information adopts list by original note, original contact phone and receive the original note time resequence.
Described final forwarding short message content forms by forwarding content, message details, transmission cell-phone number and accepting the original note time, and its repeating content is the short-and-medium message word of original short message or the note word after user edits.
When receiving, Data Integration module sends after notice, treat forwarding short message data and carry out mark, described mark mode is the character of the pre-recorded byte of 2-12 in Data Integration module, the forwarding short message data for the treatment of after once integrating are not carried out any edit operation, Data Integration module is just written to the character of the pre-recorded byte of 2-12 in Data Integration module in the message details of final forwarding short message content, and the character of a described 2-12 byte can be the Chinese character that takies 10 bytes of " original paper is without revising ".
The content that user treats in forwarding short message data by input is screened, and is chosen in the phone that shows original contact person in final forwarding short message content and the information that receives the original note time.
Described input is keyboard or the touch screen of communication terminal, the display screen that output is communication terminal.
User interface is human-computer interaction interface.
As shown in Figure 2, note retransmission method of the present invention comprises the following steps:
One, user forwards original note by the input of communication terminal;
Two, Data Integration module starts, and Data Integration module is selected user original note by input is searched in the note data storehouse of communication terminal database, obtains original short message; Described original short message comprises note word, receives original note time and note sender ID.
Three, Data Integration module is searched the original contact data identical with note sender ID according to the note sender ID in original short message in the contact database of communication terminal database, and original contact data comprises the sorting position of original name of contact person and original contact phone and place current contacts database.
Four, Data Integration module is extracted after note word, time of reception and the original contact data in original short message and is once integrated into and treats forwarding short message data, this treats that forwarding short message data show through output with the form of character string in user interface, described in after note word, time of reception and the original contact data of original short message in forwarding short message data are arranged in the mode of list, in user interface, show; Describedly treat that forwarding short message data comprise the note word in original short message, original contact phone, original name of contact person and receive the original note time;
Five, user by input in user interface to be presented in user interface treat that forwarding short message data are screened, editor or transmit operation; Mutual supervision module Real-Time Monitoring active user operation;
If user treats forwarding short message data edit after, monitor that alternately module sends editor's notice to Data Integration module, Data Integration module, after receiving editor's notice, is not treated forwarding short message data and is carried out mark, enters next step;
If user screens or during transmit operation, mutual monitor that module detects the note that user treats forwarding short message data and note word do not modified, to Data Integration module, send notice, Data Integration module is treated forwarding short message data and is carried out mark after receiving transmission notice, and the forwarding short message data for the treatment of after mark are generated to final forwarding short message content, and final forwarding short message content being sent to the SMS module of communication terminal, the recipient that SMS module sends to appointment by it by communication module locates;
Described user screens the content in forwarding short message data for the treatment of being presented in user interface in user interface by input, is chosen in the phone that shows original contact person in final forwarding short message content and the information that receives the original note time.
Described final forwarding short message content forms by forwarding content, message details, transmission cell-phone number and accepting the original note time, and its repeating content is the short-and-medium message word of original short message or the note word after user edits;
Described mark mode is the character of the pre-recorded byte of 2-12 in Data Integration module, the forwarding short message data for the treatment of after once integrating are not carried out any screening editor, Data Integration module is just written to the character of the pre-recorded byte of 2-12 in Data Integration module in message details, and the character of a described 2-12 byte can be the Chinese character that takies 10 bytes of " original paper is without revising ".
Six, Data Integration module is carried out secondary integration by the amended forwarding short message data for the treatment of through once integration of user, and the forwarding short message data for the treatment of after secondary integration are presented in user interface through output with the form of character string, if the treat forwarding short message data of user after to secondary integration are no longer modified, Data Integration module sends to the final forwarding short message content after secondary integration the SMS module of communication terminal, and the recipient that SMS module sends to appointment by it by communication module locates;
If the treat forwarding short message data of seven users after to secondary integration are modified again, repeating step six, by amended, treat that forwarding short message data integrate again, when no longer treating forwarding short message data, user modifies, Data Integration module sends to the final forwarding short message content after integrating for the last time the SMS module of communication terminal, and the recipient that SMS module sends to appointment by it by communication module locates.
In the present invention, be integrated into the original short message of the note that needs are forwarded and original contact data adopt the mode of list by the note word in original short message, receive original note time, original name of contact person and original contact phone and resequence.
Communication terminal of the present invention is the smart mobile phone of prior art, and the operating system of smart mobile phone is Android(Android) 4.0.
The present invention can add the forwarding information page to former contact person's information, as a part for short message content, is the emotion of note increase; Also reduced the operating procedure that forwards this.