CN110290205A - Service interface management method and device - Google Patents

Service interface management method and device Download PDF

Info

Publication number
CN110290205A
CN110290205A CN201910560038.7A CN201910560038A CN110290205A CN 110290205 A CN110290205 A CN 110290205A CN 201910560038 A CN201910560038 A CN 201910560038A CN 110290205 A CN110290205 A CN 110290205A
Authority
CN
China
Prior art keywords
service interface
terminal
interface
creation
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.)
Pending
Application number
CN201910560038.7A
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.)
Beike Technology Co Ltd
Original Assignee
Beike 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 Beike Technology Co Ltd filed Critical Beike Technology Co Ltd
Priority to CN201910560038.7A priority Critical patent/CN110290205A/en
Publication of CN110290205A publication Critical patent/CN110290205A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0815Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/566Grouping or aggregating service requests, e.g. for unified processing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/567Integrating service provisioning from a plurality of service providers

Abstract

The embodiment of the present invention provides a kind of service interface management method and device, wherein method includes: to obtain the interface message of the service interface of first terminal creation and store into the interface warehouse of open platform accumulation layer;Based on the interface message, the service interface of first terminal creation is issued;The subscription for receiving the service interface to the first terminal creation issued that second terminal is sent is requested, and is generated corresponding code key and is put into subscription request;Using the code key being put into request is subscribed to, the service interface of first terminal creation is called, obtains the data that the service interface of called first terminal creation returns.The embodiment of the present invention can realize the management to service interface using open platform, and the maintenance cost of service interface is effectively reduced.

Description

Service interface management method and device
Technical field
The present invention relates to field of computer technology more particularly to a kind of service interface management method and devices.
Background technique
In recent years, the business of internet and technological evolvement speed are very fast.
Currently, it is based on Internet technology, online service industry would generally carry out related service using service interface.
But for certain services, the life cycle of service interface is long, maintenance cost is high, and iteration is quick, whole interface It is intricate with use to launch.The creator of interface and the user of interface are direct-connected, it is easy to be attacked by packet capturing, creation is caused to connect The wasting of resources of mouth data, and the creator of interface, the user with interface is without complete authorization reconciliation process, so that both sides Can not accurately it be checked account.
Summary of the invention
In view of the problems of the existing technology, the embodiment of the present invention provides a kind of service interface management method and device.
The embodiment of the present invention provides a kind of service interface management method, comprising:
The interface message for obtaining the service interface of first terminal creation stores interface message storage to open platform In the interface warehouse of layer;
Based on the interface message, the service interface of first terminal creation is issued;
The subscription for receiving the service interface for the first terminal creation to open platform publication that second terminal is sent is requested, root The corresponding code key of generation is requested to be put into the subscription request according to the subscription;
Using the code key subscribed to and be put into request, the service interface of the first terminal creation is called, acquisition is adjusted The data that the service interface of first terminal creation returns.
Optionally, the interface message, comprising: the interface mark that the first terminal is arranged according to the details of service interface Label and interface describe explanation;
The service interface is the service that first terminal creation is received and installed by ISP's provider cluster After interface, the interface message of the service interface of first terminal creation is supplied to open platform, keeps the open platform described Interface message stores the interface warehouse to open platform accumulation layer.
Optionally, it is requested in the subscription for the service interface for receiving the first terminal creation issued that second terminal is sent Before, the method also includes:
Receive the logging request that second terminal is sent, authentication and purview certification to the second terminal;
Correspondingly, the service interface that the first terminal issued to open platform for receiving second terminal transmission is created Subscribe to request, comprising:
It receives and has passed through the first terminal to open platform publication that the second terminal of authentication and purview certification is sent The subscription of the service interface of creation is requested.
Optionally, the logging request for receiving second terminal and sending, authentication and permission to the second terminal Certification, comprising:
Receive the logging request that second terminal is sent, the authentication using Single Sign-On Technology Used, to the second terminal And purview certification.
Optionally, using the code key subscribed to and be put into request, the service interface of the first terminal creation is called, is obtained The data that the service interface for taking called first terminal to create returns, comprising:
Using the code key subscribed to and be put into request, the service interface of the first terminal creation is called, obtains and calls First terminal creation the data that return of service interface, the code key that is put into request is subscribed to according to described, to the return Data carry out data cleansing, and exception call is shielded, the data progress according to Message Digest 5 md5 value to the return Match, shields unmatched data, the data after obtaining data cleansing.
Optionally, using the code key subscribed to and be put into request, the service interface of the first terminal creation is called Later, the method also includes:
By data filtering, permission fusing degrade and interface authority configuration at least one of, to described the issued The service interface of one terminal creation carries out Daily Round Check.
Optionally, it is fused and is degraded by permission, the service interface for the first terminal creation issued carried out daily Inspection, comprising:
If the subscription for being not received by the service interface to the first terminal creation issued of second terminal transmission is requested, Or the service interface of the first terminal creation is called using abnormal code key, then it is fused and is degraded by permission, by what is called The data that the service interface of first terminal creation returns become mock analogue data.
The embodiment of the present invention provides a kind of service interface managing device, comprising:
Memory module, the interface message of the service interface for obtaining first terminal creation, the interface message is stored Into the interface warehouse of open platform accumulation layer;
Release module issues the service interface of first terminal creation for being based on the interface message;
Receiving module, the service interface of the first terminal creation to open platform publication for receiving second terminal transmission Subscription request, request to generate corresponding code key according to subscriptions and be put into during the subscription requests;
Calling module calls the service of the first terminal creation for subscribing to the code key being put into request using described Interface obtains the data that the service interface of called first terminal creation returns.
The embodiment of the present invention provides a kind of electronic equipment, including memory, processor and storage are on a memory and can be The computer program run on processor, the processor are realized when executing described program such as the step of the above method.
Service interface management method provided in an embodiment of the present invention and device are applied to open platform, by utilizing acquisition The interface message of the service interface of first terminal creation is simultaneously stored into the interface warehouse of open platform accumulation layer, to described first The service interface of terminal creation is issued, and the clothes for the first terminal creation to open platform publication that second terminal is sent are received Be engaged in the subscription request of interface, request to generate corresponding code key according to subscribing to and be put into the subscriptions request, using subscribe to request in put The code key entered calls the service interface of first terminal creation to obtain the data that the service interface of first terminal creation returns, by This, the management to service interface can be realized using open platform, is connect after creator's issuing interface of service interface without management Mouthful, the maintenance cost of service interface is effectively reduced.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of flow diagram for service interface management method that one embodiment of the invention provides;
Fig. 2 is the schematic illustration of service interface management method provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram for service interface managing device that one embodiment of the invention provides;
Fig. 4 is the entity structure schematic diagram for the electronic equipment that one embodiment of the invention provides.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Fig. 1 shows a kind of flow diagram of service interface management method of one embodiment of the invention offer, such as Fig. 1 institute Show, the present embodiment the method is applied to open platform, the service interface management method of the present embodiment, comprising:
S1, the interface message for obtaining the service interface that first terminal is created, by interface message storage to open platform In the interface warehouse of accumulation layer.
In a particular application, the interface message may include: that the first terminal is set according to the details of service interface Distinct interface label and the interface description set such as illustrate at the information.
It is understood that the service interface is to be received by provider (ISP) cluster and install first After the service interface of terminal creation, the interface message of the service interface of first terminal creation is supplied to open platform, is made described Open platform stores the interface message into the interface warehouse of open platform accumulation layer.
It should be noted that the executing subject of the present embodiment the method is open platform (openApi).
In a particular application, open platform can be by tcp (transmission control protocol) communication protocol, with provider cluster In provider communicated, the storage of the interface message of the service interface that the first terminal is created is stored to open platform In the interface warehouse of layer.By taking building service interface as an example, second-hand house entrusted information service interface can be deployed to provider In cluster, the interface message of second-hand house entrusted information service interface is synchronized to the interface of open platform accumulation layer by tcp consultation In warehouse (DB).
S2, it is based on the interface message, the service interface of first terminal creation is issued.
It is understood that this step is to complete the publication for the service interface for creating the first terminal, can be based on connecing The interface message of the service interface of the first terminal creation stored in mouth warehouse connects the service of first terminal creation Mouth is issued.
The subscription of S3, the service interface for receiving the first terminal creation to open platform publication that second terminal is sent are asked It asks, requests the corresponding code key of generation to be put into the subscription request according to the subscription.
It is understood that second terminal described in the present embodiment is the user of service interface, Fig. 2 can refer to, described the Two terminals can be any consumer in consumer (service user) cluster, and the second terminal is being needed using When the service interface of one terminal creation, it can be sent to open platform and subscribe to request, complete interface authorization, interface creator (i.e. the One terminal) it need not concerned interface authorization.
S4, the code key that is put into request is subscribed to using described, calls the service interface of the first terminal creation, obtains institute The data that the service interface of the first terminal creation of calling returns.
It is understood that the present embodiment can use the code key subscribed to and be put into request, the service that can complete is connect The calling of mouth, and do not have to concern that flow is stolen.
In a particular application, the present embodiment can also be returned after the service interface according to the calling first terminal creation Data complete the accounting checking that service interface calls, the user of the creator and service interface that allow service interface carries out accurately Accounting checking.
It is understood that the present embodiment the method is suitable for all fields that can provide service interface, the present embodiment It is not limited.By taking building service interface as an example, the present embodiment the method can be serviced second-hand house entrusted information Interface is deployed in provider cluster, and the provider in provider cluster connects second-hand house entrusted information service interface Message breath is synchronized in the interface warehouse of open platform accumulation layer, and open platform sends out second-hand house entrusted information service interface Cloth needs that the service of second-hand house entrusted information can be subscribed to open platform using the second terminal of second-hand house entrusted information service interface Interface, open platform can also provide the calling accounting checking information of second-hand house entrusted information service interface to second terminal.
Service interface management method provided in an embodiment of the present invention is applied to open platform, by obtaining first terminal wound The interface message of the service interface of work is simultaneously stored into the interface warehouse of open platform accumulation layer, to first terminal creation Service interface is issued, and ordering for the service interface for the first terminal creation to open platform publication that second terminal is sent is received Request is read, requests the corresponding code key of generation to be put into the subscription request according to subscription, uses the code key being put into subscription request, tune With the service interface that first terminal is created to obtain the data that the service interface of first terminal creation returns, thereby, it is possible to utilize Open platform realizes the management to service interface, is not necessarily to management interface after creator's issuing interface of service interface, can solve existing Have due to service interface life cycle is long and problem that maintenance cost is high, the maintenance cost of service interface is effectively reduced.
Further, on the basis of the above embodiments, before the step S3, the present embodiment the method can be with Include:
Receive the logging request that second terminal is sent, authentication and purview certification to the second terminal;
Correspondingly, " the first terminal creation to open platform publication that second terminal is sent is received in the step S3 Service interface subscription request ", may include:
It receives and has passed through the first terminal to open platform publication that the second terminal of authentication and purview certification is sent The subscription of the service interface of creation is requested.
It specifically, can be after receiving the logging request that second terminal is sent, using Single Sign-On Technology Used, to described second The authentication of terminal and purview certification.
It is understood that this step can be completed to recognize the identity of user's (i.e. described second terminal) of service interface Card and purview certification receive open platform only through the transmission of the second terminal of authentication and purview certification to service interface Subscription request.
Further, on the basis of the above embodiments, the step S4 may include:
Using the code key subscribed to and be put into request, the service interface of the first terminal creation is called, obtains and calls First terminal creation the data that return of service interface, the code key that is put into request is subscribed to according to described, to the return Data carry out data cleansing, and exception call is shielded, the data progress according to md5 (Message Digest 5) value to the return Match, shields unmatched data, the data after obtaining data cleansing.
It is understood that it is clear to carry out data to the data of the return according to the code key subscribed to and be put into request It washes, useless exception call can be shielded, shield the data packet being tampered, it may not be necessary to worry that flow is stolen.
In a particular application, the present embodiment the method can also be based on the date according to the data after the data cleansing Dimension carries out the accounting checking of service interface calling.
It is understood that being based on date dimension according to the data after the data cleansing, service interface calling is carried out Accounting checking, can obtain result of more accurately checking account.
Further, on the basis of the above embodiments, secret using being put into subscription request in the step S4 Key, after the service interface for calling first terminal creation, the present embodiment the method can also include:
By data filtering, permission fusing degrade and interface authority configuration at least one of, to described the issued The service interface of one terminal creation carries out Daily Round Check.
In a particular application, for example, fused and degraded by permission, to the clothes for the first terminal creation issued Business interface carries out Daily Round Check, may include:
If the subscription for being not received by the service interface to the first terminal creation issued of second terminal transmission is requested, Or the service interface of the first terminal creation is called using abnormal code key, then it is fused and is degraded by permission, by what is called The data that the service interface of first terminal creation returns become mock analogue data.
It is understood that the data that the service interface of the first terminal called creation returns are become mock simulation number According to abnormal flow can be allowed not pollute normal service interface supplier.
Service interface management method provided in an embodiment of the present invention can realize the pipe to service interface using open platform Reason is not necessarily to management interface after creator's issuing interface of service interface, can solve it is existing since service interface life cycle is long and The high problem of maintenance cost, is effectively reduced the maintenance cost of service interface, it is not necessary to worry flow by the creator of service interface with Third party except the user of service interface steals.
Fig. 3 shows a kind of structural schematic diagram of service interface managing device of one embodiment of the invention offer, such as Fig. 3 institute Show, the service interface managing device of the present embodiment, comprising: memory module 31, release module 32, receiving module 33, calling module 34 and sending module 35;Wherein:
The memory module 31, the interface message of the service interface for obtaining first terminal creation, the interface is believed Breath storage is into the interface warehouse of open platform accumulation layer;
The release module 32 carries out the service interface of first terminal creation for being based on the interface message Publication;
The receiving module 33, the clothes of the first terminal creation to open platform publication for receiving second terminal transmission It is engaged in the subscription request of interface, requests to generate corresponding code key according to subscriptions and be put into during the subscription requests;
The calling module 34 calls the first terminal to create for subscribing to the code key being put into request using described Service interface, obtain the data that the service interface of called first terminal creation returns.
Specifically, the memory module 31 obtains the interface message of the service interface of first terminal creation, by the interface Information is stored into the interface warehouse of open platform accumulation layer;The release module 32 is based on the interface message, to described the The service interface of one terminal creation is issued;The receiving module 33 receive that second terminal sends to open platform publication The subscription request of the service interface of first terminal creation is requested the corresponding code key of generation to be put into the subscription and is requested according to the subscription In;The calling module 34 calls the service interface of the first terminal creation using the code key subscribed to and be put into request, Obtain the data that the service interface of called first terminal creation returns.
In a particular application, the interface message may include: that the first terminal is set according to the details of service interface Distinct interface label and the interface description set such as illustrate at the information.
It is understood that the service interface is the clothes that first terminal creation is received and installed by provider cluster It is engaged in after interface, the interface message of the service interface of first terminal creation is supplied to open platform, makes the open platform by institute Interface message storage is stated into the interface warehouse of open platform accumulation layer.
It should be noted that the present embodiment described device is applied to open platform (openApi).
In a particular application, open platform can by the provider in tcp communication protocol, with provider cluster into Row communication, the interface message for the service interface that the first terminal is created store the interface warehouse to open platform accumulation layer In.By taking building service interface as an example, second-hand house entrusted information service interface can be deployed in provider cluster, tcp association The interface message of second-hand house entrusted information service interface is synchronized in the interface warehouse (DB) of open platform accumulation layer by parliament.
It is understood that second terminal described in the present embodiment is the user of service interface, it can be consumer (clothes Make sure user) any consumer in cluster, the second terminal in the service interface for needing to create using first terminal, It can be sent to open platform and subscribe to request, complete interface authorization, interface creator (i.e. first terminal) need not concerned interface authorization.
It is understood that the present embodiment can complete service interface using the code key subscribed to and be put into request It calls, and does not have to concern that flow is stolen.
In a particular application, after the calling module 34 can also be according to the service interface for calling the first terminal creation The data that are returned complete the accounting checking that service interface calls, allow service interface creator and service interface user into The accurate accounting checking of row.
It is understood that the present embodiment described device is suitable for all fields that can provide service interface, the present embodiment It is not limited.By taking building service interface as an example, the present embodiment described device can be serviced second-hand house entrusted information Interface is deployed in provider cluster, and the provider in provider cluster connects second-hand house entrusted information service interface Message breath is synchronized in the interface warehouse of open platform accumulation layer, and open platform sends out second-hand house entrusted information service interface Cloth needs that the service of second-hand house entrusted information can be subscribed to open platform using the second terminal of second-hand house entrusted information service interface Interface, open platform can also provide the calling accounting checking information of second-hand house entrusted information service interface to second terminal.
Service interface managing device provided in an embodiment of the present invention is applied to open platform, can be real using open platform Now to the management of service interface, it is not necessarily to management interface after creator's issuing interface of service interface, can solve existing due to service Interface life cycle is long and problem that maintenance cost is high, and the maintenance cost of service interface is effectively reduced.
Further, on the basis of the above embodiments, the present embodiment described device can also include not shown in the figure:
Authentication module, the service interface of the first terminal creation to open platform publication for receiving second terminal transmission Subscription request before, receive second terminal send logging request, authentication and purview certification to the second terminal;
Correspondingly, the receiving module 33, can be specifically used for
It receives and has passed through the first terminal to open platform publication that the second terminal of authentication and purview certification is sent The subscription of the service interface of creation is requested, and requests the corresponding code key of generation to be put into the subscription request according to the subscription.
Specifically, the authentication module can use single-sign-on skill after receiving the logging request that second terminal is sent Art, authentication and purview certification to the second terminal.
It is understood that the authentication module can be completed to user's's (i.e. described second terminal) of service interface Authentication and purview certification receive open platform only through the transmission of the second terminal of authentication and purview certification to clothes The subscription request of business interface.
Further, on the basis of the above embodiments, the calling module 34, can be specifically used for
Using the code key subscribed to and be put into request, the service interface of the first terminal creation is called, acquisition is adjusted The data that the service interface of first terminal creation returns, according to the code key subscribed to and be put into request, to the return Data carry out data cleansing, exception call is shielded, the data of the return are carried out according to md5 (Message Digest 5) value Matching shields unmatched data, the data after obtaining data cleansing.
It is understood that it is clear to carry out data to the data of the return according to the code key subscribed to and be put into request It washes, useless exception call can be shielded, shield the data packet being tampered, it may not be necessary to worry that flow is stolen.
In a particular application, the calling module 34 can also be tieed up according to the data after the data cleansing based on the date Degree carries out the accounting checking of service interface calling, calls accounting checking information to be sent to the second terminal obtained service interface.
It is understood that being based on date dimension according to the data after the data cleansing, service interface calling is carried out Accounting checking, can obtain result of more accurately checking account.
Further, on the basis of the above embodiments, the present embodiment described device can also include not shown in the figure:
Polling module, at least one in being configured by data filtering, permission fusing degradation and interface authority, to institute The service interface of the first terminal creation of publication carries out Daily Round Check.
In a particular application, for example, fused and degraded by permission, to the clothes for the first terminal creation issued Business interface carries out Daily Round Check, may include:
If the subscription for being not received by the service interface to the first terminal creation issued of second terminal transmission is requested, Or the service interface of the first terminal creation is called using abnormal code key, then it is fused and is degraded by permission, by what is called The data that the service interface of first terminal creation returns become mock analogue data.
It is understood that the data that the service interface of the first terminal called creation returns are become mock simulation number According to abnormal flow can be allowed not pollute normal service interface supplier.
Service interface managing device provided in an embodiment of the present invention can realize the pipe to service interface using open platform Reason is not necessarily to management interface after creator's issuing interface of service interface, can solve it is existing since service interface life cycle is long and The high problem of maintenance cost, is effectively reduced the maintenance cost of service interface, it is not necessary to worry flow by the creator of service interface with Third party except the user of service interface steals.
Service interface managing device provided in an embodiment of the present invention, can be used for executing the technical side of preceding method embodiment Case, it is similar that the realization principle and technical effect are similar, and details are not described herein again.
Fig. 4 shows the entity structure schematic diagram of a kind of electronic equipment of one embodiment of the invention offer, as shown in figure 4, The electronic equipment may include memory 402, processor 401 and be stored on memory 402 and can run on processor 401 Computer program, the step of processor 401 realizes the above method when executing described program, for example, obtain first The interface message of the service interface of terminal creation, by interface message storage into the interface warehouse of open platform accumulation layer; Based on the interface message, the service interface of first terminal creation is issued;Receive the split of second terminal transmission It is laid flat the subscription request of the service interface of the first terminal creation of platform publication, requests the corresponding code key of generation to be put into according to the subscription In the subscription request;Using the code key subscribed to and be put into request, the service interface of the first terminal creation is called, is obtained The data that the service interface for taking called first terminal to create returns.
The embodiment of the present invention provides a kind of non-transient computer readable storage medium, is stored thereon with computer program, should The step of above method is realized when computer program is executed by processor, for example, the service for obtaining first terminal creation connects The interface message of mouth, by interface message storage into the interface warehouse of open platform accumulation layer;Based on the interface message, The service interface of first terminal creation is issued;Receive the first end to open platform publication that second terminal is sent The subscription request for holding the service interface of creation requests the corresponding code key of generation to be put into the subscription request according to the subscription;Make With the code key subscribed to and be put into request, the service interface of the first terminal creation is called, obtains called first eventually The data that the service interface of end creation returns.
The apparatus embodiments described above are merely exemplary, wherein described, unit can as illustrated by the separation member It is physically separated with being or may not be, component shown as a unit may or may not be physics list Member, it can it is in one place, or may be distributed over multiple network units.It can be selected according to the actual needs In some or all of the modules achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying creativeness Labour in the case where, it can understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should Computer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingers It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation Method described in certain parts of example or embodiment.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features; And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and Range.

Claims (10)

1. a kind of service interface management method is applied to open platform characterized by comprising
The interface message for obtaining the service interface of first terminal creation, by interface message storage to open platform accumulation layer In interface warehouse;
Based on the interface message, the service interface of first terminal creation is issued;
The subscription for receiving the service interface for the first terminal creation to open platform publication that second terminal is sent is requested, according to institute The corresponding code key of subscription request generation is stated to be put into the subscription request;
Using the code key subscribed to and be put into request, the service interface of the first terminal creation is called, what acquisition was called The data that the service interface of first terminal creation returns.
2. service interface management method according to claim 1, which is characterized in that the interface message, comprising: described The interface label and interface that one terminal is arranged according to the details of service interface describe explanation;
The service interface is the service interface that first terminal creation is received and installed by ISP's provider cluster Afterwards, the interface message of the service interface of first terminal creation is supplied to open platform, makes the open platform by the interface Information stores the interface warehouse to open platform accumulation layer.
3. service interface management method according to claim 1, which is characterized in that receiving being sent out for second terminal transmission Before the subscription request of the service interface of the first terminal creation of cloth, the method also includes:
Receive the logging request that second terminal is sent, authentication and purview certification to the second terminal;
Correspondingly, the subscription of the service interface for receiving the first terminal creation to open platform publication that second terminal is sent Request, comprising:
It receives and has passed through the first terminal creation to open platform publication that the second terminal of authentication and purview certification is sent Service interface subscription request.
4. service interface management method according to claim 3, which is characterized in that described to receive stepping on for second terminal transmission Record request, authentication and purview certification to the second terminal, comprising:
The logging request that second terminal is sent is received, using Single Sign-On Technology Used, authentication and power to the second terminal Limit certification.
5. service interface management method according to claim 1, which is characterized in that use what is be put into the subscription request Code key calls the service interface of the first terminal creation, obtains the service interface return of called first terminal creation Data, comprising:
The code key that is put into request is subscribed to using described, calls the service interface of the first terminal creation, obtains the of calling The data that the service interface of one terminal creation returns, according to the code key subscribed to and be put into request, to the data of the return Data cleansing is carried out, exception call is shielded, is matched according to data of the Message Digest 5 md5 value to the return, is shielded Unmatched data are covered, the data after obtaining data cleansing.
6. service interface management method according to claim 1, which is characterized in that be put into using subscription request Code key, after the service interface for calling first terminal creation, the method also includes:
By at least one in data filtering, permission fusing degradation and interface authority configuration, eventually to described first issued The service interface of end creation carries out Daily Round Check.
7. service interface management method according to claim 6, which is characterized in that fused and degraded by permission, to being sent out The service interface of the first terminal creation of cloth carries out Daily Round Check, comprising:
If the subscription for being not received by the service interface to the first terminal creation issued of second terminal transmission is requested, or The service interface that the first terminal creation is called using abnormal code key, then fused by permission and degraded, first will called The data that the service interface of terminal creation returns become mock analogue data.
8. a kind of service interface managing device is applied to open platform characterized by comprising
Memory module, the interface message of the service interface for obtaining first terminal creation, by interface message storage to opening It is laid flat in the interface warehouse of platform accumulation layer;
Release module issues the service interface of first terminal creation for being based on interface message;
Receiving module, the service interface of the first terminal creation to open platform publication for receiving second terminal transmission are ordered Request is read, requests the corresponding code key of generation to be put into the subscription request according to the subscription;
Calling module, for calling the service interface of the first terminal creation using the code key being put into the subscription request, Obtain the data that the service interface of called first terminal creation returns.
9. a kind of electronic equipment including memory, processor and stores the calculating that can be run on a memory and on a processor Machine program, which is characterized in that the processor is realized when executing described program such as any one of claim 1 to 7 the method Step.
10. a kind of non-transient computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer It is realized when program is executed by processor such as the step of any one of claim 1 to 7 the method.
CN201910560038.7A 2019-06-26 2019-06-26 Service interface management method and device Pending CN110290205A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910560038.7A CN110290205A (en) 2019-06-26 2019-06-26 Service interface management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910560038.7A CN110290205A (en) 2019-06-26 2019-06-26 Service interface management method and device

Publications (1)

Publication Number Publication Date
CN110290205A true CN110290205A (en) 2019-09-27

Family

ID=68005925

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910560038.7A Pending CN110290205A (en) 2019-06-26 2019-06-26 Service interface management method and device

Country Status (1)

Country Link
CN (1) CN110290205A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110889073A (en) * 2019-11-21 2020-03-17 掌阅科技股份有限公司 Page request response method, server and computer storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103701761A (en) * 2012-09-28 2014-04-02 中国电信股份有限公司 Authentication method for invoking open interface and system
CN104199657A (en) * 2014-08-27 2014-12-10 百度在线网络技术(北京)有限公司 Call method and device for open platform
CN107888499A (en) * 2017-11-17 2018-04-06 北京邮电大学 A kind of distribution subscription system and message forwarding method based on SDN
CN108111629A (en) * 2018-01-19 2018-06-01 京东方科技集团股份有限公司 Application Programming Interface service unit and Application Programming Interface service system
CN108243188A (en) * 2017-12-29 2018-07-03 中链科技有限公司 A kind of interface access, interface calling and interface authentication processing method and device
CN109101373A (en) * 2017-06-20 2018-12-28 北京航空航天大学 General-utility test platform based on subscription/publication mode

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103701761A (en) * 2012-09-28 2014-04-02 中国电信股份有限公司 Authentication method for invoking open interface and system
CN104199657A (en) * 2014-08-27 2014-12-10 百度在线网络技术(北京)有限公司 Call method and device for open platform
CN109101373A (en) * 2017-06-20 2018-12-28 北京航空航天大学 General-utility test platform based on subscription/publication mode
CN107888499A (en) * 2017-11-17 2018-04-06 北京邮电大学 A kind of distribution subscription system and message forwarding method based on SDN
CN108243188A (en) * 2017-12-29 2018-07-03 中链科技有限公司 A kind of interface access, interface calling and interface authentication processing method and device
CN108111629A (en) * 2018-01-19 2018-06-01 京东方科技集团股份有限公司 Application Programming Interface service unit and Application Programming Interface service system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110889073A (en) * 2019-11-21 2020-03-17 掌阅科技股份有限公司 Page request response method, server and computer storage medium
CN110889073B (en) * 2019-11-21 2024-01-12 掌阅科技股份有限公司 Page request response method, server and computer storage medium

Similar Documents

Publication Publication Date Title
CN108305072B (en) Method, apparatus, and computer storage medium for deploying a blockchain network
CN110933187B (en) Internet of things data transmission system based on block chain consensus encryption mechanism
CN106055412B (en) The method and system for calculating requests for capacity is managed for dynamic
CN108234475B (en) Account management method, electronic equipment and computer storage medium
US20150082310A1 (en) Providing configurable bootstrapping of software execution
CN110443075A (en) A kind of method and device of block chain intelligence contract verifying deployment
CN107819861A (en) Business data processing method, apparatus and system
US20110214124A1 (en) Systems and methods for generating cross-cloud computing appliances
US8788379B1 (en) Providing configurable pricing for execution of software images
US20160241446A1 (en) Managing a number of secondary clouds by a master cloud service manager
CN106453519A (en) Interface call method and device
CN110673938B (en) Task processing method, system, server and storage medium
CN107135085B (en) Orient statistical control method, the system of flow
CN111045613B (en) Printing management system and method based on block chain technology
CN103179176A (en) Call method, device and system for web application in cloud/cluster environment
CN113110864A (en) Application program updating method and device and storage medium
CN111666539A (en) Real estate resource management method, device, server and storage medium
CN112561510A (en) Payment system, method, device, equipment and storage medium
CN112468537A (en) Block chain network building structure based on local area network environment and data processing method
CN104219312B (en) A kind of method and device of installation procedure
CN108123938A (en) A kind of AAA service implementing methods and system
CN110290205A (en) Service interface management method and device
CN106357430A (en) Method and system for service state monitoring of cloud computing cluster
CN112990991A (en) Method and device for merging invoices
CN110858211B (en) Data storage method, device and system and storage medium

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190927