CN103491159A - Work order analysis asynchronous calling service method and system - Google Patents

Work order analysis asynchronous calling service method and system Download PDF

Info

Publication number
CN103491159A
CN103491159A CN201310429853.2A CN201310429853A CN103491159A CN 103491159 A CN103491159 A CN 103491159A CN 201310429853 A CN201310429853 A CN 201310429853A CN 103491159 A CN103491159 A CN 103491159A
Authority
CN
China
Prior art keywords
service
module
work order
data
tuxedo middleware
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310429853.2A
Other languages
Chinese (zh)
Other versions
CN103491159B (en
Inventor
李�杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Si Tech Information Technology Co Ltd
Original Assignee
Beijing Si Tech Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Si Tech Information Technology Co Ltd filed Critical Beijing Si Tech Information Technology Co Ltd
Priority to CN201310429853.2A priority Critical patent/CN103491159B/en
Publication of CN103491159A publication Critical patent/CN103491159A/en
Application granted granted Critical
Publication of CN103491159B publication Critical patent/CN103491159B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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

A kind of work order is resolved the method and system of asynchronous call service
Technical field
The present invention relates to a kind of work order and resolve the method and system of asynchronous call service.
Background technology
Need to cross over two systems handling some telecommunication services, a CRM client, one is BOSS financial management system, these business client handle after finishing the data that produce need to pass to that the financial management system call serves accordingly could be by whole business handling success.
These operation flows adopt the synchronization call service at present, are exactly the tuxedo service of CRM client synchronization call, if call serv-fail, will return to mistake, and whole business also will be handled failure.
Summary of the invention
It is slow that technical problem to be solved by this invention is aimed at CRM system synchronization call account tuxedo service response, if and financial management system service dispatch failure, whole traffic flow need to be done to rollback operation, business is finally handled can not be successful, in order to improve the business handling success rate, the invention provides a kind of work order and resolve the method for asynchronous call service, by work order, synchronously resolve, the service that to call at client management system, be put into the account guard system and carry out, strengthened like this success rate of system speed, flexibility and business handling.
The technical scheme that the present invention solves the problems of the technologies described above is as follows: a kind of work order is resolved the method for asynchronous call service, specifically comprises the following steps:
Step 1: receive the XML extend markup language message sent from CRM mobile operation system;
Step 2: analyzing XML extend markup language message is combined into the data of the data type that the tuxedo middleware services needs;
Step 3: be the dynamic base configuration path by name in configuration file.
Step 4: open dynamic base according to path, obtain the address of tuxedo middleware services;
Step 5: call the address of tuxedo middleware services, the data of step 2 combination are imported into to the address of described tuxedo middleware services, realize asynchronous call tuxedo middleware services.
The invention has the beneficial effects as follows: calling that the method for the invention will be served moves on to the BOSS end, adopts the service of flexible configuration asynchronous call, improves the success rate of transacting business; Use flexibly, highly versatile, the success rate of business handling is high, and risk reduces.
On the basis of technique scheme, the present invention can also do following improvement.
Further, described step 2 specifically comprises the following steps:
Step 2.1: process heading, by the parameter replacement of heading, make key-value pair answer type attribute;
Step 2.2: process the attribute node in message, by the nodal value in the corresponding attribute node of type attribute;
Step 2.3: the data that nodal value and type attribute are combined into to the data type that the tuxedo middleware services needs.
Further, the data type that in step 2, the tuxedo middleware services needs adopts the utype data type, and the structure of the similar C language of described utype data type, for various types of structures such as store character, integers.
Further, described step 4 adopts the pattern of appointment to open database, and the pattern of described appointment realizes the service of Background scheduling foreground.
Adopt the beneficial effect of above-mentioned further scheme to be, the pattern of described appointment realizes the service of Background scheduling foreground, and the foreground service is the program pre-set, and does not need again to develop again.
Further, preserve the foreground information on services such as service, synchronizing information in described dynamic base.
Be directed to CRM system synchronization call account tuxedo service response slow, if and financial management system service dispatch failure, whole traffic flow need to be done to rollback operation, business is finally handled can not be successful, in order to improve the business handling success rate, the invention provides a kind of work order and resolve the system of asynchronous call service, by work order, synchronously resolve, the service that to call at client management system, be put into the account guard system and carry out, strengthened like this success rate of system speed, flexibility and business handling.
A kind of work order is resolved the system of asynchronous call service, comprises receiver module, parsing module, configuration module, acquisition module and calls transport module;
Described receiver module receives the XML extend markup language message sent from CRM mobile operation system, and XML extend markup language message is sent to parsing module;
Described parsing module is for analyzing XML extend markup language message, is combined into the data of the data type that the tuxedo middleware services needs, and by described transfer of data to calling transport module;
Described configuration module is for the address in configuration file configuration dynamic base;
Described acquisition module, for opening dynamic base, obtains the address of handle and tuxedo middleware services and is sent to and call transport module;
The described transport module that calls, for calling the address of tuxedo middleware services, imports the data of parsing module combination into, realizes asynchronous call tuxedo middleware services.
The invention has the beneficial effects as follows: calling that system of the present invention will be served moves on to the BOSS end, adopts the service of flexible configuration asynchronous call, improves the success rate of transacting business; Use flexibly, highly versatile, the success rate of business handling is high, and risk reduces.
On the basis of technique scheme, the present invention can also do following improvement.
Further, described parsing module comprises heading parsing module, attribute node parsing module and composite module;
Described heading parsing module, for the treatment of heading, by the parameter replacement of heading, makes key-value pair answer type attribute;
Described attribute node parsing module is for the treatment of the attribute node in message, by the nodal value in the corresponding attribute node of type attribute;
Described composite module is for the data of the data type that nodal value and type attribute is combined into to the tuxedo middleware services and needs.
Further, described parsing module is combined into the utype data type by XML extend markup language packet parsing, and the structure of the similar C language of described utype data type, for various types of structures such as store character, integers.
Further, described acquisition module adopts the pattern of appointment to open database, and the pattern of described appointment realizes the service of Background scheduling foreground.
Adopt the beneficial effect of above-mentioned further scheme to be, the pattern of described appointment realizes the service of Background scheduling foreground, and the foreground service is the program pre-set, and does not need again to develop again.
Further, preserve the foreground information on services such as service, synchronizing information in described dynamic base.
The XML message of at first CRM (mobile operation section) being come is resolved, can be divided into three step process: 1, message header processing, 2, in message, attribute node is processed, in 3 messages, property value is processed, contain type attribute in attribute node, nodal value and type attribute will be combined as a unified value like this.So just the XML packet parsing is combined into to the tuxedo(middleware) serve the utype data type needed, for the service of lower step asynchronous call has been prepared.
Secondly the address of configuration dynamic base in configuration file, open dynamic base by the pattern of appointment, obtains (service originally all had been compiled into dynamic base) handle and call to process.Obtain the address of tuxedo service from the dynamic base of opening.Then import utype parameter and database information into calling this address.Thereby easily realized asynchronous call tuxedo service.
Adopt at present the synchronization call service, make mistakes the whole operation flow of rollback if finally call the tuxedo service.
The accompanying drawing explanation
Fig. 1 is the method flow diagram that the described a kind of work order of the specific embodiment of the invention 1 is resolved the asynchronous call service;
Fig. 2 is the system architecture diagram that the described a kind of work order of the specific embodiment of the invention 2 is resolved the asynchronous call service;
Fig. 3 is the method flow diagram that the described a kind of work order of the specific embodiment of the invention 3 is resolved the asynchronous call service.
In accompanying drawing, the list of parts of each label representative is as follows:
1, receiver module, 2, parsing module, 3, configuration module, 4, acquisition module, 5, call transport module, 21, the heading parsing module, 22, the attribute node parsing module, 23, composite module.
Embodiment
Below in conjunction with accompanying drawing, principle of the present invention and feature are described, example, only for explaining the present invention, is not intended to limit scope of the present invention.
As shown in Figure 1, for the described a kind of work order of the specific embodiment of the invention 1, resolve the method flow diagram that asynchronous call is served, specifically comprise the following steps:
Step 1: receive the XML extend markup language message sent from CRM mobile operation system;
Step 2: analyzing XML extend markup language message, process heading, by the parameter replacement of heading, make key-value pair answer type attribute;
Step 3: process the attribute node in message, by the nodal value in the corresponding attribute node of type attribute;
Step 4: the data that nodal value and type attribute are combined into to the data type that the tuxedo middleware services needs;
Step 5: be the dynamic base configuration path by name in configuration file.
Step 6: open dynamic base according to path, obtain the address of tuxedo middleware services;
Step 7: call the address of tuxedo middleware services, the data of step 2 combination are imported into to the address of described tuxedo middleware services, realize asynchronous call tuxedo middleware services.
The data type that in step 4, the tuxedo middleware services needs adopts the utype data type, and the structure of the similar C language of described utype data type, for various types of structures such as store character, integers.
Described step 6 adopts the pattern of appointment to open database, and the pattern of described appointment realizes the service of Background scheduling foreground.
Preserve the foreground information on services such as service, synchronizing information in described dynamic base.
As shown in Figure 2, for the described a kind of work order of the specific embodiment of the invention 2, resolve the system architecture diagram that asynchronous call is served, comprise receiver module 1, parsing module 2, configuration module 3, acquisition module 4 and call transport module 5;
Described receiver module 1 receives the XML extend markup language message sent from CRM mobile operation system, and XML extend markup language message is sent to parsing module 2;
Described parsing module 2 is for analyzing XML extend markup language message, is combined into the data of the data type that the tuxedo middleware services needs, and by described transfer of data to calling transport module 5;
Described configuration module 3 is for the address in configuration file configuration dynamic base;
Described acquisition module 4, for opening dynamic base, obtains the address of handle and tuxedo middleware services and is sent to and call transport module 5;
The described transport module 5 that calls, for calling the address of tuxedo middleware services, imports the data of parsing module 2 combinations into, realizes asynchronous call tuxedo middleware services.
Described parsing module 2 comprises heading parsing module 21, attribute node parsing module 22 and composite module 23;
Described heading parsing module 21, for the treatment of heading, by the parameter replacement of heading, makes key-value pair answer type attribute;
Described attribute node parsing module 22 is for the treatment of the attribute node in message, by the nodal value in the corresponding attribute node of type attribute;
Described composite module 23 is for the data of the data type that nodal value and type attribute is combined into to the tuxedo middleware services and needs.
Described parsing module 2 is combined into the utype data type by XML extend markup language packet parsing, and the structure of the similar C language of described utype data type, for various types of structures such as store character, integers.
Described acquisition module 4 adopts the pattern of appointment to open database, and the pattern of described appointment realizes the service of Background scheduling foreground.
Preserve the foreground information on services such as service, synchronizing information in described dynamic base.
As shown in Figure 3, the specific embodiment of the invention 3 is as follows:
At first system reads this configuration file of c2b_app.cfg,
The configuration of the various parameters that the system that configuring in this configuration file needs.
Below concrete meaning is shown in:
The # progress information
[procNo]
# program operation time of having a rest number
runPeriod=10
# program operation restriction record
limitRows=10
The # database name
dblable=bosschangeb1
The # journal file
runLog=../ifCrm2Boss.log
Appendix:
Business work order analysis program:
Figure BDA0000384083790000071
Figure BDA0000384083790000081
Figure BDA0000384083790000091
Figure BDA0000384083790000101
Figure BDA0000384083790000111
Figure BDA0000384083790000121
Figure BDA0000384083790000141
Figure BDA0000384083790000151
Figure BDA0000384083790000161
Figure BDA0000384083790000171
Figure BDA0000384083790000181
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. a work order is resolved the method that asynchronous call is served, and it is characterized in that, specifically comprises the following steps:
Step 1: receive the XML extend markup language message sent from CRM mobile operation system;
Step 2: analyzing XML extend markup language message is combined into the data of the data type that the tuxedo middleware services needs;
Step 3: be the dynamic base configuration path by name in configuration file.
Step 4: open dynamic base according to path, obtain the address of tuxedo middleware services;
Step 5: call the address of tuxedo middleware services, the data of step 2 combination are imported into to the address of described tuxedo middleware services, realize asynchronous call tuxedo middleware services.
2. a kind of work order according to claim 1 is resolved the method for asynchronous call service, it is characterized in that, described step 2 specifically comprises the following steps:
Step 2.1: process heading, by the parameter replacement of heading, make key-value pair answer type attribute;
Step 2.2: process the attribute node in message, by the nodal value in the corresponding attribute node of type attribute;
Step 2.3: the data that nodal value and type attribute are combined into to the data type that the tuxedo middleware services needs.
3. a kind of work order according to claim 1 and 2 is resolved the method for asynchronous call service, it is characterized in that, the data type that in step 2, the tuxedo middleware services needs adopts the utype data type, the structure of the similar C language of described utype data type, for store character, the various types of structures of integer.
4. a kind of work order according to claim 3 is resolved the method for asynchronous call service, it is characterized in that, described step 4 adopts the pattern of appointment to open database, and the pattern of described appointment realizes the service of Background scheduling foreground.
5. a kind of work order according to claim 4 is resolved the method for asynchronous call service, it is characterized in that, preserves the foreground information on services such as service, synchronizing information in described dynamic base.
6. a work order is resolved the system that asynchronous call is served, and comprises receiver module, parsing module, configuration module, acquisition module and calls transport module;
Described receiver module receives the XML extend markup language message sent from CRM mobile operation system, and XML extend markup language message is sent to parsing module;
Described parsing module is for analyzing XML extend markup language message, is combined into the data of the data type that the tuxedo middleware services needs, and by described transfer of data to calling transport module;
Described configuration module is for the address in configuration file configuration dynamic base;
Described acquisition module, for opening dynamic base, obtains the address of handle and tuxedo middleware services and is sent to and call transport module;
The described transport module that calls, for calling the address of tuxedo middleware services, imports the data of parsing module combination into, realizes asynchronous call tuxedo middleware services.
7. a kind of work order according to claim 6 is resolved the system of asynchronous call service, it is characterized in that, described parsing module comprises heading parsing module, attribute node parsing module and composite module;
Described heading parsing module, for the treatment of heading, by the parameter replacement of heading, makes key-value pair answer type attribute;
Described attribute node parsing module is for the treatment of the attribute node in message, by the nodal value in the corresponding attribute node of type attribute;
Described composite module is for the data of the data type that nodal value and type attribute is combined into to the tuxedo middleware services and needs.
8. resolve the system of asynchronous call service according to the described a kind of work order of claim 6 or 7, it is characterized in that, described parsing module is combined into the utype data type by XML extend markup language packet parsing, the structure of the similar C language of described utype data type, for store character, the various types of structures of integer.
9. a kind of work order according to claim 8 is resolved the system of asynchronous call service, it is characterized in that, described acquisition module adopts the pattern of appointment to open database, and the pattern of described appointment realizes the service of Background scheduling foreground.
10. a kind of work order according to claim 9 is resolved the system of asynchronous call service, it is characterized in that, preserves the foreground information on services such as service, synchronizing information in described dynamic base.
CN201310429853.2A 2013-09-18 2013-09-18 Work order analysis asynchronous calling service method and system Active CN103491159B (en)

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 true CN103491159A (en) 2014-01-01
CN103491159B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Title
姚春琛: "《一个医疗保险收费和管理系统的设计与实现》", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (2)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN103491159B (en) 2017-05-17

Similar Documents

Publication Publication Date Title
CN104023020B (en) TypeB messages for mobile device subscribe to supplying system and correlation method
CN102790776B (en) Heartbeat connection normalizing processing method, terminal, server and communication system
CN105468735A (en) Stream preprocessing system and method based on mass information of mobile internet
CN102404858A (en) Radio resource optimizing method, device and system
CN107222530A (en) Service asynchronous exchange method, equipment, system and computer-readable recording medium
CN103780627A (en) Native APP, Web APP and Wechat-similar APP information synchronization system
CN102340734B (en) Position application management method and device
CN106998347A (en) The apparatus and method of server virtualization network share
CN107870982A (en) Data processing method, system and computer-readable recording medium
CN107368334B (en) Business plug-in interaction system and method
CN107066341B (en) Event routing framework and method between software modules
CN102629345B (en) Chain type links up collaboration method, Apparatus and system
CN104378419A (en) High-speed data push method and system
CN103037000A (en) Publish-subscribe system and notification message processing method thereof
CN103491159A (en) Work order analysis asynchronous calling service method and system
CN106789577A (en) A kind of method and system of automatic transmission wechat circle of friends
CN108614820B (en) Method and device for realizing streaming source data analysis
US10367766B2 (en) Intermediary device for data message network routing
CN109089299A (en) It is a kind of to allow facility registration to cloud with network method based on SmartConfig mode
CN107862040A (en) The update method of data, device and a kind of cluster in a kind of caching of application example
CN103533001A (en) Communication method and communication system based on HTTP multi-proxy, and intermediate proxy server
CN104540105A (en) Uplink and downlink transmission method and system for mobile information
CN106469168B (en) The method and device that diversiform data is handled in data integrated system
CN106789578A (en) A kind of method and system of the automatic transmission wechat circle of friends based on cloud platform
CN106230694A (en) The message group sending method of feature based and system in instant messaging

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