CN109194604A - Interface automatic method, system, computer equipment and storage medium - Google Patents
Interface automatic method, system, computer equipment and storage medium Download PDFInfo
- Publication number
- CN109194604A CN109194604A CN201810569874.7A CN201810569874A CN109194604A CN 109194604 A CN109194604 A CN 109194604A CN 201810569874 A CN201810569874 A CN 201810569874A CN 109194604 A CN109194604 A CN 109194604A
- Authority
- CN
- China
- Prior art keywords
- client
- micro services
- api gateway
- interface
- service request
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/51—Discovery or management thereof, e.g. service location protocol [SLP] or web services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/146—Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/08—Protocols for interworking; Protocol conversion
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Computer And Data Communications (AREA)
Abstract
The present invention relates to interface automatic method, system, computer equipment and storage medium, method includes: the service request that API Gateway receives client transmission by front end interface;API Gateway reads system number information and service code information in service request, and selected micro services;Communications protocol information in API Gateway reading client, the communications protocol information in micro services accessed needed for reading simultaneously, according to the communications protocol information in the communications protocol information transformation service request in micro services, realize docking between micro services and client, micro services needed for realizing the different types of client service request that quickly access client is sent after unified docking API Gateway, increase communication translation-protocol, improves the efficiency of client request access micro services.
Description
Technical field
The present invention relates to information technology fields, more particularly to interface automatic method, system, computer equipment and storage
Medium.
Background technique
Micro services framework is the new technology that application and service is disposed in cloud, and each micro services under framework can quilt
It is independent to dispose, it is loose coupling between every micro services.One micro services is generally possible to complete some specific function, than as follows
Menu manager, customer account management etc..Meanwhile each micro services is all miniature hexagon application, there is oneself service logic and adaptation
Device, i.e. micro services can issue API to other micro services or applications client carry out using or micro services complete a WEB
When UI is run, each example may be cloud VM or Docker a container.
Along with the development of micro services, large-scale monoblock type can not be repaired by getting rid of traditional monoblock type framework applications development system
Using the problem updated with enterprise, but under existing micro services framework, client can still be met when calling directly micro services
To problems, for example client is when calling micro services, need to distinguish one from the other the corresponding micro services of each interface and this in incognito
It is engaged in the corresponding address API;There are all multi-communication agreements and unfriendly agreement between client and the micro services docked, cause client
End quick, stable connection and cannot call micro services;Client is only capable of accessing micro services under the form of public network network, causes
The inefficiency of client request access micro services.
Summary of the invention
Based on this, it is necessary to which for client when docking micro services, there are all multi-communication agreements and unfriendly agreement, only
The problems such as being the connection that client cannot be quick, stable and calling micro services, provide interface automatic method, system, computer
Equipment and storage medium.
A kind of interface automatic method, the interface automatic method, specifically includes following specific steps:
Interface gateway API Gateway is connected by front end interface with client, and the industry that the client is sent is received
Business is requested, and is provided with the API Gateway and micro services in application system.
The API Gateway reads system number information and service code information in the service request, the API
Access needed for Gateway selectes the service request according to the system number information and the service code information is in incognito
Business;
The API Gateway reads the communications protocol information in the client, while accessing in incognito needed for reading
Communications protocol information in business, the API Gateway convert the business according to the communications protocol information in the micro services
Communications protocol information in request, realizes docking between the micro services and the client.
In one embodiment, the service request of the API Gateway reception client transmission includes:
Client obtains service request by human-computer interaction interface, and transmission interface is called to be sent to the service request
On the API Gateway, the API Gateway is docked by front end interface with the client, and described in reception
Service request, the human-computer interaction interface and the transmission interface are arranged in the client.
In one embodiment, the micro services accessed needed for the service request of selecting include:
API Gateway reads system number information and service generation in the service request by recalls information acquisition layer
Code information, according to the system number information and the service code information, the API Gateway is routed by calling interface
Layer, selectes the micro services accessed needed for the service request, and acquisition of information layer and interface route layer are arranged in the API
On Gateway.
In one embodiment, the docking between the client and micro services includes:
API Gateway obtains layer by recalls information and reads the communications protocol information in the client, and reads institute
Communications protocol information in the micro services that need to be accessed, the API Gateway by invocation protocol conversion layer, according to it is described in incognito
Communications protocol information in business converts the communications protocol information in the client, realize the micro services and the client it
Between docking, the API Gateway is provided with the protocol conversion layer.
In one embodiment, the API Gateway is arranged between client and application system, does not depend on described
Client and the application system.
In one embodiment, the client includes cell phone client, computer client and third party's client;
The application system includes Nginx application system and WEB application system.
In one embodiment, the API Gateway further includes automatic registration and the cancellation layer, control authority of micro services
Layer, load balancing layer and health examination layer;
The automatic registration of the micro services is used to manage registration and the log-off message of micro services, the control with cancellation layer
Limit layer is used to forbid accessing by control IP address the API Gateway, and the load balancing layer is used for statistics and analysis
The flowing of access of micro services, and the analysis result based on flowing of access carries out current limliting, the health examination layer is used for record access
Log, and failure, automatic registration and the cancellation layer, the control authority of the micro services are found in time by analyzing access log
Layer, the load balancing layer and the health examination layer are arranged on the API Gateway.
Based on the same technical idea, the present invention also provides a kind of interface automated system, the system comprises receptions
Service request unit, selected micro services unit and docking unit;
The reception service request unit is connected by front end interface with client for interface gateway API Gateway
It connects, receives the service request that the client is sent, be provided with the API Gateway and micro services in application system;
The selected micro services unit reads the letter of the System Number in the service request for the API Gateway
Breath and service code information, the API Gateway select institute according to the system number information and the service code information
State the micro services accessed needed for service request;
The docking unit reads the communications protocol information in the client for the API Gateway, reads simultaneously
The communications protocol information in micro services accessed needed for taking, the API Gateway is according to the communications protocol in the micro services
Information converts the communications protocol information in the service request, realizes docking between the micro services and the client.
Based on the same technical idea, described the present invention also provides a kind of computer equipment, including memory and processor
Computer-readable instruction is stored in memory, when the computer-readable instruction is executed by the processor, so that the place
Manage the step of device executes above-mentioned interface automatic method.
Based on the same technical idea, the present invention also provides a kind of storage medium for being stored with computer-readable instruction, institutes
When stating computer-readable instruction and being executed by one or more processors so that one or more processors execute as above-mentioned interface from
The step of automating method.
Above-mentioned interface automatic method, system, computer equipment and storage medium, the API Gateway pass through front end
Interface is connected with the client, receives the service request that client is sent;The API Gateway reads the business and asks
System number information and service code information in asking, the API Gateway is according to the system number information and the clothes
The micro services accessed needed for the service request are selected in business code information;The API Gateway is read in the client
Communications protocol information, while the communications protocol information in the micro services accessed needed for reading, the API Gateway is according to
Communications protocol information in micro services converts the communications protocol information in the service request, realizes the micro services and the visitor
Docking between the end of family realizes different types of client in unified quick access client hair after docking API Gateway
Micro services needed for the service request sent increase communication translation-protocol, improve the efficiency of client request access micro services.
Detailed description of the invention
Fig. 1 is a kind of flow chart of interface automatic method in one embodiment of the invention;
Fig. 2 is a kind of environment schematic of interface automatic method in one embodiment of the invention;
Fig. 3 is a kind of schematic diagram of interface automated system in one embodiment of the invention;
Wherein, 1- cell phone client;2-API Gateway;3- account field micro services;4- client field micro services;5-
Product scope micro services;6- order field micro services;7-Nginx application system.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, " one
It " also may include plural form that a ", " described " and ", which is somebody's turn to do,.It is to be further understood that used in specification of the invention
Wording " including " refers to that there are the feature, program, step, operation, element and/or component, but it is not excluded that in the presence of or add
Add other one or more features, program, step, operation, element, component and/or their group.
Fig. 1 is a kind of flow chart of interface automatic method in one embodiment of the invention, as shown in Figure 1, the interface
Automatic method may include steps of:
Step S1: interface gateway API Gateway is connected by front end interface with client, receives the client hair
The service request sent is provided with the API Gateway and micro services in application system;In the present embodiment, the API
Gateway receives the service request that client is sent
Client obtains service request by the human-computer interaction interface, and the transmission interface is called to ask the business
It asking and is sent on the API Gateway, the API Gateway is docked by front end interface with the client, and
The service request is received, the human-computer interaction interface and the transmission interface are arranged in the client.
The client refers to corresponding with server, provides the program of local service for client comprising cell phone customer
End, computer client and third party's client.Client in the present embodiment can be selected as cell phone client, the mobile phone visitor
Family end refers in the software of mobile phone terminal operation, and perfect, convenient, various, efficient mobile marketing can be provided for enterprise.With
Family can be requested by the input interface incoming traffic of cell phone client whenever and wherever possible, send the interface transmission industry by calling
Business request.
In the present embodiment, the application system can be selected as Nginx application system, and the Nginx application system is one
A high performance HTTP and Reverse Proxy are used for load balancing, both can directly support Rails and PHP inside it
Program is externally serviced, and can also support externally to be serviced as HTTP server.Meanwhile Nginx application system also has
Have the advantages that occupy that memory is few, concurrent capability is strong.
In the present embodiment, the API Gateway refers to API gateway, i.e., the service request that client is sent require through
API Gateway is crossed, micro services are then reached.Same interface of the API Gateway as system external, it is possible to reduce adjust
The perception that service is realized with side.The API Gateway can be set in Nginx application system, also can be set only
It stands on third party's medium of the cell phone client and Nginx application system.
In the present embodiment, the human-computer interaction interface refers between people and computer transmitting, the medium of interactive information and right
Interface is talked about, is the important component of client, is the medium interacted between client and user with information exchange, is realized
The content-form of information and the mankind can receive the conversion between form.
In the present embodiment, human-computer interaction interface is set in cell phone client and sends interface, user passes through described man-machine
The request of interactive interface incoming traffic, the cell phone client is by calling transmission interface that the service request is sent to the API
It is provided with front end interface on Gateway, the API Gateway, is connected by the preceding segment interface with the cell phone client,
And receive the service request.
Step S2: the API Gateway reads system number information and service code information in the service request,
Access needed for the API Gateway selectes the service request according to the system number information and the service code information
Micro services.
In the present embodiment, the micro services accessed needed for the service request of selecting include:
The API Gateway obtains layer by recalls information and reads the system number information kimonos in the service request
Business code information, according to the system number information and the service code information, the API Gateway passes through calling interface
Routing layer, selectes the micro services accessed needed for the service request, and acquisition of information layer and interface route layer are arranged in the API
On Gateway.
In the present embodiment, the acquisition of information layer is for reading the system number information kimonos for including in the service request
It is engaged in code information, and will acquire the system number information and the service code information is sent to the interface route layer, institute
Interface route layer is stated for selecting micro services.
In the present embodiment, after the API Gateway receives the service request that the cell phone client is sent, the API
Gateway obtains the system number information and the service code in the service request by calling the acquisition of information layer
Information, for example obtaining the system number information is GB 5007-85, the service code information is 9999, according to the institute of acquisition
System number information GB 5007-85 and the service code information 9999 are stated, the API Gateway will call the interface
Routing layer selectes its required micro services for the service request.
Step S3: the API Gateway reads the communications protocol information in the client, while accessing needed for reading
Micro services in communications protocol information, the API Gateway according in the micro services communications protocol information convert institute
The communications protocol information in service request is stated, realizes docking between the micro services and the client.
In the present embodiment, the docking between the client and micro services includes:
API Gateway is read by calling the acquisition of information layer to read the communications protocol information in the client
The communications protocol information in micro services accessed needed for taking, the API Gateway, which passes through, calls the protocol conversion layer, according to
Communications protocol information in the micro services converts the communications protocol information in the client, realizes micro services and described
Docking between client, the API Gateway are provided with the protocol conversion layer.
In the present embodiment, the protocol conversion layer is used for converting communication protocol information, realizes the communication in the micro services
Protocol information is mutually compatible with the communications protocol information in the service request, meanwhile, before carrying out the conversion of communications protocol information,
Whether the protocol conversion layer will verify the communications protocol information in the client, verify and deposit in the communications protocol information
In illegal information, illegal information, then feed back to client by the API Gateway if it exists, prompts user
There are information unauthorizeds, can not provide service;Information unauthorized if it does not exist is then believed according to the communications protocol in the micro services
Breath converts the communications protocol information in the client.
In the present embodiment, the API Gateway further include micro services it is automatic registration with nullify layer, control authority layer,
Load balancing layer and health examination layer;
The registration automatically of the micro services is used to manage registration and the log-off message of micro services with cancellation layer, when needs are in institute
When stating a newly-increased micro services in Nginx application system or nullifying a micro services, the API Gateway can call institute
The micro services newly increased as needed for cancellation layer of registering automatically for stating micro services are registered, and are allowed to setting and are answered in the Nginx
Cancellation service is provided in system, or for existing micro services.The control authority layer is used to prohibit by control IP address
The API Gateway is only accessed, when user constantly accesses the API by same IP address in short period
Gateway, when causing the API Gateway access blocking, the API Gateway then can be by calling the control authority
Layer limits the access of the user by controlling the IP address.The load balancing layer is used for the access of statistics and analysis micro services
Flow, and the analysis result based on flowing of access carries out current limliting.The health examination layer is used for record access log, and by dividing
Analysis access log finds failure in time.
Above-described embodiment realizes docking between the micro services and the client and different types of client
Micro services needed for holding the service request that quickly access client is sent after unified docking APIGateway, increase communication and convert
Agreement improves the efficiency of client request access micro services.
Fig. 2 is a kind of environment schematic of interface automatic method in one embodiment of the invention, as shown in Fig. 2, selected
Client is cell phone client 1, and selecting application system is Nginx application system 7, is arranged in the Nginx application system 7
API Gateway2, account field micro services 3, client field micro services 4, product scope micro services 5 and order field micro services
6。
Cell phone client 1 is arranged human-computer interaction interface and sends interface, and user inputs Shen by the human-computer interaction interface
The service request of fund is purchased, the cell phone client 1 is by calling the service request transmission for sending interface for fund of applying to purchase
To API Gateway2, API Gateway2 receives this by front end interface docking cell phone client 1 and applies to purchase the business of fund
The acquisition of information layer on API Gateway2 is called in request, and the System Number letter in the service request of fund is applied to purchase described in reading
Breath and service code information, obtaining the system code information is GB 5007-85, and the service code information is 9999, according to
The system number information GB 5007-85 and the service code information 9999, the API Gateway obtained will be called
The interface route layer selectes its required micro services for the service request for applying to purchase fund, including account field is in incognito
Business 3, client field micro services 4, product scope micro services 5 and order field micro services 6.
Protocol conversion layer is arranged in API Gateway2, and API Gateway2 calls the acquisition of information layer to read cell phone customer
Communications protocol information in end, while account field micro services 3, client field micro services 4, product scope micro services are read respectively
5 and order field micro services 6 communications protocol information, API Gateway2 passing through back end interface dock account field micro services
When 3, API Gateway2 is by calling the protocol conversion layer to be converted according to the communications protocol information in account field micro services 3
Communications protocol information in the client realizes docking between cell phone client 1 and account field micro services 3.Likewise,
API Gateway2 realizes that cell phone client 1 and client field micro services 4, product scope are micro- by invocation protocol conversion layer respectively
Docking between service 5 and order field micro services 6.
In the present embodiment, the API Gateway further include micro services it is automatic registration with nullify layer, control authority layer,
Load balancing layer and health examination layer;
The registration automatically of the micro services is used to manage registration and the log-off message of micro services with cancellation layer, when needs are in institute
When stating a newly-increased micro services in Nginx application system or nullifying a micro services, the API Gateway can call institute
The micro services newly increased as needed for cancellation layer of registering automatically for stating micro services are registered, and are allowed to setting and are answered in the Nginx
Cancellation service is provided in system, or for existing micro services.The control authority layer is used to prohibit by control IP address
The API Gateway is only accessed, when user constantly accesses the API by same IP address in short period
Gateway, when causing the API Gateway access blocking, the API Gateway then can be by calling the control authority
Layer limits the access of the user by controlling the IP address.The load balancing layer is used for the access of statistics and analysis micro services
Flow, and the analysis result based on flowing of access carries out current limliting.The health examination layer is used for record access log, and by dividing
Analysis access log finds failure in time.
Above-described embodiment realizes docking between the micro services and the client and different types of client
Micro services needed for holding the service request that quickly access client is sent after unified docking API Gateway, increase communication turn
Agreement is changed, the efficiency of client request access micro services is improved.
Based on the same technical idea, the present invention also provides a kind of interface automated systems, as described in Figure 3, the system
Including receiving service request unit, selected micro services unit and docking unit;
The reception service request unit is connected by front end interface with client for interface gateway API Gateway
It connects, receives the service request that the client is sent, be provided with the API Gateway and micro services in application system;
The selected micro services unit reads the letter of the System Number in the service request for the API Gateway
Breath and service code information, the API Gateway select institute according to the system number information and the service code information
State the micro services accessed needed for service request;
The docking unit reads the communications protocol information in the client for the API Gateway, reads simultaneously
The communications protocol information in micro services accessed needed for taking, the API Gateway is according to the communications protocol in the micro services
Information converts the communications protocol information in the service request, realizes docking between the micro services and the client.
Above-described embodiment, by the reception service request unit, the selected micro services unit and the docking unit,
It realizes docking between the micro services and the client and different types of client and docks API unified
Micro services needed for the service request that quick access client is sent after Gateway increase communication translation-protocol, improve client
End requests access to the efficiency of micro services.
Based on the same technical idea, the invention also provides a kind of computer equipment, the computer equipment includes depositing
Reservoir, processor and it is stored in the computer-readable instruction that can be run on the memory and on the processor, the place
Reason device performs the steps of the API Gateway when executing the computer-readable instruction and passes through front end interface and the visitor
Family end is connected, and receives the service request that client is sent;The API Gateway reads the volume of the system in the service request
Number information and service code information, the API Gateway are selected according to the system number information and the service code information
The micro services accessed needed for the fixed service request;The API Gateway reads the communications protocol information in the client,
The communications protocol information in micro services accessed needed for reading simultaneously, the API Gateway is according to logical in the micro services
News protocol information converts the communications protocol information in the service request.
Based on the same technical idea, the present invention also provides a kind of storage medium for being stored with computer-readable instruction,
When the computer-readable instruction is executed by one or more processors, so that one or more processors execute following steps:
The API Gateway is connected by front end interface with the client, and the service request that client is sent is received;It is described
API Gateway reads system number information in the service request and service code information, the API Gateway according to
The system number information and the service code information select the micro services accessed needed for the service request;The API
Gateway reads the communications protocol information in the client, while the communications protocol letter in the micro services accessed needed for reading
Breath, the API Gateway convert the communications protocol in the service request according to the communications protocol information in the micro services
Information.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, which can be stored in a computer-readable storage and be situated between
In matter, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, storage medium above-mentioned can be
The non-volatile memory mediums such as magnetic disk, CD, read-only memory (Read-Only Memory, ROM) or random storage note
Recall body (Random Access Memory, RAM) etc..
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality
It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously
Limitations on the scope of the patent of the present invention therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art
For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention
Protect range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.
Claims (10)
1. a kind of interface automatic method, which is characterized in that the interface automatic method includes:
Interface gateway API Gateway is connected by front end interface with client, is received the business that the client is sent and is asked
It asks, the API Gateway and micro services is provided in application system;
The API Gateway reads system number information and service code information in the service request, the API
Access needed for Gateway selectes the service request according to the system number information and the service code information is in incognito
Business;
The API Gateway reads the communications protocol information in the client, while in the micro services accessed needed for reading
Communications protocol information, the API Gateway converts the service request according to the communications protocol information in the micro services
In communications protocol information, realize docking between the micro services and the client.
2. a kind of interface automatic method according to claim 1, which is characterized in that the API Gateway receives visitor
Family end send service request include:
The client obtains the service request by human-computer interaction interface, and transmission interface is called to send out the service request
It send to the API Gateway, the API Gateway is docked by front end interface with the client, and is received
The service request, the human-computer interaction interface and the transmission interface are arranged in the client.
3. a kind of interface automatic method according to claim 1, which is characterized in that described to select the service request institute
The micro services that need to be accessed include:
The API Gateway reads system number information and service generation in the service request by recalls information acquisition layer
Code information, according to the system number information and the service code information, the API Gateway is routed by calling interface
Layer, selectes the micro services accessed needed for the service request, and the acquisition of information layer and the interface route layer are arranged described
On API Gateway.
4. a kind of interface automatic method according to claim 3, which is characterized in that between the client and micro services
Docking include:
The API Gateway is read by calling the acquisition of information layer to read the communications protocol information in the client
The communications protocol information in micro services accessed needed for taking, the API Gateway is by invocation protocol conversion layer, according to described
Communications protocol information in micro services converts the communications protocol information in the client, realizes the micro services and the client
Docking between end, the API Gateway are provided with the protocol conversion layer.
5. a kind of interface automatic method as claimed in any of claims 1 to 4, which is characterized in that the API
Gateway is arranged between the client and the application system, does not depend on the client and the application system.
6. a kind of interface automatic method as claimed in any of claims 1 to 4, which is characterized in that the client
End includes cell phone client, computer client and third party's client;
The application system includes Nginx application system and WEB application system.
7. a kind of interface automatic method as claimed in any of claims 1 to 4, which is characterized in that the API
Gateway further includes automatic registration and cancellation layer, control authority layer, load balancing layer and the health examination layer of micro services;
The automatic registration of the micro services is used to manage registration and the log-off message of micro services, the control authority layer with cancellation layer
For forbidding accessing the API Gateway by control IP address, the load balancing layer is used for statistics and analysis in incognito
The flowing of access of business, and the analysis result based on flowing of access carries out current limliting, the health examination layer is used for record access log,
And failure, automatic registration and the cancellation layer, the control authority layer, institute of the micro services are found in time by analyzing access log
It states load balancing layer and the health examination layer is arranged on the API Gateway.
8. a kind of interface automated system, which is characterized in that the system comprises receive service request unit, selected micro services list
Member and docking unit;
The reception service request unit is connected with client by front end interface for interface gateway API Gateway, is connect
The service request that the client is sent is received, is provided with the API Gateway and micro services in application system;
The API Gateway reads system number information and service code information in the service request, the API
Access needed for Gateway selectes the service request according to the system number information and the service code information is in incognito
Business;
The API Gateway reads the communications protocol information in the client, while in the micro services accessed needed for reading
Communications protocol information, the API Gateway converts the service request according to the communications protocol information in the micro services
In communications protocol information, realize docking between the micro services and the client.
9. a kind of computer equipment, including database and processor, it is stored with computer-readable instruction in the database, it is described
When computer-readable instruction is executed by the processor, so that the processor executes such as any one of claims 1 to 7 right
It is required that the step of interface automatic method.
10. a kind of storage medium for being stored with computer-readable instruction, the computer-readable instruction is handled by one or more
When device executes, so that one or more processors execute the interface as described in any one of claims 1 to 7 claim and automate
The step of method.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810569874.7A CN109194604A (en) | 2018-06-05 | 2018-06-05 | Interface automatic method, system, computer equipment and storage medium |
| PCT/CN2018/104724 WO2019232961A1 (en) | 2018-06-05 | 2018-09-08 | Interface automation method and system, computer device, and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810569874.7A CN109194604A (en) | 2018-06-05 | 2018-06-05 | Interface automatic method, system, computer equipment and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN109194604A true CN109194604A (en) | 2019-01-11 |
Family
ID=64948583
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810569874.7A Pending CN109194604A (en) | 2018-06-05 | 2018-06-05 | Interface automatic method, system, computer equipment and storage medium |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN109194604A (en) |
| WO (1) | WO2019232961A1 (en) |
Cited By (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110120946A (en) * | 2019-04-29 | 2019-08-13 | 武汉理工大学 | A kind of Centralized Authentication System and method of Web and micro services |
| CN110572405A (en) * | 2019-09-12 | 2019-12-13 | 广东鑫光智能系统有限公司 | Real-time microservice architecture |
| CN110580157A (en) * | 2019-09-12 | 2019-12-17 | 广东鑫光智能系统有限公司 | Data acquisition interface based on software definition |
| CN110995746A (en) * | 2019-12-17 | 2020-04-10 | 神州数码融信软件有限公司 | Micro-service calling method of heterogeneous network and API gateway |
| CN110995847A (en) * | 2019-12-10 | 2020-04-10 | 南京新贝金服科技有限公司 | Insurance service bus implementation method and system applied to multi-system communication |
| CN111181860A (en) * | 2020-01-07 | 2020-05-19 | 苏宁云计算有限公司 | Route forwarding method, device and system based on zuul gateway |
| CN111400071A (en) * | 2020-04-10 | 2020-07-10 | 深圳新致软件有限公司 | Artificial intelligence service docking method, system and equipment |
| CN111600909A (en) * | 2020-06-24 | 2020-08-28 | 腾讯科技(深圳)有限公司 | Data processing method, device, protocol conversion equipment and storage medium |
| CN112054930A (en) * | 2020-09-08 | 2020-12-08 | 上海欣诺通信技术股份有限公司 | Network management method and system based on microservice |
| CN112347177A (en) * | 2020-11-11 | 2021-02-09 | 天津汇商共达科技有限责任公司 | Data docking equipment based on human-computer interaction behavior |
| CN113114765A (en) * | 2021-04-13 | 2021-07-13 | 成都九洲电子信息系统股份有限公司 | Interface calling system based on reverse proxy |
| CN115174592A (en) * | 2022-06-28 | 2022-10-11 | 北京软通智慧科技有限公司 | Enterprise-level data request forwarding system and method |
| CN115242761A (en) * | 2022-07-01 | 2022-10-25 | 浪潮云信息技术股份公司 | A dynamic OpenAPI automatic registration method |
| CN115623053A (en) * | 2022-08-12 | 2023-01-17 | 华能烟台八角热电有限公司 | Data management method and system based on API gateway |
Families Citing this family (17)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111610979B (en) * | 2020-04-15 | 2023-06-13 | 河南大学 | An API gateway optimized for persistence and coupling and its method |
| CN111859419B (en) * | 2020-06-29 | 2023-10-10 | 远光软件股份有限公司 | Method for configuring resource permission to main body based on micro-service |
| CN112214334A (en) * | 2020-09-28 | 2021-01-12 | 亚信科技(中国)有限公司 | Micro-service calling method and device, electronic equipment and computer-readable storage medium |
| CN112257083A (en) * | 2020-10-21 | 2021-01-22 | 太极计算机股份有限公司 | Automatic interface test system based on distributed service bus |
| CN112261047B (en) * | 2020-10-22 | 2023-11-03 | 上海擎感智能科技有限公司 | Gateway access method, mobile terminal and computer storage medium |
| CN112394947B (en) * | 2020-11-27 | 2024-05-14 | 北京宇航系统工程研究所 | Information system based on micro-service architecture |
| CN113032000A (en) * | 2021-03-22 | 2021-06-25 | 四川众信佳科技发展有限公司 | Intelligent operation data management device and method and computer system |
| CN113094281B (en) * | 2021-04-28 | 2024-05-03 | 杭州网易云音乐科技有限公司 | Test method and device for hybrid App |
| CN113726869B (en) * | 2021-08-26 | 2024-12-06 | 阿里巴巴(中国)有限公司 | Communication method, gateway and electronic device |
| CN113709166A (en) * | 2021-08-31 | 2021-11-26 | 广州艾美网络科技有限公司 | Distributed service gateway implementation method, device, computer equipment and storage medium |
| CN113992738A (en) * | 2021-09-02 | 2022-01-28 | 深圳市高腾科技服务有限公司 | Reverse proxy method, device, equipment and storage medium based on micro service gateway |
| CN114615251B (en) * | 2022-03-24 | 2024-05-03 | 中电科思仪科技股份有限公司 | Signal testing instrument cloud control system and method for realizing acquisition and calculation separation |
| CN115499518B (en) * | 2022-07-29 | 2024-12-10 | 天翼云科技有限公司 | Microservice protocol conversion method, device and electronic device |
| CN115801882A (en) * | 2022-11-28 | 2023-03-14 | 中国银行股份有限公司 | Method and device for information interaction between old line system and microservice system |
| CN116346947A (en) * | 2023-03-03 | 2023-06-27 | 浪潮云信息技术股份公司 | A data layer-oriented API gateway protocol conversion method and device |
| CN118101773B (en) * | 2024-04-29 | 2024-07-12 | 华能信息技术有限公司 | Multi-service sharing method based on API gateway |
| CN118860382A (en) * | 2024-08-16 | 2024-10-29 | 交通银行股份有限公司 | Method, device, equipment, storage medium and program product for processing multiplexing request |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106453288A (en) * | 2016-09-29 | 2017-02-22 | 上海和付信息技术有限公司 | Asynchronous mode supporting distributed micro service framework system and implementation method thereof |
| CN107370786A (en) * | 2017-06-02 | 2017-11-21 | 广州杰赛科技股份有限公司 | A kind of general information management system based on micro services framework |
| CN107395464A (en) * | 2017-09-11 | 2017-11-24 | 北京奇艺世纪科技有限公司 | A kind of server test method, apparatus and API gateway |
| CN107612955A (en) * | 2016-07-12 | 2018-01-19 | 深圳市远行科技股份有限公司 | Micro services provide method, apparatus and system |
| CN107835178A (en) * | 2017-11-13 | 2018-03-23 | 北京奇艺世纪科技有限公司 | A kind of multi-protocols communication for service method, apparatus and electronic equipment |
| US20180113790A1 (en) * | 2016-10-20 | 2018-04-26 | Cisco Technology, Inc. | Agentless distributed monitoring of microservices through a virtual switch |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103139150A (en) * | 2011-11-25 | 2013-06-05 | 中兴通讯股份有限公司 | Terminal adaptation processing method, protocol adaptation module and terminal |
| CN104506486B (en) * | 2014-11-15 | 2018-04-27 | 北京锐安科技有限公司 | A kind of the software service interface call method and system of cross-platform, across language high safety rank |
| US9838376B1 (en) * | 2016-05-11 | 2017-12-05 | Oracle International Corporation | Microservices based multi-tenant identity and data security management cloud service |
| CN107438107B (en) * | 2017-09-05 | 2021-07-27 | 深圳乐信软件技术有限公司 | A method and device for invoking a background service in a microservice architecture |
| CN107645508A (en) * | 2017-10-16 | 2018-01-30 | 深圳市买买提乐购金融服务有限公司 | A kind of data handling system, method, client and server |
-
2018
- 2018-06-05 CN CN201810569874.7A patent/CN109194604A/en active Pending
- 2018-09-08 WO PCT/CN2018/104724 patent/WO2019232961A1/en not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107612955A (en) * | 2016-07-12 | 2018-01-19 | 深圳市远行科技股份有限公司 | Micro services provide method, apparatus and system |
| CN106453288A (en) * | 2016-09-29 | 2017-02-22 | 上海和付信息技术有限公司 | Asynchronous mode supporting distributed micro service framework system and implementation method thereof |
| US20180113790A1 (en) * | 2016-10-20 | 2018-04-26 | Cisco Technology, Inc. | Agentless distributed monitoring of microservices through a virtual switch |
| CN107370786A (en) * | 2017-06-02 | 2017-11-21 | 广州杰赛科技股份有限公司 | A kind of general information management system based on micro services framework |
| CN107395464A (en) * | 2017-09-11 | 2017-11-24 | 北京奇艺世纪科技有限公司 | A kind of server test method, apparatus and API gateway |
| CN107835178A (en) * | 2017-11-13 | 2018-03-23 | 北京奇艺世纪科技有限公司 | A kind of multi-protocols communication for service method, apparatus and electronic equipment |
Cited By (16)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110120946A (en) * | 2019-04-29 | 2019-08-13 | 武汉理工大学 | A kind of Centralized Authentication System and method of Web and micro services |
| CN110572405A (en) * | 2019-09-12 | 2019-12-13 | 广东鑫光智能系统有限公司 | Real-time microservice architecture |
| CN110580157A (en) * | 2019-09-12 | 2019-12-17 | 广东鑫光智能系统有限公司 | Data acquisition interface based on software definition |
| CN110995847B (en) * | 2019-12-10 | 2022-10-14 | 南京新贝金服科技有限公司 | Insurance service bus implementation method and system applied to multi-system communication |
| CN110995847A (en) * | 2019-12-10 | 2020-04-10 | 南京新贝金服科技有限公司 | Insurance service bus implementation method and system applied to multi-system communication |
| CN110995746A (en) * | 2019-12-17 | 2020-04-10 | 神州数码融信软件有限公司 | Micro-service calling method of heterogeneous network and API gateway |
| CN111181860A (en) * | 2020-01-07 | 2020-05-19 | 苏宁云计算有限公司 | Route forwarding method, device and system based on zuul gateway |
| CN111400071A (en) * | 2020-04-10 | 2020-07-10 | 深圳新致软件有限公司 | Artificial intelligence service docking method, system and equipment |
| CN111400071B (en) * | 2020-04-10 | 2024-01-09 | 深圳新致软件有限公司 | Artificial intelligence service docking method, system and equipment |
| CN111600909A (en) * | 2020-06-24 | 2020-08-28 | 腾讯科技(深圳)有限公司 | Data processing method, device, protocol conversion equipment and storage medium |
| CN112054930A (en) * | 2020-09-08 | 2020-12-08 | 上海欣诺通信技术股份有限公司 | Network management method and system based on microservice |
| CN112347177A (en) * | 2020-11-11 | 2021-02-09 | 天津汇商共达科技有限责任公司 | Data docking equipment based on human-computer interaction behavior |
| CN113114765A (en) * | 2021-04-13 | 2021-07-13 | 成都九洲电子信息系统股份有限公司 | Interface calling system based on reverse proxy |
| CN115174592A (en) * | 2022-06-28 | 2022-10-11 | 北京软通智慧科技有限公司 | Enterprise-level data request forwarding system and method |
| CN115242761A (en) * | 2022-07-01 | 2022-10-25 | 浪潮云信息技术股份公司 | A dynamic OpenAPI automatic registration method |
| CN115623053A (en) * | 2022-08-12 | 2023-01-17 | 华能烟台八角热电有限公司 | Data management method and system based on API gateway |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2019232961A1 (en) | 2019-12-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN109194604A (en) | Interface automatic method, system, computer equipment and storage medium | |
| US20250071183A1 (en) | System and method for providing a micro-services communication platform | |
| US10574758B2 (en) | Server connection capacity management | |
| US9143540B2 (en) | System and method for providing service correlation in a service access gateway environment | |
| CN103533189B (en) | The distribution method and device of mobile agent call | |
| EP3149924B1 (en) | Sharing of contextual information in a multi-vendor and/or multiple contact center environment | |
| EP2039121B1 (en) | Method of providing services in a network, network element | |
| US9509791B2 (en) | Policy-based exposure of presence | |
| KR20110122197A (en) | Virtualization of one or more sets of physical contact center resources for use by one or more virtual contact centers | |
| CN105530666A (en) | Session binding method and session binding system | |
| CN102340767B (en) | Realization method for opening call state capability and system | |
| JP2014504106A (en) | Telecommunications service broker for orchestration of services in telecommunications networks | |
| CN114979295B (en) | Gateway management method and device | |
| US20180189795A1 (en) | System and method for providing enhanced interactive sessions via digital channels | |
| US11689636B2 (en) | Delegating network data exchange | |
| US10165124B2 (en) | Transfer of voice transmissions to alternate networks | |
| US20240396877A1 (en) | Method and Apparatus for Automatically Switching Between Virtual Private Networks | |
| US11316765B2 (en) | Load balancing across bandwidth carrying circuits | |
| CN108200300B (en) | Cloud call center system using dynamic access number and implementation method thereof | |
| US9854066B1 (en) | System, method, and computer program for customizing a response to a request | |
| CN102131128A (en) | Processing method for using uniform account in switchboard service | |
| Dyatmika et al. | Untethering the Queue based on Multi-Channel Access (MCA) Technology at Hospital Radiology Section | |
| EP3847797B1 (en) | System for making telephone calls | |
| KR100907610B1 (en) | Multi interface device and method for interworking with external client terminal and mobile communication network equipment | |
| WO2025094201A2 (en) | System and method for managing service requests in a network |
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 |
Application publication date: 20190111 |
|
| RJ01 | Rejection of invention patent application after publication |