CN108540321A - A kind of Internet service interface data processing method that reliability is high - Google Patents

A kind of Internet service interface data processing method that reliability is high Download PDF

Info

Publication number
CN108540321A
CN108540321A CN201810302742.8A CN201810302742A CN108540321A CN 108540321 A CN108540321 A CN 108540321A CN 201810302742 A CN201810302742 A CN 201810302742A CN 108540321 A CN108540321 A CN 108540321A
Authority
CN
China
Prior art keywords
bpm
interface
modules
interface data
app
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
CN201810302742.8A
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.)
Nanjing Digital Pulse Power Information Technology Co Ltd
Original Assignee
Nanjing Digital Pulse Power 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 Nanjing Digital Pulse Power Information Technology Co Ltd filed Critical Nanjing Digital Pulse Power Information Technology Co Ltd
Priority to CN201810302742.8A priority Critical patent/CN108540321A/en
Publication of CN108540321A publication Critical patent/CN108540321A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • 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/06Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]

Abstract

The present invention relates to a kind of Internet service interface data processing methods that reliability is high, including APP interface modules, access message conversion module, translation-profile, BPM processing modules, BPM configuration files, background system, trading rules control module, it specifically includes and the same addresses URL is all made of to the background service address that APP is accessed, different types of data is transferred to access message conversion module and handled by APP interface modules, generate corresponding translation-profile, it is converted into response message and returns to APP interface modules, and feedback transmission gives BPM processing modules simultaneously;The BPM processing modules handle data, obtain BPM configuration files, are finally transmitted to background system.The Internet service interface data processing method that the present invention is capable of providing a kind of quick and convenient, interface exploitation of configuration and test and management is simple, interface platform good operation stability reliability is high.

Description

A kind of Internet service interface data processing method that reliability is high
Technical field
The present invention relates to internet interface administrative skill field more particularly to a kind of Internet service interfaces that reliability is high Data processing method.
Background technology
Developed in recent years, various mobile terminal APP and platform are shown one's talent, and the data volume presentation of user's scale of construction and generation is quick-fried Hairdo increases, although the basis that the technologies such as traditional dubbo, Kafka solve atomic service, messaging bus distributed calculates is asked The problems such as topic, but the encapsulation of the flow of atomic service, message conversion, abnormality processing, there is no unified solutions for industry, pass The development mode of system still carries out interface process flow by the pattern of hard coded and is packaged in message conversion so that traditional interconnection Planar network architecture is after excessively wheel iteration, and interface service is more and more, difficult in maintenance, and exploitation testing process is tediously long, and development cost occupies It is high not under.The design method has been abstracted flow encapsulation, message conversion, the treatment mechanisms such as abnormality processing, it is only necessary to by configuring and A small amount of coding can fast implement the exploitation of interface, reduce interface exploitation, test, management difficulty, improve interface platform Robustness.
Invention content
A kind of quick and convenient, interface exploitation of configuration and survey are provided the invention aims to overcome the deficiencies in the prior art The Internet service interface data processing method that test tube reason is simple, interface platform good operation stability reliability is high.
For ease of the description of the technical program, makes and being explained as given a definition:APP is mobile phone application software, and BPM is Business Stream Thread management, SOA are Service-Oriented Architecture Based, and URL is the address of standard resource on internet.
In order to achieve the above objectives, present invention employs following technical solutions.
A kind of Internet service interface data processing method that reliability is high, including APP interface modules, access message conversion Module, translation-profile, BPM processing modules, BPM configuration files, background system, trading rules control module, specific steps It is as follows:
Step 1:The same addresses URL are all made of to the background service addresses accessed APP, APP interface modules by a interface data, The different types of data such as b interface data and n interface data are transferred to access message modulus of conversion by the unified addresses URL Block is handled, and a interface data, b interface data, n interface data pass through the conversion of a interfaces adaptation respectively, b interfaces adaptation turns It changes, generate corresponding translation-profile after the adaptation conversion of n interfaces;
Step 2:The translation-profile that the access message conversion module of the step 1 obtains can be converted into response message APP interface modules are returned to, and feedback transmission gives BPM processing modules simultaneously;
Step 3:The BPM processing modules to data carry out message pretreatment, the preposition processing of transaction, the processing of transaction con current control, Transaction log and the processing of BPM Business Process Controls are generated, BPM configuration files is obtained, is finally transmitted to background system.
As a further improvement on the present invention, the BPM processing modules are also associated with trading rules control module, the friendship Easy rule control module includes that message progress Unified coding definition rule is as follows:Transaction code by two channel types, a type, Whether one, containing list and five serial number compositions, according to such rule, keep merchandising unique in system global scope, and make It is indexed for transaction, the foundation with execution is converted as message.
Due to the application of the above technical scheme, the advantageous effects that technical scheme of the present invention is brought:
(1)The access layer of lightweight detaches access layer from total system, reduces access layer logical complexity, reduces access Consumption of the layer to system resource, Internet resources improves the access capability of single processing node, by access and interface business processing point From the coupling that can also be reduced between system, failure rate is reduced, improves systems stay service ability, access layer divides from business processing From also improving security of system, by strategies such as reverse proxys, avoid hacker and invade internal services;
(2)Interface packets are converted by the way of configuration plus conversion adapter, reduce the complexity of packet parsing, Also the Message processing standard of unified platform interior can allow developer more to pay close attention to business development itself, and non-data The poor benefits work such as assembled, verification, the architecture design of adapter are also beneficial to the accumulation of software asset, encounter using same When the app accesses of the interface specification of class, it is no longer necessary to additionally develop adapter, directly configure convert file;
(3)Unified distributed transaction rule control unit is provided trading rules processing by way of black box, is conducive to system After on-line running, the trading situation of system is monitored, is managed;Interface business flow is set again using BPM modes Meter, reduces the development difficulty of Interface Flowchart, substantially reduces coding work amount, the test volume of interface exploitation, and improve and be The robustness of system.
(4)Linkage design realizes the high cohesion of system, and lower coupling, system processing power can be calculated, when system goes out When existing performance bottleneck, extension that can be through the processing unit solves rapidly performance bottleneck.
Description of the drawings
Attached drawing 1 is the flowage structure schematic diagram of the present invention.
Specific implementation mode
With reference to reaction route and specific embodiment, the present invention is described in further detail.
As shown in Figure 1, a kind of Internet service interface data processing method that reliability is high, including APP interface modules 1, Access message conversion module 2, translation-profile 3, BPM processing modules 4, BPM configuration files 5, background system 6, trading rules Control module 7, is as follows:
Step 1:The same addresses URL are all made of to the background service addresses accessed APP, APP interface modules 1 are by a interface data 11, the different types of data such as b interface data 12 and n interface data 13 are transferred to access by the unified addresses URL and disappear Breath conversion module 2 is handled, and a interface data 11, b interface data 12, n interface data 13 pass through a interfaces and be adapted to respectively Corresponding translation-profile 3 is generated after conversion 21, b interfaces adaptation conversion 22, n interfaces adaptation conversion 23;
Step 2:The translation-profile 3 that the access message conversion module 2 of the step 1 obtains can be converted into response report Text returns to APP interface modules 1, and simultaneously feedback transmission to BPM processing modules 4;
Step 3:The BPM processing modules 4 carry out message pretreatment 41, the preposition processing 42 of transaction, transaction con current control to data Processing 43 generates transaction log 44 and BPM Business Process Controls processing 45, obtains BPM configuration files 5, is finally transmitted to Background system 6.
The BPM processing modules 4 are also associated with trading rules control module 7, and the trading rules control module 7 includes report It is as follows that text carries out Unified coding definition rule:Whether transaction code contains list and five by two channel types, a type, one Position serial number composition keeps transaction unique in system global scope, and indexed as transaction, as message according to such rule Conversion and the foundation executed.
Using the technical solution of the invention, the background service address that APP is accessed is unified, no matter which kind of service asked, The same addresses URL are all made of, the complicated depth that APP safeguards background service address is greatly reduced;According to message type Difference by way of configuring convert file, is converted front end document received, all front ends using corresponding adapter Document received is converted into the message object of same format;Using distributed structure/architecture, message object is submitted to the unified backstages BPM, by BPM configurations determine the operation flow of interface processing, are handled by the specific backstage of BPM engine callings according to BPM configuration files;Root According to different interface conversion configuration files, by corresponding adapter, the result of background process is converted into response message and is returned Back to APP.
The specific application example that the above is only the present invention, is not limited in any way protection scope of the present invention.All uses Equivalent transformation or equivalent replacement and the technical solution formed, all fall within rights protection scope of the present invention.

Claims (2)

1. a kind of Internet service interface data processing method that reliability is high, it is characterised in that:Including APP interface modules, connect Enter message conversion module, translation-profile, BPM processing modules, BPM configuration files, background system, trading rules control mould Block is as follows:
Step 1:The same addresses URL are all made of to the background service addresses accessed APP, APP interface modules by a interface data, The different types of data such as b interface data and n interface data are transferred to access message modulus of conversion by the unified addresses URL Block is handled, and a interface data, b interface data, n interface data pass through the conversion of a interfaces adaptation respectively, b interfaces adaptation turns It changes, generate corresponding translation-profile after the adaptation conversion of n interfaces;
Step 2:The translation-profile that the access message conversion module of the step 1 obtains can be converted into response message APP interface modules are returned to, and feedback transmission gives BPM processing modules simultaneously;
Step 3:The BPM processing modules to data carry out message pretreatment, the preposition processing of transaction, the processing of transaction con current control, Transaction log and the processing of BPM Business Process Controls are generated, BPM configuration files is obtained, is finally transmitted to background system.
2. a kind of high Internet service interface data processing method of reliability according to claim 1, it is characterised in that: The BPM processing modules are also associated with trading rules control module, and the trading rules control module includes that message carries out unification It is as follows to encode definition rule:Whether transaction code contains list and five serial number groups by two channel types, a type, one At according to such rule, holding transaction is unique in system global scope, and is indexed as transaction, converts and holds as message Capable foundation.
CN201810302742.8A 2018-04-06 2018-04-06 A kind of Internet service interface data processing method that reliability is high Pending CN108540321A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810302742.8A CN108540321A (en) 2018-04-06 2018-04-06 A kind of Internet service interface data processing method that reliability is high

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810302742.8A CN108540321A (en) 2018-04-06 2018-04-06 A kind of Internet service interface data processing method that reliability is high

Publications (1)

Publication Number Publication Date
CN108540321A true CN108540321A (en) 2018-09-14

Family

ID=63482683

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810302742.8A Pending CN108540321A (en) 2018-04-06 2018-04-06 A kind of Internet service interface data processing method that reliability is high

Country Status (1)

Country Link
CN (1) CN108540321A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110113318A (en) * 2019-04-16 2019-08-09 深圳壹账通智能科技有限公司 Front-end system data processing method, device, computer equipment and storage medium
CN111209161A (en) * 2020-01-02 2020-05-29 广东金赋科技股份有限公司 Method and system for automatically generating configuration file based on interface monitoring

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070233902A1 (en) * 2006-03-30 2007-10-04 Alan Trefler User interface methods and apparatus for rules processing
CN102291464A (en) * 2011-08-29 2011-12-21 上海普元信息技术股份有限公司 System and method for dynamically generating Web Service by business flow in BPM (Business Process Management)
CN106325887A (en) * 2016-09-19 2017-01-11 深圳市彬讯科技有限公司 Service process management method based on Activiti
CN106651586A (en) * 2016-12-30 2017-05-10 上海富聪金融信息服务有限公司 Multi-distributor oriented financial product marketing open service platform
US20170131978A1 (en) * 2015-11-06 2017-05-11 appsFreedom Inc. Automated offline application (app) generation system and method therefor
CN106708976A (en) * 2016-12-07 2017-05-24 安徽尚果信息科技有限公司 Method for managing businesses via standard data interface
CN108228149A (en) * 2016-12-19 2018-06-29 北京京东尚科信息技术有限公司 It is a kind of can dynamical assemble service APP method for interface adaptation and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070233902A1 (en) * 2006-03-30 2007-10-04 Alan Trefler User interface methods and apparatus for rules processing
CN102291464A (en) * 2011-08-29 2011-12-21 上海普元信息技术股份有限公司 System and method for dynamically generating Web Service by business flow in BPM (Business Process Management)
US20170131978A1 (en) * 2015-11-06 2017-05-11 appsFreedom Inc. Automated offline application (app) generation system and method therefor
CN106325887A (en) * 2016-09-19 2017-01-11 深圳市彬讯科技有限公司 Service process management method based on Activiti
CN106708976A (en) * 2016-12-07 2017-05-24 安徽尚果信息科技有限公司 Method for managing businesses via standard data interface
CN108228149A (en) * 2016-12-19 2018-06-29 北京京东尚科信息技术有限公司 It is a kind of can dynamical assemble service APP method for interface adaptation and device
CN106651586A (en) * 2016-12-30 2017-05-10 上海富聪金融信息服务有限公司 Multi-distributor oriented financial product marketing open service platform

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110113318A (en) * 2019-04-16 2019-08-09 深圳壹账通智能科技有限公司 Front-end system data processing method, device, computer equipment and storage medium
CN111209161A (en) * 2020-01-02 2020-05-29 广东金赋科技股份有限公司 Method and system for automatically generating configuration file based on interface monitoring
CN111209161B (en) * 2020-01-02 2023-10-17 广东金赋科技股份有限公司 Method and system for automatically generating configuration file based on interface monitoring

Similar Documents

Publication Publication Date Title
CN110365644B (en) Method for constructing high-performance monitoring platform of networking equipment
CN104050261B (en) The general data processing system and method for variable logic based on Storm
Gjermundrod et al. GridStat: A flexible QoS-managed data dissemination framework for the power grid
CN102196002B (en) Data-stream-communication-based network control system
CN100456703C (en) Electric power computation gridding application system
CN111447103A (en) Virtual device management system, electronic device, virtual device management method, and medium
CN102567026B (en) Mobile solution constructing system and Mobile solution construction method
CN109768970A (en) It is a kind of based on configurable puppy parc generation method
CN101894059B (en) A kind of detection method of running status and system
CN108540321A (en) A kind of Internet service interface data processing method that reliability is high
CN102750143A (en) Digital signal processing (DSP) developing method based on matrix laboratory (MATLAB) component object model (COM) component calling
CN107257290B (en) Test method and system for open SOA service-oriented architecture
Ottolini et al. Interoperability and scalability trade-offs in open iot platforms
CN109656622A (en) A kind of packaging method for realizing network tester in communication equipment automatic test
CN104809664A (en) Information integration method for power distribution master station
Uslar et al. ICT and energy supply: IEC 61970/61968 common information model
Du et al. The design of communication system on the real-time relay protection based on goose
Xiang Sunrays microcomputer FDDI optical fiber computer network security system design
Zhou et al. Design of geomagnetic data platform system for the internet of vehicle
Chi et al. A high-performance access control model for urban street lamp Internet of Things
CN110348203A (en) A kind of queue-type sandbox document handling method
Bruch et al. BrownPepper: A SystemC-based simulator for performance evaluation of Networks-on-Chip
Sizu et al. IEC61850 gateway SCL configuration document research
CN113988051B (en) Vehicle data processing system
CN114615342B (en) Service interaction method and device suitable for electricity consumption information acquisition system

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: 20180914

WD01 Invention patent application deemed withdrawn after publication