CN103064893B - A kind of inspection method of the TAP3 data file based on UNIX - Google Patents

A kind of inspection method of the TAP3 data file based on UNIX Download PDF

Info

Publication number
CN103064893B
CN103064893B CN201210544522.9A CN201210544522A CN103064893B CN 103064893 B CN103064893 B CN 103064893B CN 201210544522 A CN201210544522 A CN 201210544522A CN 103064893 B CN103064893 B CN 103064893B
Authority
CN
China
Prior art keywords
tap3
data
configuration information
inspection method
data file
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.)
Active
Application number
CN201210544522.9A
Other languages
Chinese (zh)
Other versions
CN103064893A (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.)
Beijing Si Tech Information Technology Co Ltd
Original Assignee
Beijing Si Tech Information Technology 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 Beijing Si Tech Information Technology Co Ltd filed Critical Beijing Si Tech Information Technology Co Ltd
Priority to CN201210544522.9A priority Critical patent/CN103064893B/en
Publication of CN103064893A publication Critical patent/CN103064893A/en
Application granted granted Critical
Publication of CN103064893B publication Critical patent/CN103064893B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention relates to a kind of inspection method of the TAP3 data file based on UNIX, comprising: step 1, ticket is configured to the TAP3 data file of TAP3 data format of billing, and corresponding configuration information is stored into configuration information memory module; Step 2, inquires about the configuration information of TAP3 data file, reads internal memory from configuration information memory module; Step 3, according to the naming rule of TAP3 data, finds configuration information corresponding with TAP3 data in internal memory; Step 4, according to configuration information dissection process TAP3 data file one by one, and outputs to terminal screen by the information after dissection process; Step 5, circulation performs step 3 and step 4, until TAP3 data documents disposal is complete.Present invention achieves efficiently, configuration process flow process under UNIX easily, provide general TAP3 data inspection method.

Description

A kind of inspection method of the TAP3 data file based on UNIX
Technical field
The present invention relates to TAP3 technical field of data processing, particularly relate to a kind of inspection method of the TAP3 data file used during system maintenance under unix system in telecommunications industry.
Background technology
Along with telecommunications industry development, this standardized data type of TAP3 is more and more extensive in the application of telecommunications group, the existing inspection method to TAP3 data can only by checking corresponding instrument individual data Fileview under windows, batch data cannot be realized check and check TAP3 data under UNIX operating system, serious the applying of TAP3 that constrain uses with daily servicing, therefore provides a kind of inspection method for this TAP3 data to seem extremely urgent and important.
Summary of the invention
Technical matters to be solved by this invention is to provide a kind of inspection method of the TAP3 data file based on UNIX, for solving the problem that in prior art, TAP3 data cannot be checked in batches and cannot be checked under UNIX.
The technical scheme that the present invention solves the problems of the technologies described above is as follows: a kind of inspection method of the TAP3 data file based on UNIX, comprising:
Step 1, is configured to the TAP3 data file of TAP3 data format of billing, and corresponding configuration information is stored into configuration information memory module by ticket;
Step 2, inquires about the configuration information of TAP3 data file from configuration information memory module, and reads in internal memory by Query Result;
Step 3, according to the naming rule of TAP3 data, finds the configuration information corresponding with these TAP3 data of its naming rule unique match in internal memory; Here TAP3 numerical nomenclature rule meets industry standard definition requirement.
Step 4, according to configuration information dissection process TAP3 data file one by one, and outputs to terminal screen by the information after dissection process;
Step 5, circulation performs step 3 and step 4, until TAP3 data documents disposal is complete.
On the basis of technique scheme, the present invention can also do following improvement.
Further, the configuration information in step 1 comprises: in the storage organization mode of TAP3 data, TAP3 data, the storage rule of each field and TAP3 data finally represents form.
Further, the configuration information memory module in step 1 is with the mode store configuration information of database.
Further, step 4 specifically comprises: TAP3 data mated one by one in internal memory, and parse the corresponding configuration information of TAP3 data, and in conjunction with configuration information process TAP3 data, TAP3 Data Analysis is converted to readable general character string information, the readable general character string information after dissection process is outputted to terminal screen.
Further, the exhibition method in described step 4, the information after dissection process being outputted to terminal screen is configured according to personal needs.
Further, described inspection method can realize batch and check TAP3 data file.
In addition, the TAG value of TAP3 data also meets industry standard definition requirement completely.
The invention has the beneficial effects as follows: the present invention is directed to existing TAP3 data type and carry out induction and conclusion, take out the data layout mode on basis, provide support and check set, and convenient, flexiblely to support fast newly-increased new TAP3 Fileview method.Comprehensive, to present invention achieves efficiently, configuration process flow process under UNIX easily, general TAP3 data inspection method is provided.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of TAP3 data inspection method of the present invention.
Embodiment
Be described principle of the present invention and feature below in conjunction with accompanying drawing, example, only for explaining the present invention, is not intended to limit scope of the present invention.
As shown in Figure 1, embodiment one gives a kind of inspection method of the TAP3 data file based on UNIX, and this inspection method can check TAP3 data file in batches.Concrete steps comprise:
Step 1, is configured to TAP3 data file by ticket, and corresponding configuration information is stored into configuration information memory module.Here configuration information comprises: in the storage organization mode of TAP3 data, TAP3 data the storage rule of each field and TAP3 data finally represent form, and configuration information memory module is with the mode store configuration information of database.
Step 2, inquires about the configuration information of TAP3 data file, and is read in internal memory by Query Result from configuration information memory module.
Step 3, according to the naming rule of TAP3 data, finds configuration information corresponding with TAP3 data in internal memory.
Step 4, according to configuration information dissection process TAP3 data file one by one, and the result after dissection process is outputted to screen, specifically comprise: described step 4 specifically comprises: TAP3 data are mated one by one in internal memory, and parse the corresponding configuration information of TAP3 data, and in conjunction with configuration information process TAP3 data, TAP3 Data Analysis is converted to readable general character string information, the readable general character string information after dissection process is outputted to terminal screen.Here, the exhibition method information after dissection process being outputted to terminal screen is configured according to personal needs.
Step 5, circulation performs step 3 and step 4, until TAP3 data documents disposal is complete.
The configuration information that TAP3 data file needs is checked for step 1 configuration, can according to corresponding TAP3 Method of Data Organization configuration TAP3 Data Format fields allocation list, its structure is as shown in the table:
TAP3 Data Format fields allocation list structure
For field meanings in upper table, it is described as follows:
One. scale-of-two elongated parsing field level table closes jointly
1. be used for associating the associated connection string of TAP3 data file level configuration;
2. this field must be completely corresponding consistent with the asn1_connect_id in TAP3 data field level information configuration table with TAP3 data file level allocation list;
3. associated with TAP3 data field level information configuration table with TAP3 data file level allocation list by this field, obtain detailed decoding and the identification information of the elongated each field of scale-of-two.
Two, the tag value of field
1. this field is the unique identification of each field.
2. this field has sexadecimal and the decimal system two kinds of expression waies, provides situation and determine according to document.Controlled by the tag Value Types of Back ground Information.If when TAG_STYLE is D, then this field must configure metric label value, and be 110 if voice calling service is 35, calling number tag values, so calling number complete trails should join 35.110.
Three, the field name of entrance
1. the initial field name of define field;
2. this field name must be completely corresponding consistent with the entry field name in TAP3 Data Format fields level information configuration table.
3. what entry field name generally provided with switch documentation is as the criterion.
4. field name is preferably can show the implication of field, as OutgoingRoute, identifies relaying.
5., in same ticket, entry field name has not allowed repetition.
Annotation: scale-of-two elongated parsing form information table descriptor.
As shown in the table according to the TAP3 Data Format fields allocation list profile instance that above-mentioned TAP3 Data Format fields allocation list structure establishes:
More than show the first row data instance, TAP3_MOC identifies the associated connection string of caller ticket configuration, and it is that field name defines that the TAG value that TAG_STR is configured to 35 mark caller ticket field types is encoded to 35, INIT_FIELD_NAME.
In step 1, during the mode store configuration information of configuration information memory module with database, being realized by the database configuration table set up in a database, is namely TAP3 data layout processing configuration table below.
TAP3 data layout processing configuration list structure
The field meanings of TAP3 data field level information configuration table is specific as follows:
One, scale-of-two elongated parsing field level table closes jointly
1. be used for associating the associated connection string of TAP3 data file level allocation list;
2. must be completely corresponding consistent with the asn1_connect_id of tap3_bin_asn1_file_info table;
3. associated with tap3_bin_asn1_file_info and with tap3_bin_asn1_field_info table by this field, obtain detailed decoding and the identification information of the elongated each field of scale-of-two.
Two, decoding process
1. how mark resolves a field.
2. associated with specific decoding functions by a mark, form by three, first a: identify special number resolution, b identify rule of substantially decoding, the special decoding rule of c mark, the sequence number of second and the 3rd bit-identify coding type.Such as b20, identifies rule of substantially decoding, the 20th decoding process.
Three, the field name of entrance
1. the initial field name of define field.
2. this field name must be completely corresponding consistent with the entry field name in tap3_bin_asn1_field_info table.
3. entry field name generally provides with switch documentation and is as the criterion.
4. field name is preferably can show the implication of field, as OutgoingRoute, identifies relaying.
5., in same ticket, entry field name has not allowed repetition.
Four, field name is exported
1. field name when field exports, generally to name by conventional naming rule.Called after start_datetime as the start time of conversing, and each network element need not be considered, the entry field title of each switch.
2. export field name to be consistent with the field name in config.xml.
Five, type of exports
1. the field way of output describes;
" 1 ": represent last value retaining same field name;
" 2 ": represent first value retaining same field name;
" 3 ": represent that the value with same field name all retains.
Usually all use 1, retain last field value.
Six, default value
1. the default value for filling in during destructuring fixed length ticket;
2. also may be used for arranging of group node field value, be commonly used to arrange and distinguish ticket type, such as 35 tickets are caller tickets, the default value that so can set 35 nodes is 01, its middle outlet field name can be call_type, so just can be obtained the value of call_type by this field, and not need again to ask for later.
3., when this field is not arranged, can be empty.
Annotation: scale-of-two elongated parsing field level information table descriptor
According to upper table, the TAP3 data field level information configuration table profile instance that can set up: such as identify configuration information association string with tap3_moc, the storage rule of b20 identification field, the initial title of networkCallReference identification field, field_name mark represents title, out_type is configured to 1 mark to be needed to represent, and default_value does not have default value for sky identifies.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (5)

1., based on an inspection method for the TAP3 data file of UNIX, it is characterized in that, comprising:
Step 1, is configured to the TAP3 data file of TAP3 data format of billing, and corresponding configuration information is stored into configuration information memory module by ticket;
Step 2, inquires about the configuration information of TAP3 data file from configuration information memory module, and reads in internal memory by Query Result;
Step 3, according to the naming rule of TAP3 data, finds the configuration information corresponding with these TAP3 data of its naming rule unique match in internal memory;
Step 4, according to configuration information dissection process TAP3 data file one by one, and outputs to terminal screen by the information after dissection process;
Described step 4 specifically comprises: TAP3 data mated one by one in internal memory, and parse the corresponding configuration information of TAP3 data, and in conjunction with configuration information process TAP3 data, TAP3 Data Analysis is converted to readable general character string information, the readable general character string information after dissection process is outputted to terminal screen;
Step 5, circulation performs step 3 and step 4, until TAP3 data documents disposal is complete.
2. inspection method according to claim 1, is characterized in that, the configuration information in step 1 comprises: in the storage organization mode of TAP3 data, TAP3 data, the storage rule of each field and TAP3 data finally represents form.
3. inspection method according to claim 1, is characterized in that, the configuration information memory module in step 1 is with the mode store configuration information of database.
4. inspection method according to claim 1, is characterized in that, the exhibition method in described step 4, the information after dissection process being outputted to terminal screen is configured according to personal needs.
5. inspection method according to claim 1, is characterized in that, described inspection method can realize batch and check TAP3 data file.
CN201210544522.9A 2012-12-14 2012-12-14 A kind of inspection method of the TAP3 data file based on UNIX Active CN103064893B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210544522.9A CN103064893B (en) 2012-12-14 2012-12-14 A kind of inspection method of the TAP3 data file based on UNIX

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210544522.9A CN103064893B (en) 2012-12-14 2012-12-14 A kind of inspection method of the TAP3 data file based on UNIX

Publications (2)

Publication Number Publication Date
CN103064893A CN103064893A (en) 2013-04-24
CN103064893B true CN103064893B (en) 2016-04-06

Family

ID=48107523

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210544522.9A Active CN103064893B (en) 2012-12-14 2012-12-14 A kind of inspection method of the TAP3 data file based on UNIX

Country Status (1)

Country Link
CN (1) CN103064893B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113177025A (en) * 2021-03-25 2021-07-27 北京城建智控科技有限公司 Data operation method and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101262356A (en) * 2007-03-07 2008-09-10 中兴通讯股份有限公司 A CDR processing system for communication system
CN102075963A (en) * 2009-11-25 2011-05-25 中国移动通信集团贵州有限公司 A mobile business data acquisition analysis method and a system for the same

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
PT1529374E (en) * 2002-08-16 2006-12-29 Togewa Holding Ag Method and system for gsm authentication during wlan roaming

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101262356A (en) * 2007-03-07 2008-09-10 中兴通讯股份有限公司 A CDR processing system for communication system
CN102075963A (en) * 2009-11-25 2011-05-25 中国移动通信集团贵州有限公司 A mobile business data acquisition analysis method and a system for the same

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
TAP3协议在电信省际语音漫游中的应用;吕颢;《电脑知识与技术》;20100105;第6卷(第1期);第42-44,61页 *

Also Published As

Publication number Publication date
CN103064893A (en) 2013-04-24

Similar Documents

Publication Publication Date Title
CN104410667B (en) Conversion method and system of a kind of XML message to JSON messages
CN102043719B (en) Method for testing IEC61850 configuration description file
CN103517385B (en) The method of attachment of the AP of Android system Wi-Fi and system
CN109670081B (en) Method and device for processing service request
CN103294652B (en) A kind of data transfer device and system
CN106372040B (en) Intelligent substation configuration file otherness comparison system
CN104331366A (en) Test case design efficiency promotion method and system
CN109379326A (en) XML message rule method of calibration, equipment and storage medium
CN103578048A (en) Method for checking and comparing configuration related information of intelligent substation SCL documents
CN107153858A (en) A kind of intelligent substation optical cable tag system based on NFC technique
CN102147726B (en) Script-based method for implementing service configuration
CN105046032A (en) Method and system for drawing power distribution network based on CAD
CN104866422B (en) Web Service automatization test system and method
CN105447539A (en) RFID-based MODF construction method and network management system thereof
CN103064893B (en) A kind of inspection method of the TAP3 data file based on UNIX
CN101930362B (en) Method for integrating TTCN language and data description language
CN104750468B (en) A kind of server-side topological data conversion method and conversion equipment
CN103455476B (en) The processing method of the network information and the method for building up of abstract syntax tree and device thereof
CN110110153A (en) A kind of method and apparatus of node searching
CN101754155A (en) Call bill format conversion method and device and call bill processing method and system
CN104820941B (en) A kind of packaging method and its system of electronic invoice
CN110806973A (en) Automatic generation method and device of interface message
CN102043787B (en) System and method for performing website registration through registration information file
CN103413190A (en) Real-time auditing system of operation ticket and method
CN102882737A (en) Transaction language-1(TL1) command automatically testing method based on extensible markup language (XML) script

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