CN102694924A - Communication data storing system and method for mobile terminal - Google Patents

Communication data storing system and method for mobile terminal Download PDF

Info

Publication number
CN102694924A
CN102694924A CN2012101958358A CN201210195835A CN102694924A CN 102694924 A CN102694924 A CN 102694924A CN 2012101958358 A CN2012101958358 A CN 2012101958358A CN 201210195835 A CN201210195835 A CN 201210195835A CN 102694924 A CN102694924 A CN 102694924A
Authority
CN
China
Prior art keywords
linked list
circular linked
mobile phone
data
instant messaging
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
CN2012101958358A
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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN2012101958358A priority Critical patent/CN102694924A/en
Publication of CN102694924A publication Critical patent/CN102694924A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a communication data storing system and a communication data storing method for a mobile terminal. The method comprises the following steps of: acquiring data information of an instant communication service of the mobile terminal; and storing the data information in a circular linked list pre-established in a mobile phone card. Through the system and the method, a latest communication record can be checked or acquired instantly when a mobile phone is required to be replaced or the mobile phone is out of power; and moreover, the problem of limit on the volume of the mobile phone card is solved through circular storage.

Description

The system and method that is used for the storing communication data of portable terminal
Technical field
The present invention relates to field of mobile terminals, relate in particular to a kind of system and method that is used for the storing communication data of portable terminal.
Background technology
In the prior art, message registrations such as the note that receives of portable terminal such as mobile phone and incoming call generally all are stored in the cell phone apparatus; Though the mobile phone card also can be stored the note record, because the restriction of mobile phone card memory space, its permission short messages stored quantity can't be a lot, after the space takes, just can not store note again.Therefore, the storage mode of main flow all is to use terminal equipment storage note and message registration at present.
Because note and message registration all are stored in the terminal equipment, if mobile phone does not have electricity then can't check and can't obtain note and the message registration that is stored in the mobile phone yet.For example, user A receives the phone of a notice interview, and application company tells the user A with the details transmission note of interview.At this moment mobile phone has not had electricity, and then user A just can't view the telephone number of this note and application company, also just can't get in touch with application company.Even at this moment user A also has the sufficient mobile phone of another electric weight, can not obtain above-mentioned data through the sufficient mobile phone of this electric weight, this has caused sizable inconvenience to the user.
In fact, similarly situation often takes place, and therefore, is necessary to propose improved technical scheme to address the above problem.
Summary of the invention
Main purpose of the present invention is to provide a kind of system and method that is used for the storing communication data of portable terminal, and and can not obtain the note that is stored in the terminal equipment and the problem of message registration behind the electricity to solve terminal equipment that prior art exists, wherein:
Method according to the storing communication data of the embodiment of the invention comprises: obtain the professional data message of mobile terminal instant messaging; In the circular linked list that data information memory to mobile phone card is set up in advance.
Wherein, obtain the step of the professional data message of mobile terminal instant messaging, comprising: when the communication data of mobile terminal stores instant messaging service, obtain the data message of this instant messaging service.
Wherein, in the circular linked list that data information memory to mobile phone card is set up in advance before, this method also comprises:
Judge whether have the data space that is used to set up circular linked list in the mobile phone card, if then in the mobile phone card, set up circular linked list.
Wherein, the step in the circular linked list that data information memory to mobile phone card is set up in advance comprises:
Judge whether circular linked list has reached maximum length, if then current data information is covered in the circular linked list memory time of data message the earliest; Otherwise, directly in circular linked list, add data message.
Wherein, the type of instant messaging service comprises: message registration and/or note; The step of in the mobile phone card, setting up circular linked list comprises: in the mobile phone card, set up first circular linked list and second circular linked list respectively, wherein, first circular linked list is used to store message registration, and second circular linked list is used to store note; Step in the circular linked list that data information memory to mobile phone card is set up in advance comprises: judge the type of instant messaging service, when instant communication service is message registration, with data information memory to the first circular linked list of message registration; When instant communication service is note, with data information memory to the second circular linked list of note.
System according to the storing communication data that are used for portable terminal of the embodiment of the invention comprises: acquisition module is used to obtain the professional data message of mobile terminal instant messaging; Memory module is used for the circular linked list that data information memory to mobile phone card is set up in advance.
Wherein, acquisition module is used for when the data message of mobile terminal stores instant messaging service, obtaining the data message of this instant messaging service.
Wherein, this system also comprises: the space judge module is used for judging whether the mobile phone card has the data space that is used to set up circular linked list, if then carry out circular linked list and set up module; Circular linked list is set up module, is used for setting up circular linked list at the mobile phone card.
Wherein, memory module comprises: the length judge module is used to judge whether circular linked list has reached maximum length; Writing module is used for if the judged result of length judge module is for being, then current data information is covered in the circular linked list memory time of data message the earliest; Otherwise, directly in circular linked list, add data message.
Wherein, the type of instant messaging service comprises: message registration and/or note; Circular linked list is set up module, is used for setting up first circular linked list and second circular linked list respectively at the mobile phone card, and wherein, first circular linked list is used to store message registration, and second circular linked list is used to store note; Memory module further comprises: type judging module, and the type of the instant messaging service that is used to judge that acquisition module obtains, when instant communication service was message registration, writing module was with data information memory to the first circular linked list of message registration; When instant communication service was note, writing module was with data information memory to the second circular linked list of note.
According to technical scheme of the present invention, through instant communication data being stored in the circular linked list of mobile phone card, when changing mobile phone or mobile phone and do not have electricity, can obtain nearest message registration or note data through the mobile phone card, satisfied user's request.And the present invention adopts the mode of circulation storage, has solved the limited problem of mobile phone card memory capacity.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart according to the storing communication data method of the embodiment of the invention;
Fig. 2 is the flow chart according to the preferred process scheme of the storing communication data method of the embodiment of the invention;
Fig. 3 is the structured flowchart according to the system of the storing communication data of the embodiment of the invention;
Fig. 4 is the structured flowchart of the system embodiment according to the present invention;
Fig. 5 is the structured flowchart of another system embodiment according to the present invention;
Fig. 6 is the structured flowchart of a system embodiment again according to the present invention.
Embodiment
Main thought of the present invention is; Obtain the professional data message of mobile terminal instant messaging; Communication data is stored in the circular linked list that the mobile phone card sets up in advance; When changing mobile phone or mobile phone and do not have electricity, can obtain nearest message registration or note data, satisfy user's request through the mobile phone card.
For making the object of the invention, technical scheme and advantage clearer,, the present invention is done to specify further below in conjunction with accompanying drawing and specific embodiment.
According to embodiments of the invention, a kind of method of storing communication data is provided.
Fig. 1 is the flow chart according to the method for the storing communication data of the embodiment of the invention, and is as shown in Figure 1, and this method may further comprise the steps at least:
Step S102 obtains the professional data message of mobile terminal instant messaging.
According to the embodiment of the invention, instant messaging service comprises: message registration and/or note.When portable terminal carries out communication datas such as message registration and/or note are kept at the operation in the internal memory of terminal, obtain the data message of above-mentioned instant messaging service.
Step S104 is stored to communication data in the circular linked list that the mobile phone card sets up in advance.
In the memory space of mobile phone card, divide a part of space, as the storage area of instant communication data.This storage area only is used to deposit instant communication data, and this data storage areas divides two parts: message registration district and note district, can store the note of some, the message registration of some respectively.The present invention is through setting up circular linked list storage instant communication data in the storage area of dividing.Particularly, in the mobile phone card, set up first circular linked list of fixed length and second circular linked list of fixed length respectively, wherein, first circular linked list is used to store message registration, and second circular linked list is used to store note.Wherein, said circular linked list both can be that unidirectional circular linked list also can be a double-linked circular list, and the present invention is not as limit.
Further; Above-mentioned mobile phone card can be Subscriber Identity Module (Subscriber Identity Module; Be called for short SIM) or global Subscriber Identity Module (Universal Subscriber Identity Module; Be called for short usim card) or flash memory cards (TransFLash is called for short the TF card, or Micro SD card).
When getting access to the data message of instant messaging service, at first judge the type of this instant messaging service, and write to corresponding circular linked list according to the type of this communication service.When write data in circular linked list, judge whether to have reached the maximum length of this circular linked list again, just cover the memory time of record (article one record) the earliest if reach (having write full); Otherwise just in chained list, add a new record.Like this, not only can preserve some nearest communication datas, that has avoided also that limited mobile phone card capacity causes writes limited and the slow problem of reading and recording.
In addition, in practical application, the user can also manually remove the part/total data of this memory block according to the actual requirements, perhaps partial data/total data is transferred to other memory location.
According to the abovementioned embodiments of the present invention; Through instant communication data being stored in the circular linked list that the mobile phone card sets up in advance; When changing mobile phone or mobile phone and do not have electricity, can obtain nearest message registration or note data, satisfy user's request, effectively promote user experience through the mobile phone card.
Describe the embodiment of the invention in detail through Fig. 2 below.As shown in Figure 2, this method comprises:
Step S202 when portable terminal has instant messaging service, obtains the data message of this instant messaging service.Said instant messaging service comprises: message registration and/or note.For message registration, its data message includes information such as the number, time, number of times of received call/missed call/dialed at least; For note, its data message includes content, time, the addresser/receiver's number of reception note/transmission note at least.
Step S204 confirms the type of this instant communication data, confirms that just the data message that obtains belongs to message registration or belongs to note.
Step S206 judges whether the length of the pairing circular linked list of type of the instant communication data obtain reaches maximum, if execution in step S208 then, otherwise execution in step S210.
Before this step, need in the mobile phone card, set up circular linked list.Particularly; Confirm that at first the mobile phone jig has the memory space of storage instant communication data; In the memory space that the mobile phone card is divided, set up circular linked list then; Particularly, set up respectively and be used to second circular linked list storing first circular linked list of message registration data and be used to store note data.Need to prove that circular linked list is a fixed length, its size should be provided with according to the actual requirements, and requirement can be stored the message registration of some and the communication data of note, but does not influence the normal use of mobile phone card.For example, first circular linked list of establishment can be stored 10 message registration data, and second circular linked list of establishment can be stored 10 note datas.Above-mentioned data are merely exemplary illustration, do not limit protection scope of the present invention.
Deterministic process does particularly, if the instant communication data that obtains is the message registration data, judges then whether first circular linked list reaches maximum; If the instant communication data that obtains is a note data, judge then whether second circular linked list reaches maximum.
Step S208, corresponding circular linked list length has reached maximum length, and its memory space has all been write full, at this moment, the current data message that obtains is covered in this circular linked list the memory time of record (current article one record) the earliest.Hold above-mentioned example; First circular linked list has been stored 10 message registration data (having reached maximum length); The current message registration data of obtaining are covered article one record, and then these data just are stored as the 10th record, and the 2nd record before just becomes the 1st record.Repeat said process, realized that the annular of data writes.
In reality, what the user was concerned about most is some nearest communication datas, and the communication data early can be preserved through other modes, covers data early, can not impact normal use of user.The present invention writes through annular, not only can keep nearest communication data, and communication data that can also storage is up-to-date has satisfied user's user demand.
Step S210, circular linked list length does not reach maximum, also has memory space, then directly in the circular linked list of correspondence, adds new record, writes the circular linked list of correspondence according to the type of the instant messaging service that obtains.
Like this, terminal equipment can be found the record in the mobile phone card when inquiring call history and note, and can normally show.In addition, the user can also be transferred to the data in the circular linked list other memory location, perhaps manually deletes the data in the circular linked list.
Through above-mentioned processing, can data in real time such as message registration and note be stored to the circular linked list of mobile phone card, after mobile phone does not have electricity or changes mobile phone, can check or obtain the data of storing in the mobile phone card, satisfied user's demand.
According to embodiments of the invention, a kind of system that is used for the storing communication data of portable terminal is provided also.With reference to figure 3, this system comprises: acquisition module 10 and memory module 20, wherein:
Acquisition module 10 is used to obtain the professional data message of mobile terminal instant messaging, and preferably, acquisition module 10 is used for when the data message of mobile terminal stores instant messaging service, obtaining the data message of this instant messaging service.
Memory module 20 is connected with acquisition module 10, the circular linked list that data information memory to the mobile phone card that is used for that acquisition module 10 is obtained is set up in advance.
With reference to figure 4, be the structured flowchart of one embodiment of the invention, on the basis of Fig. 3, this system also comprises: space judge module 30 is set up module 40 with circular linked list.Wherein, space judge module 30 is used for judging whether the mobile phone card has the data space that is used to set up circular linked list, if then carry out circular linked list and set up module 40.Circular linked list is set up module 40 and is used for setting up circular linked list at the mobile phone card.
According to the embodiment of the invention, the type of said instant messaging service comprises: message registration and/or note.Further, circular linked list is set up module 40 and is used for setting up first circular linked list and second circular linked list respectively at the mobile phone card, and wherein, first circular linked list is used to store message registration, and second circular linked list is used to store note.
Continuation is with reference to figure 4, and memory module 20 comprises: length judge module 210 and writing module 220.Wherein, length judge module 210 is used to judge whether circular linked list has reached maximum length.Writing module 220 is connected with length judge module 210, is used for if the judged result of length judge module 210 is for being, then current data information is covered in the circular linked list memory time of data message the earliest; Otherwise, directly in circular linked list, add data message.
With reference to figure 5, be the structured flowchart of another embodiment of the present invention, memory module 20 comprises: writing module 220 and type judging module 230.The type of the instant messaging service that type judging module 230 is used to judge that acquisition module 10 obtains, when instant communication service was message registration, writing module 220 was with data information memory to the first circular linked list of message registration; When instant communication service was note, writing module 220 was with data information memory to the second circular linked list of note.
With reference to figure 6, be the structured flowchart of yet another embodiment of the invention, memory module 20 comprises: length judge module 210, writing module 220 and type judging module 230.The type of the instant messaging service that type judging module 230 is used to judge that acquisition module 10 obtains; Length judge module 210 is used to judge whether the corresponding circular linked list of the type data has reached maximum length; Writing module 220 is used for if the judged result of length judge module 210 is for being, then current data information is covered in the corresponding circular linked list memory time of data message the earliest; Otherwise, directly in the circular linked list of correspondence, add data message.
The operating procedure of method of the present invention is corresponding with the architectural feature of system, can cross-reference, give unnecessary details no longer one by one.
In sum; According to technique scheme of the present invention; Through communication data being stored in the circular linked list that the mobile phone card sets up in advance; When changing mobile phone or mobile phone and do not have electricity, can obtain nearest message registration or note data, solve the problem that to obtain instant communication data after mobile phone does not have electricity or changes mobile phone, satisfy user's request through the mobile phone card.And the present invention adopts the mode of circulation storage, has solved the limited problem of mobile phone card memory capacity.
The above is merely embodiments of the invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within the claim scope of the present invention.

Claims (10)

1. the method for storing communication data is characterized in that, comprising:
Obtain the professional data message of mobile terminal instant messaging;
In the circular linked list that said data information memory to mobile phone card is set up in advance.
2. method according to claim 1 is characterized in that, the said step of obtaining the professional data message of mobile terminal instant messaging comprises:
When the communication data of said mobile terminal stores instant messaging service, obtain the data message of this instant messaging service.
3. method according to claim 1 is characterized in that, in the said circular linked list that said data information memory to mobile phone card is set up in advance before, said method also comprises:
Judge in the said mobile phone card whether have the data space that is used to set up said circular linked list, if then in the mobile phone card, set up said circular linked list.
4. according to claim 1 or 3 described methods, it is characterized in that the step in the said circular linked list that said data information memory to mobile phone card is set up in advance comprises:
Judge whether said circular linked list has reached maximum length, if then current data information is covered in the said circular linked list memory time of data message the earliest; Otherwise, directly in said circular linked list, add said data message.
5. method according to claim 3 is characterized in that, the type of said instant messaging service comprises: message registration and/or note;
The said step of in the mobile phone card, setting up said circular linked list comprises:
In the mobile phone card, set up first circular linked list and second circular linked list respectively, wherein, first circular linked list is used to store message registration, and second circular linked list is used to store note;
Step in the said circular linked list that said data information memory to mobile phone card is set up in advance comprises:
Judge the type of said instant messaging service, when said instant messaging service is message registration, with data information memory to said first circular linked list of message registration; When said instant messaging service is note, with data information memory to said second circular linked list of note.
6. a system that is used for the storing communication data of portable terminal is characterized in that, comprising:
Acquisition module is used to obtain the professional data message of mobile terminal instant messaging;
Memory module is used for the circular linked list that said data information memory to mobile phone card is set up in advance.
7. system according to claim 6 is characterized in that, said acquisition module is used for when the data message of said mobile terminal stores instant messaging service, obtaining the data message of this instant messaging service.
8. system according to claim 6 is characterized in that, also comprises:
The space judge module is used for judging whether said mobile phone card has the data space that is used to set up said circular linked list, if then carry out circular linked list and set up module;
Said circular linked list is set up module, is used for setting up said circular linked list at the mobile phone card.
9. according to claim 6 or 8 described systems, it is characterized in that said memory module comprises:
The length judge module is used to judge whether said circular linked list has reached maximum length;
Writing module is used for if the judged result of said length judge module is for being, then current data information is covered in the said circular linked list memory time of data message the earliest; Otherwise, directly in said circular linked list, add said data message.
10. system according to claim 8 is characterized in that, the type of said instant messaging service comprises: message registration and/or note;
Said circular linked list is set up module, is used for setting up first circular linked list and second circular linked list respectively at the mobile phone card, and wherein, first circular linked list is used to store message registration, and second circular linked list is used to store note;
Said memory module further comprises:
Type judging module, the type of the instant messaging service that is used to judge that said acquisition module obtains, when said instant messaging service was message registration, the said write module was with data information memory to said first circular linked list of message registration; When said instant messaging service was note, the said write module was with data information memory to said second circular linked list of note.
CN2012101958358A 2012-06-14 2012-06-14 Communication data storing system and method for mobile terminal Pending CN102694924A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012101958358A CN102694924A (en) 2012-06-14 2012-06-14 Communication data storing system and method for mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012101958358A CN102694924A (en) 2012-06-14 2012-06-14 Communication data storing system and method for mobile terminal

Publications (1)

Publication Number Publication Date
CN102694924A true CN102694924A (en) 2012-09-26

Family

ID=46860199

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012101958358A Pending CN102694924A (en) 2012-06-14 2012-06-14 Communication data storing system and method for mobile terminal

Country Status (1)

Country Link
CN (1) CN102694924A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103226602A (en) * 2013-04-26 2013-07-31 福建联迪商用设备有限公司 Method for realizing circulatory storage of records in single file and positioning, reading and shifting of records
CN103297997A (en) * 2013-05-28 2013-09-11 北京小米科技有限责任公司 Method and system for generating call records
CN104484089A (en) * 2014-12-11 2015-04-01 上海斐讯数据通信技术有限公司 Displaying method of application program icon

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217731A (en) * 2008-01-17 2008-07-09 中兴通讯股份有限公司 An information searching method in mobile terminals
CN101605308A (en) * 2009-03-05 2009-12-16 上海闻泰电子科技有限公司 A kind of management method of short message
CN101932133A (en) * 2010-08-17 2010-12-29 中兴通讯股份有限公司 Short message storage method and wireless communication terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217731A (en) * 2008-01-17 2008-07-09 中兴通讯股份有限公司 An information searching method in mobile terminals
CN101605308A (en) * 2009-03-05 2009-12-16 上海闻泰电子科技有限公司 A kind of management method of short message
CN101932133A (en) * 2010-08-17 2010-12-29 中兴通讯股份有限公司 Short message storage method and wireless communication terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103226602A (en) * 2013-04-26 2013-07-31 福建联迪商用设备有限公司 Method for realizing circulatory storage of records in single file and positioning, reading and shifting of records
CN103226602B (en) * 2013-04-26 2016-08-10 福建联迪商用设备有限公司 A kind of location reading offset method realizing circulation storage record in single file
CN103297997A (en) * 2013-05-28 2013-09-11 北京小米科技有限责任公司 Method and system for generating call records
CN103297997B (en) * 2013-05-28 2017-03-01 小米科技有限责任公司 A kind of recording method of message registration and system
CN104484089A (en) * 2014-12-11 2015-04-01 上海斐讯数据通信技术有限公司 Displaying method of application program icon

Similar Documents

Publication Publication Date Title
CN102833699B (en) Method, system and the mobile communication terminal of simulation bilateral function
CN103037062A (en) Method and terminal and server used for intercepting crank calls
US8863240B2 (en) Method and system for smart card migration
CN103747493A (en) Data traffic processing method, terminal, base station and mobile management entity
CN101958955A (en) Method and system for displaying phone number information and mobile terminal
CN103619078A (en) Communication processing method and terminal
CN102917344A (en) SIM (subscriber identity module) card self account opening method and system
CN104602242A (en) Method and device for preventing voice phishing
CN103581889A (en) Method and system for automatically updating network configuration parameters
US9510179B2 (en) Portable telephone, communication connection control method, and program
CN108271130A (en) A kind of method of communication system and identification pseudo-base station short message
CN101883353B (en) International roaming activating method and device as well as communication system
CN102694924A (en) Communication data storing system and method for mobile terminal
CN105554859A (en) Message notification processing method of terminal, and terminal
CN103686604A (en) Call management method and terminal
CN101534486B (en) Method for supplying and correcting short message centre number, system and mobile terminal of the same
CN102469421A (en) Method and terminal for sending IMSI
CN101378566A (en) Communication terminal and method for notifying number alteration thereof
CN102625262A (en) Incoming-call reminding method, device and system
CN103476077A (en) Network attachment method and device
CN101365198B (en) Multiple card information sharing method and mobile terminal
CN105827739A (en) Contact person information synchronization method, device, server and system
CN102378101B (en) Method and device for implementing communication of one-card multi-number terminal
CN101998306A (en) Mobile communication device and communication method thereof
CN101340642A (en) Method, system and apparatus for transmitting electronic business card

Legal Events

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

Application publication date: 20120926