[go: up one dir, main page]

CN102055833B - Method of event record storage for low-end mobile phone by using SIM card - Google Patents

Method of event record storage for low-end mobile phone by using SIM card Download PDF

Info

Publication number
CN102055833B
CN102055833B CN200910109969.1A CN200910109969A CN102055833B CN 102055833 B CN102055833 B CN 102055833B CN 200910109969 A CN200910109969 A CN 200910109969A CN 102055833 B CN102055833 B CN 102055833B
Authority
CN
China
Prior art keywords
information
segment
sim card
event record
short message
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.)
Expired - Fee Related
Application number
CN200910109969.1A
Other languages
Chinese (zh)
Other versions
CN102055833A (en
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.)
BYD Co Ltd
Original Assignee
BYD Co Ltd
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 BYD Co Ltd filed Critical BYD Co Ltd
Priority to CN200910109969.1A priority Critical patent/CN102055833B/en
Publication of CN102055833A publication Critical patent/CN102055833A/en
Application granted granted Critical
Publication of CN102055833B publication Critical patent/CN102055833B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a method of event record storage for a low-end mobile phone by using an SIM card, and the SIM card is provided with a storage device. The method comprises the following steps: inputting the event record information; splitting the event record information into a plurality of segments of information, and adding an information-correlation packet header used for recording each segmental relationship in the event record information in each segment information, so as to form each segment; and storing each segment to the storage device of the SIM card in the form of short message. Since the event record information is split into segments of information, the information-correlation packet header is added in the segments of information after a user inputs the event record information, and then the split event record information is stored in the storage device of the SIM card, so that under the premise of without increasing the cost of the low-end mobile phone, the storage space of the SIM card is effectively utilized, the event record information storage function is further provided for the user, and the convenience and the practicability in use of the low-end mobile phone are provided.

Description

Method for event recording and storing by using SIM card for low-end mobile phone
Technical Field
The invention relates to a technology in the field of digital cellular mobile phone communication, in particular to a method for realizing information storage of a mobile phone user by expanding a storage space based on an SIM card.
Background
With the development of mobile communication technology, the full amount of mobile phones in China exceeds 5 hundred million, and the number of mobile users in China leaps the first in the world. Various high-end mobile phones with their storage capacities expanded by various Memory cards, for example, SD (Secure Digital Memory Card), Mini SD and Micro SD cards, are commercially available. However, most users prefer to use low-end mobile phones because the mobile phones have the characteristics of low price, small and exquisite shape and electricity saving, and can meet the common basic function requirements of the users for making calls, sending short messages and the like.
However, in order to reduce the cost, the low-end mobile phone usually does not provide a user data storage space except a small amount of contact and short message storage space provided by the mobile phone. This easily causes the user to record some brief information at any time. At present, a solution is that a user edits information to be recorded into a short message or stores a contact person by himself, but the use and the reference of the user are inconvenient by the way.
Therefore, providing a convenient note storage method for low-end mobile phones is undoubtedly a demand for low-end mobile phone users.
Disclosure of Invention
The invention provides a method for storing the event records of a low-end mobile phone, which aims to solve the technical problem that the use and the reference of a user are inconvenient because the storage space of the existing low-end mobile phone is limited and the recorded information is edited into a short message or a contact person by the user, thereby providing a method for storing the event records of the low-end mobile phone and greatly facilitating the operation of the user.
In order to achieve the above object, the present invention provides a note storage method for a low-end mobile phone by using a SIM card, wherein the SIM card has a memory, and the method comprises:
A. inputting event recording information;
B. splitting event record information into a plurality of pieces of segment information, and adding an information association packet header used for recording the relation of each piece of segment information in the event record information into each piece of segment information to form each segment; storing each segment into an SIM card memory in a form of short message;
the method comprises the steps that the information association packet header comprises a note identification bit and a segmentation identification bit; the note identification position is used for recording the mapping relation between the short message and the note information, and the segment identification position is used for recording the short message as the second segment of the note information;
in the method, the information association packet header further includes a flag bit, and the flag bit is used to indicate that the short message corresponding to the information association packet header is a part of the event-recording information.
The method, wherein the event recording information is split according to the size of the segmentation information not exceeding 136 bytes.
The method, wherein the information association header is loaded to the head end or the tail end of the segmented information.
The method, wherein the step B comprises:
b1, initializing the segment identification bit of the association information packet header to N;
b2, judging whether the byte number of the current memo information is less than 136, if not, executing the step B3;
if so, go to step B4;
b3, intercepting the first 136 bytes of the current memo information to form N-th segmentation information, loading an information association packet header on the segmentation information to form an N-th segment, and storing the N-th segment into a SIM card memory in a short message form; recording the part of the current event record information left after the nth segmentation information is intercepted, as the current event record information, and assigning the value of N to be N + 1; step B2 is executed;
b4, forming the current memo information into segmentation information, loading an information association packet header on the segmentation information to form an Nth segment, and storing the Nth segment into a SIM card memory in a short message form; wherein N is an integer.
And B, sequentially storing the segments into the SIM card memory in a short message form.
And B, recording the position of the short message stored in the SIM card memory when the short message is stored to the SIM card in a segmented mode.
The method also comprises a step of setting whether the input memo information is stored in the SIM after the step A, and if so, executing the step B.
The method also comprises a step of detecting the size of the available storage capacity of the SIM card memory before the step of setting whether the input memo information is stored in the SIM.
Compared with the prior art, the invention has the following advantages:
the invention provides a note storage method of a low-end mobile phone by utilizing an SIM card, which is characterized in that after a user inputs note information, the note information is divided into a plurality of segmented information, a related information packet header is added into the segmented information, and then the divided note information is stored into a memory of the SIM card in a short message mode.
Drawings
Fig. 1 is a schematic diagram of a frame structure for storing fragmentation information in a short message format according to an embodiment of the present invention.
Fig. 2 is a schematic diagram of a human-computer interaction interface after a user inputs stored information according to an embodiment of the present invention.
Fig. 3 is a schematic program flow diagram of a note storage method according to an embodiment of the present invention.
FIG. 4 is a schematic diagram of a human-computer interaction interface when a user views memo information according to an embodiment of the present invention.
Fig. 5 is a schematic flowchart of reading memo information when a user selects to refer to memo information according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantageous effects solved by the present invention more clearly apparent, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It should be noted that the terms "first, second, etc. in the description of the present invention are only used for convenience of description of the present invention and should not be construed as limiting the present invention.
In the present specification, a low-end mobile phone is taken as an example to describe a terminal device, wherein the low-end mobile phone is only a product with limited storage space of an electronic product itself, but it is obvious to a person skilled in the art that the low-end mobile phone can be extended to an electronic product structure capable of performing text input to record simple information, and thus the following description of the specific embodiment is only for the purpose of example and is not to be considered as a limitation to the protection scope of the present invention. Those skilled in the art can also adapt the structure in accordance with the electronic product to be used when implementing the present invention.
The SIM card is an abbreviation of Subscriber Identity Module card. A general SIM card includes: a microprocessor; an eeprom (electrically Erasable Programmable Read Only memory) located in the SIM card, the eeprom being used to store all application files in the SIM card; ROM (Read-only Memory), Read-only Memory; ram (random Access memory), random Access memory; and an interface between the SIM card and the mobile phone, wherein an STK (abbreviation of SIM Toolkit, i.e. application tool on the SIM card) program stored in the SIM card drives the mobile phone to display an STK menu for user operation, thereby completing functions such as short message copying/transferring, short message searching, short message sending, etc.
The current smallest SIM card, with a memory capacity of 8KB, can typically store 100 sets of phone numbers and corresponding name text, as well as 15 sets of short messages. The current popular high-capacity SIM card can reach the storage capacity of 64KB, correspondingly, the SIM card can store 200 groups of phone numbers and corresponding name characters, and can also store 100 groups of short messages. The above memory capacity is clearly a valuable data storage resource for low end handsets.
Therefore, an embodiment of the present invention provides a note storage method for a low-end mobile phone by using a SIM card, where the SIM card has a memory, and referring to fig. 1 to 3, the method includes:
A. inputting note information, wherein the note information can be input through a note book function module in the mobile phone, and certainly, a friendly human-computer interface for creating and editing the note paper can be provided for a user on the mobile phone, and the user inputs brief information to be recorded in a text form;
B. splitting the event record information into i pieces of segmented information, namely SM1 and SM2 … … SMi; adding an information association packet header for recording the relation of each piece of information in the event record information into each piece of segmentation information (namely SM1, SM2, … …, SMi) to form each segment, namely SG1, SG2, … …, SGi; and storing the segments (SG 1, SG2, SG … …, SG) in a SIM card memory in the form of short messages. Certainly, the above-mentioned splitting of the memo information into i pieces of segmented information to form i pieces of information to be stored in the SIM card memory in the form of short messages may be accomplished automatically by selecting a "save" button to trigger the mobile phone after the user has input memo information, or may be accomplished by selecting a "save" button to trigger the mobile phone to output whether memo information is stored in the man-machine interaction interface (as shown in fig. 2) in the SIM card after the user has input memo information, and the user manually selects to store in the SIM card.
Specifically, as shown in fig. 1, fig. 1 is a schematic diagram of a frame structure for storing the segmentation information in a short message format according to the method in this embodiment. The information association header comprises a note identification bit ID1 and a segment identification bit ID 2. The note identification position ID1 is used for recording the mapping relationship between the short message and the note information, and the segment identification position ID2 is used for recording the note short message as the split segment of the note information.
The note identification bit ID1 occupies 8 bits, and the range of value can be 0 to 255. The segment identifier ID2 takes 8 bits and can range from 0 to 255.
Furthermore, because the memory of the SIM card can also store short messages received by the user from other terminals or sent to other terminals, in order to distinguish the short messages and the memo information from the short messages stored in the memory of the SIM card in the form of short messages, the information-related packet header can further include a FLAG bit FLAG, which is used to indicate that the short message corresponding to the information-related packet header is a part of the memo information, and the short message not received by the user from other terminals or sent to other terminals is beneficial to finding the split short message from the SIM card more quickly when the memo information is subsequently read. The FLAG bit FLAG occupies 8 bits, and may be 0 or 255.
And loading the information association packet header to the head end or the tail end of the segmented information. In this embodiment, the information association packet is loaded to the front end, i.e., the head end, of the segmented information, so that when the mobile phone system reads the memo information, the read short message is corresponding to which segment of which memo information according to the bits occupied by the flag bit and various identification bits in the preset information association packet, which is favorable for well forming complete memo information by each part of the subsequent dispersed memo information.
The event recording information can be split according to the size of the segmentation information not exceeding 136 bytes. Of course, the size of the segmented information can also be set through a human-computer interaction interface, or the mobile phone system can be set to other numerical values. Because the characters that each short message in the SIM card can store are limited. At present, the popular content of a short message can contain 140 bytes at most, and because the head of the associated information packet also needs to occupy a certain number of bytes, the event record information can be split according to the size of the segmented information not more than 136 bytes, so that the storage space of each short message can be utilized to the maximum extent,
please refer to fig. 3 to explain how to split the memo information according to the embodiment of the present invention.
Wherein,
STOP 1: and a user selects to store the event record information into the SIM card memory through a human-computer interaction interface, and the segment identification bit of the associated information packet header is initialized to i, wherein i is an integer. In this embodiment, i takes the value 0;
STOP 2: judging whether the byte number of the current event record information is less than 136, if not, executing a step STOP 3; if so, step STOP6 is executed;
STOP 3: intercepting the first 136 bytes of the current event-recording information to form ith segmentation information, simultaneously recording the byte number obtained by subtracting 136 from the byte number of the current event-recording information as the byte number of the current event-recording information, and automatically adding 1 to i to be used as a new value of i;
STOP 4: loading an information association packet header on the segmentation information to form an ith segment;
STOP 5: storing the ith segment into an SIM card memory in a form of short message, and recording a storage position Li in the SIM card memory; at this time, the step STOP2 is repeated, the next cycle is started, whether the byte occupied by the updated current memo information is larger than 136 is judged again, and if yes, the execution of STOP3 to STOP5 is started.
STOP 6: and forming segmentation information by using the current memo information, loading an information association packet header on the segmentation information to form an ith segment, and storing the ith segment into a SIM card memory in a short message form.
Because the situation that the number of bytes occupied by the current memo information is less than 136 only occurs under the situation that only 1 piece of segmentation information or the last piece of segmentation information exists, the memo information is already split and stored when the memo information at the moment is stored in the SIM card in a short message form.
Obviously, in step STOP5, the segments may be stored in the SIM card memory sequentially or sporadically in the form of short messages.
The steps STOP5 and STOP6 further include storing the storage location Li of each segment in a file in a form of one record in a forward manner, and establishing a mapping relationship between the file and the memo information. The file is saved in a specific location in the handset system.
The method can be implemented on the premise that the memory in the SIM card has enough space, so that the method can comprise the step of detecting the size of the idle capacity of the memory of the SIM card before the step of setting whether the input memo information is stored in the SIM card. When the remaining available storage space of the SIM is smaller than a certain value, the mobile phone system can not output the human-computer interaction interface prompting that the user can select to store the information in the storage space of the SIM card, or defaults that the memo information input by the user is not stored in the storage space of the SIM card under the condition, or outputs the human-computer interaction interface information such as insufficient storage space of the SIM card and the like to prompt the user.
Referring to fig. 4, fig. 4 is a human-computer interaction interface provided by a mobile phone system when a user wants to look up input memo information, wherein four pieces of memo information which can be looked up are displayed in the human-computer interaction interface, when the user chooses to look up a certain memo information, the short messages corresponding to memo identification bits corresponding to the selected memo information can be extracted through a mapping relation, the corresponding short messages are sequentially extracted according to the segmentation identification bits from small to large, and the extracted short messages are combined into memo information of a text for display after removing a packet header of associated information loaded on a front segment of the short message.
Fig. 5 is a schematic flow chart of data reading by the mobile phone system after the user selects to look up a certain memo information when storing each segment in the SIM card memory in sequence.
The first step is as follows: acquiring a file recorded with information of storage positions of all segments at a specific position of a mobile phone system, and acquiring all storage positions Li from the file;
the second step is that: sequentially obtaining segments positioned at each storage position Li;
the third step: removing the associated information packet head before each segment to extract each segment information;
the fourth step: sequentially synthesizing all the segmented information into event-recording information to be displayed;
the step of reproducing the split memo information is completed.
It is obvious from the above description that the note storage method using the SIM card for the low-end mobile phone provided by the present invention is adopted, after the user inputs the note information, because the note information is split into a plurality of segmented information, the associated information packet header is added to the segmented information, and then the split note information is stored in the memory of the SIM card in a short message manner, on the premise of not increasing the cost of the low-end mobile phone, the storage space of the SIM card is effectively utilized to provide the note information storage function for the user, and the convenience and the practicability of the use of the low-end mobile phone are provided.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (8)

1. A note storage method for a low-end mobile phone by using an SIM card, wherein the SIM card is provided with a memory, and the method comprises the following steps:
A. inputting event recording information;
B. splitting event record information into a plurality of pieces of segment information, and adding an information association packet header for recording information of each segment relation in the event record information into each piece of segment information to form each segment; storing each segment into an SIM card memory in a form of short message;
the information association packet header comprises a note identification bit and a segment identification bit; the note identification position is used for recording the mapping relation between the short message and the note information, and the segment identification position is used for recording the short message as the second segment of the note information;
the information association packet header also comprises a flag bit, and the flag bit is used for indicating that the short message corresponding to the information association packet header is a part of the event record information.
2. The event recording storage method according to claim 1, wherein the event recording information is split according to a segmentation information size not exceeding 136 bytes.
3. The event record storage method according to claim 2, wherein the information association packet header is loaded to the head end or the tail end of the segment information.
4. The event record storage method according to claim 3, wherein in step B, the event record information is divided into a plurality of pieces of segment information, and an information association packet header for recording information of each segment relation in the event record information is added to each piece of segment information to form each segment; storing each segment into a SIM card memory in a form of short message, comprising:
b1, initializing the segment identification bit of the information association packet header to N;
b2, judging whether the byte number of the current memo information is less than 136, if not, executing the step B3;
if so, go to step B4;
b3, intercepting the first 136 bytes of the current memo information to form N-th segmentation information, loading an information association packet header on the segmentation information to form an N-th segment, and storing the N-th segment into a SIM card memory in a short message form; recording the part of the current event record information left after the nth segmentation information is intercepted, as the current event record information, and assigning the value of N to be N + 1; step B2 is executed;
b4, forming the current memo information into segmentation information, loading an information association packet header on the segmentation information to form an Nth segment, and storing the Nth segment into a SIM card memory in a short message form;
wherein N is an integer.
5. The note storage method according to claim 4, wherein step B further comprises storing the segments sequentially in the SIM card memory in the form of short messages.
6. The note storage method according to claim 5, wherein step B further comprises recording the position of the short message stored in the SIM card memory when the segment is stored in the SIM card in the form of a short message.
7. The memo storage method according to any one of claims 1-6, further comprising, after step A, the step of setting whether to store the inputted memo information in the SIM, and if so, performing step B.
8. The memo data storage method of claim 7, further comprising the step of detecting the size of the available storage capacity of the SIM card memory before the step of setting whether to store the inputted memo data in the SIM.
CN200910109969.1A 2009-10-31 2009-10-31 Method of event record storage for low-end mobile phone by using SIM card Expired - Fee Related CN102055833B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910109969.1A CN102055833B (en) 2009-10-31 2009-10-31 Method of event record storage for low-end mobile phone by using SIM card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910109969.1A CN102055833B (en) 2009-10-31 2009-10-31 Method of event record storage for low-end mobile phone by using SIM card

Publications (2)

Publication Number Publication Date
CN102055833A CN102055833A (en) 2011-05-11
CN102055833B true CN102055833B (en) 2014-04-02

Family

ID=43959747

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910109969.1A Expired - Fee Related CN102055833B (en) 2009-10-31 2009-10-31 Method of event record storage for low-end mobile phone by using SIM card

Country Status (1)

Country Link
CN (1) CN102055833B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316428B (en) * 2011-09-30 2015-04-15 北京中清怡和科技有限公司 Method for communication between mobile application client and intelligent card and device
CN102387255B (en) * 2011-10-25 2014-07-23 北京中清怡和科技有限公司 Method and device for utilizing intelligent card to process third-party expanded service data
CN102722474A (en) * 2012-03-20 2012-10-10 华为终端有限公司 Information processing method and terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1226787A (en) * 1998-12-28 1999-08-25 赵宇 Wireless paging system and method for individual memo information
CN1756399A (en) * 2004-09-30 2006-04-05 华为技术有限公司 Method for recording information in extending user card
CN101345945A (en) * 2008-08-25 2009-01-14 深圳华为通信技术有限公司 Short message storage method and apparatus
CN101534347A (en) * 2009-04-07 2009-09-16 中兴通讯股份有限公司 Method for storing information and mobile terminal intelligent card

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1226787A (en) * 1998-12-28 1999-08-25 赵宇 Wireless paging system and method for individual memo information
CN1756399A (en) * 2004-09-30 2006-04-05 华为技术有限公司 Method for recording information in extending user card
CN101345945A (en) * 2008-08-25 2009-01-14 深圳华为通信技术有限公司 Short message storage method and apparatus
CN101534347A (en) * 2009-04-07 2009-09-16 中兴通讯股份有限公司 Method for storing information and mobile terminal intelligent card

Also Published As

Publication number Publication date
CN102055833A (en) 2011-05-11

Similar Documents

Publication Publication Date Title
CN101651731B (en) Method and system for managing address book and mobile terminal
CN109587252A (en) Loading method, device, electronic equipment and the storage medium of operator parameter
CN101951425A (en) Processing method and system of contact information and mobile terminal
CN106507341B (en) Method, system and the mobile terminal of intelligent recognition configuration file
CN101252756B (en) Method for leading in and out address book information of mobile terminal
US8175034B2 (en) Configuration techniques for wireless communications devices
CN107635078A (en) Game control method and device
CN102065161B (en) System and method for realizing multi-card multi-standby mobile phone function by virtual method
CN101854426A (en) Method and system for starting mobile terminal and mobile terminal
CN101833574A (en) Method and system for locating application programs as well as mobile terminal
CN102055833B (en) Method of event record storage for low-end mobile phone by using SIM card
CN102394977A (en) Processing method of unread cellphone text messages and cellphone
US9271125B2 (en) Method and terminal for processing short message
CN101827140B (en) Method for writing data in user identification module card and mobile terminal
CN102970401A (en) Method and device for recoding contact information
CN101997977B (en) Method and device for enabling mobile terminal and smart card to be compatible with different network systems
CA2807276C (en) Speed dialing method, subscriber identity module/user identity model and mobile terminal
CN102932960A (en) Exchange system and exchange method for electronic business cards
CN103200301B (en) A kind of information saving method based on note and mobile terminal
CN102238271B (en) Multimedia message storing method and mobile phone
CN101958967B (en) Method and device for editing information and mobile terminal
CN101621577B (en) Short message processing method and short message processing terminal
CN101754145B (en) Telephone number searching method and device and mobile terminal
CN102523328B (en) Wireless communication terminal and user information processing method thereof
CN104125326A (en) Method and terminal for setting message background

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140402

Termination date: 20191031

CF01 Termination of patent right due to non-payment of annual fee