CN108769065A - Rapid safety product docking system based on protocol conversion technology - Google Patents

Rapid safety product docking system based on protocol conversion technology Download PDF

Info

Publication number
CN108769065A
CN108769065A CN201810673508.6A CN201810673508A CN108769065A CN 108769065 A CN108769065 A CN 108769065A CN 201810673508 A CN201810673508 A CN 201810673508A CN 108769065 A CN108769065 A CN 108769065A
Authority
CN
China
Prior art keywords
module
unified
interface
protocol
insurance company
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.)
Pending
Application number
CN201810673508.6A
Other languages
Chinese (zh)
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 Zhongxin Yi Bao Technology Co Ltd
Original Assignee
Beijing Zhongxin Yi Bao 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 Zhongxin Yi Bao Technology Co Ltd filed Critical Beijing Zhongxin Yi Bao Technology Co Ltd
Priority to CN201810673508.6A priority Critical patent/CN108769065A/en
Publication of CN108769065A publication Critical patent/CN108769065A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/26Special purpose or proprietary protocols or architectures

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The present invention relates to a kind of rapid safety product docking system based on protocol conversion technology, the system include:Unified frame input verification interface, protocol conversion routing module, agreement mapping configuration module, insurance company go out single module, declaration form and order landing module, unified frame output interface.The advantages of system of the present invention provides the conversion input and output technical solution based on protocol configuration, has docking efficient, unified input/output interface, High Availabitity, high concurrent.

Description

Rapid safety product docking system based on protocol conversion technology
Technical field
The invention belongs to technical field of information processing, and in particular to insurance products dock field.
Background technology
With the development of the social economy, the cognition of insurance products is continuously improved in people, New-safety product emerges one after another, And increasingly welcome by huge audience, it is many through urgently accessing these novel products for Corporation system urgent need, quickly The strategic area of New-safety is captured, then as intermediate role through for company Party B, to complete and more insurance company's first The docking with the non-insured mechanism Chu Dan enterprises of more third party's channel the third partys is completed in side's docking again.
It is common through for company, being all the product docking by calling together a large amount of programmers to carry out each insurance company, a production One project of product is docked, and in this way if docking money products up to a hundred will produce a projects up to a hundred, is unfavorable for rapid abutting joint, and Project management is susceptible to mistake.Therefore, middle-size and small-size through for company, the docking of Quick thread insurance products is compeled for these It is essential and asks, it is necessary to research and develop a kind of efficiently quick rapid safety product docking system.
Invention content
In view of the deficiencies of the prior art, in order to establish rapid abutting joint system, the invention solves problems with:(1) different Insurance company goes out single interface disunity, flow disunity, as soon as causing to dock an insurance company every time, does a project;(2) every The new insurance company's agreement of secondary docking, cumbersome and repeated work are more;(3) for the third party, a company is docked every time, can be given not Same loopback address, is unfavorable for managing, and causes undercarriage on product difficult.
Thus it is an object of the present invention to provide a kind of unified input and output specification, High Availabitity, expansible docking system. The specifically conversion input and output technology based on protocol configuration improves docking efficiency, unified input/output interface, High Availabitity, height Concurrent technical solution is realized.
In order to achieve the object of the present invention, the invention is realized by the following technical scheme:
A kind of rapid safety product docking system based on protocol conversion technology, the system include:Unified frame input is tested Card interface, protocol conversion routing module, agreement mapping configuration module, insurance company go out single module, declaration form and order landing module, Unified frame output interface, wherein:
(1) unified frame input verification interface includes mainly following components:
1) authentication module:The same algorithm interface is realized with different JAR packets, passes through the polymorphic of JAVA and reflection skill Art is realized.
2) interface input module:Entrance is accessed using NGINX as High Availabitity, and more of rear end TOMCAT8 is configured in NGINX Server is as load.
3) User Access Module:CHANNEL marks are issued to third party, for indicating the channel being currently accessed, Er Qie Tripartite's channel access side, which enters ginseng, will be passed to UID parameters.
(2) protocol conversion routing module, this module include mainly two parts:
1) agreement routing module:In order to adapt to different agreements, such as HTTP, soap protocol, XML protocol needs route to Different parsing modules.
2) protocol resolution module:Different agreements corresponds on different converters, and rear end provides a variety of parsing modules, example Two kinds of parsing modules are such as provided, one is http parsing modules, and one is soup parsing modules, and the field for verifying Current protocol is accurate True property, if field must be passed by missing out key.
Preferably, this module is write using JAVA SPRING BOOT, different insurance company's callback interfaces, such as Http protocol after SOUP agreements etc. are converted into uniform protocol, carries out protocol specification, and specification includes 3 ranges:Unified field Number, unified field type, unified field description.
Further, if one new insurance company of docking goes out single interface, it is only necessary to write one again and go out single parsing module , and this parsing module, it is only necessary to it configures an XML and corresponds on unified configuration field.As long as meeting conversion The interface input parameter of type, then going out single interface can infinitely dispose, extension is convenient.
(3) agreement maps configuration module:Unified configuration insurance company goes out single interface and corresponding insurance scheme coding, Responsibility.Preferably, agreement mapping block is a set of interface chemical industry tool for configuring insurance company and going out folk prescription case.
(4) insurance company goes out single module:It is docked according to the interface of insurance company, after the completion of insurance company goes out list, Declaration form data can be returned according to configuration address, and corresponding order data is unified into output interface XML format.
(5) declaration form and order land module:Unified XML format carries out the field parsing of declaration form, input database operation.
(6) unified frame output interface:Data return to corresponding third party's channel with HTTP JSON formats after landing The URL of CHANNEL.
It should be noted that currently preferred docking premise:Third party system access criteria illustrates document, such as WORD Document, unification user must pass field specification when accessing.
The key point of the present invention is the project of docking insurance company to be extracted as a module, and this module is Standardization, it can be replaced, if using this frame, overlapping development docking insurance company interface can be avoided.Meanwhile this The system of invention provides the conversion input and output technical solution based on protocol configuration, has docking efficient, and unified input is defeated The advantages of outgoing interface, High Availabitity, high concurrent.
Description of the drawings
The frame diagram of the rapid safety product docking system based on protocol conversion technology of Fig. 1 present invention.
Specific implementation mode
Docking is on condition that third party system access criteria illustrates that document, such as WORD documents, unification user must when accessing Field specification is passed, guarantee, which must pass field, has unified specification.On this basis, of the invention based on the fast of protocol conversion technology Speed insurance docking platform frame system, frame diagram are as shown in Figure 1.The system includes:Unified frame input verification interface, agreement Conversion routing module, agreement map configuration module, insurance company goes out single module, declaration form and order landing module, unified frame are defeated Outgoing interface, wherein:
(1) unified frame input verification interface includes mainly following components:
1) authentication module:The same algorithm interface is realized with different JAR packets, passes through the polymorphic of JAVA and reflection skill Art is realized.For different third party systems, flow disunity is verified, has plenty of MD5, has plenty of RSA verifications.For different The algorithms of different such as MD5, RSA, the present invention is using the same algorithm interface of different JAR packets realization, used here as having arrived JAVA's Polymorphic and reflection technology, if there is different algorithms, it is only necessary to which uploading JAR to a new classLoader can To complete to verify work, and without restarting system.Solve the problems, such as that verification is skimble-scamble in this module.
Following code uses JAVA development languages, and JAVA is that object-oriented becomes language, not only absorbs C++ The various advantages of language have also abandoned the concepts such as elusive more succession, pointers in C++, therefore Java language has function Two features powerful and easy to use.Representative of the Java language as static Object-Oriented Programming Language, admirably realizes face To object theory, programmer is allowed to carry out complicated programming with the graceful mode of thinking.
Java have simplicity, object-oriented, distribution, robustness, safety, platform it is independent with portability, it is multi-thread The features such as journey, dynamic.Java can write multipad, web application, distributed system and embedded system and answer With program etc..
For example, for MD5JAR, realization algorithms different RSA JAR etc. needs to meet following interface specification:
Public interface CommonAlgorithm{
String handel(String str);
}
2) interface input module:Entrance is accessed using NGINX as High Availabitity, and more of rear end TOMCAT8 is configured in NGINX Server is as load.This module has unified the paths URL of all docking third party systems, and all inlet flows all use this Interface, this interface.
3) User Access Module:CHANNEL marks are issued to third party, for indicating the channel being currently accessed, Er Qie Tripartite's channel access side, which enters ginseng, will be passed to UID parameters.The two parameters, which are used for inquiring third party, goes out single details.
(2) protocol conversion routing module, this module include mainly two parts.
1) agreement routing module:
In order to adapt to different agreements, such as HTTP, soap protocol, XML protocol needs route to different parsing modules. For example, module herein carries out verification routing using following algorithm:
2) protocol resolution module:Different agreements corresponds on different converters, two kinds of parsing modules of rear end offer, and one A is http parsing modules, and one is soup parsing modules, can also include other parsing modules, verify the field of Current protocol Accuracy, if field must be passed by missing out key.
This module is write using JAVA SPRING BOOT.Meaning using this Open Framework is, this skill of increasing income Art can easily realize modularization, and startup speed is fast, write simply easy left-hand seat.Its existing meaning is different guarantors Dangerous company's callback interface, such as http protocol after SOUP agreements etc. are converted into uniform protocol, carry out protocol specification, including 3 models It encloses:Unified field number, unified field type, unified field description.
Modularization is carried out to it, if one new insurance company of docking goes out single interface, it is only necessary to write one again and go out single solution Analysis module, and this parsing module, it is only necessary to which configuring an XML corresponds on unified configuration field, for example protects Contract number is called policyCode in the agreement of dangerous company, and we uses code, then only needing to configure a line Xml, i.e.,
<xml>
<Xml convert=' policyCode ' to=' code '>
</xml>
As long as meeting the interface input parameter of translation type, then going out single interface can infinitely dispose, extension is convenient.
(3) agreement maps configuration module:Single interface that goes out of insurance company is uniformly configured by agreement mapping configurator, and corresponding Insurance scheme coding, responsibility etc..The effect of agreement mapping block is a set of interface chemical industry for configuring insurance company and going out folk prescription case Tool.
(4) insurance company goes out single module:It is docked according to the interface of each insurance company, when insurance company goes out single completion Afterwards, declaration form data can be returned according to configuration address, and corresponding order data is unified into output interface XML format.This module Main function is to solve to dock according to the interface of insurance company to picking out single interface with insurance company, because of insurance company After interface will not become, but this module writes, it is equivalent to the mating operation completed with insurance company.When insurance is public It takes charge of out after the completion of list, declaration form data can be returned according to configuration address, these data may be XML, it is also possible to HTTP data, and Corresponding order data is then unified into output interface XML format by this module.
(5) declaration form and order land module:Unified XML format carries out the field parsing of declaration form, input database operation.
(6) unified frame output interface:Data return to corresponding third party's channel with HTTP JSON formats after landing The URL of CHANNEL.

Claims (7)

1. a kind of rapid safety product docking system based on protocol conversion technology, the system include:Unified frame input verification Interface, protocol conversion routing module, agreement mapping configuration module, insurance company go out single module, declaration form and order landing module, frame Frame unifies output interface, wherein:
(1) unified frame input verification interface, it includes:
1) authentication module:The same algorithm interface is realized with different JAR packets, it is real by the polymorphic and reflection technology of JAVA It is existing;
2) interface input module:Entrance is accessed using NGINX as High Availabitity, in the TOMCAT8 services of more of NGINX configurations rear end Device is as load;
3) User Access Module:CHANNEL marks are issued to third party, for indicating the channel being currently accessed, and third party Channel access side, which enters ginseng, will be passed to UID parameters;
(2) protocol conversion routing module, this module include mainly two parts:
1) agreement routing module:Different agreements is adapted to, corresponding different parsing module is routed to;
2) protocol resolution module:Different agreements corresponds on different converters, and rear end provides a variety of parsing modules, and verification is worked as The field accuracy of preceding agreement and whether misses out key and must pass field;
(3) agreement maps configuration module:Unified configuration insurance company goes out single interface and corresponding insurance scheme coding, responsibility;
(4) insurance company goes out single module:It is docked according to the interface of insurance company, after the completion of insurance company goes out list, declaration form Data are returned according to configuration address, and corresponding order data is unified into output interface XML format;
(5) declaration form and order land module:The field parsing of declaration form, input database operation are carried out with unified XML format;
(6) unified frame output interface:Data return to corresponding third party's channel with HTTP JSON formats after landing The URL of CHANNEL.
2. the rapid safety product docking system based on protocol conversion technology as described in claim 1, which is characterized in that docking On condition that third party system access criteria illustrates document, such as WORD documents, field specification must be passed when being accessed with unification user.
3. the rapid safety product docking system based on protocol conversion technology as described in claim 1, which is characterized in that described The rear end of protocol resolution module provides two kinds of parsing modules, and one is http parsing modules, and one is soup parsing modules, verification The field accuracy of Current protocol, if field must be passed by missing out key.
4. the rapid safety product docking system based on protocol conversion technology as described in claim 1, which is characterized in that described Protocol resolution module is write using JAVA SPRING BOOT, different insurance company's callback interfaces, is converted into uniform protocol Afterwards, protocol specification is carried out.
5. the rapid safety product docking system based on protocol conversion technology as claimed in claim 4, which is characterized in that described Protocol specification includes 3 ranges:Unified field number, unified field type, unified field description.
6. the rapid safety product docking system based on protocol conversion technology as claimed in claim 4, which is characterized in that right When meeting a new insurance company and going out single interface, then write one and go out single parsing module, only configure an XML correspond to it is unified On configuration field.
7. the rapid safety product docking system based on protocol conversion technology as described in claim 1, which is characterized in that described Agreement mapping block is a set of interface chemical industry tool for configuring insurance company and going out folk prescription case.
CN201810673508.6A 2018-06-23 2018-06-23 Rapid safety product docking system based on protocol conversion technology Pending CN108769065A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810673508.6A CN108769065A (en) 2018-06-23 2018-06-23 Rapid safety product docking system based on protocol conversion technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810673508.6A CN108769065A (en) 2018-06-23 2018-06-23 Rapid safety product docking system based on protocol conversion technology

Publications (1)

Publication Number Publication Date
CN108769065A true CN108769065A (en) 2018-11-06

Family

ID=63977876

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810673508.6A Pending CN108769065A (en) 2018-06-23 2018-06-23 Rapid safety product docking system based on protocol conversion technology

Country Status (1)

Country Link
CN (1) CN108769065A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112419004A (en) * 2020-12-07 2021-02-26 恩亿科(北京)数据科技有限公司 Method, system, equipment and storage medium for configurable access of full channel order
CN113888340A (en) * 2021-10-18 2022-01-04 江苏中交车旺科技有限公司 Docking processing method, device, equipment and storage medium for configured insurance products
CN114189365A (en) * 2021-11-26 2022-03-15 特赞(上海)信息科技有限公司 Universal multi-tenant service authorization method and device based on field mapping
CN115018655A (en) * 2022-04-21 2022-09-06 江苏康众汽配有限公司 Toast docking adaptation system and adaptation method based on dynamic expansion and process arrangement
CN115277651A (en) * 2022-06-22 2022-11-01 肯特智能技术(深圳)股份有限公司 Configuration type streaming media software method and system based on XML file

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852296A (en) * 2005-09-30 2006-10-25 华为技术有限公司 Multiprotocol support system and method
CN102546442A (en) * 2012-03-09 2012-07-04 北京神州数码思特奇信息技术股份有限公司 Communication protocol conversion technology
KR101386203B1 (en) * 2013-01-09 2014-04-21 광주대학교산학협력단 Protocol converter for light control
CN106846065A (en) * 2017-02-07 2017-06-13 咪咕互动娱乐有限公司 A kind of data processing method and device
CN106911703A (en) * 2017-03-08 2017-06-30 北京中交创新投资发展有限公司 Unified interface platform building method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852296A (en) * 2005-09-30 2006-10-25 华为技术有限公司 Multiprotocol support system and method
CN102546442A (en) * 2012-03-09 2012-07-04 北京神州数码思特奇信息技术股份有限公司 Communication protocol conversion technology
KR101386203B1 (en) * 2013-01-09 2014-04-21 광주대학교산학협력단 Protocol converter for light control
CN106846065A (en) * 2017-02-07 2017-06-13 咪咕互动娱乐有限公司 A kind of data processing method and device
CN106911703A (en) * 2017-03-08 2017-06-30 北京中交创新投资发展有限公司 Unified interface platform building method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
苏洁: "《中国保险报》", 15 August 2017 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112419004A (en) * 2020-12-07 2021-02-26 恩亿科(北京)数据科技有限公司 Method, system, equipment and storage medium for configurable access of full channel order
CN112419004B (en) * 2020-12-07 2024-02-02 恩亿科(北京)数据科技有限公司 Method, system, equipment and storage medium for configurable access of all-channel order
CN113888340A (en) * 2021-10-18 2022-01-04 江苏中交车旺科技有限公司 Docking processing method, device, equipment and storage medium for configured insurance products
CN114189365A (en) * 2021-11-26 2022-03-15 特赞(上海)信息科技有限公司 Universal multi-tenant service authorization method and device based on field mapping
CN114189365B (en) * 2021-11-26 2024-05-28 特赞(上海)信息科技有限公司 Universal multi-tenant service authorization method and device based on field mapping
CN115018655A (en) * 2022-04-21 2022-09-06 江苏康众汽配有限公司 Toast docking adaptation system and adaptation method based on dynamic expansion and process arrangement
CN115277651A (en) * 2022-06-22 2022-11-01 肯特智能技术(深圳)股份有限公司 Configuration type streaming media software method and system based on XML file
CN115277651B (en) * 2022-06-22 2024-05-24 肯特智能技术(深圳)股份有限公司 XML file-based configuration type streaming media software method and system

Similar Documents

Publication Publication Date Title
CN108769065A (en) Rapid safety product docking system based on protocol conversion technology
CN104050261B (en) The general data processing system and method for variable logic based on Storm
CN110582747B (en) Method and system for forming blockchains for open scientific research
US11983640B2 (en) Generating question templates in a knowledge-graph based question and answer system
WO2022142016A1 (en) Rule engine-based parameter conversion method and apparatus, and device and medium
CN110765102A (en) Service data processing method and device, computer equipment and storage medium
CN102662825B (en) Method for detecting memory leakage of heap operational program
CN112882844B (en) Joint debugging method, device and storage medium based on network front end and network back end
CN108536435A (en) A method of automatically generating CAN communication code
CN112287114A (en) Knowledge graph service processing method and device
CN109885584A (en) The implementation method and terminal device of distributed data analyzing platform
CN104598619A (en) Service compositional verification method based on constraint solver
Magagna et al. Data provenance
CN111176660A (en) Distributed architecture-oriented micro-service contract management method and device, computer equipment and readable storage medium
Jung et al. Transformation of an activity model into a colored petri net model
Ebeid et al. HDL code generation from UML/MARTE sequence diagrams for verification and synthesis
US20130159327A1 (en) Apparatus and method for visualizing data
US11803786B2 (en) Enterprise integration platform
CN110209722A (en) A kind of data-interface for data exchange
Güldali et al. TORC: test plan optimization by requirements clustering
Salay et al. Managing models through macromodeling
CN112232031B (en) Electric power internet of things edge data model verification method, device and storage medium
Zhai et al. A data-driven service creation approach for end-users
CN105589803A (en) Method and terminal device for generating test tool
CN113515285A (en) Method and device for generating real-time calculation logic data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20181106

WD01 Invention patent application deemed withdrawn after publication