Realize the portable terminal and the method for talking record/short message record length evoking
Technical field
The present invention relates to the portable terminal application, particularly relate to a kind of method that realizes the portable terminal of talking record/short message record length evoking and utilize this portable terminal realization length customization.
Background technology
In the middle of the portable terminal (mobile phone) that uses at present, the relevant configuration of user's message registration and note record is all just set when mobile phone dispatches from the factory, is fixed value, and the user can not make amendment to it again.
The user may only use wherein a certain record, as " Outgoing Call record " in the middle of using, but, because the length of each entry is all fixed, so can not discharging the memory space of not wanting to use to other function, the user uses, thus the resource of having wasted mobile phone.And some cellphone subscriber is in order to protect the privacy of oneself, do not want oneself some recorded and stored in mobile phone, but also because can not set short message flexibly, and cause producing a series of unnecessary troubles.
Summary of the invention
Technical problem to be solved by this invention is to provide a kind of and realizes the portable terminal of talking record/short message record length evoking and utilize this portable terminal to realize the method for length customization, is used to solve that entry can't be carried out the length setting and the wasting of resources and the privacy unsafe problems brought.
To achieve these goals, the invention provides a kind of portable terminal of realizing talking record/short message record length evoking, comprise memory, it is characterized in that, also comprise: human-computer interface module, memory control module, telephone directory module and/or SMS module; Described telephone directory module comprises message registration length customized module again, is used for the length of message registration is customized; Described SMS module comprises note length customized module again, is used for the length of note record is customized;
Described human-computer interface module is used for providing the user interface of carrying out local operation to mobile phone users;
Described telephone directory module is used to receive the operational order of described man-machine interface, sends the telephone directory control information to described memory control module, and the storage message registration is to described memory;
Described SMS module is used to receive the operational order of described man-machine interface, sends the note control information to described memory control module, and the storage note is to described memory;
Described memory control module is used to receive the operation information and the return result of described telephone directory module or the transmission of described SMS module, and revises the configuration information of described memory.
The portable terminal of described realization talking record/short message record length evoking wherein, also comprises the protocol stack that is connected with described SMS module, is used for providing to mobile phone users the far-end control interface of message registration/note record length configuration.
To achieve these goals, the present invention also provides a kind of method of utilizing described portable terminal to realize talking record/short message record length evoking, it is characterized in that, comprising:
Human-computer interface module provides the user interface of carrying out local operation to mobile phone users;
The telephone directory module receives the operational order of described man-machine interface, and message registration length is customized, and sends the telephone directory control information to described memory control module, and the storage message registration is to described memory;
SMS module receives the operational order of described man-machine interface, and the note record length is customized, and sends the note control information to described memory control module, and the storage note is to described memory;
Memory control module receives the operation information and the return result of described telephone directory module or the transmission of described SMS module, and revises the configuration information of described memory.
The method of described realization talking record/short message record length evoking wherein, also comprises the step of a talking record/short message record length evoking, is specially:
Step 401 enters message registration/note recording setting menu by described user interface;
Step 402 selects a length that the submenu line item length setting of going forward side by side is set;
Step 403 is returned idle condition.
The method of described realization talking record/short message record length evoking wherein, comprised also that before described step 401 the internal memory occupation mode with message registration/note record institute corresponding record is set at the step of sharing occupation mode.
The method of described realization talking record/short message record length evoking, wherein, described message registration comprises: received calls, missed call, Outgoing Call; Described note record comprises receives note.
The method of described realization talking record/short message record length evoking, wherein, described length is provided with submenu and comprises: received calls length is provided with that submenu, missed call length are provided with submenu, Outgoing Call length is provided with submenu and receives that note length is provided with submenu.
The method of described realization talking record/short message record length evoking, wherein, in the described step 402, the length range of choice during described record length is provided with is 0-Max, wherein Max is the maximum of the described mobile terminal conversation record that fixedly installs/note record.
The method of described realization talking record/short message record length evoking, wherein, comprising also between described step 402, the step 403 that one checks the memory headroom of the message registration/note record that carries out after record length is provided with and judges the sufficient or not enough step of this memory headroom, if it is not enough, then point out mobile phone users, and change step 403 over to.
The method of described realization talking record/short message record length evoking wherein, also comprises the step that a pair of message registration/the note record carries out far-end control, is specially:
Step 1001, described protocol stack receives the note that comprises configuration information, formulates and send the note configuration standard to described SMS module;
Step 1002, described SMS module is judged short message type according to the short message head;
Step 1003, described memory control module be according to the configuration of configuration information content modification/described memory of change, and configuration result is delivered to described telephone book module/SMS module;
Step 1004, the far-end configuration is finished.
The method of described realization talking record/short message record length evoking, wherein, in the described step 1002, if note is general short message, then described SMS module is delivered to described memory stores with it, and the arrival of notice mobile phone users note, if note is the configuration information note, then described SMS module sends it to described memory control module and handles.
Technique effect of the present invention:
The present invention is set conversation/short message record length flexibly, can make the requirements set of user according to oneself on the one hand, makes things convenient for cellphone subscriber's use most possibly, and saves the storage resources of mobile phone; Protected user's privacy on the other hand most possibly.
Describe the present invention below in conjunction with the drawings and specific embodiments, but not as a limitation of the invention.
Description of drawings
Fig. 1 is a system configuration module diagram of the present invention;
Fig. 2 writes down the flow chart of setting for the present invention by far-end control;
Fig. 3 is the flow chart that dial-out message registration of the present invention is set.
Embodiment
See also shown in Figure 1ly, be system configuration module diagram of the present invention.This system configuration comprises: MMI (Human and Machine Interface, man-machine interface) module 101, protocol stack 102, telephone directory module 103, SMS module 104, memory control module 105 and memory 106.Telephone directory module 103 comprises message registration length customized module 1031 again, and SMS module 104 comprises note record length customized module 1041 again.
MMI module 101 is used to provide user interface, and the user can be from local operation.
The far-end control interface that provides message registration/note record length to dispose is provided protocol stack 102.
Telephone book module 103, its function mainly comprises: message registration is set, the message registration storage; Be specially: by with the interface of MMI module 101, receive operational order, to user's display operation result, and can provide content to show to MMI module 101; By with the interface of storage control module 105, send to share and control messages be set, length is provided with etc., and receive operating result to storage control module 105; By with the interface of memory 106, call and store message registration.Message registration length customized module 1031 is used for the length of message registration is provided with/customizes.
SMS module 104, by with the interface of MMI module 101, receive operational order, to user's display operation result, and can provide content to show to MMI module 101; By with the interface of storage control module 105, send to share and control messages be set, length is provided with etc., and receive operating result to storage control module 105; By with the interface of protocol stack 102, receive and send note by communication network and judge short message type simultaneously, and carry out respective handling according to short message type; By with the interface of memory 106, call and store note.Note record length customized module 1041 is used for the length of note record is provided with/customizes.
Memory control module 105, its function mainly comprises: allocate storage, share storage control.Wherein, allocate storage is to distribute dynamically in the memory that shares and discharge needed memory space, realizes that this function can realize by operating system; The content of sharing storage control is specially: by with the interface of telephone book module 103, receive operation information, return result; By with the interface of SMS module 104, receive operation information, return result; By with the interface of memory 106, send configuration messages, return configuration interface information and memory address, configuration interface information is meant relevant configuration parameter, as memory headroom size, type of service etc., memory address is meant the entry address of the memory space that returns.
Memory 106 is as the physical medium of storage.
See also shown in Figure 2, for the present invention writes down the flow chart of setting by far-end control.In conjunction with shown in Figure 1, this flow process comprises the steps:
Step 201, protocol stack 102 receives the note that comprises configuration information, formulates the note configuration standard, sends to SMS module 104;
Step 202, SMS module 104 is judged short message type according to the short message head, if general short message delivers to memory 106 storages, and notify user's note to arrive, if the configuration information note then is sent to memory control module 105 and handles;
Step 203, memory control module 105 be according to the configuration of configuration information content modification/change memory 106, and the configuration result of returning is delivered to SMS module 104 and telephone book module 103, uses as the configuration after upgrading;
Step 204, the far-end configuration is finished.
See also shown in 3, be the flow chart of dial-out message registration setting of the present invention.In conjunction with shown in Figure 1, this flow process comprises the steps:
Step 301 enters the message registration setup menu by user interface;
Step 302 is selected " length setting " submenu;
Step 303, the Outgoing Call record length in this submenu is set to " 0 ", and this length range of choice is 0-Max (bar), and the setting that has been fixed in the exploitation of mobile phone of this Max value is the maximum of Outgoing Call record, and the user can not change this Max value;
Step 304 is checked the memory headroom of the message registration/note record that carries out after record length is provided with, and is judged that memory headroom is in sufficient state or not enough state, if sufficient state then changes step 305, if not enough state then changes step 306;
Step 305 is set the Outgoing Call record length;
Step 306, the information of prompting low memory;
Step 307 is returned idle condition.
In step 305, after the Outgoing Call record length is set,, and when memory headroom is not enough, changes the length of this setting, thereby guarantee the validity of this time setting according to the length check memory headroom size of this setting.
Carry out in the above-mentioned development process at mobile phone, message registration/the internal memory of note record is used and is set at sharing mode, that is, the telephone directory module is set at sharing mode with the internal memory use of message registration, and SMS module is set at sharing mode with the internal memory use of note record; And on each record of mobile phone MMI module, increase the sub-menu option of " length setting ".These records can be message registration and/or short message record; Message registration comprises: received calls, missed call, Outgoing Call, and accordingly, the sub-menu option of " length setting " comprising: received calls length is provided with that submenu, missed call length are provided with submenu, Outgoing Call length is provided with submenu; The short message record comprises receives note, and correspondingly, the sub-menu option of " length setting " is provided with submenu for receiving note length.
Be provided with by Outgoing Call length shown in Figure 3, behind Outgoing Call, the user checks the Outgoing Call record, at this moment, does not show the phone situation of having dialled just now in the record.
The present invention is setting recording length flexibly, and the one, can make the requirements set of user according to oneself, convenient most possibly the use, and save the storage resources of mobile phone; The 2nd, protect user's privacy most possibly.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.