CN102223445A - Method and system for positioning crash problem of mobile terminal - Google Patents

Method and system for positioning crash problem of mobile terminal Download PDF

Info

Publication number
CN102223445A
CN102223445A CN2011101679270A CN201110167927A CN102223445A CN 102223445 A CN102223445 A CN 102223445A CN 2011101679270 A CN2011101679270 A CN 2011101679270A CN 201110167927 A CN201110167927 A CN 201110167927A CN 102223445 A CN102223445 A CN 102223445A
Authority
CN
China
Prior art keywords
signaling data
portable terminal
memory space
positioner
storage
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
CN2011101679270A
Other languages
Chinese (zh)
Inventor
杨菊培
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN2011101679270A priority Critical patent/CN102223445A/en
Publication of CN102223445A publication Critical patent/CN102223445A/en
Priority to PCT/CN2012/074619 priority patent/WO2012174942A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/0736Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in functional embedded systems, i.e. in a data processing system designed as a combination of hardware and software dedicated to performing a certain function
    • G06F11/0742Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in functional embedded systems, i.e. in a data processing system designed as a combination of hardware and software dedicated to performing a certain function in a data processing system embedded in a mobile device, e.g. mobile phones, handheld devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/079Root cause analysis, i.e. error or fault diagnosis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition

Abstract

The invention discloses a method for positioning a crash problem of a mobile terminal, comprising the following steps of: storing signaling data to a preset storage space; when the mobile terminal crashes or is shut down, reading the signaling data in the storage space by a preset positioning device; and analyzing the signaling data to position the crash problem by the positioning device. The invention further provides a corresponding system. The method and the system for positioning the crash problem of the mobile terminal provided by the invention can store the signaling data in the preset storage space before the mobile terminal crashes, and can read the signaling data in the storage space to reproduce the crash problem when the mobile terminal crashes, thereby positioning the crash problem.

Description

The method and system of localisation of mobile terminals deadlock problem
Technical field
The present invention relates to the communications field, specially refer to a kind of method and system of localisation of mobile terminals deadlock problem.
Background technology
Portable terminals such as current phone are being brought into play more and more important effect in daily life, day by day become instrument indispensable in our daily life.The problem that exists in location and the solution portable terminal is a phenomenon that coexists with portable terminal.The process of dealing with problems is to know the existence of problem in advance normally, reappears this problem then, looks for the reason and the solution of problem again in the process of reproduction.Such positioning problems generally all is present in the research and development test phase.The problem that occurs after product moves towards market is researched and developed test phase often and is not found, and is difficult to the problem of reproduction, such as unusual deadlock.Move towards market product if the deadlock problem of very difficult reproduction should how to locate be temporary transient at present also open question.
Summary of the invention
Main purpose of the present invention has solved the problem of the very difficult reproduction of product deadlock problem for a kind of method and system of localisation of mobile terminals deadlock problem are provided.
The present invention proposes a kind of method of localisation of mobile terminals deadlock problem, comprising:
The storage signaling data is to default memory space;
After portable terminal crashed or shuts down, default positioner read the signaling data in the described memory space;
Described positioner is analyzed described signaling data with location deadlock problem.
Preferably, before the described storage signaling data of execution arrives default memory space, also comprise:
When described storage space volume is not enough, the signaling data of storage before the deletion.
Preferably, described storage signaling data comprises to default memory space:
Extract the signaling data of preset kind in the portable terminal;
Described signaling data is write described memory space.
Preferably, the signaling data of described preset kind comprises:
Pointer signaling data pointed in the portable terminal.
Preferably, described positioner is analyzed described signaling data and is comprised with location deadlock problem:
Described signaling data is resolved.
The present invention also proposes a kind of system of localisation of mobile terminals deadlock problem, comprises portable terminal and positioner, wherein,
Described portable terminal is used to store signaling data to default memory space;
Described positioner, be used for that portable terminal crashes or shutdown after, read the signaling data in the described memory space; And analyze described signaling data with location deadlock problem.
Preferably, described portable terminal also is used for:
When described storage space volume is not enough, the signaling data of storage before the deletion.
Preferably, described portable terminal comprises:
Extraction module is used to extract the signaling data of preset kind in the portable terminal;
Writing module is used for described signaling data is write described memory space.
Preferably, the signaling data of described preset kind comprises:
Pointer signaling data pointed in the portable terminal.
Preferably, described positioner specifically is used for:
Described signaling data is resolved.
The method and system of a kind of localisation of mobile terminals deadlock problem that the present invention proposes, the memory space of before portable terminal row machine, signaling data preservation one being preset, when crashing appears in portable terminal, can read the signaling data of this memory space, reproduction deadlock problem has solved the problem that deadlock problem in location can't be located.
Description of drawings
Fig. 1 is the schematic flow sheet of method one embodiment of localisation of mobile terminals deadlock problem of the present invention;
Fig. 2 resolves the hum pattern that obtains for positioner among method one embodiment of localisation of mobile terminals deadlock problem of the present invention;
Fig. 3 is the schematic flow sheet of storing step among method one embodiment of localisation of mobile terminals deadlock problem of the present invention;
Fig. 4 is the schematic flow sheet of the another embodiment of method of localisation of mobile terminals deadlock problem of the present invention;
Fig. 5 is the structural representation of one embodiment of system of localisation of mobile terminals deadlock problem of the present invention;
Fig. 6 is the structural representation of portable terminal among one embodiment of system of localisation of mobile terminals deadlock problem of the present invention;
Fig. 7 is another structural representation of portable terminal among one embodiment of system of localisation of mobile terminals deadlock problem of the present invention.
The realization of the object of the invention, functional characteristics and advantage will be in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
With reference to Fig. 1, method one embodiment of localisation of mobile terminals deadlock problem of the present invention is proposed, comprising:
Step S10, storage signaling data are to default memory space;
In the present embodiment, can opening up one section in portable terminals such as mobile phone, can preserve can be for the memory space such as the flash space of the signaling data that analyze to use, also can an external memory space, be used to preserve signaling data, this memory space must be the memory space that device reads that still can be positioned after portable terminal occur to crash.When portable terminal is in open state, can connect between portable terminal and other terminal or the equipment, and the mutual of signaling data arranged, when portable terminal receives signaling data, this signaling data is deposited in the memory space that has been provided with.
It is as follows to be with the Flash of 2M that example is write the embodiment of memory space:
Limited 2M Flash space is divided into two, and every block size is 1M.Set the global variable MsgTraceFlashAreaFlag that writes toward which piece, MsgTraceFlashAreaFlag equals 0 under the initial condition, and MsgTraceFlashAreaFlag equals 1 when writing piece one, and MsgTraceFlashAreaFlag equals 2 when writing piece 2.Set the global variable Remain of expression residue flash space size,, read the value of MsgTraceFlashAreaFlag, judge toward that block space according to the value of being read and write if the signaling data that will store greater than 1M, will be done discard processing.If the MsgTraceFlashAreaFlag value is 0, expression is the initial condition of mobile terminal-opening, and signaling data is write on piece one.If the MsgTraceFlashAreaFlag value is 1, expression is that signaling data is write on piece one.If the MsgTraceFlashAreaFlag value is 2, expression is that signaling data is write on piece two.Read the value of Remain, length according to value of being read and signaling data contrasts to judge whether remaining Flash space enough leaves current signaling data, if signaling data length is less than the value of Remain, directly signaling data is write current block, if signaling data length equals the value of Remain, directly signaling data is write current block, then MsgTraceFlashAreaFlag is changed to the sign of another memory block, address pointer is changed to the initial address of another memory block.If signaling data length greater than the value of Remain, writes another memory block with signaling data, then MsgTraceFlashAreaFlag is changed to the sign of another memory block.So far, signaling data is just successfully deposited the Flash space.
After step S11, portable terminal crashed or shut down, default positioner read the signaling data in the described memory space;
Behind portable terminal appearance deadlock or normal shutdown, positioners such as PC are by taking out signaling data in depositing the memory space of signaling data.
Step S12, described positioner are analyzed described signaling data with location deadlock problem.
Positioner is analyzed with locating cellphone deadlock problem the signaling data that takes out.Fig. 2 resolves hum pattern one example that obtains for PC to signaling data, so just can recover the signaling scene before portable terminal crashes.
The method of the localisation of mobile terminals deadlock problem of present embodiment is not only applicable to portable terminal, in fact, so long as have the method that the deadlock positioning problems of the equipment of read-write memory space function all is applicable to present embodiment.
With reference to Fig. 3, in one embodiment, step S10 can further comprise:
The signaling data of preset kind in step S101, the extraction portable terminal;
Step S102, described signaling data is write described memory space.
The signaling data of above-mentioned preset kind comprises pointer signaling data pointed in the portable terminal.
Portable terminal is when the transmitting-receiving signaling data, at first the signaling data of which type is stored in decision, because the finite capacity of memory space does not advise depositing all signaling datas usually, but default a certain or multiple the on-the-spot useful signaling data of reproduction signaling are stored.Particularly, need the deposit data that this pointer content is pointed also to be stored in the memory space together for the pointer content in the signaling data.
In the above-described embodiments, step S12 further comprises: described signaling data is resolved.
Because the signaling data of preserving in the memory space may comprise the deposit data that the pointer content is pointed, therefore when reading the signaling data of memory space, at the signaling data that the data of memory space are converted into portable terminal from binary system simultaneously, also need former pointer content data pointed are also reduced.
With reference to Fig. 4, the another embodiment of method of localisation of mobile terminals deadlock problem of the present invention is proposed, in the above-described embodiments, before step S10, also comprise:
Step S9, when described storage space volume is not enough, the signaling data of storage before the deletion.
Because the finite capacity of memory space is tackled described memory space and reused, promptly signaling data starts anew after being filled with memory space again, covers original signaling data, deposits new signaling data.But this method conserve storage.
With reference to Fig. 5, one embodiment of system of localisation of mobile terminals 10 deadlock problems of the present invention is proposed, comprise portable terminal 10 and positioner 20, wherein,
Described portable terminal 10 is used to store signaling data to default memory space;
Described positioner 20, be used for that portable terminal 10 crashes or shutdown after, read the signaling data in the described memory space; And analyze described signaling data with location deadlock problem.
In the present embodiment, can opening up one section in portable terminals such as mobile phone 10, can preserve can be for the memory space such as the flash space of the signaling data that analyze to use, also can an external memory space, be used to preserve signaling data, this memory space must be the memory space that device 20 PC of analysis software (as be equipped with) reads that still can be positioned after crashing appears in portable terminal 10.When portable terminal 10 is in open state, can connect between portable terminal 10 and other terminal or the equipment, and the mutual of signaling data arranged, when portable terminal 10 received signaling data, memory module 10 was deposited in this signaling data the memory space that has been provided with.
It is as follows to be with the Flash of 2M that example is write the embodiment of memory space:
Limited 2M Flash space is divided into two, and every block size is 1M.Set the global variable MsgTraceFlashAreaFlag that writes toward which piece, MsgTraceFlashAreaFlag equals 0 under the initial condition, and MsgTraceFlashAreaFlag equals 1 when writing piece one, and MsgTraceFlashAreaFlag equals 2 when writing piece 2.Set the global variable Remain of expression residue flash space size,, read the value of MsgTraceFlashAreaFlag, judge toward that block space according to the value of being read and write if the signaling data that will store greater than 1M, will be done discard processing.If the MsgTraceFlashAreaFlag value is 0, expression is the initial condition of portable terminal 10 starts, and signaling data is write on piece one.If the MsgTraceFlashAreaFlag value is 1, expression is that signaling data is write on piece one.If the MsgTraceFlashAreaFlag value is 2, expression is that signaling data is write on piece two.Read the value of Remain, length according to value of being read and signaling data contrasts to judge whether remaining Flash space enough leaves current signaling data, if signaling data length is less than the value of Remain, directly signaling data is write current block, if signaling data length equals the value of Remain, directly signaling data is write current block, then MsgTraceFlashAreaFlag is changed to the sign of another memory block, address pointer is changed to the initial address of another memory block.If signaling data length greater than the value of Remain, writes another memory block with signaling data, then MsgTraceFlashAreaFlag is changed to the sign of another memory block.So far, signaling data is just successfully deposited the Flash space.
As portable terminal 10 occur crashing or normal shutdown after, positioners such as PC 20 are by taking out signaling data in depositing the memory space of signaling data, and the signaling data that takes out is analyzed with locating cellphone deadlock problem.Fig. 2 resolves the hum pattern that obtains for PC to signaling data, so just can recover the signaling scene before portable terminal 10 crashes.
The portable terminal 10 that it should be noted that present embodiment can be other any equipment with read-write memory space function.
With reference to Fig. 6, in one embodiment, portable terminal 10 comprises:
Extraction module 11 is used to extract the signaling data of preset kinds in the portable terminal 10;
Writing module 12 is used for described signaling data is write described memory space.
The signaling data of above-mentioned preset kind comprises pointer signaling data pointed in the portable terminal 10.
Portable terminal 10 is when the transmitting-receiving signaling data, at first the signaling data of which type is stored in decision, because the finite capacity of memory space, usually do not advise depositing all signaling datas, but write memory space for writing module 12 to the on-the-spot useful signaling data of reproduction signaling by extraction module 11 extractions are a certain or multiple.Particularly, need the deposit data that this pointer content is pointed also to be stored in the memory space together for the pointer content in the signaling data.
In the above-described embodiments, positioner 20 specifically is used for described signaling data is resolved.
Because the signaling data of preserving in the memory space may comprise the deposit data that the pointer content is pointed, therefore positioner 20 is when reading the signaling data of memory space, at the signaling data that the data of memory space are converted into portable terminal 10 from binary system simultaneously, also need former pointer content data pointed are also reduced.
With reference to Fig. 7, the another embodiment of device of localisation of mobile terminals 10 deadlock problems of the present invention is proposed, in the above-described embodiments, portable terminal 10 also comprises:
Removing module 13 is used for when described storage space volume is not enough, the signaling data of storage before the deletion.
Because the finite capacity of memory space is tackled described memory space and reused, promptly signaling data starts anew after being filled with memory space again, and removing module 13 covers original signaling data, so that writing module 12 is deposited new signaling data.But this method conserve storage.
The above only is the preferred embodiments of the present invention; be not so limit claim of the present invention; every equivalent structure or equivalent flow process conversion that utilizes specification of the present invention and accompanying drawing content to be done; or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.

Claims (10)

1. the method for a localisation of mobile terminals deadlock problem is characterized in that, comprising:
The storage signaling data is to default memory space;
After portable terminal crashed or shuts down, default positioner read the signaling data in the described memory space;
Described positioner is analyzed described signaling data with location deadlock problem.
2. the method for claim 1 is characterized in that, before the described storage signaling data of execution arrives default memory space, also comprises:
When described storage space volume is not enough, the signaling data of storage before the deletion.
3. method as claimed in claim 1 or 2 is characterized in that, described storage signaling data comprises to default memory space:
Extract the signaling data of preset kind in the portable terminal;
Described signaling data is write described memory space.
4. method as claimed in claim 3 is characterized in that, the signaling data of described preset kind comprises:
Pointer signaling data pointed in the portable terminal.
5. method as claimed in claim 1 or 2 is characterized in that, described positioner is analyzed described signaling data and comprised with location deadlock problem:
Described signaling data is resolved.
6. the system of a localisation of mobile terminals deadlock problem is characterized in that, comprises portable terminal and positioner, wherein,
Described portable terminal is used to store signaling data to default memory space;
Described positioner, be used for that portable terminal crashes or shutdown after, read the signaling data in the described memory space; And analyze described signaling data with location deadlock problem.
7. system as claimed in claim 6 is characterized in that, described portable terminal comprises:
Removing module is used for when described storage space volume is not enough, the signaling data of storage before the deletion.
8. as claim 6 or 7 described systems, it is characterized in that described portable terminal also comprises:
Extraction module is used to extract the signaling data of preset kind in the portable terminal;
Writing module is used for described signaling data is write described memory space.
9. system as claimed in claim 8 is characterized in that, the signaling data of described preset kind comprises:
Pointer signaling data pointed in the portable terminal.
10. as claim 6 or 7 described systems, it is characterized in that described positioner specifically is used for:
Described signaling data is resolved.
CN2011101679270A 2011-06-21 2011-06-21 Method and system for positioning crash problem of mobile terminal Pending CN102223445A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2011101679270A CN102223445A (en) 2011-06-21 2011-06-21 Method and system for positioning crash problem of mobile terminal
PCT/CN2012/074619 WO2012174942A1 (en) 2011-06-21 2012-04-24 Method and system for locating crash problem of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101679270A CN102223445A (en) 2011-06-21 2011-06-21 Method and system for positioning crash problem of mobile terminal

Publications (1)

Publication Number Publication Date
CN102223445A true CN102223445A (en) 2011-10-19

Family

ID=44779866

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101679270A Pending CN102223445A (en) 2011-06-21 2011-06-21 Method and system for positioning crash problem of mobile terminal

Country Status (2)

Country Link
CN (1) CN102223445A (en)
WO (1) WO2012174942A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102413247A (en) * 2011-11-30 2012-04-11 中兴通讯股份有限公司 Method and device for recovering crash site of terminal
WO2012174942A1 (en) * 2011-06-21 2012-12-27 中兴通讯股份有限公司 Method and system for locating crash problem of mobile terminal

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110244338A (en) * 2018-03-08 2019-09-17 上海博泰悦臻网络技术服务有限公司 A kind of transmission method and system, storage medium and car-mounted terminal of location data

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094050A (en) * 2007-07-24 2007-12-26 中兴通讯股份有限公司 Method for capturing information of task of leading resetting system or device failure
CN102043704A (en) * 2009-10-14 2011-05-04 中兴通讯股份有限公司 Method and system for generating log information

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101321305B (en) * 2008-07-16 2011-04-20 中兴通讯股份有限公司 Method for positioning mobile phone power on/off failure by using real-time clock
CN101645033A (en) * 2009-05-15 2010-02-10 上海闻泰电子科技有限公司 Debugging method in abnormality of mobile phone software
CN102056202A (en) * 2009-10-29 2011-05-11 中兴通讯股份有限公司 Mobile terminal error processing method and system
CN102223445A (en) * 2011-06-21 2011-10-19 中兴通讯股份有限公司 Method and system for positioning crash problem of mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094050A (en) * 2007-07-24 2007-12-26 中兴通讯股份有限公司 Method for capturing information of task of leading resetting system or device failure
CN102043704A (en) * 2009-10-14 2011-05-04 中兴通讯股份有限公司 Method and system for generating log information

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012174942A1 (en) * 2011-06-21 2012-12-27 中兴通讯股份有限公司 Method and system for locating crash problem of mobile terminal
CN102413247A (en) * 2011-11-30 2012-04-11 中兴通讯股份有限公司 Method and device for recovering crash site of terminal
CN102413247B (en) * 2011-11-30 2016-09-14 南京中兴软件有限责任公司 The restoration methods of crash site of terminal and device

Also Published As

Publication number Publication date
WO2012174942A1 (en) 2012-12-27

Similar Documents

Publication Publication Date Title
CN104951515B (en) A method of it extracts and analyzes Android phone whereabouts trace information
CN103559276A (en) Method and device for clearing useless files
CN102609741B (en) A kind of method of exchanges data between mobile device and inside and outside portion storage card thereof
CN101079734B (en) A hot plug configuration recovery method of rack device
CN105787012A (en) Method for improving small file processing capability of storage system and storage system
CN103136215A (en) Data read-write method and device of storage system
CN103049224A (en) Method, device and system for importing data into physical tape
CN105404536A (en) Terminal software upgrade method and terminal software upgrade apparatus
CN102223445A (en) Method and system for positioning crash problem of mobile terminal
CN104219639A (en) Method and device for displaying text message record
CN102609484A (en) General method for managing log of system
CN103176901A (en) Method and system for embedded software test monitoring
CN103488772A (en) Method, system and equipment for caching files through external storage
CN102929676B (en) Based on the quick adaptation method of Android operating system terminal device
CN103955432A (en) Data storage method and device
CN105260130A (en) Read-write method for Seagate hard disk system file
CN102760212B (en) Virtual desktop malicious code detecting method based on storage mirroring cloning mechanism
CN102737171A (en) Method and device for storing virus file and storage equipment
CN105488047A (en) Metadata read-write method and device
WO2011120335A8 (en) Method, device and computer for data operation
CN102866946A (en) Method and device for testing reading/writing function
CN103064926A (en) Data processing method and device
CN103379461A (en) Data service traffic statistical method and terminal
CN104809037A (en) Rapid starting method and device for eMMC based on special page
CN105094935A (en) Method for writing firmware in electronic equipment and electronic equipment

Legal Events

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

Application publication date: 20111019