CN107193668A - The call method and system at interface service end - Google Patents

The call method and system at interface service end Download PDF

Info

Publication number
CN107193668A
CN107193668A CN201710279993.4A CN201710279993A CN107193668A CN 107193668 A CN107193668 A CN 107193668A CN 201710279993 A CN201710279993 A CN 201710279993A CN 107193668 A CN107193668 A CN 107193668A
Authority
CN
China
Prior art keywords
interface
call
service
service end
data
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
CN201710279993.4A
Other languages
Chinese (zh)
Other versions
CN107193668B (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.)
ZTE ICT Technologies Co Ltd
Original Assignee
ZTE ICT Technologies 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 ZTE ICT Technologies Co Ltd filed Critical ZTE ICT Technologies Co Ltd
Priority to CN201710279993.4A priority Critical patent/CN107193668B/en
Publication of CN107193668A publication Critical patent/CN107193668A/en
Application granted granted Critical
Publication of CN107193668B publication Critical patent/CN107193668B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/541Interprogram communication via adapters, e.g. between incompatible applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)

Abstract

The present invention proposes the call method and system at a kind of interface service end, and the call method at interface service end includes:Call instruction is received by unified interface, wherein call instruction includes Call Condition;Selection meets the interface interchange service logic of Call Condition, obtains returned data;After the completion of service logical calling, data type conversion is carried out to returned data;Returned data after data type conversion is back to clear in structure, definite functions between called side, each level of the invention by unified interface, development cost can be effectively reduced, problem probability of happening is reduced, the sustainable development of service is improved.

Description

The call method and system at interface service end
Technical field
The present invention relates to service end technical field, in particular to the call method and system at a kind of interface service end.
Background technology
Always contain the business support system of many aspects in enterprise-level application platform, and between each system because of business It is unlikely to be independent the need for generation, there is data exchange between system and system.Exemplified by rendering an account system by Zhejiang, according to business The difference of demand, need to write WSDL (the Web Services Description Language, network service related to business Description language), service end code is generated, corresponding Service Processing Module is called in service end solidification.Service end development process is complicated, It is very long and poorly efficient.Because the Business Logic and interface interchange interlayer of interface have close coupling, the written in code of Business Logic can It is able to can be constrained by Development Framework, interface lacks durability, it is impossible to accomplish multiplexing functions.Simultaneously business is corresponded in interface During adjustment, it is necessary to which according to business numbering adjustment wsdl document, and other side's calling system must adjust correspondence client after WSDL changes The situation at end, so as to cause the chain adjustment of multiple system parts.
The content of the invention
It is contemplated that at least solving one of technical problem present in prior art or correlation technique.
Therefore, it is an object of the present invention to propose a kind of call method at interface service end.
It is another object of the present invention to propose a kind of calling system at interface service end.
In view of this, according to one object of the present invention, it is proposed that a kind of call method at interface service end, including:It is logical Cross unified interface and receive call instruction, wherein call instruction includes Call Condition;Selection meets the interface interchange of Call Condition Service logic, obtains returned data;After the completion of service logical calling, data type conversion is carried out to returned data;By data Returned data after type conversion is back to called side by unified interface.
The call method at the interface service end that the present invention is provided, is received in call instruction, call instruction by unified interface and had There is Call Condition, find the interface for meeting this Call Condition, while carrying out calling for service logic, obtain returned data, work as industry After the completion of business logic is called, returned data is subjected to data type conversion, the returned data after conversion is returned by unified interface again Called side is back to, the scattered service end calling interface for being positioned over each position of system originally can be had by unified interface service Effect is integrated, and facilitates effective management of system interface, and reduces the code coupling in interface by layered shaping, while more square Just function package, can directly be encapsulated as system component by interface service end.Specifically, SOA (Service are being used Oriented Architecture, Services Oriented Achitecture) framework system in, load-balancing technique list can be passed through Only is deployed on uniform service end certain independent server or virtual machine, interface service is peeled off from main program, is having Effect ground can improve the performance of interactive interfacing again while reducing the server stress of main program, make to reach that server cluster is accomplished specially The effect that thing is specialized in.
According to the call method at the above-mentioned interface service end of the present invention, there can also be following technical characteristic:
In the above-mentioned technical solutions, it is preferable that after the completion of service logical calling, data type is carried out to returned data to turn Change, specifically include:After the completion of service logical calling, returned data is converted into uniform data and returns to form.
In the technical scheme, after the completion of service logical calling, returned data is converted into uniform data and returns to form, Utilize XML (Extensible Markup Language, extensible markup language), JSON (JavaScript Object Notation, JavaScript object representation) etc. data format returned data, reduction interface interchange both sides become because of business Move and adjust the exploitation maintenance work after interface description file, effectively improve the stability of system both sides.
In any of the above-described technical scheme, it is preferable that meet the interface interchange service logic of Call Condition in selection, obtain Before returned data, in addition to:Authority Verification is carried out to called side;When called side Authority Verification by after, to called side Situation is called to carry out log recording.Preferably, in addition to:When the Authority Verification of called side does not pass through, then call instruction is not handled.
In the technical scheme, service end agency can be called checking, the authority of called side to the authority of called side By rear, realized automatically by service end proxy class and call situation to carry out log recording and select to meet Call Condition called side Interface interchange service logic, by call situation carry out log recording facilitate later stage query analysis, when the authority of called side Checking does not pass through, then does not handle call instruction.
In any of the above-described technical scheme, it is preferable that also include:The interface interchange business for meeting Call Condition in selection is patrolled When collecting, and/or when service logical calling is abnormal, and/or when service logical calling is completed, monitoring is called to adjust back.
It is directed in the technical scheme, in interface calling procedure and calls beginning, call exception, call the abstract outgoing interface of end Invoked procedure event, and to uniformly realizing the monitor of above-mentioned event, monitored by realizing, can dynamically add interface key point Customization business logic processing, while interface monitor support dynamic configuration.
In any of the above-described technical scheme, it is preferable that log recording includes following a kind of or its combination:Required parameter, return Return data, allocating time.
In the technical scheme, required parameter, returned data and the service call for exchanging both sides are recorded when calling comprehensively The significant data such as time, facilitate later stage log query to analyze.
According to another object of the present invention, it is proposed that a kind of calling system at interface service end, including:Receiving unit, For receiving call instruction by unified interface, wherein call instruction includes Call Condition;Call unit, for selecting to meet The interface interchange service logic of Call Condition, obtains returned data;Data type conversion unit, for when service logical calling it is complete Cheng Hou, data type conversion is carried out to returned data;Returning unit, for the returned data after data type conversion to be passed through into system One interface is back to called side.
The calling system at the interface service end that the present invention is provided, call instruction is received by receiving unit by unified interface, There is Call Condition, call unit finds the interface for meeting this Call Condition in call instruction, while carrying out the tune of service logic With, acquisition returned data, after the completion of service logical calling, returned data is carried out data type and turned by data type conversion unit Change, the returned data after conversion is back to called side by returning unit by unified interface again, can be with by unified interface service Originally the scattered service end calling interface for being positioned over each position of system is effectively integrated, facilitates effective management of system interface, And the code coupling in interface is reduced by layered shaping, while more facilitate function package, can be straight by interface service end Connect and be encapsulated as system component.Specifically, in the system using SOA framework, it be able to will individually be united by load-balancing technique One service end is deployed in certain independent server or virtual machine, interface service is peeled off from main program, and master is reduced effective The performance of interactive interfacing can be improved while the server stress of program again, makes to reach that server cluster accomplishes to specialize in the effect specialized in Really.
According to the calling system at the above-mentioned interface service end of the present invention, there can also be following technical characteristic:
In the above-mentioned technical solutions, it is preferable that data type conversion unit, specifically for:When service logical calling is completed Afterwards, returned data is converted into uniform data and returns to form.
In the technical scheme, data type conversion unit is converted to returned data after the completion of service logical calling Uniform data returns to form, and using the data format returned data such as XML, JSON, reduction interface interchange both sides become because of business Move and adjust the exploitation maintenance work after interface description file, effectively improve the stability of system both sides.
In any of the above-described technical scheme, it is preferable that also include:Authentication unit, for carrying out Authority Verification to called side; Recording unit, for the Authority Verification when called side by after, to called side call situation carry out log recording.Preferably, Recording unit, is additionally operable to when the Authority Verification of called side does not pass through, then not handle call instruction.
In the technical scheme, service end agency can be called checking by authentication unit to the authority of called side, The authority of called side is realized by rear and calls situation to carry out log recording and select called side automatically by service end proxy class Meet the interface interchange service logic of Call Condition, by facilitating later stage query analysis to calling situation to carry out log recording, when The Authority Verification of called side does not pass through, then does not handle call instruction.
In any of the above-described technical scheme, it is preferable that also include:Monitoring unit, for meeting Call Condition in selection During interface interchange service logic, and/or when service logical calling is abnormal, and/or when service logical calling is completed, call prison Listen readjustment.
It is directed in the technical scheme, in interface calling procedure and calls beginning, call exception, call the abstract outgoing interface of end Invoked procedure event, and to uniformly realizing the monitor of above-mentioned event, monitored by realizing, can dynamically add interface key point Customization business logic processing, while interface monitor support dynamic configuration.
In any of the above-described technical scheme, it is preferable that log recording includes following a kind of or its combination:Required parameter, return Return data, allocating time.
In the technical scheme, required parameter, returned data and the service call for exchanging both sides are recorded when calling comprehensively The significant data such as time, facilitate later stage log query to analyze.
The additional aspect and advantage of the present invention will become obvious in following description section, or pass through the practice of the present invention Recognize.
Brief description of the drawings
The above-mentioned and/or additional aspect and advantage of the present invention will become from description of the accompanying drawings below to embodiment is combined Substantially and be readily appreciated that, wherein:
Fig. 1 shows the schematic flow sheet of the call method at the interface service end of one embodiment of the present of invention;
Fig. 2 shows the schematic flow sheet of the call method at the interface service end of an alternative embodiment of the invention;
Fig. 3 a show the schematic flow sheet of the call method at the interface service end of yet another embodiment of the present invention;
Fig. 3 b show the schematic flow sheet of the call method at the interface service end of another embodiment of the present invention;
Fig. 4 a show the schematic block diagram of the calling system at the interface service end of one embodiment of the present of invention;
Fig. 4 b show the schematic block diagram of the calling system at the interface service end of an alternative embodiment of the invention;
Fig. 5 shows the structural representation of the unified interface service end of the specific embodiment of the present invention;
Fig. 6 shows the unified interface service end workflow schematic diagram of the specific embodiment of the present invention;
Fig. 7 shows the unified interface service end monitor structural representation of the specific embodiment of the present invention.
Embodiment
It is below in conjunction with the accompanying drawings and specific real in order to be more clearly understood that the above objects, features and advantages of the present invention Mode is applied the present invention is further described in detail.It should be noted that in the case where not conflicting, the implementation of the application Feature in example and embodiment can be mutually combined.
Many details are elaborated in the following description to facilitate a thorough understanding of the present invention, still, the present invention may be used also Implemented with being different from other modes described here using other, therefore, protection scope of the present invention is not limited to following public affairs The limitation for the specific embodiment opened.
The embodiment of first aspect present invention, proposes a kind of call method at interface service end, and Fig. 1 shows the present invention's The schematic flow sheet of the call method at the interface service end of one embodiment.Wherein, this method includes:
Step 102, call instruction is received by unified interface, call instruction includes Call Condition;
Step 104, selection meets the interface interchange service logic of Call Condition, obtains returned data;
Step 106, after the completion of service logical calling, data type conversion is carried out to returned data;
Step 108, the returned data after data type conversion is back to called side by unified interface.
The call method at the interface service end that the present invention is provided, is received in call instruction, call instruction by unified interface and had There is Call Condition, find the interface for meeting this Call Condition, while carrying out calling for service logic, obtain returned data, work as industry After the completion of business logic is called, returned data is subjected to data type conversion, the returned data after conversion is returned by unified interface again Called side is back to, the scattered service end calling interface for being positioned over each position of system originally can be had by unified interface service Effect is integrated, and facilitates effective management of system interface, and reduces the code coupling in interface by layered shaping, while more square Just function package, can directly be encapsulated as system component by interface service end.Specifically, can in the system using SOA framework So that uniform service end individually is deployed on into certain independent server or virtual machine by load-balancing technique, make interface service Peeled off from main program, can improve the performance of interactive interfacing again while the server stress of main program is efficiently reduced, make Reach that server cluster accomplishes to specialize in the effect specialized in.
Fig. 2 shows the schematic flow sheet of the call method at the interface service end of an alternative embodiment of the invention.Wherein, This method includes:
Step 202, call instruction is received by unified interface, call instruction includes Call Condition;
Step 204, selection meets the interface interchange service logic of Call Condition, obtains returned data;
Step 206, after the completion of service logical calling, returned data is converted into uniform data and returns to form;
Step 208, the returned data after data type conversion is back to called side by unified interface.
In this embodiment, after the completion of service logical calling, returned data is converted into uniform data and returns to form, profit With the data format returned data such as XML, JSON, reduction interface interchange both sides adjust interface description file because business changes Exploitation maintenance work afterwards, effectively improves the stability of system both sides.
Fig. 3 a show the schematic flow sheet of the call method at the interface service end of yet another embodiment of the present invention.Its In, this method includes:
Step 302, call instruction is received by unified interface, call instruction includes Call Condition;
Step 304, Authority Verification is carried out to called side;
Step 306, judge whether by Authority Verification;
Step 308, when called side Authority Verification by after, to called side call situation carry out log recording;
Step 310, when the Authority Verification of called side does not pass through, then call instruction is not handled;
Step 312, selection meets the interface interchange service logic of Call Condition, obtains returned data;
Step 314, after the completion of service logical calling, data type conversion is carried out to returned data;
Step 316, the returned data after data type conversion is back to called side by unified interface.
In this embodiment, call instruction is received by unified interface, service end agency can be carried out to the authority of called side Checking is called, the authority of called side is realized by rear and call situation to carry out daily record called side automatically by service end proxy class Record and select to meet the interface interchange service logic of Call Condition, by facilitating the later stage to look into calling situation to carry out log recording Analysis is ask, when the Authority Verification of called side does not pass through, then call instruction is not handled.
Fig. 3 b show the schematic flow sheet of the call method at the interface service end of an alternative embodiment of the invention.Its In, this method includes:
Step 302, call instruction is received by unified interface, call instruction includes Call Condition;
Step 304, Authority Verification is carried out to called side;
Step 306, judge whether by Authority Verification;
Step 308, when called side Authority Verification by after, to called side call situation carry out log recording;
Step 310, when the Authority Verification of called side does not pass through, then call instruction is not handled;
Step 312, selection meets the interface interchange service logic of Call Condition, obtains returned data;
Step 314, after the completion of service logical calling, data type conversion is carried out to returned data;
Step 316, the returned data after data type conversion is back to called side by unified interface;
Step 318, when selection meets the interface interchange service logic of Call Condition, and/or it is different in service logical calling Chang Shi, and/or when service logical calling is completed, call monitoring to adjust back.
In this embodiment, it is directed in interface calling procedure and calls beginning, call exception, call the abstract outgoing interface of end to adjust With process event, and to uniformly realizing the monitor of above-mentioned event, monitored by realizing, can dynamically add interface key point Business logic processing is customized, while interface, which is monitored, supports dynamic configuration.
In one embodiment of the invention, it is preferable that log recording includes following a kind of or its combination:Required parameter, Returned data, allocating time.
In this embodiment, the required parameter for exchanging both sides, returned data and service call are recorded when calling comprehensively The significant datas such as time, facilitate later stage log query to analyze.
The embodiment of second aspect of the present invention, proposes a kind of calling system 400 at interface service end, and Fig. 4 a show this hair The schematic block diagram of the calling system 400 at the interface service end of bright one embodiment.Wherein, the system includes:
Receiving unit 402, for receiving call instruction by unified interface, wherein call instruction includes Call Condition;
Call unit 404, the interface interchange service logic of Call Condition is met for selection, obtains returned data;
Data type conversion unit 406, for after the completion of service logical calling, carrying out data type to returned data and turning Change;
Returning unit 408, for the returned data after data type conversion to be back into called side by unified interface.
The calling system 400 at the interface service end that the present invention is provided, is received by unified interface by receiving unit 402 and called There is Call Condition, call unit 404 finds the interface for meeting this Call Condition in instruction, call instruction, while the business of progress Calling for logic, obtains returned data, after the completion of service logical calling, data type conversion unit 406 enters returned data Returned data after conversion is back to called side by row data type conversion, returning unit 408 by unified interface again, passes through system One interface service can effectively integrate the scattered service end calling interface for being positioned over each position of system originally, facilitate system to connect Mouthful effective management, and the code coupling in interface is reduced by layered shaping, can be by while more facilitate function package Interface service end is directly encapsulated as system component.Specifically, in the system using SOA framework, load balancing skill can be passed through Uniform service end is individually deployed on certain independent server or virtual machine by art, interface service is peeled off from main program, The performance of interactive interfacing can be improved again while the server stress of main program is efficiently reduced, and make to reach that server cluster is done To specializing in the effect specialized in.
In one embodiment of the invention, it is preferable that data type conversion unit, specifically for:When service logic is adjusted After the completion of, returned data is converted into uniform data and returns to form.
In this embodiment, returned data is converted to system by data type conversion unit after the completion of service logical calling One data return to form, and using the data format returned data such as XML, JSON, reduction interface interchange both sides change because of business And the exploitation maintenance work after interface description file is adjusted, effectively improve the stability of system both sides.
Fig. 4 b show the schematic block diagram of the calling system at the interface service end of an alternative embodiment of the invention.Wherein, The system includes:
Receiving unit 402, for receiving call instruction by unified interface, wherein call instruction includes Call Condition;
Call unit 404, the interface interchange service logic of Call Condition is met for selection, obtains returned data;
Data type conversion unit 406, for after the completion of service logical calling, carrying out data type to returned data and turning Change;
Returning unit 408, for the returned data after data type conversion to be back into called side by unified interface;
Authentication unit 410, for carrying out Authority Verification to called side;
Recording unit 412, for the Authority Verification when called side by after, to called side call situation carry out daily record note Record, when the Authority Verification of called side does not pass through, does not then handle call instruction.
In this embodiment, service end agency can be called checking by authentication unit 410 to the authority of called side, The authority of called side is realized by rear and calls situation to carry out log recording and select called side automatically by service end proxy class Meet the interface interchange service logic of Call Condition, by facilitating later stage query analysis to calling situation to carry out log recording, when The Authority Verification of called side does not pass through, then does not handle call instruction.
In one embodiment of the invention, as shown in Figure 4 b, it is preferable that the system also includes:
Monitoring unit 414, for being patrolled when selection meets the interface interchange service logic of Call Condition, and/or in business When volume calling abnormal, and/or when service logical calling is completed, monitoring readjustment is called.
Also include simultaneously:
Receiving unit 402, for receiving call instruction by unified interface, wherein call instruction includes Call Condition;
Call unit 404, the interface interchange service logic of Call Condition is met for selection, obtains returned data;
Data type conversion unit 406, for after the completion of service logical calling, carrying out data type to returned data and turning Change;
Returning unit 408, for the returned data after data type conversion to be back into called side by unified interface;
Authentication unit 410, for carrying out Authority Verification to called side;
Recording unit 412, for the Authority Verification when called side by after, to called side call situation carry out daily record note Record, when the Authority Verification of called side does not pass through, does not then handle call instruction.
In this embodiment, it is directed in interface calling procedure and calls beginning, call exception, call the abstract outgoing interface of end to adjust With process event, and to uniformly realizing the monitor of above-mentioned event, monitored by realizing, can dynamically add interface key point Business logic processing is customized, while interface, which is monitored, supports dynamic configuration.
In one embodiment of the invention, it is preferable that log recording includes following a kind of or its combination:Required parameter, Returned data, allocating time.
In this embodiment, the required parameter for exchanging both sides, returned data and service call are recorded when calling comprehensively The significant datas such as time, facilitate later stage log query to analyze.
In the specific embodiment of the present invention, web service are at present using interaction number between relatively broad system According to one of technology.The service end in each system of management in Unified Set, does simultaneously in the case where service end flexibly can configure It is that the main of this method realizes thought to concentrating controllable.
There is following advantage at uniform service end:(1) data conversion and business processing are fully decoupled, and service call transfers to clothes It is engaged in end processing, business processing is flexibly realized in operation system by operation system according to practical business.When service end is called Practical business processing method can be selected according to configuration.To realize interface-oriented programming, the effect of layering decoupling is reached.(2) it is unified Service end is the agency of all services, can be unified according to the system configuration side of being called Authority Verification during service call, is adjusted Used time, record exchanged the significant datas such as the time of required parameter, returned data and service call of both sides comprehensively, facilitated the later stage Log query is analyzed.The used time is exchanged to be arrested and be uniformly processed extremely.Can dynamically calling interface service after the completion of calling Defined callback method.
Uniform service end is using the data formats such as XML or JSON transmission required parameter and returns to entity, reduces because business becomes Change and the situation that service end WSDL describes file must be changed, make to call both sides no longer because continuing to develop for business and ceaselessly Service end and client code are changed, the stability of system both sides is effectively improved.Uniform service end is made up of following part:
1. service call layer, issue for web service, call, and authority during web service service calls Checking, data encryption, the record of the content daily record of interaction data;
2. interface service calls configuration file, for the corresponding physical interface of in statement system service end interface and interface Realize class, and each service returned data return Value Types;
3. event sniffer, interface interchange is starting, complete, abnormal 3 points of penetration provide event registration, by monitor root Called according to event registered for customizing services or functionalities;
4. data converter, the data format that the returned data of each interface is converted into requiring according to configuration file, example Such as XML, JSON;
5. interface business logical layer, individually abstract by business processing, thoroughly decoupled in service call.
Clear in structure, definite functions between each level of the present invention, effectively reduce development cost, reduce problem probability of happening, Improve the sustainable development of service.
In another specific embodiment of the present invention, Fig. 5 shows the unified interface of the specific embodiment of the present invention The structural representation of service end, the superiors are external system 502, including enterprise portal 522, budgeting system 524, bank-corporate express system System 526, value-added tax management system 528, unified interface is called by said system, and intermediate layer is unified interface service end 504, Enter unified checking, log management, interface service agency, interface service configuration, the conversion of interface data type of line interface, unite simultaneously One interface service end 502 can individually be abstracted as component and be multiplexed in multiple projects.Orlop is business logic processing layer 506, auxiliary provides the business realizing of each business interface, including VAT invoice inquiry business, single quantity of acting on behalf of rendering an account inquire about industry Be engaged in, single detailed inquiry business of rendering an account, report bill payment inquiry business.
In another specific embodiment of the present invention, Fig. 6 shows the unified interface of the specific embodiment of the present invention Service end workflow schematic diagram.Wherein, the workflow includes:
Step 602, called when unified interface is connected to;
Step 604, unified rights checking is carried out by interface service agency;
Step 606, judge whether by Authority Verification;
Step 608, after being verified, to calling situation to carry out log recording;
Step 610, checking does not pass through, then without processing;
Step 612, calling interface adapter, is selected to meet the interface of Call Condition by interface adapter;
Step 614, the method call of service logic is carried out;
Step 616, after the completion of service logical calling, returned data is carried out after data type conversion again by interface service Data are returned to caller by agency by unified interface.
In another specific embodiment of the present invention, Fig. 7 shows the unified interface of the specific embodiment of the present invention The all processes of interface interchange logic are shown in service end monitor structural representation, Fig. 7, process starts including interface interchange, Logical process is abnormal, service logical calling is abnormal, service logical calling terminates, calling interface is returned, wherein, interface interchange is opened Begin, logical process is abnormal, calling interface is returned abstract at 3 is case point, process calls event sniffer when passing through case point 702, event sniffer 702 is inquired about registered monitor and adjusted back, including beginning event handling call back function, anomalous event are handled back Letter of transfer number, End Event processing call back function, when a match has been found, call monitoring to adjust back, and realize that monitoring readjustment customizes.
The present invention can realize whole externally service ends in unified management, control system, for interface daily record, interface interchange Unified management is realized in authority, interface service registration.The present invention is called by interface service, business logic processing, layered shaping, drop Code coupling between low interface interchange and business logic processing.The invalid consideration data interaction in interface exploitation, communication etc. ask Topic, the service logic that need to be only absorbed in interface is realized, while realizing interface business logical process class dynamic configuration.The present invention is connecing It is directed in mouth invoked procedure and calls beginning, call exception, call end to take out interface calling procedure event, and to unified realization The monitor of above-mentioned event, is monitored by realizing, can dynamically add the customization business logic processing of interface key point, simultaneously Interface, which is monitored, supports dynamic configuration.The present invention returns to form using unified data, is returned using data formats such as XML, JSON Data, reduce interface interchange both sides, the exploitation maintenance work after interface description file are adjusted because business changes.
In the description of this specification, the description of term " one embodiment ", " some embodiments ", " specific embodiment " etc. Mean that combining the embodiment or specific features, structure, material or the feature of example description is contained at least one reality of the invention Apply in example or example.In this manual, identical embodiment or reality are not necessarily referring to the schematic representation of above-mentioned term Example.Moreover, description specific features, structure, material or feature can in any one or more embodiments or example with Suitable mode is combined.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should be included in the scope of the protection.

Claims (12)

1. a kind of call method at interface service end, it is characterised in that including:
Call instruction is received by unified interface, wherein the call instruction includes Call Condition;
Selection meets the interface interchange service logic of the Call Condition, obtains returned data;
After the completion of the service logical calling, data type conversion is carried out to the returned data;
The returned data after data type conversion is back to called side by the unified interface.
2. the call method at interface service end according to claim 1, it is characterised in that when the service logical calling is complete Cheng Hou, carries out data type conversion to the returned data, specifically includes:
After the completion of the service logical calling, the returned data is converted into uniform data and returns to form.
3. the call method at interface service end according to claim 1, it is characterised in that call bar described in meeting in selection Before the interface interchange service logic of part, acquisition returned data, in addition to:
Authority Verification is carried out to the called side;
When the called side Authority Verification by after, to the called side call situation carry out log recording.
4. the call method at interface service end according to claim 3, it is characterised in that also include:
When the Authority Verification of the called side does not pass through, then the call instruction is not handled.
5. the call method at interface service end according to claim 1, it is characterised in that also include:
When selection meets service logic described in the interface interchange of the Call Condition, and/or it is different in the service logical calling Chang Shi, and/or when the service logical calling is completed, call monitoring to adjust back.
6. the call method at interface service end according to any one of claim 1 to 5, it is characterised in that the daily record Record includes following a kind of or its combination:Required parameter, the returned data, allocating time.
7. a kind of calling system at interface service end, it is characterised in that including:
Receiving unit, for receiving call instruction by unified interface, wherein the call instruction includes Call Condition;
Call unit, the interface interchange service logic of the Call Condition is met for selection, obtains returned data;
Data type conversion unit, for after the completion of the service logical calling, data type to be carried out to the returned data Conversion;
Returning unit, for the returned data after data type conversion to be back into called side by the unified interface.
8. the calling system at interface service end according to claim 7, it is characterised in that the data type conversion list Member, specifically for:
After the completion of the service logical calling, the returned data is converted into uniform data and returns to form.
9. the calling system at interface service end according to claim 7, it is characterised in that also include:
Authentication unit, for carrying out Authority Verification to the called side;
Recording unit, for the Authority Verification when the called side by after, to the called side call situation carry out daily record Record.
10. the calling system at interface service end according to claim 9, it is characterised in that the recording unit, is additionally operable to When the Authority Verification of the called side does not pass through, then the call instruction is not handled.
11. the calling system at interface service end according to claim 7, it is characterised in that also include:
Monitoring unit, for when selection meets service logic described in the interface interchange of the Call Condition, and/or in the industry When business logic calls abnormal, and/or when the service logical calling is completed, monitoring is called to adjust back.
12. the calling system at the interface service end according to any one of claim 7 to 11, it is characterised in that the day Will record includes following a kind of or its combination:Required parameter, the returned data, allocating time.
CN201710279993.4A 2017-04-26 2017-04-26 Calling method and system of interface server Expired - Fee Related CN107193668B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710279993.4A CN107193668B (en) 2017-04-26 2017-04-26 Calling method and system of interface server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710279993.4A CN107193668B (en) 2017-04-26 2017-04-26 Calling method and system of interface server

Publications (2)

Publication Number Publication Date
CN107193668A true CN107193668A (en) 2017-09-22
CN107193668B CN107193668B (en) 2021-01-15

Family

ID=59873396

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710279993.4A Expired - Fee Related CN107193668B (en) 2017-04-26 2017-04-26 Calling method and system of interface server

Country Status (1)

Country Link
CN (1) CN107193668B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107678747A (en) * 2017-09-30 2018-02-09 安徽联智创新软件有限公司 The data call management system of different platform is realized based on interface language
CN108491281A (en) * 2018-03-22 2018-09-04 武汉斗鱼网络科技有限公司 Method, readable medium and the electronic equipment interacted between software systems
CN108965375A (en) * 2018-05-21 2018-12-07 阿里巴巴集团控股有限公司 Service call proxy control system, method, server and readable storage medium storing program for executing
CN109460306A (en) * 2018-10-09 2019-03-12 航天信息股份有限公司 A kind of integrated services integration cut-in method and system
CN109714470A (en) * 2018-10-23 2019-05-03 北京理工大学 A kind of method and system for realizing mobile phone application module based on nodejs
CN110928572A (en) * 2019-10-12 2020-03-27 中国平安财产保险股份有限公司 Interface calling and service system separation method, system and computer equipment
CN112948723A (en) * 2021-02-26 2021-06-11 平安普惠企业管理有限公司 Interface calling method and device and related equipment
CN113190452A (en) * 2021-05-08 2021-07-30 广州趣丸网络科技有限公司 Dial testing service system, method, equipment and storage medium

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997027689A1 (en) * 1996-01-24 1997-07-31 Klingman Edwin E Universal input call processing system
US20030070006A1 (en) * 2001-10-10 2003-04-10 Borland Software Corporation Development system providing extensible remoting architecture
US20050015491A1 (en) * 2003-05-16 2005-01-20 Markel Corporation Systems, methods, and articles of manufacture for dynamically providing web services
CN101056429A (en) * 2007-05-29 2007-10-17 华为技术有限公司 Universal service system and its implementation method
CN101071435A (en) * 2007-06-08 2007-11-14 中兴通讯股份有限公司 Distributed accessing method based on embedded database
CN101277307A (en) * 2008-05-21 2008-10-01 天柏宽带网络科技(北京)有限公司 System and method for processing data information
CN101695076A (en) * 2009-09-21 2010-04-14 中兴通讯股份有限公司 Method and device of unified agent adaptation based on Web service and adaptation system
CN101854348A (en) * 2010-04-02 2010-10-06 南京联创科技集团股份有限公司 Realization method of SOA (Service Oriented Architecture) accessing core supporting system in peripheral system
CN102082992A (en) * 2009-11-30 2011-06-01 中国移动通信集团山西有限公司 Mobile office system and implementation method thereof
CN102882934A (en) * 2012-09-05 2013-01-16 浪潮(北京)电子信息产业有限公司 Web service realizing method based on enterprise service bus (ESB), ESB and service center
CN103716310A (en) * 2013-12-19 2014-04-09 深圳市迈桥科技有限公司 Javascript (js)-based method and device for docking with enterprise system
CN104579792A (en) * 2015-01-26 2015-04-29 四川中电启明星信息技术有限公司 Architecture and method for achieving centralized management of various types of virtual resources based on multiple adaptive modes
CN105302575A (en) * 2015-11-19 2016-02-03 中国移动通信集团广东有限公司汕头分公司 Foundational development framework
CN105446819A (en) * 2015-11-06 2016-03-30 中国南方电网有限责任公司 Service connection system and design method therefor

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997027689A1 (en) * 1996-01-24 1997-07-31 Klingman Edwin E Universal input call processing system
US20030070006A1 (en) * 2001-10-10 2003-04-10 Borland Software Corporation Development system providing extensible remoting architecture
US20050015491A1 (en) * 2003-05-16 2005-01-20 Markel Corporation Systems, methods, and articles of manufacture for dynamically providing web services
CN101056429A (en) * 2007-05-29 2007-10-17 华为技术有限公司 Universal service system and its implementation method
CN101071435A (en) * 2007-06-08 2007-11-14 中兴通讯股份有限公司 Distributed accessing method based on embedded database
CN101277307A (en) * 2008-05-21 2008-10-01 天柏宽带网络科技(北京)有限公司 System and method for processing data information
CN101695076A (en) * 2009-09-21 2010-04-14 中兴通讯股份有限公司 Method and device of unified agent adaptation based on Web service and adaptation system
CN102082992A (en) * 2009-11-30 2011-06-01 中国移动通信集团山西有限公司 Mobile office system and implementation method thereof
CN101854348A (en) * 2010-04-02 2010-10-06 南京联创科技集团股份有限公司 Realization method of SOA (Service Oriented Architecture) accessing core supporting system in peripheral system
CN102882934A (en) * 2012-09-05 2013-01-16 浪潮(北京)电子信息产业有限公司 Web service realizing method based on enterprise service bus (ESB), ESB and service center
CN103716310A (en) * 2013-12-19 2014-04-09 深圳市迈桥科技有限公司 Javascript (js)-based method and device for docking with enterprise system
CN104579792A (en) * 2015-01-26 2015-04-29 四川中电启明星信息技术有限公司 Architecture and method for achieving centralized management of various types of virtual resources based on multiple adaptive modes
CN105446819A (en) * 2015-11-06 2016-03-30 中国南方电网有限责任公司 Service connection system and design method therefor
CN105302575A (en) * 2015-11-19 2016-02-03 中国移动通信集团广东有限公司汕头分公司 Foundational development framework

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
邱彦林: "《Flex第一步》", 31 December 2007 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107678747A (en) * 2017-09-30 2018-02-09 安徽联智创新软件有限公司 The data call management system of different platform is realized based on interface language
CN108491281A (en) * 2018-03-22 2018-09-04 武汉斗鱼网络科技有限公司 Method, readable medium and the electronic equipment interacted between software systems
CN108965375A (en) * 2018-05-21 2018-12-07 阿里巴巴集团控股有限公司 Service call proxy control system, method, server and readable storage medium storing program for executing
CN108965375B (en) * 2018-05-21 2021-04-20 创新先进技术有限公司 Service call proxy control system, method, server and readable storage medium
CN109460306A (en) * 2018-10-09 2019-03-12 航天信息股份有限公司 A kind of integrated services integration cut-in method and system
CN109714470A (en) * 2018-10-23 2019-05-03 北京理工大学 A kind of method and system for realizing mobile phone application module based on nodejs
CN109714470B (en) * 2018-10-23 2020-08-04 北京理工大学 Method and system for realizing mobile phone application modularization based on nodejs
CN110928572A (en) * 2019-10-12 2020-03-27 中国平安财产保险股份有限公司 Interface calling and service system separation method, system and computer equipment
CN112948723A (en) * 2021-02-26 2021-06-11 平安普惠企业管理有限公司 Interface calling method and device and related equipment
CN113190452A (en) * 2021-05-08 2021-07-30 广州趣丸网络科技有限公司 Dial testing service system, method, equipment and storage medium

Also Published As

Publication number Publication date
CN107193668B (en) 2021-01-15

Similar Documents

Publication Publication Date Title
CN107193668A (en) The call method and system at interface service end
CN111181727B (en) Open API full life cycle management method based on micro service
CN109559258B (en) Educational resource public service system
US20170337095A1 (en) Service based information technology platform
EP2477165B1 (en) Multi-application smart card, and system and method for multi-application management of smart card
CN107689953A (en) A kind of vessel safety monitoring method and system towards multi-tenant cloud computing
CN113037831B (en) Service gateway message processing method and device
CN109559213A (en) The processing method and processing device of taxation informatization
CN110111092B (en) Compatible system of payment channel
CN111800434A (en) Multi-channel asset docking platform and working method thereof
CN111130922A (en) Airborne information safety automatic test method and test platform
CN111240862A (en) Universal interface platform and data conversion method
CN101378329B (en) Distributed business operation support system and method for implementing distributed business
CN112541828B (en) System, method, device, processor and storage medium for realizing open securities management and open securities API access control
CN111447273B (en) Cloud processing system and data processing method based on cloud processing system
EP3073769A1 (en) System and method for intermediating between subscriber devices and communication service providers
CN108022079A (en) Sharing method, device and the computer-readable recording medium of Service Source
CN106127573B (en) A kind of lightness operation system and method
CN110336872B (en) Method, device and system for acquiring third-party data
CN113496002A (en) Mobile application platform based on mobile middle station
US20100174826A1 (en) Information gathering system and method
CN112612461B (en) Method for unified management and release of secure API interface in ERP system
CN109327499A (en) Management method and device, storage medium, the terminal of business interface
CN113590575A (en) Service integration sharing-based method, device, terminal and storage medium
CN113888330A (en) Data routing platform management system for financial enterprise

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
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210115

CF01 Termination of patent right due to non-payment of annual fee