CN102595366B - Generating method and system of roaming protocol file - Google Patents

Generating method and system of roaming protocol file Download PDF

Info

Publication number
CN102595366B
CN102595366B CN201110002688.3A CN201110002688A CN102595366B CN 102595366 B CN102595366 B CN 102595366B CN 201110002688 A CN201110002688 A CN 201110002688A CN 102595366 B CN102595366 B CN 102595366B
Authority
CN
China
Prior art keywords
chapters
sections
file
verification
information
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
CN201110002688.3A
Other languages
Chinese (zh)
Other versions
CN102595366A (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.)
Medium shift information technology Co., Ltd.
Original Assignee
China Mobile Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Shenzhen Co Ltd filed Critical China Mobile Shenzhen Co Ltd
Priority to CN201110002688.3A priority Critical patent/CN102595366B/en
Publication of CN102595366A publication Critical patent/CN102595366A/en
Application granted granted Critical
Publication of CN102595366B publication Critical patent/CN102595366B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to a generating method of a roaming protocol file, comprising the following steps of: S1, receiving chapter and section framework information and verifying the chapter and section framework information; S2, generating at least one chapter and section information page according to the chapter and section framework information; S3, receiving corresponding detailed chapter and section information by each chapter and section information page, and verifying the detailed chapter and section information; and S4, generating an XML (Extensive Makeup Language) file of a roaming protocol AA.14 according to the verified detailed chapter and section information. The invention also constructs a generating system of a roaming protocol file. By using the generating method and system of the roaming protocol file, provided by the invention, the simple and reliable generation of the file of the roaming protocol AA.14 can be realized, and the defect of no simple and reliable generating method for the file of the roaming protocol AA.14 is avoided.

Description

The generation method and system of roaming protocol file
Technical field
The present invention relates to document generating method, more particularly, relate to a kind of generation method of XML formatted file of standard criterion of roaming agreement.
Background technology
RAEX full name Roaming Agreement Exchange is roaming agreement exchange, that operators pass through global system for mobile telecommunications association central site network platform, a set of technical standard of mutual XML (Extensible Markup Language) form roaming agreement.RAEX AA.14 is with the storage of XML form and realize the electronic standard criterion of interaction flow by AA.14 document.The second half year in 2008, global system for mobile telecommunications association (GSMA) has passed through the proposal that redaction RAEX AA.14 (being RAEX2009 version) enforced on April 1st, 2009.
Associated person information and the charge information etc. of the roam charge correlation module that has comprised operator in AA.14 document are that international roaming service is carried out one of of paramount importance document in process.Before RAEX AA.14 standard criterion is released, the AA.14 different style of each operator, system is difficult to automatic identification.Meanwhile, operator is by the mutual AA.14 file of lettergram mode, and shortage follow-up mechanism, reliability can not be guaranteed.RAEXAA.14 has only provided technical specification after releasing in standard, the technical solution producing without RAEX AA.14 file.
Summary of the invention
The technical problem to be solved in the present invention is, defect for the above-mentioned RAEX AA.14 file of prior art without simple and easy reliable production method, a kind of AA.14 file of browsing, edit, generate XML form for user is provided, and the generation method of simple and reliable roaming agreement AA.14 file.
The technical solution adopted for the present invention to solve the technical problems is: construct a kind of generation method of roaming protocol file, comprising step: S1, reception chapters and sections frame information, described chapters and sections frame information is carried out to verification; S2, generate at least one chapters and sections information page according to described chapters and sections frame information; S3, each described chapters and sections information page receive corresponding chapters and sections details, and described chapters and sections details are carried out to verification; S4, generate the XML file of roaming agreement AA.14 according to chapters and sections details after verification;
Wherein, described step S4 comprises step: S41, determine the node of roaming protocol file to be generated according to described roaming agreement AA.14 standard criterion file; S42, the definite and corresponding chapters and sections information page of described node, form the page that divides chapters and sections editor; In S43, described point of chapters and sections editor's the page, the class object of node receives the chapters and sections details after described verification, and the assignment information of described chapters and sections details is carried out to verification; S44, be XML file by after treatment step S43 point of chapters and sections editor's conversion of page.
In the generation method of roaming protocol file of the present invention, described step S1 comprises step: S11, receive described chapters and sections frame information; S12, based on JavaScript and regular expression, described chapters and sections frame information is carried out to ground floor verification; S13, based on roaming agreement AA.14 standard criterion file, described chapters and sections frame information is carried out to second layer verification.
In the generation method of roaming protocol file of the present invention, described step S3 comprises step: S31, receive corresponding chapters and sections details; S32, based on JavaScript and roaming agreement AA.14 standard criterion file, the customizing messages of described chapters and sections details is carried out to verification.
In the generation method of roaming protocol file of the present invention, the generation method of described roaming protocol file comprises step: described chapters and sections frame information and described chapters and sections details are edited, adopted tab that multiple edit pages are incorporated in a framework when editor; After described step S4, comprise described XML file is converted to PDF, DOC form, XLS form or CSV formatted output.
The present invention also constructs a kind of generation system of roaming protocol file, comprising: the first processing module: for receiving chapters and sections frame information, described chapters and sections frame information is carried out to verification; Page generation module: for generating at least one chapters and sections information page according to described chapters and sections frame information; The second processing module: receive corresponding chapters and sections details for each described chapters and sections information page, and described chapters and sections details are carried out to verification; And file generating module: for generate the XML file of roaming agreement AA.14 according to the chapters and sections details after verification;
Wherein, described file generating module comprises: node confirmation unit: for determine the node of roaming protocol file to be generated according to described roaming agreement AA.14 standard criterion file; Page confirmation unit: for determining and the corresponding chapters and sections information page of described node, form point chapters and sections editor's the page; Data Enter unit: the class object for described point of chapters and sections editor's page node receives the chapters and sections details after described verification, and the assignment information of described chapters and sections details is carried out to verification; And file generating unit: for being XML file by the conversion of page of point chapters and sections editor after described Data Enter cell processing.
In the generation system of roaming protocol file of the present invention, described the first processing module comprises: the first receiving element: for receiving described chapters and sections frame information; The first verification unit: for described chapters and sections frame information being carried out to ground floor verification based on JavaScript and regular expression; And second verification unit: for described chapters and sections frame information being carried out to second layer verification based on roaming agreement AA.14 standard criterion file.
In the generation system of roaming protocol file of the present invention, described the second processing module comprises: the second receiving element: for receiving corresponding chapters and sections details; And the 3rd verification unit: for the customizing messages of described chapters and sections details being carried out to verification based on JavaScript and roaming agreement AA.14 standard criterion file.
In the generation system of roaming protocol file of the present invention, the generation system of described roaming protocol file comprises: editor module: for described chapters and sections frame information and described chapters and sections details are edited, adopt tab that multiple edit pages are incorporated in a framework when editor; And modular converter: for described XML file is converted to PDF, DOC form, XLS form or CSV formatted output.
The generation method and system of implementing roaming protocol file of the present invention, has following beneficial effect: the roaming agreement AA.14 file of generation XML form that can be simple and reliable.
The verification of chapters and sections frame information has ensured that information can not produce format error, meets the standard of roaming agreement AA.14 standard criterion file simultaneously.The inspection of chapters and sections details has ensured that chapters and sections details meet the standard of roaming agreement AA.14 standard criterion file.The generation step of concrete XML has ensured accuracy and the reliability of XML file generated.Tab is incorporated into multiple edit pages in a framework, user is operated convenient, and multiple format output can be selected for user.
Brief description of the drawings
Below in conjunction with drawings and Examples, the invention will be further described, in accompanying drawing:
Fig. 1 is the flow chart of the first preferred embodiment of the generation method of roaming protocol file of the present invention;
Fig. 2 is the flow chart of the second preferred embodiment of the generation method of roaming protocol file of the present invention;
Fig. 3 is the flow chart of the 3rd preferred embodiment of the generation method of roaming protocol file of the present invention;
Fig. 4 is the flow chart of the 4th preferred embodiment of the generation method of roaming protocol file of the present invention;
Fig. 5 is the structural representation of the first preferred embodiment of the generation system of roaming protocol file of the present invention;
Fig. 6 is the structural representation of the second preferred embodiment of the generation system of roaming protocol file of the present invention;
Fig. 7 is the structural representation of the 3rd preferred embodiment of the generation system of roaming protocol file of the present invention;
Fig. 8 is the structural representation of the 4th preferred embodiment of the generation system of roaming protocol file of the present invention;
Fig. 9 is the structural representation of the 5th preferred embodiment of the generation system of roaming protocol file of the present invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The generation method and system of roaming protocol file of the present invention comprises:
The typing of AA.14 information: by the graphic user interface of friendly word style, user can, by the Data Enter in AA.14 in this system, after verification is passed through, can generate the AA.14 file of the XML/PDF form that meets standard criterion;
XML browses/generates: importing and the generation of XML file are provided;
The derivation of the multiple formats such as PDF/DOC/XLS/CSV: can be by the information being entered in system, output to the file of PDF/DOC/XLS/CSV form.Wherein PDF/DOC is AA.14 file, the associated person information that XLS/CSV formatted file is typing, and this file can directly import in outlook mailing system, realizes the synchronous of associated person information.
The generation system overall architecture of roaming protocol file of the present invention is B/S framework.The main technology adopting is struts, jsp, ajax, java, JavaScript+ regular expression, xml, jaxb.Struts has realized the tupe of three layers: presentation layer, key-course, Business treatment, and what presentation layer was main realizes technical approach has jsp, ajax, javaScript+ canonical to reach formula; What key-course was main realizes technical approach is JAVA+STRUTS ACTION; What Business treatment was main realizes technology is that JAVA, xml resolve, jaxb.
The realization flow of the generation method and system of roaming protocol file: Data Enter: support the Data Enter of two kinds of forms, directly by the file of page entry information and importing XML form; Information display: by two kinds of mode entry informations, after verification meets RAEX AA14 standard criterion, divide chapters and sections to show by browser interface.The page is shown clearly, and friendly verification prompting and operator can be switched fast by tab in different chapters and sections, have simplified the editor of abstract XML file.Fast search function is provided in addition, has made operator search easily chapters and sections position, specific character string place; Verification: according to roaming agreement AA.14 standard criterion file, entry information is carried out to verification, verification can correctly be shown and be derived with document form after passing through; If entry information does not meet verification rule, export the verification again of information reminding user corrigendum entry information; Generate XML file: institute's entry information is kept in interim XML file; Export: according to user's needs, information is derived, export form is optional, has tetra-kinds of forms of XML/PDF/WORD/EXCEL.
Lower mask body is set forth the implementation method of the generation method and system of roaming protocol file of the present invention:
In the flow chart of the first preferred embodiment of the generation method of the roaming protocol file of the present invention shown in Fig. 1, the generation method of described roaming protocol file starts from step 100; After step 100, proceed to step 101, receive chapters and sections frame information, described chapters and sections frame information is carried out to verification; Subsequently, to next step 102, generate at least one chapters and sections information page according to described chapters and sections frame information; Subsequently, to next step 103, each described chapters and sections information page receives corresponding chapters and sections details, and described chapters and sections details are carried out to verification; Subsequently, to next step 104, generate the XML file of roaming agreement AA.14 according to the chapters and sections details after verification; Last the method ends at step 105.The method of the roaming agreement AA.14 file more than generating is simple to operation, and multistage verification simultaneously makes the roaming agreement AA.14 file security of generation reliable, has avoided the defect of roaming agreement AA.14 file without simple and easy reliable production method.
In the flow chart of the second preferred embodiment of the generation method of the roaming protocol file of the present invention shown in Fig. 2, the generation method of described roaming protocol file starts from step 200; After step 200, proceed to step 201, receive described chapters and sections frame information; Subsequently, to next step 202, based on JavaScript and regular expression, described chapters and sections frame information is carried out to ground floor verification; Subsequently, to next step 203, based on roaming agreement AA.14 standard criterion file, described chapters and sections frame information is carried out to second layer verification; Subsequently, to next step 204, generate at least one chapters and sections information page according to described chapters and sections frame information; Subsequently, to next step 205, each described chapters and sections information page receives corresponding chapters and sections details, and described chapters and sections details are carried out to verification; Subsequently, to next step 206, generate the XML file of roaming agreement AA.14 according to the chapters and sections details after verification; Last the method ends at step 207.In the time of a newly-built RAEX AA.14XML file, need first receive chapters and sections frame information, this part adopts double-deck checking mode, ensures that the chapters and sections frame information of initial typing meets RAEX AA.14 standard criterion.Follow-up each chapters and sections will build RAEX AA.14 page info according to this chapters and sections frame information.
Ground floor verification: adopt JavaScript and regular expression to carry out verification to the typing of each.Control by JavaScript, regular expression rule, the information of this method of calibration to essential input and the form of input data, carry out comparatively strict verification.In the time that user asks to submit to, can trigger verification controller, controller calls respectively different rules and carries out verification.If verification is not passed through, use cursor focusing technology, cursor is parked on problematic Information, facilitate user to locate fast errors present.For example TADIG code must be capitalization and digit groups 5 and can multiple use ", " separate, regular expression used be "/^[A-Z] and 3}[0-9A-Z] { 2} $/".In the time that user asks to submit to the TADIG information of input, can trigger verification controller the TADIG code of user's input is carried out to regular expression verification.
Second layer verification: based on the verification of RAEX AA.14 standard criterion file.The verification file of this verification based on RAEXAA14, generate a self-defining XML masterplate file, utilize this self-defining XML masterplate file to preserve the entry information in initial page, when user submits to after initial page information, then carry out this XML masterplate file with initial information of verification according to the verification file of RAEX AA14.By this processing logic, can guarantee that the chapters and sections frame information of typing meets the standard of RAEX AA14 completely.If now verification not by; can be by the mode that extremely reports an error to key-course, various abnormal informations are translated into the readable information of user by key-course, to help the quick alignment error reason of user and Error Location.For example, based on xsd file generated XML masterplate file, the initial information of user's input is loaded in self-defining XML file.After user determines and submits to, resolve this XML file, and carry out verification with the standard criterion tadig-raex-aa14-3.0.xsd of RAEX AA14.Need to be consistent with the value type of the normal RAEX AA14 file using as Postal Address, specific implementation is: <ns2:tadigInitVOxmlns=" https: //infocentre.gsm.org/TADIG-RAEX-AA14 "
" the words has quoted TADIG-RAEX-AA14-3.0.xsd to > to xmlns:ns2=" https: //www.cmsz.com/TADIG-miniRAEX ", the verification file of RAEX AA14.
The verification of chapters and sections frame information has ensured that information can not produce format error, meets the standard of roaming agreement AA.14 standard criterion file simultaneously.
In the flow chart of the 3rd preferred embodiment of the generation method of the roaming protocol file of the present invention shown in Fig. 3, the generation method of described roaming protocol file starts from step 300; After step 300, proceed to step 301, receive chapters and sections frame information, described chapters and sections frame information is carried out to verification; Subsequently, to next step 302, generate at least one chapters and sections information page according to described chapters and sections frame information; Subsequently, to next step 303, receive corresponding chapters and sections details; Subsequently, to next step 304, based on JavaScript and roaming agreement AA.14 standard criterion file, the customizing messages of described chapters and sections details is carried out to verification; Subsequently, to next step 305, generate the XML file of roaming agreement AA.14 according to the chapters and sections details after verification; Last the method ends at step 306.After receiving chapters and sections details, carry out verification to the chapters and sections details of giving chapters and sections, verification is mainly to be undertaken by javaScript and tadig-raex-aa14-3.0.xsd.Specific content on the main verification page of JavaScript, tadig-raex-aa14-3.0.xsd carries out verification to the specific nodal information of each chapters and sections.For example choose certain check box, but do not inputted specifying information, will point out error message by JavaScript verification.User, in each chapters and sections input message, after the verification by JavaScript, carries out verification according to this tadig-raex-aa14-3.0.xsd file to each node.To write in interim xml file RAEX_AA14.xml by the specific nodal information of verification, will have to the node by verification not the information indicating user that reports an error and correct.The inspection of chapters and sections details has ensured that chapters and sections details meet the standard of roaming agreement AA.14 standard criterion file.
In the flow chart of the 4th preferred embodiment of the generation method of the roaming protocol file of the present invention shown in Fig. 4, the generation method of described roaming protocol file starts from step 400; After step 400, proceed to step 401, receive chapters and sections frame information, described chapters and sections frame information is carried out to verification; Subsequently, to next step 402, generate at least one chapters and sections information page according to described chapters and sections frame information; Subsequently, to next step 403, each described chapters and sections information page receives corresponding chapters and sections details, and described chapters and sections details are carried out to verification; Subsequently, to next step 404, determine the node of roaming protocol file to be generated according to described roaming agreement AA.14 standard criterion file; Subsequently, to next step 405, determine and the corresponding chapters and sections information page of described node, form point chapters and sections editor's the page; Subsequently, to next step 406, in described point of chapters and sections editor's the page, the class object of node receives the chapters and sections details after described verification, and the assignment information of described chapters and sections details is carried out to verification; Subsequently, to next step 407, be XML file by after treatment step S43 point of chapters and sections editor's conversion of page; Last the method ends at step 408.
In the step of XML file that generates roaming agreement AA.14, first utilize JAXB assembly to determine the node of roaming protocol file to be generated according to roaming agreement AA.14 standard criterion file (tadig-raex-aa14-3.0.xsd file), for example: the IndividualAnnex in tadig-raex-aa14-3.0.xsd file is a class to picture file, such is to having comprised in picture: DocumentHeader, SenderSignature, RevisionSheet, ContactInformationList, AgreementManagement, Services, BillingAndAccounting, CustomerCare, TechnicalAspects, DataPrivacy, FraudPreventionProcedure, BillingAndTransfer, BIDList.These are the larger nodes in RAEX AA.14, by generating class object files, can operate these nodes respectively.
Then above-mentioned larger node is corresponded on chapters and sections information page, each chapters and sections information page can carry different node datas on demand, forms point chapters and sections editor's page structure.By JRE Classloader, class is loaded in internal memory picture, each node is processed, the follow-up data of collecting are changed and preserved.The chapters and sections details of typing on each chapters and sections information page are assigned to the class of each node by http request request mode to picture.In the time that user clicks preservation, by AA.14 standard criterion file, assignment information is carried out to verification, if assignment information does not meet tadig-raex-aa14-3.0.xsd rule, can throw exception information, after program is analyzed abnormal information, prompting user Error Location and the reason of makeing mistakes.
Finally each chapters and sections information page is completed after editor's preservation, utilize JAXB assembly that class is converted to XML file to picture according to the rule of tadig-raex-aa14-3.0.xsd.
The generation step of concrete XML has ensured accuracy and the reliability of XML file generated.
As the preferred embodiment of the generation method of roaming protocol file of the present invention, the generation method of described roaming protocol file comprises step: chapters and sections frame information and chapters and sections details are edited, adopted tab that multiple edit pages are incorporated in a framework when editor; Described XML file is converted to PDF, DOC form, XLS form or CSV formatted output.
Utilize the XML file process function in JRE, read the content in existing xml file, by the file of the various forms of xml file generated, comprise PDF, word, excel by conversion process functional module (main by the third-party JAR bag of encapsulation).By JAXB assembly, XML file is read in system, now the each node in XML file be a JAVA to picture, the people's information of being wherein related to picture.This,, to the content in picture, is called to the EXCEL processing capacity of JRE, during this is combined to the associated person information content in picture and necessary descriptive information content, generate the file of CSV form.When chapters and sections frame information and chapters and sections details are edited, utilize IFORM page framework technology that the content of multiple pages is combined in an IFORM framework, to reach the effect of split screen, facilitated user's operation.
The present invention has also constructed a kind of generation system of roaming protocol file, in the structural representation of the first preferred embodiment of the generation system of the roaming protocol file of the present invention shown in Fig. 5, the generation system of described roaming protocol file comprises the first processing module 1, page generation module 2, the second processing module 3 and file generating module 4, the first processing module 1 is for receiving chapters and sections frame information, described chapters and sections frame information is carried out to verification, and page generation module 2 is for generating at least one chapters and sections information page according to described chapters and sections frame information; The second processing module 3 receives corresponding chapters and sections details for each described chapters and sections information page, and described chapters and sections details are carried out to verification; File generating module 4 is for generating the XML file of roaming agreement AA.14 according to the chapters and sections details after verification.The system of the roaming agreement AA.14 file more than generating is simple to operation, and multistage verification simultaneously makes the roaming agreement AA.14 file security of generation reliable, has avoided the defect of roaming agreement AA.14 file without simple and easy reliable production method.
In the structural representation of the second preferred embodiment of the generation system of the roaming protocol file of the present invention shown in Fig. 6, the first processing module 1 comprises the first receiving element 11, the first verification unit 12 and the second verification unit 13, the first receiving element 11 is for receiving described chapters and sections frame information, and the first verification unit 12 is for carrying out ground floor verification based on JavaScript and regular expression to described chapters and sections frame information; The second verification unit 13 is for carrying out second layer verification based on roaming agreement AA.14 standard criterion file to described chapters and sections frame information.In the time of a newly-built RAEX AA.14XML file, the first receiving element 11 need first receive chapters and sections frame information, this part adopts the double-deck checking mode of the first verification unit 12 and the second verification unit 13, ensures that the chapters and sections frame information of initial typing meets RAEX AA.14 standard criterion.Follow-up each chapters and sections will build RAEX AA.14 page info according to this chapters and sections frame information.Concrete ground floor verification and the process of second layer verification are referring to foregoing.The verification of chapters and sections frame information has ensured that information can not produce format error, meets the standard of roaming agreement AA.14 standard criterion file simultaneously.
In the structural representation of the 3rd preferred embodiment of the generation system of the roaming protocol file of the present invention shown in Fig. 7, the second processing module 3 comprises the second receiving element 31 and the 3rd verification unit 32, the second receiving element 31 is for receiving corresponding chapters and sections details, and the 3rd verification unit 32 is for carrying out verification based on JavaScript and roaming agreement AA.14 standard criterion file to the customizing messages of described chapters and sections details.After the second receiving element 31 receives chapters and sections details, the 3rd verification unit 32 will be carried out verification to the chapters and sections details of giving chapters and sections.Concrete checking procedure is referring to foregoing.The inspection of chapters and sections details has ensured that chapters and sections details meet the standard of roaming agreement AA.14 standard criterion file.
In the structural representation of the 4th preferred embodiment of the generation system of the roaming protocol file of the present invention shown in Fig. 8, file generating module 4 comprises node confirmation unit 41, page confirmation unit 42, Data Enter unit 43 and file generating unit 44, and node confirmation unit 41 is for determining the node of roaming protocol file to be generated according to described roaming agreement AA.14 standard criterion file; Page confirmation unit 42, for determining and the corresponding chapters and sections information page of described node, forms point chapters and sections editor's the page; Data Enter unit 43 receives the chapters and sections details after described verification for the class object of described point of chapters and sections editor's page node, and the assignment information of described chapters and sections details is carried out to verification; File generating unit 44 is for being XML file by the 43 after treatment points of chapters and sections editors' in described Data Enter unit conversion of page.First node confirmation unit 41 utilizes JAXB assembly to determine the node of roaming protocol file to be generated according to roaming agreement AA.14 standard criterion file (tadig-raex-aa14-3.0.xsd file), then page confirmation unit 42 corresponds to above-mentioned larger node on chapters and sections information page, each chapters and sections information page can carry different node datas on demand, forms point chapters and sections editor's page structure.By JRE Classloader, class is loaded in internal memory picture, each node is processed, the follow-up data of collecting are changed and preserved.Data Enter unit 43 is assigned to the class of each node to picture by http request request mode to the chapters and sections details of typing on each chapters and sections information page.In the time that user clicks preservation, by AA.14 standard criterion file, assignment information is carried out to verification, if assignment information does not meet tadig-raex-aa14-3.0.xsd rule, can throw exception information, after program is analyzed abnormal information, prompting user Error Location and the reason of makeing mistakes.Final act generation unit 44 completes after editor's preservation each chapters and sections information page, utilizes JAXB assembly that class is converted to XML file to picture according to the rule of tadig-raex-aa14-3.0.xsd.The generation step of concrete XML has ensured accuracy and the reliability of XML file generated.
In the structural representation of the 5th preferred embodiment of the generation system of the roaming protocol file of the present invention shown in Fig. 9, the generation system of described roaming protocol file comprises editor module 5 and modular converter 6.Editor module 5, for described chapters and sections frame information and described chapters and sections details are edited, adopts tab that multiple edit pages are incorporated in a framework when editor; Modular converter 6 is for being converted to PDF, DOC form, XLS form or CSV formatted output by described XML file.Modular converter 6 utilizes the XML file process function in JRE, read the content in existing xml file, by the file of the various forms of xml file generated, comprise PDF, word, excel by conversion process functional module (main by the third-party JAR bag of encapsulation).By JAXB assembly, XML file is read in system, now the each node in XML file be a JAVA to picture, the people's information of being wherein related to picture.This,, to the content in picture, is called to the EXCEL processing capacity of JRE, during this is combined to the associated person information content in picture and necessary descriptive information content, generate the file of CSV form.When editor module 5 is edited chapters and sections frame information and chapters and sections details, utilize IFORM page framework technology that the content of multiple pages is combined in an IFORM framework, to reach the effect of split screen, facilitated user's operation.
The foregoing is only embodiments of the invention; not thereby limit the scope of the claims of the present invention; every equivalent structure transformation that utilizes specification of the present invention and accompanying drawing content to do, or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (8)

1. a generation method for roaming protocol file, is characterized in that, comprises step:
S1, reception chapters and sections frame information, carry out verification to described chapters and sections frame information;
S2, generate at least one chapters and sections information page according to described chapters and sections frame information;
S3, each described chapters and sections information page receive corresponding chapters and sections details, and described chapters and sections details are carried out to verification;
S4, generate the XML file of roaming agreement AA.14 according to chapters and sections details after verification;
Wherein, described step S4 comprises step:
S41, determine the node of roaming protocol file to be generated according to described roaming agreement AA.14 standard criterion file;
S42, the definite and corresponding chapters and sections information page of described node, form the page that divides chapters and sections editor;
In S43, described point of chapters and sections editor's the page, the class object of node receives the chapters and sections details after described verification, and the assignment information of described chapters and sections details is carried out to verification;
S44, be XML file by after treatment step S43 point of chapters and sections editor's conversion of page.
2. the generation method of roaming protocol file according to claim 1, is characterized in that, described step S1 comprises step:
S11, receive described chapters and sections frame information;
S12, based on JavaScript and regular expression, described chapters and sections frame information is carried out to ground floor verification;
S13, based on roaming agreement AA.14 standard criterion file, described chapters and sections frame information is carried out to second layer verification.
3. the generation method of roaming protocol file according to claim 1, is characterized in that, described step S3 comprises step:
S31, receive corresponding chapters and sections details;
S32, based on JavaScript and roaming agreement AA.14 standard criterion file, the customizing messages of described chapters and sections details is carried out to verification.
4. the generation method of roaming protocol file according to claim 1, is characterized in that, the generation method of described roaming protocol file comprises step:
Described chapters and sections frame information and described chapters and sections details are edited, when editor, adopted tab that multiple edit pages are incorporated in a framework;
After described step S4, comprise described XML file is converted to PDF, DOC form, XLS form or CSV formatted output.
5. a generation system for roaming protocol file, is characterized in that, comprising:
The first processing module (1): for receiving chapters and sections frame information, described chapters and sections frame information is carried out to verification;
Page generation module (2): for generating at least one chapters and sections information page according to described chapters and sections frame information;
The second processing module (3): receive corresponding chapters and sections details for each described chapters and sections information page, and described chapters and sections details are carried out to verification; And
File generating module (4): for generate the XML file of roaming agreement AA.14 according to the chapters and sections details after verification;
Described file generating module (4) comprising:
Node confirmation unit (41): for determine the node of roaming protocol file to be generated according to described roaming agreement AA.14 standard criterion file;
Page confirmation unit (42): for determining and the corresponding chapters and sections information page of described node, form point chapters and sections editor's the page;
Data Enter unit (43): the class object for described point of chapters and sections editor's page node receives the chapters and sections details after described verification, and the assignment information of described chapters and sections details is carried out to verification; And
File generating unit (44): for being XML file by the after treatment point of chapters and sections editor's in described Data Enter unit (43) conversion of page.
6. the generation system of roaming protocol file according to claim 5, is characterized in that, described the first processing module (1) comprising:
The first receiving element (11): for receiving described chapters and sections frame information;
The first verification unit (12): for described chapters and sections frame information being carried out to ground floor verification based on JavaScript and regular expression; And
The second verification unit (13): for described chapters and sections frame information being carried out to second layer verification based on roaming agreement AA.14 standard criterion file.
7. the generation system of roaming protocol file according to claim 5, is characterized in that, described the second processing module (3) comprising:
The second receiving element (31): for receiving corresponding chapters and sections details; And
The 3rd verification unit (32): for the customizing messages of described chapters and sections details being carried out to verification based on JavaScript and roaming agreement AA.14 standard criterion file.
8. the generation system of roaming protocol file according to claim 5, is characterized in that, the generation system of described roaming protocol file comprises:
Editor module (5): for described chapters and sections frame information and described chapters and sections details are edited, adopt tab that multiple edit pages are incorporated in a framework when editor; And
Modular converter (6): for described XML file is converted to PDF, DOC form, XLS form or CSV formatted output.
CN201110002688.3A 2011-01-07 2011-01-07 Generating method and system of roaming protocol file Active CN102595366B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110002688.3A CN102595366B (en) 2011-01-07 2011-01-07 Generating method and system of roaming protocol file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110002688.3A CN102595366B (en) 2011-01-07 2011-01-07 Generating method and system of roaming protocol file

Publications (2)

Publication Number Publication Date
CN102595366A CN102595366A (en) 2012-07-18
CN102595366B true CN102595366B (en) 2014-10-08

Family

ID=46483483

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110002688.3A Active CN102595366B (en) 2011-01-07 2011-01-07 Generating method and system of roaming protocol file

Country Status (1)

Country Link
CN (1) CN102595366B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109299051A (en) * 2018-12-10 2019-02-01 浪潮(北京)电子信息产业有限公司 A kind of performance data files management method and relevant apparatus

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101539914A (en) * 2008-03-18 2009-09-23 韩露 Technical proposal for readable customization conversion of web pages

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9264922B2 (en) * 2003-08-05 2016-02-16 Mobileum Inc. Method and system for ensuring service continuity in case of a proxy profile gateway failure or interruption
US8583109B2 (en) * 2005-05-09 2013-11-12 Roamware, Inc. Method and system for exchanging NRTRDE files between a visited network and a home network in real time
WO2009015273A2 (en) * 2007-07-24 2009-01-29 Roamware, Inc. Predictive intelligence

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101539914A (en) * 2008-03-18 2009-09-23 韩露 Technical proposal for readable customization conversion of web pages

Also Published As

Publication number Publication date
CN102595366A (en) 2012-07-18

Similar Documents

Publication Publication Date Title
US20210103573A1 (en) Creating data in a data store using a dynamic ontology
CN103383645B (en) Code generating method and system
CN104484216B (en) Service interface document and on-line testing instrument generation method, device
CN108037920A (en) Client customizing form generation method, storage medium
CN102201009B (en) Form generating method and device
CN103370702B (en) The system and method for structuring address is obtained by geocoding Un-structured address information
CN106708480A (en) Management platform realization method and apparatus
US20160092502A1 (en) Graphical modeling of database query statements
US10817662B2 (en) Expert system for automation, data collection, validation and managed storage without programming and without deployment
CN104020997A (en) Extensible graphical rule application system
Kapitsaki et al. Model-driven development of composite context-aware web applications
CN107391153A (en) A kind of code generating method and device based on Spring Yu MyBatis framework integrations
CN109408043A (en) A kind of program creating method and device
CN106663090A (en) Converting presentation metadata to a browser-renderable format during compilation
CN108304192B (en) Method and system for automatically generating CAN interaction layer code
CN109634579A (en) Code generating method, device, computer installation and storage medium
US20090172581A1 (en) System, method and apparatus for multiple field pasting
CN114510262A (en) Interface request parameter verification method and device
CN102595366B (en) Generating method and system of roaming protocol file
CN109753639A (en) Front and back unifies method of calibration, device, storage medium and electronic equipment
CN105573972B (en) The generation method and device of report check formula
CN104253790A (en) Method and equipment for page flow standardization
CN107870765B (en) Message splicing method and terminal
CN114328539A (en) Method and device for importing table file, readable storage medium and computer equipment
US20230027880A1 (en) Techniques for automated testing of application programming interfaces

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 518048 Guangdong province Futian District Shenzhen City Binhe Road, No. 9023, building 11, 41 layers of the country through the

Patentee after: Medium shift information technology Co., Ltd.

Address before: 518048 building 11, Shenzhen, Guangdong, Binhe Avenue, No. 9023

Patentee before: China Mobile (Shenzhen) Co., Ltd.