CN111131397B - Application management method and system, gateway platform, server and storage medium - Google Patents

Application management method and system, gateway platform, server and storage medium Download PDF

Info

Publication number
CN111131397B
CN111131397B CN201911214218.6A CN201911214218A CN111131397B CN 111131397 B CN111131397 B CN 111131397B CN 201911214218 A CN201911214218 A CN 201911214218A CN 111131397 B CN111131397 B CN 111131397B
Authority
CN
China
Prior art keywords
application
current
interface
request
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.)
Active
Application number
CN201911214218.6A
Other languages
Chinese (zh)
Other versions
CN111131397A (en
Inventor
付贵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jingdong Technology Information Technology Co Ltd
Original Assignee
Jingdong Technology Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jingdong Technology Information Technology Co Ltd filed Critical Jingdong Technology Information Technology Co Ltd
Priority to CN201911214218.6A priority Critical patent/CN111131397B/en
Publication of CN111131397A publication Critical patent/CN111131397A/en
Application granted granted Critical
Publication of CN111131397B publication Critical patent/CN111131397B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • 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/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses an application management method and system, a gateway platform, a server and a storage medium, wherein the application management method applied to the gateway platform comprises the following steps: acquiring at least one application to be registered, and setting a gateway domain name of each application in the at least one application; sending an application registration request aiming at least one application to a server so as to respectively acquire an interface domain name corresponding to each application from the server; when a data request is received through a current gateway domain name corresponding to a current application, responding to the data request, and judging whether the current application meets a preset request access condition; the current application belongs to at least one application; the current gateway domain name belongs to a gateway domain name; presetting a request for requesting to access a condition representation server, wherein the request allows an access interface corresponding to the current application to normally process data; and when the current application meets the preset request access condition, requesting the access data from the server by using the data request and the current interface domain name corresponding to the current application.

Description

Application management method and system, gateway platform, server and storage medium
Technical Field
The embodiment of the invention relates to the field of computers, in particular to an application management method and system, a gateway platform, a server and a storage medium.
Background
With the rise of the internet, more and more applications of the client end are generated, each application on the client end interacts with a corresponding interface on the server end, when the client end runs a certain application, the client end sends a data request of the application to the corresponding interface of the server end through a certain interface request mode (for example, a hypertext transfer protocol (http) request), and the server end generates corresponding response data according to a preset request processing rule and returns the response data to the application.
At present, because the applications of the client are gradually increased, a corresponding interface needs to be newly added on the server and a corresponding request processing rule needs to be set, and the access amount of the existing interface of each application changes in real time, the request processing rule needs to be adjusted in real time according to the access amount.
Disclosure of Invention
The invention mainly aims to provide an application management method and system, a gateway platform, a server and a storage medium, and improves the efficiency and speed of the server in responding to the access of applications.
The technical scheme of the invention is realized as follows:
the embodiment of the invention provides an application management method, which is applied to a gateway platform and comprises the following steps:
acquiring at least one application to be registered, and setting a gateway domain name of each application in the at least one application;
sending an application registration request aiming at the at least one application to a server so as to respectively acquire an interface domain name corresponding to each application from the server; the interface domain name represents an access interface provided by the server for the application;
when a data request is received through a current gateway domain name corresponding to a current application, responding to the data request, and judging whether the current application meets a preset request access condition; the current application belongs to the at least one application; the current gateway domain name belongs to the gateway domain name; the preset request access condition represents a request of allowing an access interface corresponding to the current application to normally process data in the server;
when the current application meets the preset request access condition, requesting the access data from the server by using the data request and a current interface domain name corresponding to the current application, so that the server returns a data response of the current application; the current interface domain name belongs to the interface domain name.
In the foregoing solution, the determining whether the current application satisfies a preset request access condition in response to the data request includes:
responding to the data request, and acquiring configuration information corresponding to each application in the at least one application; acquiring current configuration information corresponding to the current application through a current gateway interface indicated by the current gateway domain name in the gateway platform; the current configuration information belongs to the configuration information;
and judging whether the current application meets the preset request access condition or not according to the current configuration information through the current gateway interface.
In the foregoing solution, the configuration information includes at least one of the following: simulating data, an access frequency threshold, an access flow threshold and an authority verification rule; and the authority verification rule represents access authority information corresponding to the data type.
In the above solution, the current configuration information includes the access number threshold; the determining, by the current gateway interface according to the current configuration information, whether the current application satisfies the preset request access condition includes:
detecting the real-time access times of the gateway in a preset unit time length through the current gateway interface;
comparing whether the real-time access times are larger than the access times threshold value through the current gateway interface, and judging whether the current application meets the preset request access condition;
when the real-time access times are larger than the access times threshold value, representing that the current application does not meet the preset request access condition;
and when the real-time access times are not larger than the access times threshold, representing that the current application meets the preset request access condition.
In the above scheme, the current configuration information includes the access traffic threshold; the determining, by the current gateway interface according to the current configuration information, whether the current application satisfies the preset request access condition includes:
detecting a real-time interface flow value of the current gateway interface;
comparing whether the real-time interface flow value is larger than the access flow threshold value through the current gateway interface, and judging whether the current application meets the preset request access condition;
when the real-time interface flow value is larger than the access flow threshold value, representing that the current application does not meet the preset request access condition;
and when the real-time interface flow value is not greater than the access flow threshold value, representing that the current application meets the preset request access condition.
In the above scheme, the current configuration information includes the permission check rule; the determining, by the current gateway interface according to the current configuration information, whether the current application satisfies the preset request access condition includes:
determining a request data type corresponding to the data request through the current gateway interface, and acquiring current access authority information corresponding to the request data type from the authority verification rule;
detecting whether the data request comprises the current access authority information or not through the current gateway interface, and judging whether the current application meets the preset request access condition or not;
when the data request does not comprise the current access authority information, representing that the current application does not meet the preset request access condition;
and when the data request comprises the current access authority information, representing that the current application meets the preset request access condition.
In the above solution, the responding to the data request and determining whether the current application meets a preset request access condition includes:
responding to the data request, and acquiring a current interface domain name corresponding to the current application through a current gateway interface indicated by the current gateway domain name in the gateway platform;
sending an upstream interface query request to the current interface domain name through the current gateway interface, so that an access interface corresponding to the current interface domain name in the server responds to the upstream interface query request;
when an upstream interface query response is received from an access interface corresponding to the current interface domain name, judging whether the current application meets the preset request access condition or not through the current gateway interface according to the upstream interface query response; the upstream interface query response is used for representing an error or an allowable response of the upstream interface;
when the upstream interface query response represents that the upstream interface has an error, representing that the current application does not meet the preset request access condition;
when the query response of the upstream interface represents an allowable response, the current application is represented to meet the preset request access condition.
In the above scheme, the requesting access data from the server by using the data request and the current interface domain name corresponding to the current application so that the server returns a data response of the current application includes:
sending the data request to an access interface corresponding to the current interface domain name in the server side, so that the access interface corresponding to the current interface domain name processes the data request;
and when the data response is received from the access interface corresponding to the current interface domain name, returning the data response to the current application.
In the foregoing solution, after the responding to the data request and determining whether the current application meets a preset request access condition, the method further includes:
when the current application does not meet the preset request access condition, not responding to the data request, acquiring the simulation data corresponding to the current application, and returning the corresponding simulation data to the current application; the corresponding simulation data is data configured in the configuration information of the current application after acquiring at least one application to be registered.
The embodiment of the invention provides an application management method, which is applied to a server side and comprises the following steps:
when an application registration request aiming at least one application is received from a gateway platform, responding to the application registration request, generating an interface domain name corresponding to each application in the at least one application, and sending the interface domain name to the gateway platform, so that the gateway platform sends a data request to a server by using the interface domain name when determining that the server can normally process the data request of the application; the interface domain name represents an access interface provided by the server for the application;
and when a data request of the current application in the at least one application is received from the gateway platform, processing the data request through an access interface corresponding to the current application, generating a data response and sending the data response to the gateway platform.
In the foregoing solution, after the generating an interface domain name corresponding to each application in the at least one application in response to the application registration request and sending the interface domain name to the gateway platform, the method further includes:
when an upstream interface query request corresponding to the current application is received from the gateway platform, responding to the upstream interface query request through an access interface corresponding to the current application, querying data related to the upstream interface query request, generating an upstream interface query response and sending the upstream interface query response to the gateway platform; the upstream interface query response is used for representing an error or an allowable response of the upstream interface;
when the query response of the upstream interface represents an allowance response, a data request of the current application is received from the gateway platform, the data request is responded, the data request is processed, a data response is generated and sent to the gateway platform, so that the gateway platform sends the data response to the current application, and the current application renders page data by using the data response.
An embodiment of the present invention provides a gateway platform, where the gateway platform includes:
the registration module is used for acquiring at least one application to be registered and setting a gateway domain name of each application in the at least one application; sending an application registration request aiming at the at least one application to a server so as to respectively acquire an interface domain name corresponding to each application from the server; the interface domain name represents an access interface provided by the server for the application;
the request judging module is used for responding to a data request when the data request is received through a current gateway domain name corresponding to a current application and judging whether the current application meets a preset request access condition or not; the current application belongs to the at least one application; the current gateway domain name belongs to the gateway domain name; the preset request access condition represents a request of allowing an access interface corresponding to the current application to normally process data in the server;
the request processing module is used for requesting access data from the server by using the data request and a current interface domain name corresponding to the current application when the current application meets the preset request access condition so as to enable the server to return a data response of the current application; the current interface domain name belongs to the interface domain name.
In the foregoing solution, the registration module is further configured to respond to the data request and obtain configuration information corresponding to each application in the at least one application;
the request judging module is further configured to obtain current configuration information corresponding to the current application through a current gateway interface indicated by the current gateway domain name in the gateway platform; the current configuration information belongs to the configuration information; and judging whether the current application meets the preset request access condition or not according to the current configuration information through the current gateway interface.
In the foregoing solution, the configuration information includes at least one of the following: simulating data, an access frequency threshold, an access flow threshold and an authority verification rule; and the authority verification rule represents access authority information corresponding to the data type.
In the above scheme, the current configuration information includes the access time threshold;
the request judging module is also used for detecting the real-time access times of the gateway in a preset unit time length through the current gateway interface; comparing whether the real-time access frequency is greater than the access frequency threshold value through the current gateway interface, and judging whether the current application meets the preset request access condition; when the real-time access times are larger than the access times threshold value, representing that the current application does not meet the preset request access condition; and when the real-time access times are not greater than the access times threshold value, representing that the current application meets the preset request access condition.
In the above scheme, the current configuration information includes the access traffic threshold;
the request judging module is also used for detecting the flow value of the real-time interface of the request judging module through the current gateway interface; comparing whether the real-time interface flow value is larger than the access flow threshold value through the current gateway interface, and judging whether the current application meets the preset request access condition; when the real-time interface flow value is larger than the access flow threshold value, representing that the current application does not meet the preset request access condition; and when the real-time interface flow value is not larger than the access flow threshold value, representing that the current application meets the preset request access condition.
In the above scheme, the current configuration information includes the permission check rule;
the request judging module is further configured to determine a request data type corresponding to the data request through the current gateway interface, and obtain current access permission information corresponding to the request data type from the permission check rule; detecting whether the data request comprises the current access authority information or not through the current gateway interface, and judging whether the current application meets the preset request access condition or not; when the data request does not comprise the current access authority information, representing that the current application does not meet the preset request access condition; and when the data request comprises the current access authority information, representing that the current application meets the preset request access condition.
In the foregoing solution, the request determining module is further configured to, in response to the data request, obtain, through a current gateway interface indicated by the current gateway domain name in the gateway platform, a current interface domain name corresponding to the current application; sending an upstream interface query request to the current interface domain name through the current gateway interface, so that an access interface corresponding to the current interface domain name in the server responds to the upstream interface query request; when an upstream interface query response is received from an access interface corresponding to the current interface domain name, judging whether the current application meets the preset request access condition or not through the current gateway interface according to the upstream interface query response; the upstream interface query response is used for representing an error or an allowable response of the upstream interface; when the upstream interface query response represents that the upstream interface has an error, representing that the current application does not meet the preset request access condition; and when the query response of the upstream interface represents an allowable response, representing that the current application meets the preset request access condition.
In the above scheme, the request processing module is further configured to send the data request to an access interface corresponding to the current interface domain name in the server, so that the access interface corresponding to the current interface domain name processes the data request; and when the data response is received from the access interface corresponding to the current interface domain name, returning the data response to the current application.
In the foregoing solution, the request processing module is further configured to, after the response to the data request and the judgment of whether the current application satisfies a preset request access condition, obtain the simulation data corresponding to the current application without responding to the data request when the current application does not satisfy the preset request access condition, and return the corresponding simulation data to the current application; the corresponding simulation data is data configured in the configuration information of the current application after acquiring at least one application to be registered.
An embodiment of the present invention provides a gateway platform, where the gateway platform includes: a first processor, a first memory and a first communication bus, the first memory communicating with the first processor through the first communication bus, the first memory storing one or more programs executable by the first processor, the one or more programs, when executed, causing the first processor to perform any of the methods as described above for a gateway platform.
The embodiment of the invention provides a server, which comprises:
the gateway platform comprises an interface generation module and a data request sending module, wherein the interface generation module is used for responding to an application registration request when receiving the application registration request aiming at least one application from the gateway platform, generating an interface domain name corresponding to each application in the at least one application and sending the interface domain name to the gateway platform so that the gateway platform sends the data request to the server end by using the interface domain name when determining that the server end can normally process the data request of the application; the interface domain name represents an access interface provided by the server for the application;
and the data response module is used for processing the data request through the access interface corresponding to the current application when the data request of the current application in the at least one application is received from the gateway platform, generating a data response and sending the data response to the gateway platform.
In the above solution, the server further includes:
an interface query module, configured to, after the response to the application registration request is made, generate an interface domain name corresponding to each application in the at least one application, and send the interface domain name to the gateway platform, when an upstream interface query request corresponding to the current application is received from the gateway platform, query data related to the upstream interface query request through an access interface corresponding to the current application in response to the upstream interface query request, generate an upstream interface query response, and send the upstream interface query response to the gateway platform; the upstream interface query response is used for representing an error or an allowable response of the upstream interface;
the data response module is further configured to receive a data request of the current application from the gateway platform when the query response of the upstream interface represents an allowance response, process the data request in response to the data request, generate a data response, and send the data response to the gateway platform, so that the gateway platform sends the data response to the current application, and the current application renders page data by using the data response.
The embodiment of the invention provides a server, which comprises: a second processor, a second memory and a second communication bus, the second memory communicating with the second processor through the second communication bus, the second memory storing one or more programs executable by the second processor, the one or more programs, when executed, performing any of the methods applied to the server as described above through the second processor.
The embodiment of the invention provides an application management system, which comprises a client, a gateway platform and a server; the client comprises at least one application to be registered; the gateway platform comprises a registration module, a request judgment module and a request processing module;
the registration module is configured to obtain the at least one application and set a gateway domain name of each application in the at least one application; sending an application registration request aiming at the at least one application to the server side;
the server is used for responding to the application registration request and sending the interface domain name corresponding to each application to the registration module; the interface domain name represents an access interface provided by the server for the application;
the request judging module is used for responding to a data request when the data request is received through a current gateway domain name corresponding to the current application and judging whether the current application meets a preset request access condition or not; the current application belongs to the at least one application; the current gateway domain name belongs to the gateway domain name; the preset request access condition represents a request of allowing an access interface corresponding to the current application to normally process data in the server;
the request processing module is configured to, when the current application meets the preset request access condition, request the server for access data by using the data request and a current interface domain name corresponding to the current application, obtain a data response of the current application, and send the data response to the current application, so that the current application renders page data by using the data response; the current interface domain name belongs to the interface domain name.
An embodiment of the present invention provides a computer-readable storage medium storing a program, which, when executed by at least one first processor, causes the at least one first processor to execute any one of the methods applied to a gateway platform.
An embodiment of the present invention provides a computer-readable storage medium, which stores a program, and when the program is executed by at least one second processor, the program causes the at least one second processor to execute any one of the methods applied to a server.
The embodiment of the invention provides an application management method and system, a gateway platform, a server and a storage medium, wherein the technical implementation scheme is adopted, a gateway domain name is set for each application through the gateway platform, an interface domain name corresponding to each application is obtained, then, the gateway platform receives a data request through a current gateway domain name corresponding to the current application, and when the current application is determined to meet the preset request access condition, the data request is forwarded to the server so that the server returns a data response based on the data request; firstly, the gateway platform acquires the gateway domain name and the interface domain name of each application, the condition that the server reloads when the application is newly added or set in the server is avoided, secondly, the gateway platform receives the data request sent by the current application through the current gateway domain name, and forwards the data request to the server when the request that the access interface corresponding to the current application is allowed to normally process data in the server is determined, and the condition that the server abnormally works as a whole due to the abnormal processing of the access interface corresponding to a certain application is avoided, so that the efficiency and the speed of the server for dealing with the access of the application are improved.
Drawings
Fig. 1 is a schematic diagram of an application management network architecture according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an application management system according to an embodiment of the present invention;
fig. 3 is a flowchart of a first application management method applied to a gateway platform according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating registration in an application management method according to an embodiment of the present invention;
fig. 5 is a flowchart of a second application management method applied to a gateway platform according to an embodiment of the present invention;
fig. 6 is a flowchart of a first application management method applied to a server according to an embodiment of the present invention;
fig. 7 is a flowchart of a second application management method applied to a server according to an embodiment of the present invention;
fig. 8 is a flowchart of a first application management method applied to an application management system according to an embodiment of the present invention;
fig. 9 is a flowchart of a second application management method applied to an application management system according to an embodiment of the present invention;
fig. 10 is a first schematic structural diagram of a gateway platform according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a gateway platform according to an embodiment of the present invention;
fig. 12 is a first schematic structural diagram of a server according to an embodiment of the present invention;
fig. 13 is a second schematic structural diagram of a server according to an embodiment of the present invention;
fig. 14 is a schematic structural diagram of an application management system according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
With the development of the internet, the use of a client is very common, the client refers to an application which is installed on a client and is operated in cooperation with a server, and various resources on the network are obtained from the server to provide local services for a user; more commonly used clients include Personal Computer (PC) clients, which refer to applications running on a PC, and mobile clients; the mobile client refers to an Application running on the mobile terminal, for example, an Application program (APP) running on a mobile phone; the mobile terminal comprises a mobile phone, a tablet computer, a notebook computer, a palm computer and the like.
Referring to fig. 1, which is a schematic diagram of an existing application management network architecture, an application management network architecture 1 includes a client 11 and a server 12, where the client 11 includes at least one application, and the server 12 provides one or more access interfaces for each application in the at least one application, and each application sends a request to a corresponding access interface in the server 12 to perform data interaction; when the same application is run by a plurality of clients, the applications on the plurality of clients all issue requests to the same access interface in the server 12, and the access interface processes a plurality of requests issued by the plurality of clients and performs data interaction with the applications on the plurality of clients.
It should be noted that, because the request processing rules of the applications are different and the interface access conditions of the applications are also different, the request processing rule corresponding to each application needs to be set and the real-time access condition of each application needs to be monitored, if each application is set and monitored in the server, developers of each application need to set the interface corresponding to the server, which affects the normal work of the server, and reduces the management efficiency and the management quality of the application by the server.
Referring now to fig. 2, which is a schematic diagram of an application management system for implementing various embodiments of the present application, the application management system 2 may include: a client 21, a gateway platform 22 and a server 23; the client 21 comprises at least one application to be registered, the client 21 is connected with the server 23 through the gateway platform 22, the request processing rule corresponding to each application is set through the gateway platform 22, and the real-time access condition of each application is monitored; in this way, the gateway platform 22 controls the client 21 and the server 23 to perform data interaction according to the real-time access condition of each application, that is, development and setting of each application at the server 23 are avoided, and the working stability of the server 23 is also ensured.
Those skilled in the art will appreciate that the configuration of the application management system shown in FIG. 2 does not constitute a limitation of the application management system, and that the application management system may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
It should be noted that the embodiment of the present application may be implemented based on the application management system shown in fig. 2, and a specific embodiment of application management is described below based on fig. 2.
Example one
An embodiment of the present invention provides an application management method, which is applied to a gateway platform, and as shown in fig. 3, the method includes:
s101, obtaining at least one application to be registered, and setting a gateway domain name of each application in the at least one application;
a developer registers at least one application on a gateway platform, and the gateway platform allocates a gateway domain name for each application; wherein the at least one application may be an application that is not registered on the gateway platform.
In some embodiments, when each application is successfully registered, an interface key is generated and sent to each application, and the interface key includes a gateway domain name, so that each application accesses its corresponding gateway interface in the gateway platform through the gateway domain name.
In some embodiments, the gateway domain name includes a hypertext transfer protocol (HTTP) service link.
In some embodiments, the gateway platform receives at least one application to be registered, configuration information for each of the at least one application; setting a gateway domain name of each application; and mapping and storing each application, the configuration information of each application and the gateway domain name of each application.
A developer registers at least one application on a gateway platform, sets configuration information for each application and stores the configuration information in the gateway platform; the configuration information characterizes the request processing rules.
In some embodiments, the configuration information includes at least one of: analog data (mock data), an access time threshold, an access flow threshold and an authority check rule; the authority verification rule represents access authority information corresponding to the data type; the simulation data may correspond to almost invariant background data for each application.
S102, sending an application registration request aiming at least one application to a server so as to respectively obtain an interface domain name corresponding to each application from the server; an interface domain name represents an access interface provided by a server side for application;
the developer also registers an access interface of a server corresponding to each application on the gateway platform, and sends an application registration request corresponding to each application to the access interface corresponding to each application when the gateway platform successfully registers the access interface corresponding to each application so as to acquire an interface domain name corresponding to each application; at least one of the following information is stored in a mapping way: each application, configuration information, a gateway domain name corresponding to each application, and an interface domain name corresponding to each application; and the application renders the application page data by calling the access interface corresponding to the server.
In some embodiments, the gateway platform receives at least one application to be registered, configuration information for each of the at least one application; setting a gateway domain name of each application, and receiving an access interface corresponding to each application; sending an application registration request to an access interface corresponding to each application to acquire an interface domain name corresponding to each application sent by a server; and mapping and storing each application, the configuration information of each application, the gateway domain name of each application and the interface domain name corresponding to each application.
Exemplarily, as shown in a registration flowchart in the application management method shown in fig. 4, the gateway platform receives at least one application to be registered in the client, registers each application in the at least one application, generates an interface key, and sets a gateway domain name of each application; sending the interface key and the gateway domain name of each application to a client; each application in the client accesses a corresponding gateway interface in the gateway platform by using a corresponding gateway domain name; the gateway platform receives the access interface corresponding to each application and sends an application registration request to the access interface corresponding to each application; the server side responds to the application registration request and sends an interface domain name corresponding to each application to the gateway platform; the gateway platform also acquires configuration information such as simulation data, an access frequency threshold value, an access flow threshold value, an authority verification rule and the like of each application, and sets a gateway interface corresponding to each application according to the configuration information of each application.
In some embodiments, the interface domain name corresponding to each application refers to a public and usable access interface provided by a server for the application, and the access interface includes an HTTP interface and an HTTPs interface, where the HTTP interface is an interface for performing remote communication based on an HTTP protocol; the HTTPS interface is an interface for remote communication based on an encrypted transport protocol with security.
S103, when a data request sent by a current application in at least one application is received through a current gateway domain name, responding to the data request, and judging whether the current application meets a preset request access condition; presetting a request access condition representation server side, wherein the request access condition representation server side allows an access interface corresponding to the current application to normally process a request of data;
a user uses a certain application, the application is a current application, the current application accesses a current gateway domain name corresponding to the current application, and a data request is sent to the current gateway domain name; and the current gateway interface corresponding to the current gateway domain name in the gateway platform receives and processes the data request.
In some embodiments, the gateway platform obtains, in response to the data request, configuration information corresponding to each application in the at least one application; acquiring current configuration information corresponding to current application through a current gateway interface indicated by a current gateway domain name in a gateway platform; the current configuration information belongs to the configuration information; and judging whether the current application meets the preset request access condition or not according to the current configuration information through the current gateway interface.
The current gateway interface responds to the data request and takes the configuration information corresponding to the current gateway domain name as the current configuration information; and judging whether the current application meets the preset request access condition or not according to the current configuration information, if so, forwarding the data request to the server so that the corresponding interface of the server processes the data request, and otherwise, not forwarding the data request to the server.
In some embodiments, the current configuration information includes a threshold number of accesses; detecting the real-time access times of the gateway in a preset unit time length through a current gateway interface; comparing whether the real-time access times are larger than an access time threshold value through a current gateway interface, and judging whether the current application meets a preset request access condition; when the real-time access times are larger than the access time threshold, representing that the current application does not meet the preset request access condition; and when the real-time access times are not more than the access times threshold value, representing that the current application meets the preset request access condition.
Detecting the real-time access times of the gateway platform through a current gateway interface in the gateway platform, and determining that the current application does not meet the preset request access condition when the real-time access times are greater than an access time threshold; and when the real-time access times are less than or equal to the access times threshold, determining that the current application meets the preset request access condition.
In some embodiments, the current gateway interface may detect the number of times of access of itself within a preset unit time before the access time of the current application; the number of times of accessing the current application from the access time of the current application and the number of times of accessing the current application within a preset unit time length before the access time of the current application can be detected, that is, the number of times of accessing the current application corresponding to the current application is calculated within the number of times of accessing the current application in real time within the preset unit time length.
In some embodiments, the current configuration information includes an access traffic threshold; detecting a real-time interface flow value of the gateway interface by the current gateway interface; comparing whether the flow value of the real-time interface is larger than the access flow threshold value through the current gateway interface, and judging whether the current application meets the preset access request condition; when the flow value of the real-time interface is larger than the access flow threshold value, representing that the current application does not meet the preset access request condition; and when the flow value of the real-time interface is not greater than the access flow threshold value, representing that the current application meets the preset request access condition.
Detecting a real-time interface flow value of a gateway platform through a current gateway interface in the gateway platform, and determining that the current application does not meet a preset request access condition when the real-time interface flow value is greater than an access flow threshold value; and when the real-time interface flow is less than or equal to the access flow threshold, determining that the current application meets the preset request access condition.
In some embodiments, the current gateway interface detects access traffic of itself within a first preset unit time length as a real-time interface traffic value; specifically, the access flow of the mobile terminal in the first preset unit duration before the access time of the current application can be detected; the access flow of the current application and the access flow within the first preset unit time length before the current application can be detected, that is, the access flow corresponding to the current application is calculated within the real-time access quantity within the first preset unit time length.
It should be noted that, each application may be installed on a plurality of terminals, when a plurality of terminals simultaneously run the same application, the application on each terminal needs to perform data interaction with the server, the applications on the plurality of terminals access the current gateway interface first, the current gateway interface may determine, according to a real-time interface flow value of the current gateway interface, a request processing flow on the access interface corresponding to the current interface domain name in the server, and an access flow threshold may be set according to a maximum processing flow of the access interface corresponding to the current interface domain name; similarly, the number of times of access on the access interface corresponding to the current interface domain name in the server can be determined according to the number of times of real-time access per se, the threshold value of the number of times of access can be set according to the maximum access processing number of times of the access interface corresponding to the current interface domain name, and the access interface corresponding to the current interface domain name in the server can also be ensured to work normally.
In some embodiments, the current configuration information includes a permission check rule; determining a request data type corresponding to the data request through a current gateway interface, and acquiring current access authority information corresponding to the request data type from the authority verification rule; detecting whether the data request comprises current access authority information or not through a current gateway interface, and judging whether the current application meets a preset request access condition or not; when the data request does not comprise the current access authority information, representing that the current application does not meet the preset request access condition; when the data request comprises the current access authority information, the current application is represented to meet the preset request access condition.
Determining a request data type corresponding to the data request through a current gateway interface in the gateway platform, and taking access authority information corresponding to the request data type in the authority verification rule as current access authority information; when the data request comprises current access authority information, determining that the current application meets a preset request access condition; and when the data request does not comprise the current access authority information, determining that the current application does not meet the preset request access condition.
In some embodiments, the permission check rule comprises: the access authority information corresponding to the order data is login information, and the access authority information corresponding to the shopping cart data is login information and the like.
Exemplarily, when the current gateway interface determines that the request data type corresponding to the data request is order data, the current access authority information is determined to be login information, and the login information is detected in the data request; when the data request comprises login information, determining that the current application meets a preset request access condition.
It should be noted that, in the application data stored in the server, part of the data is public to all users, for example, the data is published by the application; part of the data is only disclosed to authorized users, for example, data of a certain user; furthermore, for data disclosed to all users, current access authority information does not need to be acquired; for data that is only disclosed to authorized users, current access authorization information needs to be acquired.
In some embodiments, in response to a data request, a current interface domain name corresponding to a current application is acquired through a current gateway interface indicated by a current gateway domain name in a gateway platform; sending an upstream interface query request to a current interface domain name through a current gateway interface, so that an access interface corresponding to the current interface domain name in a server responds to the upstream interface query request; when an upstream interface query response is received from an access interface corresponding to the current interface domain name, judging whether the current application meets a preset request access condition or not through the current gateway interface according to the upstream interface query response; the upstream interface query response characterizes an upstream interface error or allows a response; when the query response of the upstream interface represents that the upstream interface has an error, representing that the current application does not meet the preset request access condition; when the query response of the upstream interface represents the permission response, the current application is represented to meet the preset request access condition.
A current gateway interface in the gateway platform responds to the data request, and an interface domain name corresponding to the current gateway domain name is used as a current interface domain name; accessing a current interface domain name and sending an upstream interface query request; an access interface corresponding to the domain name of the current interface in the server receives an upstream interface query instruction and responds, relevant data is judged according to the upstream interface query instruction, and an upstream interface query response representing that the upstream interface has errors or allows response is generated; when the current gateway interface determines that the query response of the upstream interface represents that the upstream interface has an error, the current application is determined not to meet the preset request access condition, and when the query response of the upstream interface is determined to allow the response, the current application is determined to meet the preset request access condition.
In some embodiments, when the data request is a request related to inventory data (e.g., a request for placing an order, a request for purchase, etc.), the current gateway interface generates an upstream interface query request as a request for querying inventory of the first database, an access interface in the server corresponding to a domain name of the current interface accesses the first database, acquires an inventory amount, and generates an upstream interface query response representing that a response is allowed when the inventory amount is greater than or equal to a preset inventory threshold, otherwise, generates an upstream interface query response representing that an error occurs in the upstream interface; wherein the first database is a database related to the current application.
In some embodiments, the gateway platform obtains, in response to the data request, configuration information corresponding to each application in the at least one application; acquiring current configuration information and a current interface domain name corresponding to current application through a current gateway interface indicated by a current gateway domain name in a gateway platform; the current configuration information comprises an access frequency threshold, an access flow threshold and an authority verification rule; the gateway platform performs at least one of the following and determines that the current application satisfies the preset request access condition when each of the at least one performed determines that the current application satisfies the preset request access condition:
sending an upstream interface query request to a current interface domain name through a current gateway interface so that an access interface corresponding to the current interface domain name in a server responds to the upstream interface query request; when an upstream interface query response is received from an access interface corresponding to the current interface domain name, judging whether the current application meets a preset request access condition or not through the current gateway interface according to the upstream interface query response; the upstream interface query response characterizes an upstream interface error or allows a response;
detecting the real-time access times of the gateway in a preset unit time length through a current gateway interface; comparing whether the real-time access times are larger than an access time threshold value through a current gateway interface, and judging whether the current application meets a preset request access condition;
detecting a real-time interface flow value of the gateway interface by the current gateway interface; comparing whether the real-time interface flow value is larger than an access flow threshold value through a current gateway interface, and judging whether the current application meets a preset request access condition;
determining a request data type corresponding to the data request through a current gateway interface, and acquiring current access authority information corresponding to the request data type from the authority verification rule; and detecting whether the data request comprises current access authority information or not through a current gateway interface, and judging whether the current application meets the preset request access condition or not.
S104, when the current application meets the preset request access condition, requesting the access data from the server by using the data request and the current interface domain name corresponding to the current application so as to enable the server to return the data response of the current application; the current interface domain name belongs to the interface domain name.
When the current application meets the preset request access condition, the current gateway interface in the gateway platform forwards the data request to the server, so that the server processes the data request, the server returns the data response of the current application to the current gateway interface, the current gateway interface sends the data response to the current application, and the current application renders page data by using the data response.
In some embodiments, the gateway platform sends the data request to an access interface corresponding to the domain name of the current interface in the server, so that the access interface corresponding to the domain name of the current interface in the server processes the data request; and when receiving the data response from the access interface corresponding to the current interface domain name, returning the data response to the current application.
A current gateway interface in a gateway platform forwards a data request to a current interface domain name so as to process the data request by an access interface (an access interface corresponding to current application) indicated by the current interface domain name in a request server, and generate a data response; and the access interface corresponding to the current application sends the data response to the current gateway interface, and the current gateway interface forwards the data response to the current application.
In some embodiments, as shown in fig. 5, after step S103, the application management method further includes:
s201, when the current application does not meet the preset request access condition, not responding to the data request, acquiring the simulation data corresponding to the current application, and returning the corresponding simulation data to the current application; the corresponding simulation data is data configured in the configuration information of the current application after acquiring at least one application to be registered.
When the current application does not meet the preset request access condition, a current gateway interface in the gateway platform does not respond to the data request, acquires the stored simulation data corresponding to the current application, and sends the simulation data corresponding to the current application, and the current application can keep the page data unchanged based on the simulation data.
It should be noted that, when the current application does not satisfy the preset request access condition, the data request is not processed, and the current application cannot render the page data by using the data response, so as to avoid a blank page of the current application, sending the simulation data to the current application, and thus, the current application keeps the page data unchanged.
In some embodiments, the current gateway interface not responding to the data request comprises: the data request is downgraded, i.e. not processed.
Further, after step S201, the current gateway interface may further continue to perform step S103 until the current gateway interface obtains a data response and sends the data response to the current application, or until the current gateway interface receives an application closing instruction sent by the current application.
It can be understood that a gateway domain name is set for each application through a gateway platform, an interface domain name corresponding to each application is obtained, then, a data request is received by the gateway platform through a current gateway domain name corresponding to the current application, and when the current application is determined to meet a preset request access condition, the data request is forwarded to a server, so that the server returns a data response based on the data request; firstly, the gateway platform acquires the gateway domain name and the interface domain name of each application, so that the condition that the server reloads when the application is newly added or set in the server is avoided, secondly, the gateway platform receives the data request sent by the current application through the current gateway domain name, and forwards the data request to the server only when the access interface corresponding to the current application in the server can normally process the data request, so that the condition that the server is abnormal in overall work due to the fact that the access interface corresponding to a certain application is abnormal in processing is avoided, and therefore the efficiency and the speed of the server for accessing the application are improved.
In some embodiments, an embodiment of the present invention provides an application management method, which is applied to a server, and as shown in fig. 6, the method includes:
s301, when an application registration request aiming at least one application is received from a gateway platform, responding to the application registration request, generating an interface domain name corresponding to each application in the at least one application, and sending the interface domain name to the gateway platform so that the gateway platform sends a data request to a server by using the interface domain name when determining that the server can normally process the data request of the application; the interface domain name represents an access interface provided by the server for the application;
and each access interface in the server receives an application registration request from the gateway interface corresponding to each application, responds to the application registration request, generates an interface domain name corresponding to each application, and returns the interface domain name to the gateway interface.
S302, when a data request of a current application in at least one application is received from the gateway platform, the data request is processed through an access interface corresponding to the current application, and a data response is generated and sent to the gateway platform.
And when receiving the data request of the current application from the current gateway interface, the access interface corresponding to the current application in the server responds to the data request, processes the data request, generates a data response and returns the data response to the current gateway interface.
In some embodiments, after step S301, as shown in fig. 7, the application management method further includes:
s401, when an upstream interface query request corresponding to the current application is received from a gateway platform, responding to the upstream interface query request through an access interface corresponding to the current application, querying data related to the upstream interface query request, generating an upstream interface query response, and sending the upstream interface query response to the gateway platform; the upstream interface query response characterizes an upstream interface error or allows a response;
and when receiving an upstream interface query request from the current gateway interface, the access interface corresponding to the current application in the server responds to the upstream interface query request, performs data query on a database related to the upstream interface query request, generates an upstream interface query response and sends the upstream interface query response to the current gateway interface.
In some embodiments, the upstream interface query request is a request for querying an inventory of the first database, the current access interface corresponding to the application queries the inventory of the first database, and determines whether the inventory of the first database is greater than a preset inventory threshold; and when the inventory is greater than or equal to a preset inventory threshold, generating an upstream interface query response for representing the response permission, otherwise, generating an upstream interface query response for representing the error of the upstream interface.
S402, when the query response of the upstream interface represents the permission response, receiving a data request of the current application from the gateway platform, responding to the data request, processing the data request, generating a data response and sending the data response to the gateway platform, so that the gateway platform sends the data response to the current application, and the current application renders page data by using the data response.
When receiving a data request from a current gateway interface, an access interface corresponding to the current application in the server responds to the data request, processes the data request, generates a data response and returns the data response to the current gateway interface, so that the current gateway interface sends the data response to the current application, and the current application renders page data by using the data response.
It can be understood that the server sends the interface domain name of each application to the gateway platform, and the gateway platform sends the data request of the current application to the corresponding access interface when determining that the access interface of the current application can normally process the data request by using the interface domain name, so that the server avoids the situation that the whole work is abnormal due to the abnormal processing of the access interface corresponding to a certain application, and thus, the efficiency and the speed of the server in dealing with the access of the application are improved.
In some embodiments, an embodiment of the present invention provides an application management method, which is applied to an application management system, and as shown in fig. 8, the method includes:
s501, obtaining at least one application through a gateway platform, setting a gateway domain name of each application in the at least one application, and sending an application registration request aiming at the at least one application to a server;
it should be noted that the implementation process of step S501 is the same as the implementation process of step S101, and is not described herein again.
S502, responding to an application registration request through a server, and sending an interface domain name corresponding to each application to a gateway platform; an interface domain name represents an access interface provided by a server side for application;
it should be noted that the implementation process of step S502 is the same as the implementation processes of step S102 and step S301, and is not described herein again.
S503, when a data request is received through a current gateway domain name corresponding to the current application, responding to the data request through a gateway platform, and judging whether the current application meets a preset request access condition; the current application belongs to at least one application; the current gateway domain name belongs to a gateway domain name; presetting a request for requesting to access a condition representation server, wherein the request allows an access interface corresponding to the current application to normally process data;
it should be noted that the implementation process of step S503 is the same as the implementation process of step S103, and is not described here again.
S504, when the current application meets the preset request access condition, the gateway platform requests the server side to access data by using the data request and the current interface domain name corresponding to the current application, obtains the data response of the current application and sends the data response to the current application, so that the current application renders page data by using the data response; the current interface domain name belongs to the interface domain name.
In some embodiments, the data request is sent to an access interface corresponding to the domain name of the current interface in the server through the gateway platform; processing the data request through an access interface corresponding to the current interface domain name, generating a data response and transmitting the data response to the gateway platform; and sending a data response to the current application through the gateway platform.
It should be noted that the implementation process of step S504 is similar to the implementation processes of step S104 and step S302, and is not described herein again.
In some embodiments, after step S503, the application management method further includes: and when the current application does not meet the preset request access condition, the gateway platform does not respond to the data request, the simulation data corresponding to the current application is obtained, and the simulation data corresponding to the current application is returned to the current application.
It should be noted that the above process is the same as the implementation process of S201, and is not described herein again.
Exemplarily, as shown in fig. 9, the application management method is applied to the application management system shown in fig. 2, and includes:
s601, the gateway platform acquires at least one application to be registered in the client and configuration information corresponding to each application in the at least one application, sets a gateway domain name of each application, and sends an application registration request aiming at the at least one application to the server; the configuration information comprises simulation data, an access frequency threshold, an access flow threshold and an authority verification rule;
s602, the server side responds to the application registration request and sends an interface domain name corresponding to each application to the gateway platform; an interface domain name represents an access interface provided by a server side for application;
s603, the current application accesses the current gateway domain name and sends a data request to a current gateway interface corresponding to the current gateway domain name in the gateway platform;
s604, the current gateway interface responds to the data request and sends an upstream interface query request to a current interface domain name corresponding to the current application;
s605, responding to an upstream interface query request by an access interface corresponding to a current interface domain name in a server, querying data related to the upstream interface query request, generating an upstream interface query response and sending the upstream interface query response to a gateway platform; the upstream interface query response characterizes an upstream interface error or allows a response;
s606, when the current gateway interface receives an upstream interface query response from the access interface corresponding to the current interface domain name, judging whether the current application meets the preset request access condition or not through the current gateway interface according to the upstream interface query response;
s607, detecting the real-time access times of the current gateway interface within the preset unit time length; comparing whether the real-time access times are larger than an access time threshold value through a current gateway interface, and judging whether the current application meets a preset request access condition;
s608, detecting a real-time interface flow value of the current gateway interface; comparing whether the real-time interface flow value is larger than the access flow threshold value or not, and judging whether the current application meets the preset access request condition or not;
s609, the current gateway interface determines a request data type corresponding to the data request, and acquires current access authority information corresponding to the request data type from the authority verification rule; detecting whether the data request comprises current access authority information or not through a current gateway interface, and judging whether the current application meets a preset request access condition or not;
s6010, when the current gateway interface determines that the current application meets a preset request access condition according to an upstream interface query response, determines that the current application meets the preset request access condition according to the fact that the real-time access frequency is not greater than an access frequency threshold, determines that the current application meets the preset request access condition according to the fact that the real-time interface flow value is not greater than an access flow threshold, and determines that the current application meets the preset request access condition according to the fact that the data request comprises current access right information, the current gateway interface requests the service end for access data by means of the data request and a current interface domain name corresponding to the current application, so that the service end returns a data response of the current application; the current interface domain name belongs to an interface domain name;
s6011, the current gateway interface sends the data response to the current application;
s6012, the current application renders the page data by using the data response.
It should be noted that the execution sequence of steps S605 to S606, step S607 and step S608 is not limited, and steps S605 to S606, step S607 and step S608 may be executed simultaneously, or may be executed in the order of steps S608, step S607 and S605 to S606, or in another order.
It can be understood that a gateway domain name is set for each application through a gateway platform, an interface domain name corresponding to each application is obtained, then, a data request is received by the gateway platform through a current gateway domain name corresponding to the current application, and when the current application is determined to meet a preset request access condition, the data request is forwarded to a server, so that the server returns a data response based on the data request; firstly, the gateway platform acquires the gateway domain name and the interface domain name of each application, the server side avoids the condition of reloading when an application is newly added or set, secondly, the gateway platform receives a data request sent by the current application through the current gateway domain name and determines that the data request can be normally processed by the access interface corresponding to the current application in the server side, the data request is forwarded to the server side, and the server side avoids the condition of abnormal integral work caused by abnormal processing of the access interface corresponding to a certain application, so that the efficiency and the speed of the server side in dealing with the access of the application are improved.
Example two
The following further describes the same inventive concept of the first embodiment of the present invention.
An embodiment of the present invention provides a gateway platform, as shown in fig. 10, where the gateway platform 3 includes:
the registration module 31 is configured to obtain at least one application to be registered, and set a gateway domain name of each application in the at least one application; sending an application registration request aiming at least one application to the server so as to respectively acquire an interface domain name corresponding to each application from the server; an interface domain name represents an access interface provided by a server side for application;
a request judging module 32, configured to, when a data request is received through a current gateway domain name corresponding to a current application, respond to the data request, and judge whether the current application meets a preset request access condition; the current application belongs to at least one application; the current gateway domain name belongs to a gateway domain name; presetting a request for requesting to access a condition representation server, wherein the request allows an access interface corresponding to the current application to normally process data;
the request processing module 33 is configured to, when the current application meets a preset request access condition, request the server for accessing data by using the data request and a current interface domain name corresponding to the current application, so that the server returns a data response of the current application; the current interface domain name belongs to the interface domain name.
In some embodiments, the registration module 31 is further configured to, in response to the data request, obtain configuration information corresponding to each application in the at least one application;
the request judgment module 32 is further configured to obtain current configuration information corresponding to the current application through a current gateway interface indicated by a current gateway domain name in the gateway platform; the current configuration information belongs to the configuration information; and judging whether the current application meets the preset request access condition or not according to the current configuration information through the current gateway interface.
In some embodiments, the configuration information includes at least one of: the method comprises the steps of simulating data, an access frequency threshold value, an access flow threshold value and an authority verification rule; and the authority verification rule represents access authority information corresponding to the data type.
In some embodiments, the current configuration information includes a threshold number of accesses;
the request judging module 32 is further configured to detect, through the current gateway interface, a number of times of real-time access within a preset unit time duration; comparing whether the real-time access times are larger than an access time threshold value through a current gateway interface, and judging whether the current application meets a preset request access condition; when the real-time access times are larger than the access times threshold value, representing that the current application does not meet the preset request access condition; and when the real-time access times are not larger than the access times threshold value, representing that the current application meets the preset request access condition.
In some embodiments, the current configuration information includes an access traffic threshold;
the request judging module 32 is further configured to detect a real-time interface flow value of the request judging module through the current gateway interface; comparing whether the real-time interface flow value is larger than the access flow threshold value through the current gateway interface, and judging whether the current application meets the preset access request condition; when the real-time interface flow value is larger than the access flow threshold value, representing that the current application does not meet the preset request access condition; and when the real-time interface flow value is not greater than the access flow threshold value, representing that the current application meets the preset request access condition.
In some embodiments, the current configuration information includes a permission check rule;
the request judging module 32 is further configured to determine a request data type corresponding to the data request through the current gateway interface, and obtain current access permission information corresponding to the request data type from the permission check rule; detecting whether the data request comprises current access authority information or not through a current gateway interface, and judging whether the current application meets a preset request access condition or not; when the data request does not comprise the current access authority information, the representation that the current application does not meet the preset request access condition is carried out; and when the data request comprises the current access authority information, representing that the current application meets the preset request access condition.
In some embodiments, the request determining module 32 is further configured to, in response to the data request, obtain a domain name of a current interface corresponding to the current application through a current gateway interface indicated by a current gateway domain name in the gateway platform; sending an upstream interface query request to a current interface domain name through a current gateway interface so as to enable an access interface corresponding to the current interface domain name in a server to respond to the upstream interface query request; when an upstream interface query response is received from an access interface corresponding to the current interface domain name, judging whether the current application meets a preset request access condition or not through the current gateway interface according to the upstream interface query response; the upstream interface query response characterizes an upstream interface error or allows a response; when the upstream interface query response represents that the upstream interface has an error, representing that the current application does not meet the preset request access condition; and when the query response of the upstream interface represents the permission response, representing that the current application meets the preset request access condition.
In some embodiments, the request processing module 33 is further configured to send the data request to an access interface corresponding to the domain name of the current interface in the server, so that the access interface corresponding to the domain name of the current interface processes the data request; and when receiving a data response from the access interface corresponding to the current interface domain name, returning the data response to the current application.
In some embodiments, the request processing module 33 is further configured to, after responding to the data request and determining whether the current application satisfies the preset request access condition, when the current application does not satisfy the preset request access condition, not respond to the data request, obtain the simulation data corresponding to the current application, and return the corresponding simulation data to the current application; the corresponding simulation data is data configured in the configuration information of the current application after acquiring at least one application to be registered.
In practical applications, the registration module 31, the request judgment module 32 and the request Processing module 33 can also be implemented by a first processor 34 located on the gateway platform 3, specifically implemented by a CPU (Central Processing Unit), an MPU (micro processor Unit), a DSP (Digital Signal Processing) or a Field Programmable Gate Array (FPGA).
An embodiment of the present invention further provides a gateway platform 3, and as shown in fig. 11, the gateway platform 3 includes: a first processor 34, a first memory 35 and a first communication bus 36, wherein the first memory 35 communicates with the first processor 34 through the first communication bus 36, the first memory 35 stores one or more application management programs executable by the first processor 34, and when the one or more application management programs are executed, the first processor 34 executes any one of the application management methods applied to the gateway platform according to the foregoing embodiments.
In practical applications, the first Memory 35 may be a volatile first Memory (volatile Memory), such as a Random-Access Memory (RAM); or a non-volatile first Memory (non-volatile Memory), such as a Read-Only first Memory (ROM), a flash Memory (flash Memory), a Hard Disk Drive (HDD) or a Solid-State Drive (SSD); or a combination of first memories of the above kind and provides programs and data to the first processor 34.
The embodiment of the present invention provides a computer-readable storage medium, which stores an application management program, and when the application management program is executed by the first processor 34, the first processor 34 is enabled to execute any one of the application management methods applied to the gateway platform in the foregoing embodiments.
An embodiment of the present invention provides a server, and as shown in fig. 12, the server 4 includes:
the interface generating module 41 is configured to, when receiving an application registration request for at least one application from the gateway platform, generate an interface domain name corresponding to each application in the at least one application in response to the application registration request, and send the interface domain name to the gateway platform, so that the gateway platform sends the data request to the server by using the interface domain name when determining that the server can normally process the data request of the application; the interface domain name represents an access interface provided by the server for the application;
and the data response module 42 is configured to, when receiving a data request of a current application in the at least one application from the gateway platform, process the data request through an access interface corresponding to the current application, generate a data response, and send the data response to the gateway platform.
In some embodiments, the server 4 further includes:
the interface query module 43 is configured to, after responding to the application registration request, generate an interface domain name corresponding to each application in the at least one application, and send the interface domain name to the gateway platform, when receiving an upstream interface query request corresponding to a current application from the gateway platform, respond to the upstream interface query request through an access interface corresponding to the current application, query data related to the upstream interface query request, generate an upstream interface query response, and send the upstream interface query response to the gateway platform; the upstream interface query response characterizes an upstream interface error or allows a response;
the data response module 42 is further configured to receive a data request of the current application from the gateway platform when the query response of the upstream interface represents an allowance response, process the data request in response to the data request, generate a data response, and send the data response to the gateway platform, so that the gateway platform sends the data response to the current application, and the current application renders page data by using the data response.
In practical applications, the interface generating module 41, the data responding module 42, and the interface querying module 43 may also be implemented by a second processor 44 located on the service end 4, specifically implemented by a CPU, an MPU, a DSP, or an FPGA.
An embodiment of the present invention further provides a server 4, and as shown in fig. 13, the server 4 includes: a second processor 44, a second memory 45 and a second communication bus 46, wherein the second memory 45 communicates with the second processor 44 through the second communication bus 46, the second memory 45 stores one or more application management programs executable by the second processor 44, and when the one or more application management programs are executed, the second processor 44 executes any one of the application management methods applied to the server according to the foregoing embodiments.
In practical applications, the second Memory 45 may be a volatile second Memory (volatile Memory), such as a Random-Access Memory (RAM); or a non-volatile second Memory (non-volatile Memory), such as a Read-Only second Memory (ROM), a flash Memory (flash Memory), a Hard Disk Drive (HDD) or a Solid-State Drive (SSD); or a combination of the above types of secondary memories and provides programs and data to the secondary processor 44.
The embodiment of the present invention provides a computer-readable storage medium, which stores an application management program, and when the application management program is executed by the second processor 44, the second processor 44 is enabled to execute any one of the application management methods applied to the server side in the foregoing embodiments.
An embodiment of the present invention provides an application management system, as shown in fig. 14, an application management system 5 includes a client 6, a gateway platform 3, and a server 4; the client 6 comprises at least one application 61 to be registered; the gateway platform 3 comprises a registration module 31, a request judgment module 32 and a request processing module 33;
the registration module 31 is configured to obtain at least one application 61, and set a gateway domain name of each application in the at least one application 61; and sending an application registration request for at least one application to the server 4;
the server 4 is configured to send, in response to the application registration request, an interface domain name corresponding to each application to the registration module 31; the interface domain name represents an access interface provided by the server 4 for the application;
a request determining module 32, configured to, when a data request is received through a current gateway domain name corresponding to a current application, respond to the data request and determine whether the current application meets a preset request access condition; the current application belongs to at least one application 61; the current gateway domain name belongs to a gateway domain name; presetting a request for requesting to access a condition representation server, wherein the request allows an access interface corresponding to the current application to normally process data;
the request processing module 33 is configured to, when the current application meets a preset request access condition, request a server for accessing data by using the data request and a current interface domain name corresponding to the current application, obtain a data response of the current application, and send the data response to the current application, so that the current application renders page data by using the data response; the current interface domain name belongs to the interface domain name.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable application management apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable application management apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable application management apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable application management apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The methods disclosed in the several method embodiments provided by the present invention can be combined arbitrarily without conflict to obtain a new method embodiment.
Features disclosed in several of the product embodiments provided by the invention may be combined in any combination to yield new product embodiments without conflict.
The features disclosed in the several method or apparatus embodiments provided by the present invention may be combined arbitrarily, without conflict, to arrive at new method embodiments or apparatus embodiments.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (27)

1. An application management method, applied to a gateway platform, the method comprising:
acquiring at least one application to be registered, and setting a gateway domain name of each application in the at least one application; each application in the at least one application carries configuration information, the configuration information represents a request processing rule, and a mapping relation exists between each application, a gateway domain name of each application and the configuration information of each application;
sending an application registration request aiming at the at least one application to a server so as to respectively obtain an interface domain name corresponding to each application from the server; the interface domain name represents an access interface provided by the server for the application;
when a data request is received through a current gateway domain name corresponding to a current application, responding to the data request, and judging whether the current application meets a preset request access condition; the current application belongs to the at least one application; the current gateway domain name belongs to the gateway domain name; the preset request access condition represents a request of allowing an access interface corresponding to the current application to normally process data in the server;
when the current application meets the preset request access condition, requesting the access data from the server by using the data request and a current interface domain name corresponding to the current application so as to enable the server to return a data response of the current application; the current interface domain name belongs to the interface domain name.
2. The method of claim 1, wherein the determining whether the current application satisfies a predetermined request access condition in response to the data request comprises:
responding to the data request, and acquiring configuration information corresponding to each application in the at least one application; acquiring current configuration information corresponding to the current application through a current gateway interface indicated by the current gateway domain name in the gateway platform; the current configuration information belongs to the configuration information;
and judging whether the current application meets the preset request access condition or not according to the current configuration information through the current gateway interface.
3. The method of claim 2, wherein the configuration information comprises at least one of: simulating data, an access frequency threshold, an access flow threshold and an authority verification rule; and the authority verification rule represents access authority information corresponding to the data type.
4. The method of claim 3, wherein the current configuration information comprises the threshold number of accesses; the determining, by the current gateway interface according to the current configuration information, whether the current application satisfies the preset request access condition includes:
detecting the real-time access times of the gateway in a preset unit time length through the current gateway interface;
comparing whether the real-time access times are larger than the access times threshold value through the current gateway interface, and judging whether the current application meets the preset request access condition;
when the real-time access times are larger than the access times threshold value, representing that the current application does not meet the preset request access condition;
and when the real-time access times are not greater than the access times threshold value, representing that the current application meets the preset request access condition.
5. The method of claim 3, wherein the current configuration information comprises the access traffic threshold; the determining, by the current gateway interface according to the current configuration information, whether the current application satisfies the preset request access condition includes:
detecting a real-time interface flow value of the current gateway interface;
comparing whether the real-time interface flow value is larger than the access flow threshold value through the current gateway interface, and judging whether the current application meets the preset request access condition;
when the real-time interface flow value is larger than the access flow threshold value, representing that the current application does not meet the preset request access condition;
and when the real-time interface flow value is not greater than the access flow threshold value, representing that the current application meets the preset request access condition.
6. The method of claim 3, wherein the current configuration information comprises the permission check rule; the determining, by the current gateway interface according to the current configuration information, whether the current application satisfies the preset request access condition includes:
determining a request data type corresponding to the data request through the current gateway interface, and acquiring current access authority information corresponding to the request data type from the authority verification rule;
detecting whether the data request comprises the current access authority information or not through the current gateway interface, and judging whether the current application meets the preset request access condition or not;
when the data request does not comprise the current access authority information, representing that the current application does not meet the preset request access condition;
and when the data request comprises the current access authority information, representing that the current application meets the preset request access condition.
7. The method of claim 1, wherein the determining whether the current application satisfies a predetermined request access condition in response to the data request comprises:
responding to the data request, and acquiring a current interface domain name corresponding to the current application through a current gateway interface indicated by the current gateway domain name in the gateway platform;
sending an upstream interface query request to the current interface domain name through the current gateway interface, so that an access interface corresponding to the current interface domain name in the server responds to the upstream interface query request;
when an upstream interface query response is received from an access interface corresponding to the current interface domain name, judging whether the current application meets the preset request access condition or not through the current gateway interface according to the upstream interface query response; the upstream interface query response is used for representing an error or an allowable response of the upstream interface;
when the upstream interface query response represents that the upstream interface has an error, representing that the current application does not meet the preset request access condition;
when the query response of the upstream interface represents an allowable response, the current application is represented to meet the preset request access condition.
8. The method according to claim 1, wherein the requesting access data from the server by using the data request and the current interface domain name corresponding to the current application, so that the server returns a data response of the current application, includes:
sending the data request to an access interface corresponding to the current interface domain name in the server side, so that the access interface corresponding to the current interface domain name processes the data request;
and when the data response is received from the access interface corresponding to the current interface domain name, returning the data response to the current application.
9. The method according to any one of claims 1 to 8, wherein after said determining whether the current application satisfies a predetermined request access condition in response to the data request, the method further comprises:
when the current application does not meet the preset request access condition, not responding to the data request, acquiring the simulation data corresponding to the current application, and returning the corresponding simulation data to the current application; the corresponding simulation data is data configured in the configuration information of the current application after at least one application to be registered is obtained.
10. An application management method, applied to a server, the method comprising:
when an application registration request aiming at least one application is received from a gateway platform, responding to the application registration request, generating an interface domain name corresponding to each application in the at least one application, and sending the interface domain name to the gateway platform, so that the gateway platform sends a data request to a service end by using the interface domain name when determining that the service end can normally process the data request of the application; each application in the at least one application carries configuration information, the configuration information represents a request processing rule, and a mapping relation exists between each application, a gateway domain name of each application and the configuration information of each application; the interface domain name represents an access interface provided by the server for the application;
and when a data request of the current application in the at least one application is received from the gateway platform, processing the data request through an access interface corresponding to the current application, generating a data response and sending the data response to the gateway platform.
11. The method according to claim 10, wherein after said generating and sending to the gateway platform an interface domain name corresponding to each application of the at least one application in response to the application registration request, the method further comprises:
when an upstream interface query request corresponding to the current application is received from the gateway platform, responding to the upstream interface query request through an access interface corresponding to the current application, querying data related to the upstream interface query request, generating an upstream interface query response and sending the upstream interface query response to the gateway platform; the upstream interface query response characterizes an upstream interface error or an allowable response;
when the query response of the upstream interface represents an allowance response, a data request of the current application is received from the gateway platform, the data request is responded, the data request is processed, a data response is generated and sent to the gateway platform, so that the gateway platform sends the data response to the current application, and the current application renders page data by using the data response.
12. A gateway platform, the gateway platform comprising:
the registration module is used for acquiring at least one application to be registered and setting a gateway domain name of each application in the at least one application; each application in the at least one application carries configuration information, the configuration information represents a request processing rule, and a mapping relation exists between each application, a gateway domain name of each application and the configuration information of each application; sending an application registration request aiming at the at least one application to a server so as to respectively acquire an interface domain name corresponding to each application from the server; the interface domain name represents an access interface provided by the server side for application;
the request judging module is used for responding to a data request when the data request is received through a current gateway domain name corresponding to the current application and judging whether the current application meets a preset request access condition or not; the current application belongs to the at least one application; the current gateway domain name belongs to the gateway domain name; the preset request access condition represents a request of allowing an access interface corresponding to the current application to normally process data in the server;
the request processing module is used for requesting access data from the server by using the data request and a current interface domain name corresponding to the current application when the current application meets the preset request access condition so as to enable the server to return a data response of the current application; the current interface domain name belongs to the interface domain name.
13. The gateway platform of claim 12,
the registration module is further configured to respond to the data request and obtain configuration information corresponding to each application in the at least one application;
the request judging module is further configured to obtain current configuration information corresponding to the current application through a current gateway interface indicated by the current gateway domain name in the gateway platform; the current configuration information belongs to the configuration information; and judging whether the current application meets the preset request access condition or not according to the current configuration information through the current gateway interface.
14. The gateway platform of claim 13, wherein the configuration information comprises at least one of: simulating data, an access frequency threshold, an access flow threshold and an authority verification rule; and the authority verification rule represents access authority information corresponding to the data type.
15. The gateway platform of claim 14, wherein the current configuration information comprises the threshold number of accesses;
the request judging module is also used for detecting the real-time access times of the gateway in a preset unit time length through the current gateway interface; comparing whether the real-time access times are larger than the access times threshold value through the current gateway interface, and judging whether the current application meets the preset request access condition; when the real-time access times are larger than the access times threshold value, representing that the current application does not meet the preset request access condition; and when the real-time access times are not larger than the access times threshold, representing that the current application meets the preset request access condition.
16. The gateway platform of claim 14, wherein the current configuration information includes the access traffic threshold;
the request judging module is also used for detecting the flow value of the real-time interface of the request judging module through the current gateway interface; comparing whether the real-time interface flow value is larger than the access flow threshold value through the current gateway interface, and judging whether the current application meets the preset request access condition; when the real-time interface flow value is larger than the access flow threshold value, representing that the current application does not meet the preset request access condition; and when the real-time interface flow value is not larger than the access flow threshold value, representing that the current application meets the preset request access condition.
17. The gateway platform of claim 14, wherein the current configuration information comprises the permission check rule;
the request judging module is further configured to determine a request data type corresponding to the data request through the current gateway interface, and obtain current access permission information corresponding to the request data type from the permission check rule; detecting whether the data request comprises the current access authority information or not through the current gateway interface, and judging whether the current application meets the preset request access condition or not; when the data request does not comprise the current access authority information, representing that the current application does not meet the preset request access condition; and when the data request comprises the current access authority information, representing that the current application meets the preset request access condition.
18. The gateway platform of claim 12,
the request judging module is further configured to, in response to the data request, obtain a current interface domain name corresponding to the current application through a current gateway interface indicated by the current gateway domain name in the gateway platform; sending an upstream interface query request to the current interface domain name through the current gateway interface, so that an access interface corresponding to the current interface domain name in the server responds to the upstream interface query request; when an upstream interface query response is received from an access interface corresponding to the current interface domain name, judging whether the current application meets the preset request access condition or not through the current gateway interface according to the upstream interface query response; the upstream interface query response characterizes an upstream interface error or an allowable response; when the upstream interface query response represents that the upstream interface has an error, representing that the current application does not meet the preset request access condition; and when the query response of the upstream interface represents an allowable response, representing that the current application meets the preset request access condition.
19. The gateway platform of claim 12,
the request processing module is further configured to send the data request to an access interface corresponding to the current interface domain name in the server, so that the access interface corresponding to the current interface domain name processes the data request; and when the data response is received from the access interface corresponding to the current interface domain name, returning the data response to the current application.
20. The gateway platform of any of claims 12 to 19,
the request processing module is further configured to, after the response to the data request and the judgment of whether the current application satisfies a preset request access condition, obtain the simulation data corresponding to the current application without responding to the data request when the current application does not satisfy the preset request access condition, and return the corresponding simulation data to the current application; the corresponding simulation data is data configured in the configuration information of the current application after acquiring at least one application to be registered.
21. A gateway platform, the gateway platform comprising: a first processor, a first memory, and a first communication bus, the first memory in communication with the first processor through the first communication bus, the first memory storing one or more programs executable by the first processor, the one or more programs, when executed, causing the first processor to perform the method of any of claims 1-9.
22. A server, characterized in that the server comprises:
the interface generation module is used for responding to an application registration request when receiving the application registration request aiming at least one application from a gateway platform, generating an interface domain name corresponding to each application in the at least one application and sending the interface domain name to the gateway platform so as to enable the gateway platform to send a data request to the server by using the interface domain name when determining that the server can normally process the data request of the application; each application in the at least one application carries configuration information, the configuration information represents a request processing rule, and a mapping relation exists between each application, a gateway domain name of each application and the configuration information of each application; the interface domain name represents an access interface provided by the server for the application;
and the data response module is used for processing the data request through the access interface corresponding to the current application when the data request of the current application in the at least one application is received from the gateway platform, generating a data response and sending the data response to the gateway platform.
23. The server according to claim 22, wherein the server further comprises:
an interface query module, configured to, after the response to the application registration request is made, generate an interface domain name corresponding to each application in the at least one application, and send the interface domain name to the gateway platform, when an upstream interface query request corresponding to the current application is received from the gateway platform, query data related to the upstream interface query request through an access interface corresponding to the current application in response to the upstream interface query request, generate an upstream interface query response, and send the upstream interface query response to the gateway platform; the upstream interface query response is used for representing an error or an allowable response of the upstream interface;
the data response module is further configured to receive a data request of the current application from the gateway platform when the query response of the upstream interface represents an allowance response, process the data request in response to the data request, generate a data response, and send the data response to the gateway platform, so that the gateway platform sends the data response to the current application, and the current application renders page data by using the data response.
24. A server, characterized in that the server comprises: a second processor, a second memory and a second communication bus, the second memory communicating with the second processor through the second communication bus, the second memory storing one or more programs executable by the second processor, the one or more programs, when executed, causing the second processor to perform the method of claim 10 or 11.
25. The application management system is characterized by comprising a client, a gateway platform and a server; the client comprises at least one application to be registered; the gateway platform comprises a registration module, a request judgment module and a request processing module;
the registration module is configured to obtain the at least one application and set a gateway domain name of each application in the at least one application; each application in the at least one application carries configuration information, the configuration information represents a request processing rule, and a mapping relation exists between each application, a gateway domain name of each application and the configuration information of each application; sending an application registration request aiming at the at least one application to the server side;
the server is used for responding to the application registration request and sending the interface domain name corresponding to each application to the registration module; the interface domain name represents an access interface provided by the server for the application;
the request judging module is used for responding to a data request when the data request is received through a current gateway domain name corresponding to the current application and judging whether the current application meets a preset request access condition or not; the current application belongs to the at least one application; the current gateway domain name belongs to the gateway domain name; the preset request access condition represents a request of allowing an access interface corresponding to the current application to normally process data in the server;
the request processing module is configured to, when the current application meets the preset request access condition, request the server for access data by using the data request and a current interface domain name corresponding to the current application, obtain a data response of the current application, and send the data response to the current application, so that the current application renders page data by using the data response; the current interface domain name belongs to the interface domain name.
26. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a program which, when executed by at least one first processor, causes the at least one first processor to carry out the method of any one of claims 1-9.
27. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a program which, when executed by at least one second processor, causes the at least one second processor to carry out the method of claim 10 or 11.
CN201911214218.6A 2019-12-02 2019-12-02 Application management method and system, gateway platform, server and storage medium Active CN111131397B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911214218.6A CN111131397B (en) 2019-12-02 2019-12-02 Application management method and system, gateway platform, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911214218.6A CN111131397B (en) 2019-12-02 2019-12-02 Application management method and system, gateway platform, server and storage medium

Publications (2)

Publication Number Publication Date
CN111131397A CN111131397A (en) 2020-05-08
CN111131397B true CN111131397B (en) 2022-09-30

Family

ID=70496823

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911214218.6A Active CN111131397B (en) 2019-12-02 2019-12-02 Application management method and system, gateway platform, server and storage medium

Country Status (1)

Country Link
CN (1) CN111131397B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112217715B (en) * 2020-09-27 2022-08-16 辽宁便利电科技有限公司 Intelligent dynamic gateway system with repeated interaction of complex data

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108093086A (en) * 2018-01-22 2018-05-29 微梦创科网络科技(中国)有限公司 The data transmission method and system of a kind of gateway
CN108429645A (en) * 2018-03-05 2018-08-21 深圳乐信软件技术有限公司 A kind of configuration method of API gateway, device, storage medium and API gateway
CN108512748A (en) * 2018-03-21 2018-09-07 上海艾融软件股份有限公司 A kind of implementation method of micro services gateway
CN108901022A (en) * 2018-06-28 2018-11-27 深圳云之家网络有限公司 A kind of micro services universal retrieval method and gateway
CN109218212A (en) * 2018-09-03 2019-01-15 四川长虹电器股份有限公司 Method for limiting flow through API gateway
CN109271776A (en) * 2018-10-22 2019-01-25 努比亚技术有限公司 Micro services system single-point logging method, server and computer readable storage medium
CN109672612A (en) * 2018-12-13 2019-04-23 中国电子科技集团公司电子科学研究院 API gateway system
CN109714358A (en) * 2019-01-15 2019-05-03 广东工业大学 A kind of injection molding MES cloud platform of micro services
CN109756448A (en) * 2017-11-02 2019-05-14 广东亿迅科技有限公司 API gateway method for managing security and its system based on micro services
CN110011846A (en) * 2019-03-29 2019-07-12 努比亚技术有限公司 Micro services construction method, device, mobile terminal and storage medium
CN110191063A (en) * 2019-06-13 2019-08-30 北京百度网讯科技有限公司 Processing method, device, equipment and the storage medium of service request
CN110311820A (en) * 2019-07-05 2019-10-08 山东云缦智能科技有限公司 A kind of micro services cluster upgrade method of continual service
CN110365699A (en) * 2019-07-29 2019-10-22 北京奇艺世纪科技有限公司 Flow processing method, apparatus and system, gateway

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10678512B2 (en) * 2016-10-25 2020-06-09 Red Hat, Inc. Enabling local development of microservices for hosting in remote orchestration engines

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109756448A (en) * 2017-11-02 2019-05-14 广东亿迅科技有限公司 API gateway method for managing security and its system based on micro services
CN108093086A (en) * 2018-01-22 2018-05-29 微梦创科网络科技(中国)有限公司 The data transmission method and system of a kind of gateway
CN108429645A (en) * 2018-03-05 2018-08-21 深圳乐信软件技术有限公司 A kind of configuration method of API gateway, device, storage medium and API gateway
CN108512748A (en) * 2018-03-21 2018-09-07 上海艾融软件股份有限公司 A kind of implementation method of micro services gateway
CN108901022A (en) * 2018-06-28 2018-11-27 深圳云之家网络有限公司 A kind of micro services universal retrieval method and gateway
CN109218212A (en) * 2018-09-03 2019-01-15 四川长虹电器股份有限公司 Method for limiting flow through API gateway
CN109271776A (en) * 2018-10-22 2019-01-25 努比亚技术有限公司 Micro services system single-point logging method, server and computer readable storage medium
CN109672612A (en) * 2018-12-13 2019-04-23 中国电子科技集团公司电子科学研究院 API gateway system
CN109714358A (en) * 2019-01-15 2019-05-03 广东工业大学 A kind of injection molding MES cloud platform of micro services
CN110011846A (en) * 2019-03-29 2019-07-12 努比亚技术有限公司 Micro services construction method, device, mobile terminal and storage medium
CN110191063A (en) * 2019-06-13 2019-08-30 北京百度网讯科技有限公司 Processing method, device, equipment and the storage medium of service request
CN110311820A (en) * 2019-07-05 2019-10-08 山东云缦智能科技有限公司 A kind of micro services cluster upgrade method of continual service
CN110365699A (en) * 2019-07-29 2019-10-22 北京奇艺世纪科技有限公司 Flow processing method, apparatus and system, gateway

Also Published As

Publication number Publication date
CN111131397A (en) 2020-05-08

Similar Documents

Publication Publication Date Title
JP7222036B2 (en) Model training system and method and storage medium
CN109802957B (en) Interface docking method and device, computer equipment and storage medium
JP5516821B2 (en) System and method for remote maintenance of multiple clients in an electronic network using virtualization and authentication
US9973513B2 (en) Method and apparatus for communication number update
CN113342783A (en) Data migration method and device, computer equipment and storage medium
CN111131397B (en) Application management method and system, gateway platform, server and storage medium
CN106571968B (en) Service switching method and system
US10901752B2 (en) Message based discovery and management of applications
CN112579997B (en) User permission configuration method and device, computer equipment and storage medium
CN112948499A (en) Information acquisition method and device, electronic equipment and storage medium
CN113194099A (en) Data proxy method and proxy server
CN110930110B (en) Distributed flow monitoring method and device, storage medium and electronic equipment
CN113067802A (en) User identification method, device, equipment and computer readable storage medium
CN111835504B (en) Identification code generation method and server
CN109525613B (en) Request processing system and method
CN115774584A (en) Data processing method and device, electronic equipment and storage medium
CN115396221A (en) Authorization processing method, device and system, electronic equipment and storage medium
CN111224886B (en) Network traffic control method and system
CN113961600A (en) Data query method and device, computer equipment and storage medium
CN114125812A (en) Data synchronization method, device, server and storage medium
CN109510816B (en) Service request validity verification method, client and server
US9830207B2 (en) Message communication system and operation method thereof
CN112637019B (en) Network monitoring method
CN111767524B (en) Authority management method, device, system, server and medium
CN113300867B (en) CDN system, information processing method and device, and CDN node

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100176 601, 6th floor, building 2, No. 18, Kechuang 11th Street, Daxing Economic and Technological Development Zone, Beijing

Applicant after: Jingdong Technology Information Technology Co.,Ltd.

Address before: 100176 601, 6th floor, building 2, No. 18, Kechuang 11th Street, Daxing Economic and Technological Development Zone, Beijing

Applicant before: BEIJING HAIYI TONGZHAN INFORMATION TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant