CN1791119A - Tracking method for mobile communication system signaling message - Google Patents
Tracking method for mobile communication system signaling message Download PDFInfo
- Publication number
- CN1791119A CN1791119A CN 200510134213 CN200510134213A CN1791119A CN 1791119 A CN1791119 A CN 1791119A CN 200510134213 CN200510134213 CN 200510134213 CN 200510134213 A CN200510134213 A CN 200510134213A CN 1791119 A CN1791119 A CN 1791119A
- Authority
- CN
- China
- Prior art keywords
- signaling message
- xml
- header file
- field
- organization definition
- 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
Links
Images
Abstract
The disclosed track method for signaling information in mobile communication system comprises: scanning the head document of said information with a conversion tool from special syntax to XML to generate structure definition head document described by XML; decoding the original code flow in said information to preserve result in memory; according to decoded result, selecting opposite structure definition head document to analyze the structure information by a XML analyzer and take XML match for decoded result in memory to obtain value of every field and produce decoded result document as XML format. This invention increases flexibility and expandability to analysis method.
Description
Technical field
The invention belongs to wireless communication technology field, relate in particular to and a kind ofly insert (TD-SCDMA-Time Division-Synchronous Code Division Multiple Access) radio network controller (RNC-Radio Network Controller) system with TD SDMA, signaling tracing is application background and a kind of method for tracing to mobile communication system signaling message protocol type and signaling message structure-irrelevant.
Background technology
Among the RNC of TD-SCDMA system, signaling tracing is a kind of common tool in the daily O﹠M of exploitation, beginning and operator, it can provide a kind of display mode intuitively to related content with the signaling messages of wireless network layer of handling in the RNC system, thereby has greatly improved the efficient of orientation problem.
In the signaling message transmission of TD-SCDMA communication system, all adopted abstract syntax notation (ASN.1-Abstract Syntax Notation number One) coding, because the message structure of radio layer is all quite complicated, therefore for the signaling tracing instrument, to the decoding of signaling message, especially that the decoded result of signaling message code stream is just most important with level form demonstration intuitively.In general Project Realization, the signaling message of wireless network layer all is to describe with the structure of C language.At such signaling message description form, adopt following performing step usually for the level demonstration of signaling message content:
(1) the C language structure to the signaling message structure carries out syntactic analysis, forms a syntactic analysis instrument or processing module;
(2) ASN.1 of signaling message decoding saves as one section binary word throttling in internal memory;
(3) analysis tool of utilizing step 1 to produce is analyzed the binary word throttling that signaling message decoding back forms, and shows in patterned mode simultaneously.
Because the complex structure of radio layer signaling message structure, the level of nesting of message structure body is also darker, so the implementation complexity of step 1 and step 3 is than higher.Simultaneously, upgrading and improvement along with signaling protocol self, can constantly introduce new signaling message, and original signaling message structure also might change, and the decoded result byte stream is carried out the C-structure coupling carry out because the level of signaling message structure shows to be accompanied by, and this matching process is relevant with the syntactic description of signaling message, also just all needs to make amendment so content is carried out in step (1) and (3), to adapt to the variation of signaling message structure thereupon.Be not difficult to find that the implementation method degree of modularity of prior art is lower by above-mentioned analysis, lack flexibility and extensibility; Simultaneously, development difficulty and complexity are all than higher.
Summary of the invention
Technical problem to be solved by this invention is to provide a kind of method for tracing to mobile communication system signaling message, angle from the signaling message structure representation, try hard to reduce the influence that changes the message content display processing method is caused when the signaling message self structure, make demonstration of signaling message content level and protocol type and signaling message type irrelevant, remedy the deficiency of signaling message analytical method at aspects such as flexibility and extensibilities.
In order to solve the problems of the technologies described above, the invention provides a kind of method for tracing to mobile communication system signaling message, comprise the steps:
Use a crossover tool, the organization definition header file in the described signaling message is scanned, generate the organization definition header file of corresponding XML syntactic description from described specific syntax to the XML grammer; Source code flow to signaling message is decoded, and decoded result is kept in the memory field; Select corresponding organization definition header file according to the header of signaling message in the decoded result, and utilize the XML resolver resolves to go out the structural information of this header file definition with the XML syntactic description; According to the described structural information that parses, the decoded result in the described memory field is carried out the XML coupling, obtain the value of each field, and generate the decoding destination file with the form of XML.
The present invention can further include: the decoded result file of described XML form is shown with patterned way.
The invention has the advantages that:
1, has stronger extensibility and flexibility, when newly-increased signaling message type or signaling message organization definition change, only need again new signaling message structure header file to be carried out scanning analysis, the organization definition header file that generates new XML syntactic description gets final product, and need not the content demonstration processing and the XML resolver of signaling message are made any change;
2, decoded result is finally with the XML language description, because the XML language itself has perfect structures, therefore, the processing that level shows is also fairly simple, greatly reduces development difficulty;
3, the decoded result with the XML statement is a plain text format, does not have the compatibility issue of form.In addition, because therefore XML document can, under the situation that does not have the graphical show tools of decoded result, also can be browsed by most of main flow browser (as Internet Explorer, Opera etc.) demonstration.
Description of drawings
Fig. 1 is the signaling message trace flow figure according to the specific embodiment of the invention;
Fig. 2 is for converting the schematic diagram of XML language description file to according to the C language structure of the specific embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing, embodiments of the invention are elaborated.
The present invention is applicable to all standard signaling messages that RRC, NBAP, RANAP and RNSAP agreement relate to.The present invention is carrying out the syntactic analysis phase to the signaling message structure, at first the C language header file of signaling message is reported with expansion identifiable language (XML-eXtensible Markable Language); Like this, show the stage, the C language coupling conversion of decoded result byte stream is mated for XML at follow-up signaling message.Because parsing and analysis to the XML file are general processes, therefore, when the signaling message structure changes, only need the new signaling message XML file of generation to get final product, and need not change the processing of signaling display part.As shown in Figure 1, concrete steps comprise:
At first,, the C language header file structure of signaling message structure is carried out syntactic analysis, form the crossover tool of the organization definition header file of a C language description to the organization definition header file of XML syntactic description by aids such as Lex and Yacc; And utilize described crossover tool that the organization definition header file in the described C language signaling message is scanned, and generating the organization definition header file (step 101) of corresponding XML syntactic description, the schematic diagram of conversion is as shown in Figure 2.Source code flow to signaling message is decoded with the ASN.1 decoding functions, and decoded result is kept at (step 102) in the memory field.Then, select corresponding organization definition header file, and utilize the XML resolver resolves to go out the structural information (step 103) of this header file definition with the XML syntactic description according to the header in the signaling message decoded result.According to the described structural information that parses, the decoded result in the described memory field is carried out the XML coupling, obtain the value of each field, and generate decoding destination file (step 104) with the form of XML.At last, the decoded result file with described XML form shows (step 105) with patterned way.
Structure to the organization definition header file of the XML syntactic description of signaling message can be divided into two parts, and first is described the essential information of signaling message, can comprise the message name, protocol type, protocol version of signaling etc.; Second portion then is the specific descriptions to the signaling message structure, the key of this part be the design a kind of to field nest relation in the C-structure body to the mapping mode of XML.With regard to second portion, in order to reduce realization difficulty and the follow-up complexity of mating that transforms from the C language structure, in the organization definition header file of the XML syntactic description of signaling message in the present invention, given up the nested describing mode in the C-structure, but with the structure field of all nested appearance in the signaling message structure with the simple types field is numbered according to the level of nesting and backward is listed, for each structure or simple types in the signaling message, all use the XML paragraph of a unified structure to describe, can comprise following information in the paragraph: sequence number, for structure field and the simple types field that is occurred in the signaling message structure is numbered; Field name, the title of promptly described field in the signaling message structure; Field type, identifying described field is structure or simple types; Son field is tabulated, and lists the sequence number of other nested under described field son fields, if described field has been a simple types, then the content of this part is empty.
Carry out the parsing of paragraph one by one by organization definition header file to the XML syntactic description of the signaling message of described form, can obtain the type information and the level of nesting relation of each field in the signaling message structure, and this carries out the decoded result byte stream key that stratification shows just.Because the parsing to the organization definition header file of XML syntactic description can be undertaken by general resolver, therefore, when the structure of signaling message changes, need not change the processing code of signaling content display part, only need regenerate the organization definition header file of the XML syntactic description of signaling message, the foundation that shows as follow-up signaling message content gets final product.
The graphical demonstration of signaling message decoded result in the step 105 is the decoded result that utilizes the XML form of output in the step 104, graphically shows, because XML file itself just has good hierarchical structure, so the realization of this part is easy to.
The present invention can show that processing and XML resolver provide with modular form based on the signaling message content that XML describes, so that be integrated in as required in the different programs.The XML of the C language structure that proposes among the present invention describes also can be generalized to as required with the signaling message level and shows in the similarly application.
Claims (9)
1, a kind of method for tracing to mobile communication system signaling message, comprise organization definition header file that some use specific syntax describe, and the signaling message content corresponding in this signaling message with each organization definition header file, it is characterized in that this method comprises the steps:
Use a crossover tool, the organization definition header file in the described signaling message is scanned, generate the organization definition header file of corresponding XML syntactic description from described specific syntax to the XML grammer;
Source code flow to signaling message is decoded, and decoded result is kept in the memory field;
Select corresponding organization definition header file according to the header in the signaling message decoded result, and utilize the XML resolver resolves to go out the structural information of this header file definition with the XML syntactic description;
According to the described structural information that parses, the decoded result in the described memory field is carried out the XML coupling, obtain the value of each field, and generate the decoding destination file with the form of XML.
2, the method for claim 1 is characterized in that, further comprises the steps:
The decoded result file of described XML form is shown with patterned way.
3, the method for claim 1 is characterized in that, the organization definition header file that described specific syntax is described is described with the C language syntax.
4, the method for claim 1 is characterized in that, the step of described source code flow decoding to signaling message is the ASN.1 decoding functions that utilizes in the signaling message, and the source code flow of signaling message is carried out the ASN.1 decoding.
5, the method for claim 1 is characterized in that, described crossover tool from specific syntax to the XML grammer is to analyze and generate in advance according to the organization definition header file that specific syntax is described.
6, the method for claim 1 is characterized in that, the organization definition header file of the XML syntactic description of described generation comprises the essential information of signaling message is described part, with the specific descriptions part to the signaling message structure.
7, method as claimed in claim 6, it is characterized in that, in the described specific descriptions part, structure field and simple types field to nested appearance in the signaling message structure, be numbered and list according to the order of sequence according to the level of nesting, to each structure or simple types in the signaling message, use the XML paragraph of a unified structure to describe.
8, method as claimed in claim 7 is characterized in that, describedly be numbered and list according to the order of sequence according to the level of nesting, and be to list by backward.
9, method as claimed in claim 7 is characterized in that, can comprise following information in the XML paragraph of described unified structure: sequence number, field name, field type, son field tabulation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005101342134A CN100518189C (en) | 2005-12-12 | 2005-12-12 | Tracking method for mobile communication system signaling message |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005101342134A CN100518189C (en) | 2005-12-12 | 2005-12-12 | Tracking method for mobile communication system signaling message |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1791119A true CN1791119A (en) | 2006-06-21 |
CN100518189C CN100518189C (en) | 2009-07-22 |
Family
ID=36788607
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005101342134A Expired - Fee Related CN100518189C (en) | 2005-12-12 | 2005-12-12 | Tracking method for mobile communication system signaling message |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100518189C (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101207915B (en) * | 2006-12-21 | 2011-03-02 | 中兴通讯股份有限公司 | Method for tracing signaling of mobile commutation system |
CN102065398A (en) * | 2010-12-14 | 2011-05-18 | 中兴通讯股份有限公司 | NMS (Network Management System) and multi-edition signaling decoding method |
CN102104546A (en) * | 2011-02-23 | 2011-06-22 | 中兴通讯股份有限公司 | Synchronization method and system of forwarding table |
CN101272576B (en) * | 2007-03-19 | 2011-11-16 | 华为技术有限公司 | User signaling tracing method and communication system and user's set |
CN101425079B (en) * | 2008-11-29 | 2012-09-05 | 中兴通讯股份有限公司 | NV data processing method and apparatus |
CN102946621A (en) * | 2012-10-11 | 2013-02-27 | 中兴通讯股份有限公司 | Method and device for implementing multi-version compatibility of storage of radio resources |
CN101739245B (en) * | 2008-11-07 | 2013-04-03 | 武汉烽火众智数字技术有限责任公司 | Method and device for convertion between extensive makeup language (XML) message and C language program structure |
CN114900570A (en) * | 2022-07-13 | 2022-08-12 | 江西联创精密机电有限公司 | Standardized data acquisition and transmission method and system |
CN117854518A (en) * | 2024-03-05 | 2024-04-09 | 深圳市时代经纬科技有限公司 | Method and device for realizing voice encoding and decoding and transcoding by WebGPU |
-
2005
- 2005-12-12 CN CNB2005101342134A patent/CN100518189C/en not_active Expired - Fee Related
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101207915B (en) * | 2006-12-21 | 2011-03-02 | 中兴通讯股份有限公司 | Method for tracing signaling of mobile commutation system |
CN101272576B (en) * | 2007-03-19 | 2011-11-16 | 华为技术有限公司 | User signaling tracing method and communication system and user's set |
CN101739245B (en) * | 2008-11-07 | 2013-04-03 | 武汉烽火众智数字技术有限责任公司 | Method and device for convertion between extensive makeup language (XML) message and C language program structure |
CN101425079B (en) * | 2008-11-29 | 2012-09-05 | 中兴通讯股份有限公司 | NV data processing method and apparatus |
CN102065398A (en) * | 2010-12-14 | 2011-05-18 | 中兴通讯股份有限公司 | NMS (Network Management System) and multi-edition signaling decoding method |
CN102065398B (en) * | 2010-12-14 | 2014-12-10 | 中兴通讯股份有限公司 | NMS (Network Management System) and multi-edition signaling decoding method |
CN102104546A (en) * | 2011-02-23 | 2011-06-22 | 中兴通讯股份有限公司 | Synchronization method and system of forwarding table |
CN102104546B (en) * | 2011-02-23 | 2015-06-10 | 中兴通讯股份有限公司 | Synchronization method and system of forwarding table |
CN102946621A (en) * | 2012-10-11 | 2013-02-27 | 中兴通讯股份有限公司 | Method and device for implementing multi-version compatibility of storage of radio resources |
CN114900570A (en) * | 2022-07-13 | 2022-08-12 | 江西联创精密机电有限公司 | Standardized data acquisition and transmission method and system |
CN114900570B (en) * | 2022-07-13 | 2022-10-18 | 江西联创精密机电有限公司 | Standardized data acquisition and transmission method and system |
CN117854518A (en) * | 2024-03-05 | 2024-04-09 | 深圳市时代经纬科技有限公司 | Method and device for realizing voice encoding and decoding and transcoding by WebGPU |
Also Published As
Publication number | Publication date |
---|---|
CN100518189C (en) | 2009-07-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100518189C (en) | Tracking method for mobile communication system signaling message | |
CN101841515B (en) | Target variable protocol data unit codec code automatic generation implementation method | |
Czarnecki et al. | Cool features and tough decisions: a comparison of variability modeling approaches | |
CN101221556B (en) | Method and device for XML document analysis | |
JP2003518291A (en) | Method and apparatus for data exchange using a runtime code generator and translator | |
Costagliola et al. | Design pattern recovery by visual language parsing | |
CN101751028A (en) | General calibration system of automobile electronic control unit and realizing method thereof | |
CN102455903B (en) | Method for generating user application interface | |
CN102779044B (en) | The dissection process system of expression formula and analyzing and processing method | |
CN1992715A (en) | Implementation method for automatic generation of PDU coding/decoding code based on ASN.1 definition | |
Trunzer et al. | Graphical modeling notation for data collection and analysis architectures in cyber-physical systems of systems | |
Zhang | Software Visualization: From Theory to Practice | |
O'Brien et al. | SEEK: Accomplishing enterprise information integration across heterogeneous sources. | |
Thramboulidis | Using UML for the development of distributed industrial process measurement and control systems | |
CN114047970A (en) | Configuration method and system of AUTOSAR (automotive open system architecture) architecture software | |
CN103970776A (en) | Method and system for creating CAN hierarchy tree | |
Barta et al. | Syndication with JML | |
US20050132326A1 (en) | Software development tool for ensuring links between uml models and the implementation thereof in a cobra environment | |
CN116339696A (en) | System and method for extensible automatic generation of cross-platform multi-language interface | |
De Virgilio et al. | Modeling heterogeneous context information in adaptive web based applications | |
Riedel et al. | A model driven internet of things | |
CN101621540A (en) | Method for combining inner service of enterprise service bus based on BPEL engine | |
Wagelaar et al. | Using a concept-based approach to aspect-oriented software design | |
CN1734457A (en) | Computer aided design method for vehicle-carrying distribution control system | |
WO2008075087A1 (en) | Code translator and method of automatically translating modelling language code to hardware language code |
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: 20090722 Termination date: 20151212 |
|
EXPY | Termination of patent right or utility model |