CN103491159B - Work order analysis asynchronous calling service method and system - Google Patents
Work order analysis asynchronous calling service method and system Download PDFInfo
- Publication number
- CN103491159B CN103491159B CN201310429853.2A CN201310429853A CN103491159B CN 103491159 B CN103491159 B CN 103491159B CN 201310429853 A CN201310429853 A CN 201310429853A CN 103491159 B CN103491159 B CN 103491159B
- Authority
- CN
- China
- Prior art keywords
- parsing
- module
- data
- tuxedo
- attribute
- 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
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention relates to a work order analysis asynchronous calling service method. The method comprises the specific following steps of the step 1, receiving XML extensible markup language message sent out of a CRM mobile operating system, the step 2, analyzing the XML extensible markup language message and combining the XML extensible markup language message into data in a data type needed by tuxedo middleware service, the step 3, configuring an address of a dynamic base in a configuration file, the step 4, opening the dynamic base to obtain a handle and an address of the tuxedo middleware service, and the step 5, calling the address of the tuxedo middleware service and sending the address of the tuxedo middleware service to the combined data in the step 2 to achieve the purpose of asynchronously calling the tuxedo middleware service. The method moves service calling to a BOSS terminal, flexibly configures asynchronous calling service, improves the success rate of service, is flexible to use, strong in generality and high in success rate of service and reduces risk.
Description
Technical field
The present invention relates to a kind of method and system of work order parsing asynchronous call service.
Background technology
Need to cross over two systems some telecommunication services are handled, a CRM client, one is BOSS financial managements
System, these business client handle terminate after the data that produce need to pass to financial management system and call corresponding service
Could be by whole business handling success.
Current these operation flows use synchronization call service, are exactly the tuxedo services of CRM client synchronization calls,
If calling serv-fail, mistake will be returned to, whole business will also handle failure.
The content of the invention
The technical problems to be solved by the invention are aimed at CRM system synchronization call account tuxedo clothes
Business low-response, and if the failure of financial management system service dispatch by whole flow process business, it is necessary to do rollback operation, business is most
Handling eventually to succeed, in order to improve business handling success rate, the invention provides a kind of parsing asynchronous call service of work order
Method, is synchronously parsed, the service that will be called in client management system by work order, is put into the execution of account guard system, is this enhanced
The success rate of system speed, flexibility and business handling.
The technical scheme that the present invention solves above-mentioned technical problem is as follows:A kind of method of work order parsing asynchronous call service,
Specifically include following steps:
Step 1:Receive the XML extensible markup language messages sent from CRM mobile operations system;
Step 2:Parsing XML extensible markup language messages, are combined into the data type of tuxedo middleware services needs
Data;
Step 3:It is by name dynamic base configuration path in configuration file.
Step 4:Dynamic base is opened according to path, the address of tuxedo middleware services is obtained;
Step 5:The address of tuxedo middleware services is called, in the middle of the incoming tuxedo of the data that step 2 is combined
The address of part service, realizes asynchronous call tuxedo middleware services.
The beneficial effects of the invention are as follows:Calling for servicing is moved on to BOSS ends by the method for the invention, different using flexible configuration
Step is serviced, and improves the success rate of transacting business;Using flexible, highly versatile, the success rate of business handling is high, risk reduction.
On the basis of above-mentioned technical proposal, the present invention can also do following improvement.
Further, the step 2 specifically includes following steps:
Step 2.1:Treatment heading, the parameter of heading is replaced, and key-value pair is answered type attribute;
Step 2.2:Attribute node in treatment message, by the nodal value in type attribute correspondence attribute node;
Step 2.3:Nodal value and type attribute are combined into the data of the data type of tuxedo middleware services needs.
Further, the data type that tuxedo middleware services need in step 2 uses utype data types, described
The structure of the similar C language of utype data types, for storing various types of structures such as character, integer.
Further, the step 4 opens database using the pattern specified, before the pattern specified realizes Background scheduling
Platform is serviced.
Beneficial effect using above-mentioned further scheme is that the pattern specified realizes that Background scheduling foreground services, and
Foreground service is the program for pre-setting, it is not necessary to developed again again.
Further, the foreground information on services such as service, synchronizing information are preserved in the dynamic base.
It is directed to CRM system synchronization call account tuxedo service responses slow, and if financial management system
The failure of system service call by whole flow process business, it is necessary to do rollback operation, business is finally handled can not succeed, and be done to improve business
Reason success rate, the invention provides a kind of system of work order parsing asynchronous call service, is synchronously parsed by work order, will be managed in client
The service that reason system is called, is put into the execution of account guard system, this enhances the success rate of system speed, flexibility and business handling.
A kind of system of work order parsing asynchronous call service, including receiver module, parsing module, configuration module, collection mould
Block and call transport module;
The receiver module receives the XML extensible markup language messages sent from CRM mobile operations system, and by XML
Extensible markup language message is sent to parsing module;
The parsing module is used to parse XML extensible markup language messages, is combined into tuxedo middleware services needs
Data type data, and by the data transfer to calling transport module;
The configuration module is used to be configured in configuration file the address of dynamic base;
The acquisition module is used to open dynamic base, obtains the address of handle and tuxedo middleware services and sends to tune
Use transport module;
It is described to call transport module for calling the address of tuxedo middleware services, the number of incoming parsing module combination
According to realizing asynchronous call tuxedo middleware services.
The beneficial effects of the invention are as follows:Calling for servicing is moved on to BOSS ends by system of the present invention, using flexible configuration
Asynchronous call is serviced, and improves the success rate of transacting business;Using flexible, highly versatile, the success rate of business handling is high, risk
Reduce.
On the basis of above-mentioned technical proposal, the present invention can also do following improvement.
Further, the parsing module includes heading parsing module, attribute node parsing module and composite module;
The heading parsing module is used to process heading, and the parameter of heading is replaced, and key-value pair is answered type attribute;
The attribute node parsing module is used to process the attribute node in message, by type attribute correspondence attribute node
Nodal value;
The composite module is used to be combined into nodal value and type attribute the data of tuxedo middleware services needs
The data of type.
Further, XML extensible markup language packet parsings are combined into utype data types, institute by the parsing module
The structure of the similar C language of utype data types is stated, for storing various types of structures such as character, integer.
Further, the acquisition module opens database using the pattern specified, and the pattern specified realizes that backstage is adjusted
Serviced with foreground.
Beneficial effect using above-mentioned further scheme is that the pattern specified realizes that Background scheduling foreground services, and
Foreground service is the program for pre-setting, it is not necessary to developed again again.
Further, the foreground information on services such as service, synchronizing information are preserved in the dynamic base.
The XML message that CRM (mobile operation portion) comes is parsed first, three step process can be divided into:1st, report
Literary head treatment, 2, attribute node treatment in message, property value treatment, contains type attribute in 3 messages in attribute node, so
Nodal value and type attribute are combined as a unified value.XML message parsing is thus combined into tuxedo(Middleware)
The utype data types for needing are serviced, for lower step asynchronous call service is prepared.
Secondly the address of dynamic base is configured in configuration file, dynamic base is opened with the pattern specified, obtained and (service original
All it is compiled into dynamic base) handle calls to process.The address of tuxedo services is obtained from the dynamic base opened.Then adjusting
With the incoming utype parameters in this address and database information.So as to easily realize asynchronous call tuxedo services.
Synchronization call service is used at present, calls tuxedo to service error will to retract whole operation flow if last.
Brief description of the drawings
Fig. 1 is a kind of method flow diagram of work order parsing asynchronous call service described in the specific embodiment of the invention 1;
Fig. 2 is a kind of system architecture diagram of work order parsing asynchronous call service described in the specific embodiment of the invention 2;
Fig. 3 is a kind of method flow diagram of work order parsing asynchronous call service described in the specific embodiment of the invention 3.
In accompanying drawing, the list of parts representated by each label is as follows:
1st, receiver module, 2, parsing module, 3, configuration module, 4, acquisition module, 5, call transport module, 21, heading
Parsing module, 22, attribute node parsing module, 23, composite module.
Specific embodiment
Principle of the invention and feature are described below in conjunction with accompanying drawing, example is served only for explaining the present invention, and
It is non-for limiting the scope of the present invention.
As shown in figure 1, a kind of method flow of work order parsing asynchronous call service described in the specific embodiment of the invention 1
Figure, specifically includes following steps:
Step 1:Receive the XML extensible markup language messages sent from CRM mobile operations system;
Step 2:Parsing XML extensible markup language messages, process heading, and the parameter of heading is replaced, and make key assignments
Corresponding types attribute;
Step 3:Attribute node in treatment message, by the nodal value in type attribute correspondence attribute node;
Step 4:Nodal value and type attribute are combined into the data of the data type of tuxedo middleware services needs;
Step 5:It is by name dynamic base configuration path in configuration file.
Step 6:Dynamic base is opened according to path, the address of tuxedo middleware services is obtained;
Step 7:The address of tuxedo middleware services is called, in the middle of the incoming tuxedo of the data that step 2 is combined
The address of part service, realizes asynchronous call tuxedo middleware services.
The data type that tuxedo middleware services need in step 4 uses utype data types, the utype data
The structure of the similar C language of type, for storing various types of structures such as character, integer.
The step 6 opens database using the pattern specified, and the pattern specified realizes that Background scheduling foreground services.
The foreground information on services such as service, synchronizing information are preserved in the dynamic base.
As shown in Fig. 2 a kind of system architecture of work order parsing asynchronous call service described in the specific embodiment of the invention 2
Block diagram, including receiver module 1, parsing module 2, configuration module 3, acquisition module 4 and call transport module 5;
The receiver module 1 receives the XML extensible markup language messages sent from CRM mobile operations system, and by XML
Extensible markup language message is sent to parsing module 2;
The parsing module 2 is used to parse XML extensible markup language messages, is combined into tuxedo middleware services needs
Data type data, and by the data transfer to calling transport module 5;
The configuration module 3 is used to be configured in configuration file the address of dynamic base;
The acquisition module 4 is used to open dynamic base, obtains the address of handle and tuxedo middleware services and sends extremely
Call transport module 5;
It is described to call transport module 5 for calling the address of tuxedo middleware services, the number of the combination of incoming parsing module 2
According to realizing asynchronous call tuxedo middleware services.
The parsing module 2 includes heading parsing module 21, attribute node parsing module 22 and composite module 23;
The heading parsing module 21 is used to process heading, and the parameter of heading is replaced, and makes key assignments corresponding types
Attribute;
The attribute node parsing module 22 is used to process the attribute node in message, by type attribute correspondence attribute node
In nodal value;
The composite module 23 is used to be combined into nodal value and type attribute the number of tuxedo middleware services needs
According to the data of type.
XML extensible markup language packet parsings are combined into utype data types, the utype by the parsing module 2
The structure of the similar C language of data type, for storing various types of structures such as character, integer.
The acquisition module 4 opens database using the pattern specified, and the pattern specified realizes Background scheduling foreground
Service.
The foreground information on services such as service, synchronizing information are preserved in the dynamic base.
As shown in figure 3, the specific embodiment of the invention 3 is as follows:
System reads this configuration file of c2b_app.cfg first,
The configuration of the various parameters of system needs is configured in this configuration file.
Concrete meaning sees below:
# progress informations
[procNo]
# programs run time of having a rest number
runPeriod=10
# programs run-limiting is recorded
limitRows=10
# database names
dblable=bosschangeb1
# journal files
runLog=../ifCrm2Boss.log
Annex:
Business work order analysis program:
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all it is of the invention spirit and
Within principle, any modification, equivalent substitution and improvements made etc. should be included within the scope of the present invention.
Claims (8)
1. a kind of method that work order parsing asynchronous call is serviced, it is characterised in that specifically include following steps:
Step 1:Receive the XML extensible markup language messages sent from CRM mobile operations system;
Step 2:Parsing XML extensible markup language messages, are combined into the number of the data type of tuxedo middleware services needs
According to;Message header processing, attribute node treatment in message, property value treatment, contains type attribute in message in attribute node, will save
Point value and type attribute combination are used as a unified value;XML message parsing is combined into tuxedo middleware services needs
Utype data types;The utype data types are used to store the various types of structures of character, integer;
Step 3:It is by name dynamic base configuration path in configuration file;
Step 4:Dynamic base is opened according to path, the address of tuxedo middleware services is obtained;
Step 5:The address of tuxedo middleware services is called, the incoming tuxedo middlewares clothes of the data that step 2 is combined
The address of business, realizes asynchronous call tuxedo middleware services.
2. the method that a kind of work order parsing asynchronous call according to claim 1 is serviced, it is characterised in that the step 2
Specifically include following steps:
Step 2.1:Treatment heading, the parameter of heading is replaced, and key-value pair is answered type attribute;
Step 2.2:Attribute node in treatment message, by the nodal value in type attribute correspondence attribute node;
Step 2.3:Nodal value and type attribute are combined into the data of the data type of tuxedo middleware services needs.
3. the method that a kind of work order parsing asynchronous call according to claim 1 is serviced, it is characterised in that the step 4
Database is opened using the pattern specified, the pattern specified realizes that Background scheduling foreground services.
4. the method that a kind of work order parsing asynchronous call according to claim 3 is serviced, it is characterised in that the dynamic base
It is middle to preserve service, synchronizing information foreground information on services.
5. the system that a kind of work order parsing asynchronous call is serviced, including receiver module, parsing module, configuration module, acquisition module
With call transport module;
The receiver module receives the XML extensible markup language messages sent from CRM mobile operations system, and XML can be expanded
Exhibition markup language message is sent to parsing module;
The parsing module is used to parse XML extensible markup language messages, is combined into the number of tuxedo middleware services needs
According to the data of type, and by the data transfer to calling transport module;Message header processing, attribute node treatment in message, report
Property value treatment, contains type attribute in text in attribute node, and nodal value and type attribute are combined as a unified value;
XML message parsing is combined into the utype data types of tuxedo middleware services needs;The utype data types are used to deposit
Storage character, the various types of structures of integer;
The configuration module is used to be configured in configuration file the address of dynamic base;
The acquisition module is used to open dynamic base, obtain handle and tuxedo middleware services address and transmission to calling biography
Defeated module;
Described to call transport module for calling the address of tuxedo middleware services, the data of incoming parsing module combination are real
Existing asynchronous call tuxedo middleware services.
6. the system that a kind of work order parsing asynchronous call according to claim 5 is serviced, it is characterised in that the parsing mould
Block includes heading parsing module, attribute node parsing module and composite module;
The heading parsing module is used to process heading, and the parameter of heading is replaced, and key-value pair is answered type attribute;
The attribute node parsing module is used to process the attribute node in message, by the section in type attribute correspondence attribute node
Point value;
The composite module is used to be combined into nodal value and type attribute the data type of tuxedo middleware services needs
Data.
7. the system that a kind of work order parsing asynchronous call according to claim 5 is serviced, it is characterised in that the collection mould
Block opens database using the pattern specified, and the pattern specified realizes that Background scheduling foreground services.
8. the system that a kind of work order parsing asynchronous call according to claim 7 is serviced, it is characterised in that the dynamic base
It is middle to preserve service, synchronizing information foreground information on services.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310429853.2A CN103491159B (en) | 2013-09-18 | 2013-09-18 | Work order analysis asynchronous calling service method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310429853.2A CN103491159B (en) | 2013-09-18 | 2013-09-18 | Work order analysis asynchronous calling service method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103491159A CN103491159A (en) | 2014-01-01 |
CN103491159B true CN103491159B (en) | 2017-05-17 |
Family
ID=49831112
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310429853.2A Active CN103491159B (en) | 2013-09-18 | 2013-09-18 | Work order analysis asynchronous calling service method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103491159B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105187682A (en) * | 2015-08-11 | 2015-12-23 | 北京思特奇信息技术股份有限公司 | Batch data processing method and system |
CN109587261A (en) * | 2018-12-18 | 2019-04-05 | 芜湖智久机器人有限公司 | A kind of AGV data transmission system, transmission method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1238871A (en) * | 1996-11-22 | 1999-12-15 | 斯普林脱通讯有限公司 | System and method for providing enhanced services for telecommunication call |
CN101022431A (en) * | 2007-03-09 | 2007-08-22 | 中国移动通信集团福建有限公司 | Interface gateway and interface gateway data processing method |
CN101751241A (en) * | 2009-12-09 | 2010-06-23 | 南京联创科技集团股份有限公司 | Implementation method of DATACOM (data communication) data command platform |
CN101854348A (en) * | 2010-04-02 | 2010-10-06 | 南京联创科技集团股份有限公司 | Realization method of SOA (Service Oriented Architecture) accessing core supporting system in peripheral system |
-
2013
- 2013-09-18 CN CN201310429853.2A patent/CN103491159B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1238871A (en) * | 1996-11-22 | 1999-12-15 | 斯普林脱通讯有限公司 | System and method for providing enhanced services for telecommunication call |
CN101022431A (en) * | 2007-03-09 | 2007-08-22 | 中国移动通信集团福建有限公司 | Interface gateway and interface gateway data processing method |
CN101751241A (en) * | 2009-12-09 | 2010-06-23 | 南京联创科技集团股份有限公司 | Implementation method of DATACOM (data communication) data command platform |
CN101854348A (en) * | 2010-04-02 | 2010-10-06 | 南京联创科技集团股份有限公司 | Realization method of SOA (Service Oriented Architecture) accessing core supporting system in peripheral system |
Non-Patent Citations (1)
Title |
---|
《一个医疗保险收费和管理系统的设计与实现》;姚春琛;《中国优秀硕士学位论文全文数据库 信息科技辑》;20090915;第3.4-3.6节 * |
Also Published As
Publication number | Publication date |
---|---|
CN103491159A (en) | 2014-01-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101662742B (en) | System for supporting multi-protocol integrated short message platform and implementing method | |
CN107276790B (en) | Method and system for processing service work order | |
CN106814975A (en) | A kind of memory management method and its system for polymorphic type storage device | |
CN106027534A (en) | System for implementing financial message processing based on Netty | |
CN103780627A (en) | Native APP, Web APP and Wechat-similar APP information synchronization system | |
CN114449459B (en) | Message transmission method and platform function application function | |
CN107870982A (en) | Data processing method, system and computer-readable recording medium | |
CN108173915A (en) | Call chain processing method and processing device | |
CN103927314A (en) | Data batch processing method and device | |
CN107657031A (en) | Method based on android system management intelligent sound box voice technical ability | |
CN103491159B (en) | Work order analysis asynchronous calling service method and system | |
CN109587082A (en) | A kind of asynchronous repeater system of message based on (SuSE) Linux OS and method | |
CN109861998A (en) | A kind of plug-in type dynamic analysis system and method based on Big Dipper short message agreement | |
CN107066341B (en) | Event routing framework and method between software modules | |
CN110502560A (en) | A kind of method and server of Database Connection Parameters encapsulation | |
CN100499509C (en) | A data configuration method, system and operating and maintenance center | |
CN101924815A (en) | 3G MOA phone middleware embedded system | |
CN106131134A (en) | A kind of message content merges De-weight method and system | |
CN116827720A (en) | Multi-source heterogeneous data cross-system execution interface gateway and method | |
US20070207774A1 (en) | System for compiling data from call event information | |
CN108614820B (en) | Method and device for realizing streaming source data analysis | |
CN107769934A (en) | Rate processing method and processing device | |
CN107862040A (en) | The update method of data, device and a kind of cluster in a kind of caching of application example | |
CN107968798A (en) | A kind of network management resources label acquisition method, cache synchronization method, apparatus and system | |
CN106961529A (en) | Worksheet method and communication service equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |