CN101136802A - Method for recording and diagnosing data - Google Patents

Method for recording and diagnosing data Download PDF

Info

Publication number
CN101136802A
CN101136802A CN 200710091053 CN200710091053A CN101136802A CN 101136802 A CN101136802 A CN 101136802A CN 200710091053 CN200710091053 CN 200710091053 CN 200710091053 A CN200710091053 A CN 200710091053A CN 101136802 A CN101136802 A CN 101136802A
Authority
CN
China
Prior art keywords
data
data bag
packet
bag
diagnostic
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.)
Granted
Application number
CN 200710091053
Other languages
Chinese (zh)
Other versions
CN100561953C (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.)
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 CN 200710091053 priority Critical patent/CN100561953C/en
Publication of CN101136802A publication Critical patent/CN101136802A/en
Application granted granted Critical
Publication of CN100561953C publication Critical patent/CN100561953C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The method includes steps: according to uniform format, the method records the collected diagnostic data packet to data file, and the said uniform format includes range indication field in use for indicating range of data packet; in the procedure of recording diagnostic data, triggering according to preset trigger event generates data packet in use for checking-up and positioning, and records it to current data file. In condition when error-reading data occurs, the disclosed method can still read subsequent data.

Description

A kind of method of recording and diagnosing data
Technical field
The present invention relates to the communication equipment field tests, relate in particular to a kind of method of recording communication terminal diagnosis data.
Background technology
In the exploitation and actual application of communications network system, need test network system.Wherein, one of most important method of testing is, allows communication terminal do dissimilar callings, writes down information such as Signalling exchange, signal power, network and communications SOT state of termination, incident simultaneously.Just can assess the quality of the whole network system that comprises communication terminal according to the information of above-mentioned record, analyze and diagnostic system in the fault that exists.Here, all and communication terminal are mutual, and the data in order to test and diagnostic network system are collectively referred to as diagnostic data (Diagnostic Data).
Communication terminal provides specific interface and corresponding interface control protocol, so that external equipment obtains diagnostic data, the interface control protocol has been stipulated the data format and the exchanged form of diagnostic data.As shown in Figure 1, the diagnostic data crosspoint between communication terminal and the external equipment is called diagnostic data bag (DiagnosticPacket).The form schematic diagram of diagnostic data bag as shown in Figure 2, among Fig. 2, diagnostic data bag 204 shows a kind of general data format of diagnostic data bag, comprises type field, data field, and possible length field.Wherein, type field is used to preserve the type of this packet, and length field is used to indicate this length of data package scope, and data field is generally used for preserving various test datas.The diagnostic data bag is with its data message that is comprised of type classification.Whether the diagnostic data bag fixedly is divided into fixed length and elongated two big classes according to length, and wherein elongated diagnostic data bag is generally according to its length field, directly or indirectly the scope of specified data bag.Diagnostic data bag 201 is the diagnostic data bag examples that do not have length field, and its length generally can be determined by type; Diagnostic data bag the 202, the 203rd has the diagnostic data bag example of length field, and its length generally can be determined by length field.As can be seen from Figure 2, the data field of diagnostic data bag does not have convention, can be the content the same with the diagnostic data bag, shown in diagnostic data bag 203.And the type of type field, length field and data field itself, length, the content that comprised, and the unified standard not of the relative position between each territory, stipulate by the physical interface control protocol.
The diagnostic data bag of gathering in the test process correctly records in the data file most important as the Data Source of reprocessing and analysis.Along with development of Communication Technique, the type of diagnostic data is more and more abundanter, and the diagnostic data bag that communication terminal produced in the unit interval is also more and more, increases above 100 per seconds and in the raising with the communication terminal performance at present.In type and quantity increase, the size of diagnostic data bag also constantly increases, and the order of magnitude has reached more than the kilobytes at present.In addition, overloading is network popularize gradually frequently, makes that testing a plurality of communication terminals simultaneously becomes more and more frequent.When using many communication terminals to carry out identical test, communication terminal of every increase, the quantity of diagnostic data bag will double.Generally speaking, the diagnostic data that test produces is more and more, and a large amount of diagnostic datas requires have high-efficiency method to come record.A kind of recording method efficiently wherein is exactly directly the diagnostic data bag to be write data file successively, and when read data files, according to the order that writes down read data packet successively, from data file during reading of data, the fixed-length data bag is determined its scope according to type field, and elongated packet then also needs to determine its scope in conjunction with length field.In case the current data packet scope correctly defines, the original position of packet is also just determined thereupon thereafter.
In the test process, because the writing speed of diagnostic data is very fast, under the test environment condition of severe, for example, the car and boat severe jolt at recording equipment place tends to cause the write operation of data file unusual, thereby causes the damage of data in the file.Even the process of record is normal fully, the destruction of the damage of memory device, virus also may be caused the damage of data in the file.Usually, damage only is present in other packet.But, when reading the diagnostic data file that writes down according to the method described above, read a back packet and depend on correctly defining of previous packet scope, therefore the damage of individual data bag will cause reading of this packet to make a mistake, and then cause thereafter that all packets all can't correctly read.As shown in Figure 3, diagnostic data packet sequence 301 is the normal sequence of data packet of file, the scope of each packet can correctly define, and the sequence of data packet that the diagnostic data packet sequence 302 of below damages for partial data, wherein i packet factor can't correctly be determined scope according to damage, so reading of this packet makes a mistake, thereby cause all thereafter packets all can not correctly read.
On the other hand, because the diagnose interface control protocol constantly changes, the length of fixed length diagnostic data bag also might not be fixed in the agreement of different editions, and the diagnostic data bag of fixed length does not have length field and the end indication territory that is used to separate two packets, therefore, if when reading the data file that writes down according to the method described above, also can cause the misjudgment of packet scope.For example, the diagnostic data bag of the fixed length of a certain type, its data field has increased son field after the protocol version upgrading, when reading this class packet based on the protocol version before the upgrading, packet will be blocked in advance, causes packet scope definition mistake, thereby makes a mistake when causing reading.
Because the data of document location can resolve to type or length arbitrarily, therefore read whether occur the misjudgment of packet scope in the process, and mistake occurs where and be difficult to know, mistake take place and the situation of failing again to identify under, the network analysis of making according to the diagnostic data of mistake is insecure, setting and the adjustment of carrying out network system based on such analysis are inappropriate, when serious even can cause network system failures.
Damage the problem that causes whole diagnostic data file to lose efficacy for partial data, prior art mainly contains following two kinds of solutions, and one of them is the thought that adopts the file duplex: diagnostic data is saved as in duplicate.Even a copy of it data occur also can utilizing other portion unusually like this.Generally, two piece of data all probability of errors are more much smaller than a piece of data, but as previously mentioned, incidents such as the vibrations in the test process can be all influential to the record of two piece of data, makes document lending have correlation.Though can reduce the correlation of makeing mistakes by cushioning the writing time that diagnostic data staggers two piece of data, the file read-write operation of using this scheme to double takies the more processing time.Owing in test process, except record data, also will carry out the control aspect professional and analysis, the demonstration of data, therefore, efficient and performance that extra file read-write operation can the appreciable impact test; On the other hand, the file storage that doubles can cause very big waste under the normal situation of data.In addition, as mentioned above, be difficult to judge, when two piece of data are inconsistent, also need the abundant man analysis of business experience could determine correct data because whether reading of data makes a mistake.
Two of prior art solutions is to adopt isolating erroneous thought.In test process, every a certain size diagnostic data of regular hour or every record, come recording and diagnosing data with regard to rebuliding a new data file, so just the influence of corrupted data is limited in the file, and other data files are unaffected.A distinct disadvantage of this scheme is, the diagnostic data of complete test process once is divided into many parts, be unfavorable for general evaluation system and analysis, even more serious is, data are isolated, particularly isolating of communication terminal signaling process data causes misjudgment easily, makes tester's problem of fixer network system correctly.Simultaneously, what files the diagnostic data in test process saves as also is a problem, if single file is bigger, the influence that data caused of part damage is still bigger so, if single file is less, the number of file is just more so, is inconvenient to manage.
By above analysis as can be known, the solution of existing technology needs too much operation bidirectional and memory space, influences testing efficiency and performance, perhaps because test data is cut apart, has destroyed the integrality of data.In addition, above-mentioned solution has also increased the burden that the tester handles data.
Summary of the invention
Technical problem to be solved by this invention provides a kind of method of recording communication terminal diagnosis data, makes still can read follow-up data under the situation that data read makes a mistake.
For solving the problems of the technologies described above, it is as follows to the invention provides scheme:
A kind of method of recording and diagnosing data may further comprise the steps:
The diagnostic data bag that collects is recorded in the data file according to consolidation form, and described consolidation form comprises the scope indication territory that is used for designation data bag scope;
In the process of described diagnostic data record,, generate the packet that is used for checking and locatees and record current data file according to predefined trigger event triggering.
In the method for the present invention, the described packet that is used to check and locatees adopts and recording and diagnosing data bag unified format record; Use is different from the types value of described diagnostic data bag.
In the method for the present invention, further preserve the statistical information and/or the recording status information of diagnostic data bag;
In the process of described diagnostic data record, upgrade described statistical information and/or state information;
Described predefined trigger event triggering is to trigger according to described statistical information and/or state information.
In the method for the present invention, the statistical information of described diagnostic data bag comprises total number of the current diagnostic data bag that has write down, the data volume of recording and diagnosing data bag and record duration;
The described triggering according to statistical information comprises: in the number or the data volume of the current diagnostic data bag that has write down, or record triggers when reaching predetermined thresholding the duration.
In the method for the present invention, described recording status information comprises record initialization, record, charged timeout, processor seizure condition, internal memory user mode, storage space state and equipment stable state;
The described triggering according to state information comprises: in the equipment instability, processor completely accounts for, low memory or storage space trigger when not enough.
In the method for the present invention, described scope indication territory comprises the length field that is used for the designation data packet length, and/or is used for separating by the end ident value of making an appointment the end indication territory of two packets.
In the method for the present invention, further be provided with the sign of agreement in the data field of described inspection locator data bag.
In the method for the present invention, further be provided with error detection and/or error correction information in the data field of described inspection locator data bag.
In the method for the present invention, according to the scope of the indicated packet in the scope indication territory of packet, read data packet in the data file of record;
In the process of reading of data, if reading, the judgement current data makes a mistake, then in the data file of record, search for nearest inspection locator data bag backward, determine the original position of next diagnostic data bag according to the end position of this inspection locator data bag from current misdata position.
In the method for the present invention, described judgement current data reads to make a mistake and is, judge to read during when the type of data packet value that reads and make a mistake for invalid value, perhaps when the value in type of data packet value that reads and scope indication territory does not match, judge to read and make a mistake, perhaps when scope indicates the packet of the indicated length in territory and the type should have length not match, judge to read and make a mistake, perhaps when the length of data package scope does not meet its scope indication territory, judge to read and make a mistake.
In the method for the present invention, in the process of described reading of data, abandon the inspection locator data bag that reads.
From the above as can be seen, the method of recording communication terminal diagnosis data provided by the invention, adopt uniform data format recording and diagnosing data bag and check the locator data bag, the scope read data packet by scope indication territory is determined has improved the efficient that packet reads.Simultaneously, the present invention checks the locator data bag by adding in data file, can reorientate the original position of packet by checking the locator data bag when data read makes a mistake, and has guaranteed correctly reading of follow-up data.
Description of drawings
Fig. 1 is the schematic diagram of interactive diagnosis packet between external equipment and communication terminal;
Fig. 2 is the form schematic diagram of the diagnostic data bag of prior art;
Fig. 3 is the diagnostic data packet sequence figure that prior art write down;
Fig. 4 is the schematic flow sheet of the method for the described recording and diagnosing data of the embodiment of the invention;
The diagnostic data bag that Fig. 5 will not have a length field for the present invention is converted to the schematic diagram of consolidation form;
Fig. 6 adopt for the present invention consolidation form the diagnostic data packet sequence read schematic diagram.
Embodiment
The method of recording communication terminal diagnosis data provided by the present invention has solved because the problem that the read error of partial data causes all data thereafter all can't correctly read.The present invention is described in detail by specific embodiment below in conjunction with accompanying drawing.
The present invention at first provides a kind of unified data packet format, and the diagnostic data bag that is used for collecting is kept at data file according to this consolidation form.Here, described consolidation form comprises scope indication territory that is used for designation data bag scope and the type field that is used for designation data bag type at least, and, can also comprise data field, and the extension field etc. that is used for writing time, packet sequence number and check code etc.What wherein, above-mentioned scope indication territory was concrete can be the end indication territory that is used for the length field of designation data packet length and is used for separating by the end ident value of agreement two packets.In the uniform data format provided by the present invention, scope indication territory can be adopted length field simultaneously and be finished the indication territory, perhaps adopts wherein any one.
Simultaneously, the present invention also provides a kind of inspection locator data bag of checking and locating of being used to, and this inspection locator data bag adopts above-mentioned consolidation form, comprises scope indication territory and type field at least.Check that the type field use of locator data bag is different from the types value of diagnostic data bag, therefore can distinguish and check locator data bag and diagnostic data bag from the types value of type field.
With reference to Fig. 4, be the schematic flow sheet of the method for the described recording communication terminal diagnosis data of the embodiment of the invention, this method may further comprise the steps:
Step 41 when external equipment and communication terminal have the diagnostic data bag mutual, according to above-mentioned consolidation form, records the diagnostic data bag that collects in the data file.
Here, described diagnostic data bag comprises that external equipment sends to the diagnostic data bag of communication terminal, and communication terminal sends to the diagnostic data bag of external equipment.Described external equipment can be that any and communication terminal carry out the mutual equipment of diagnostic data, can be concrete hardware device, also can be the upper level applications module, and its physical location can be in the outside of communication terminal, also can be in communication terminal.For example, the diagnostic data mining for vehicles program module can be installed in computer, the communication port of computer is connected with the diagnose interface of communication terminal by the terminal data line, reads the mode acquisition of diagnostic packet of the communication port of computer by the diagnostic data mining for vehicles program module.
In the step 41, after collecting the diagnostic data bag, judge at first whether the form of this diagnostic data bag is consistent with consolidation form, if it is inconsistent, record in the data file after then being converted into the packet of consolidation form,, then directly record in the data file if consistent.
Here, the consolidation form that can adopt has multiple, for example adopts the form comprise length field, type field and data field, and Fig. 5 shows the format conversion when adopting this form.Wherein, packet 501 is original diagnostic data bags that do not have length field, and packet 502 is the diagnostic data bags that are converted to behind the consolidation form.By before packet 501 type field, increasing length field, packet 501 is converted to the packet of consolidation form.Here, the relative position of length field and type field, and whether the indicated length of length field comprises that type field is consistent with concrete communication terminal interface control protocol with length field.
Here, can also adopt the consolidation form that comprises length field, type field, data field and end indication territory, wherein finish to be provided with in the indication territory end ident value of agreement, be used to separate two packets.
Step 42, preestablish trigger event, in the recording process of data file, according to described trigger event triggering, generation is checked the locator data bag and is recorded in the current data file, described inspection locator data bag adopts above-mentioned consolidation form, and its type field is used the types value of the type field that is different from the diagnostic data bag.
Here, described trigger event is set according to concrete applied environment, for example can set at the statistical information or the recording status information of the diagnostic data bag in the diagnostic data bag recording process.Wherein, above-mentioned statistical information specifically comprises the number of the current diagnostic data bag that has write down, the data volume of the diagnostic data bag that has write down, and the record duration etc.Above-mentioned state information, be incident or the state relevant with the data file read-write operation, comprise the record initialization, write down and incident such as charged timeout, also comprise states such as processor seizure condition, internal memory user mode, storage space state and equipment stable state.In the recording process of diagnostic data bag, upgrade above-mentioned statistical information and state information.For example, every record finishes a diagnostic data bag, the number of the diagnostic data bag that has write down adds one, and data volume then adds the size of the diagnostic data bag of this record, and the duration then is the record moment of this diagnostic data bag and the record difference constantly of first diagnostic data bag.
Here, the number or the data volume that can be set to the current diagnostic data bag that has write down at the trigger condition of above-mentioned statistical information reach predetermined thresholding, perhaps are set to write down the lasting time to reach predetermined thresholding.And at above-mentioned state information, the state that rule of thumb has influence on the file read-write operation usually is set to trigger condition.For example, in test, the strenuous vibration that equipment is subjected to causes that easily file read-write is unusual, therefore, equipment can be played pendulum and be set to trigger condition.States such as for example processor completely accounts for for other, low memory, storage space deficiency also can influence file read-write, also can be used as trigger condition usually.Certainly, also can adopt above-mentioned statistical information and state information as trigger event here simultaneously.
For how clearer explanation is provided with the trigger event triggering condition, below describe by instantiation.For example, suppose that the 10M bit with the rare corrupted data of interior data, then is damaged more than the 20M easily, the data volume that so can trigger condition be set to the current diagnostic data bag that has write down reaches the 10M bit.In this case, if after noting current diagnostic data bag, the data volume of the diagnostic data bag that has write down in the data file is a 10M bit or just above the 10M bit, and will cause triggering this moment, generates and checks the locator data bag.Again for example, can also be provided with according to the importance of diagnostic data bag and possible data volume size etc., when the important and data volume of data is smaller, can establishes the thresholding of the data volume of above-mentioned diagnostic data bag less, otherwise then can establish greatlyyer.
Here, the form that described inspection locator data bag adopts is the consolidation form that the diagnostic data bag in the data file is adopted, and comprise scope indication territory and type field at least, but its type field is used the types value that is different from the diagnostic data bag.For example, during specific implementation,, check that so the locator data bag can use the still untapped bigger types value of diagnostic data bag if the types value of diagnostic data bag is numbered from small to large.
Just be used for the location if check the locator data bag, its data field can be set to sky, and promptly data field length is 0, and it is to save memory space for empty benefit that data field is set.Certainly, may there be the possibility of location of mistake in this scheme.As previously mentioned, the data of document location can resolve to length or type arbitrarily, in current diagnostic data bag corrupted data, when search locator data bag positions, if there are two values that link to each other in the data field of a diagnostic data bag consistent just with the value of the length field of checking the locator data bag and type field, so will be wrong with it as checking the locator data bag, thereby cause locating mistake.But generally, the probability that this situation takes place is not high, and if above-mentioned location of mistake takes place, then data read errors also takes place in the diagnostic data bag of back owing to original position is incorrect, thereby causes reorientating once more.
Here, the data field of checking the locator data bag also can not be empty, the constant mark of an agreement for example is set in data field, thereby can identifies according to this, and bond type territory and the definite locator data bag of checking of length field, reduce the probability that location of mistake takes place.Data field can further include this pairing statistical information of inspection locator data bag and state information in the diagnostic data bag recording process except setting constant mark.Further, can also in data field, add error detection, and/or error correction information, thereby can carry out EDC error detection and correction to checking the locator data bag.This inspection locator data bag needs complicated processing, is suitable for the reliable application scenario of requirement data height.
The above is the specific embodiment of the method for recording communication terminal diagnosis data of the present invention, this method is recorded in the diagnostic data bag in the data file according to consolidation form, and the inspection locator data bag that adding is used to locate in data file, make under situation about damaging, can also read follow-up normal data when data division.At the method for above-mentioned recording communication terminal diagnosis data, the present invention may further comprise the steps when reading the communication terminal diagnostic data:
Step 61, according to the scope of the indicated packet in the scope indication territory of packet, reading of data from data file, and abandon the inspection locator data bag that reads;
Step 62 when judgment data reads when making a mistake, is then searched for nearest inspection locator data bag backward, and is reorientated the original position of new diagnostic data bag according to the inspection locator data bag that searches in data file.After the original position that navigates to new diagnostic data bag, promptly can continue to read follow-up data.
Figure 6 shows that the schematic diagram that reads of the diagnostic data packet sequence that adopts consolidation form, wherein sequence of data packet 601 is the sequence of data packet that is not damaged, and i diagnostic data bag of sequence of data packet 602 will cause reading of this packet to be made a mistake owing to damaging, and then cause follow-up packet can't determine original position.At this moment, the method that reads diagnostic data of the present invention will be in data file search locator data bag backward.Because i+k packet is to check the locator data bag, therefore when searching herein, the present invention can determine the original position of correct diagnostic data bag by this packet, thereby reads follow-up data.
Because the type of packet, and the packet of a certain type due length all define by the diagnose interface control protocol, therefore, judge in the step 62 that current data reads the multiple judgment rule that whether made a mistake, can whether be that effective value is judged for example, when types value is invalid, judge to read and make a mistake according to the type of data packet value that reads; Perhaps whether mate and judge, when scope indicates the packet of the indicated length in territory and the type should have length not match, judge to read and make a mistake according to the value in type of data packet value that reads and scope indication territory; Can also whether meet its scope according to the length of data package scope indicates the value in territory to judge, when the physical length of packet does not meet the value in its scope indication territory, judge to read and make a mistake, for example, when reading the packet that comprises length field and end indication territory, at first pass through the length range of length field specified data bag, and then judge according to above-mentioned length range whether the end indication territory of this packet is to finish ident value, if, show that then data read is correct, otherwise mistake.
Among the present invention,, all include the scope indication territory of designation data bag scope because diagnostic data bag that is write down in the data file and inspection locator data bag all adopt consolidation form.Therefore, in reading process, can indicate the scope of the direct specified data bag in territory, improve data read efficient by scope.
Among the above embodiment, check that the locator data bag all is to adopt described consolidation form, and use the types value that is different from the diagnostic data bag.Among the present invention, described inspection locator data bag also can not adopt above-mentioned consolidation form, for example, can adopt the inspection locator data bag of fixed length, by types value judge check the locator data bag after, because this data packet length is fixed, thereby just can determine this length of data package, and then determine its scope.And among the present invention, described inspection locator data bag is not limited to be different from the diagnostic data bag by types value, for example, can also this packet be different from the diagnostic data bag by set specific means such as sign in data field or length field.
In sum, in the method for the described recording and diagnosing data of the embodiment of the invention, the diagnostic data bag adopts uniform data format to be recorded in the data file, has improved the efficient that file reads.Simultaneously,, making and reading when making a mistake, reorientate the packet original position, guaranteed correctly reading of follow-up data by checking the locator data bag in data file by in data file, add checking the locator data bag.
The method of recording and diagnosing data of the present invention, be not restricted to listed utilization in specification and the execution mode, it can be applied to various suitable the present invention's field fully, for those skilled in the art, can easily realize additional advantage and make amendment, therefore under the situation of the spirit and scope of the universal that does not deviate from claim and equivalency range and limited, the examples shown that the present invention is not limited to specific details, representational equipment and illustrates here and describe.

Claims (11)

1. the method for a recording and diagnosing data is characterized in that may further comprise the steps:
The diagnostic data bag that collects is recorded in the data file according to consolidation form, and described consolidation form comprises the scope indication territory that is used for designation data bag scope;
In the process of described diagnostic data record,, generate the packet that is used for checking and locatees and record current data file according to predefined trigger event triggering.
2. the method for claim 1 is characterized in that, the described packet that is used to check and locatees adopts and recording and diagnosing data bag unified format record; Use is different from the types value of described diagnostic data bag.
3. the method for claim 1 is characterized in that, further preserves the statistical information and/or the recording status information of diagnostic data bag;
In the process of described diagnostic data record, upgrade described statistical information and/or state information;
Described predefined trigger event triggering is to trigger according to described statistical information and territory state information.
4. method as claimed in claim 3 is characterized in that, the statistical information of described diagnostic data bag comprises total number of the current diagnostic data bag that has write down, the data volume of recording and diagnosing data bag and record duration;
The described triggering according to statistical information comprises: in the number or the data volume of the current diagnostic data bag that has write down, or record triggers when reaching predetermined thresholding the duration.
5. method as claimed in claim 4 is characterized in that, described recording status information comprises record initialization, record, charged timeout, processor seizure condition, internal memory user mode, storage space state and equipment stable state;
The described triggering according to state information comprises: in the equipment instability, processor completely accounts for, low memory or storage space trigger when not enough.
6. the method for claim 1 is characterized in that, described scope indication territory comprises the length field that is used for the designation data packet length, and/or is used for separating by the end ident value of making an appointment the end indication territory of two packets.
7. the method for claim 1 is characterized in that, further is provided with the sign of agreement in the data field of described inspection locator data bag.
8. the method for claim 1 is characterized in that, further is provided with error detection and/or error correction information in the data field of described inspection locator data bag.
9. the method for claim 1 is characterized in that,
According to the scope of the indicated packet in the scope indication territory of packet, read data packet in the data file of record;
In the process of reading of data, if reading, the judgement current data makes a mistake, then in the data file of record, search for nearest inspection locator data bag backward, determine the original position of next diagnostic data bag according to the end position of this inspection locator data bag from current misdata position.
10. method as claimed in claim 9, it is characterized in that, described judgement current data reads to make a mistake and is, judge to read during when the type of data packet value that reads and make a mistake for invalid value, perhaps when the value in type of data packet value that reads and scope indication territory does not match, judge to read and make a mistake, perhaps when scope indicates the packet of the indicated length in territory and the type should have length not match, judge to read and make a mistake, perhaps when the length of data package scope does not meet its scope indication territory, judge to read and make a mistake.
11. method as claimed in claim 9 is characterized in that, in the process of described reading of data, abandons the inspection locator data bag that reads.
CN 200710091053 2007-04-06 2007-04-06 A kind of method of recording and diagnosing data Expired - Fee Related CN100561953C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200710091053 CN100561953C (en) 2007-04-06 2007-04-06 A kind of method of recording and diagnosing data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200710091053 CN100561953C (en) 2007-04-06 2007-04-06 A kind of method of recording and diagnosing data

Publications (2)

Publication Number Publication Date
CN101136802A true CN101136802A (en) 2008-03-05
CN100561953C CN100561953C (en) 2009-11-18

Family

ID=39160657

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200710091053 Expired - Fee Related CN100561953C (en) 2007-04-06 2007-04-06 A kind of method of recording and diagnosing data

Country Status (1)

Country Link
CN (1) CN100561953C (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103220168A (en) * 2013-03-29 2013-07-24 西安空间无线电技术研究所 Processing method of data packet with abnormal length based on fixed-length protocol
CN110324356A (en) * 2019-07-17 2019-10-11 陕西千山航空电子有限责任公司 A kind of blended data packet processing method of multiclass bus data
CN117574869A (en) * 2023-10-19 2024-02-20 镁佳(北京)科技有限公司 Method, device, equipment and medium for automatically generating diagnostic application data packet

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103220168A (en) * 2013-03-29 2013-07-24 西安空间无线电技术研究所 Processing method of data packet with abnormal length based on fixed-length protocol
CN103220168B (en) * 2013-03-29 2015-11-25 西安空间无线电技术研究所 A kind of processing method based on fixed length protocol data packet length exception
CN110324356A (en) * 2019-07-17 2019-10-11 陕西千山航空电子有限责任公司 A kind of blended data packet processing method of multiclass bus data
CN117574869A (en) * 2023-10-19 2024-02-20 镁佳(北京)科技有限公司 Method, device, equipment and medium for automatically generating diagnostic application data packet

Also Published As

Publication number Publication date
CN100561953C (en) 2009-11-18

Similar Documents

Publication Publication Date Title
Khan et al. Dustminer: troubleshooting interactive complexity bugs in sensor networks
US7664986B2 (en) System and method for determining fault isolation in an enterprise computing system
CN107463455B (en) Method and device for detecting memory fault
CN100365994C (en) Method and system for regulating ethernet
CN110719199B (en) Network automatic testing and fault positioning method and device
CN110290212A (en) Service call recording method, device, computer equipment and storage medium
CN103034575B (en) Collapse analytical approach and device
CN103049373B (en) A kind of localization method of collapse and device
CN101123485B (en) iSCSI packet processing method and device, error recovery method and device
CN107102928A (en) A kind of application crash information uploading method and device
CN101819550A (en) Interface testing system for serial connecting small computer system
CN106682162A (en) Log management method and device
US8566689B2 (en) Data integrity units in nonvolatile memory
CN100561953C (en) A kind of method of recording and diagnosing data
CN103714060A (en) Interrupt-period historical data processing method and front-end collecting sub system equipment
CN107274933A (en) A kind of method and device for testing solid state hard disc
CN110515758A (en) A kind of Fault Locating Method, device, computer equipment and storage medium
CN113934758A (en) Vehicle fault repairing method and device, vehicle-mounted terminal, server and storage medium
CN107423185B (en) Method and device for testing compatibility adaptation of disk array and host
CN111694752B (en) Application testing method, electronic device and storage medium
CN101272218A (en) Method for recording communication terminal diagnosis data
CN113868137A (en) Method, device and system for processing buried point data and server
CN110618891B (en) Solid state disk fault online processing method and solid state disk
CN103390429B (en) The online test method of a kind of hard disk and server
CN111611142A (en) Information collection method, device and storage medium

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: 20091118

Termination date: 20160406

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