CN113364853B - Business service system, business request method and gateway equipment - Google Patents

Business service system, business request method and gateway equipment Download PDF

Info

Publication number
CN113364853B
CN113364853B CN202110614550.2A CN202110614550A CN113364853B CN 113364853 B CN113364853 B CN 113364853B CN 202110614550 A CN202110614550 A CN 202110614550A CN 113364853 B CN113364853 B CN 113364853B
Authority
CN
China
Prior art keywords
target
aggregation
service
interface
micro
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
CN202110614550.2A
Other languages
Chinese (zh)
Other versions
CN113364853A (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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and 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 Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN202110614550.2A priority Critical patent/CN113364853B/en
Publication of CN113364853A publication Critical patent/CN113364853A/en
Application granted granted Critical
Publication of CN113364853B publication Critical patent/CN113364853B/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/56Provisioning of proxy services
    • H04L67/566Grouping or aggregating service requests, e.g. for unified processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9532Query formulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9566URL specific, e.g. using aliases, detecting broken or misspelled links
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding

Abstract

The embodiment of the invention provides a service system, a service request method and gateway equipment, wherein the service system comprises: the interface aggregation gateway, the storage device and the service server; the interface aggregation gateway is used for receiving a service request sent by a service requester, and generating a target aggregation identifier according to a preset rule based on each target micro-service identifier in the service request; obtaining one or more target data acquisition instructions aiming at different micro services contained in a target aggregation interface from a storage device; sending each target data acquisition instruction to a service server; aggregating the target data returned from the business server to obtain response data, and returning the response data to the business requester; the storage device is used for storing the corresponding relation between different aggregation identifiers and different aggregation interfaces; and the service server is used for respectively acquiring the target data from the corresponding micro-services and returning the target data to the interface aggregation gateway. The embodiment of the invention can improve the interface aggregation development efficiency.

Description

Business service system, business request method and gateway equipment
Technical Field
The present invention relates to the field of computer application technologies, and in particular, to a service system, a service request method, and a gateway device.
Background
With the development of science and technology, the internet application technology is rapidly developed, and people can perform various interactive activities through internet application. The client may provide various application services for the user, and in practical applications, response data of each application service may relate to multiple data sources, for example, the user needs the client to respond to an inquiry service, a data result required to be displayed by the inquiry service relates to acquiring user identity information from the system a, acquiring user bank account information from the system B, and the like.
In the prior art, in order to enable a server to meet differentiated requirements of different clients, after receiving a service request for different services or service data sent by a client, the server analyzes the service request to obtain a micro service to which the service request is directed, and then obtains response data after aggregated data processing by using a customized and developed aggregation interface.
In the prior art, after receiving business requirements, developers customize and develop aggregation interfaces at a server according to the business requirements, and aggregation interfaces required to be customized and developed may be similar for different business requirements.
Disclosure of Invention
The embodiment of the invention aims to provide a service system, a service request method and gateway equipment so as to improve the interface aggregation development efficiency. The specific technical scheme is as follows:
in a first aspect of the present invention, there is provided a business service system, including: the system comprises an interface aggregation gateway, a storage device and a service server;
the interface aggregation gateway is used for receiving a service request sent by a service requester, and generating a target aggregation identifier according to a preset rule based on each target micro-service identifier in the service request; obtaining one or more target data acquisition instructions aiming at different micro services contained in a target aggregation interface corresponding to the target aggregation identifier from the storage equipment; sending each target data acquisition instruction to the service server; aggregating the target data returned from the service server to obtain response data, and returning the response data to the service requester;
the storage device is used for storing corresponding relations between different aggregation identifiers and different aggregation interfaces, wherein the aggregation identifiers are generated according to the preset rule, and each aggregation interface comprises one or more data acquisition instructions aiming at different micro services;
and the service server is used for respectively acquiring target data from corresponding micro-services based on the received target data acquisition instructions and returning the target data to the interface aggregation gateway.
Optionally, the target aggregation identifier is a target uniform resource locator URL generated according to a preset rule; the target data acquisition instruction is a target graph QL query statement;
the storage device is specifically configured to store corresponding relationships between different URLs and different aggregation interfaces, where the URLs are generated according to the preset rule, and each aggregation interface includes one or more graph ql query statements for different microservices;
the service server is specifically configured to obtain target data from corresponding microservices respectively based on each received target graph ql query statement, and return the target data to the interface aggregation gateway;
the interface aggregation gateway comprises: the system comprises a URL converter, a graph QL controller, a data aggregation unit and a data response unit;
the URL converter is used for receiving a service request sent by a service requester and generating a target URL according to a preset rule based on each target micro-service identifier in the service request;
the graph ql controller is configured to obtain, from the storage device, one or more target graph ql query statements for different microservices included in a target aggregation interface corresponding to the target URL, and send each target graph ql query statement to the service server;
the data aggregation unit is used for aggregating the target data returned from the service server to obtain response data;
and the data response unit is used for returning the response data to the service requester.
Optionally, the interface aggregation gateway is further configured to:
receiving a configuration instruction input by a user, wherein the configuration instruction comprises micro-service identifiers to be aggregated, generating a new aggregation identifier according to the preset rule based on the micro-service identifiers to be aggregated, associating the new aggregation identifier with a data acquisition instruction of each micro-service to be aggregated, obtaining a corresponding relation between the new aggregation identifier and a new aggregation interface, and sending the corresponding relation between the new aggregation identifier and the new aggregation interface to the storage device for storage, wherein the new aggregation interface comprises the data acquisition instruction of each micro-service to be aggregated.
Optionally, the target aggregation identifier is a target uniform resource locator URL generated according to a preset rule; the target data acquisition instruction is a target graph QL query statement;
the storage device is specifically configured to store corresponding relationships between different URLs and different aggregation interfaces, where the URLs are generated according to the preset rule, and each aggregation interface includes one or more graph ql query statements for different microservices;
the service server is specifically configured to obtain target data from corresponding microservices respectively based on the received target graph ql query statements, and return the target data to the interface aggregation gateway;
the interface aggregation gateway comprises: the system comprises a URL converter, a graph QL controller, a data aggregation unit, a data response unit and a configuration interface;
the URL converter is used for receiving a service request sent by a service requester and generating a target URL according to a preset rule based on each target micro-service identifier in the service request;
the graph ql controller is configured to obtain, from the storage device, one or more target graph ql query statements for different microservices included in a target aggregation interface corresponding to the target URL, and send each target graph ql query statement to the service server;
the data aggregation unit is used for aggregating the target data returned from the service server to obtain response data;
the data response unit is used for returning the response data to the service requester
The configuration interface is configured to receive each micro service identifier to be aggregated input by a user, generate a new URL for each micro service identifier to be aggregated according to the preset rule, associate the new URL with a graph ql query statement of each micro service to be aggregated, obtain a correspondence between the new URL and a new aggregation interface, and send the correspondence between the new URL and the new aggregation interface to the storage device for storage, where the new aggregation interface includes the graph ql query statement of each micro service to be aggregated.
Optionally, the URL converter is specifically configured to obtain a target custom text corresponding to each target microservice identifier in the service request based on a relationship between a preset custom text and one or more microservice identifiers, and generate a target URL based on the target custom text.
In a second aspect of the present invention, there is further provided a service request method applied to an interface aggregation gateway in any one of the service systems, where the method includes:
receiving a service request sent by a service request party, wherein the service request comprises a target micro-service identifier;
generating a target aggregation identifier according to a preset rule based on each target micro-service identifier in the service request;
acquiring one or more target data acquisition instructions for different micro services contained in a target aggregation interface corresponding to the target aggregation identifier from the storage device, wherein the storage device stores corresponding relations between different aggregation identifiers and different aggregation interfaces, the aggregation identifiers are generated according to the preset rule, and each aggregation interface contains one or more data acquisition instructions for different micro services;
sending each target data acquisition instruction to a service server so that the service server acquires target data from corresponding microservices respectively and returns the target data;
and aggregating the target data returned from the service server to obtain response data, and returning the response data to the service request party.
Optionally, the target aggregation identifier is a target uniform resource locator URL generated according to a preset rule; the target data acquisition instruction is a target graph QL query statement;
the storage device specifically stores: the corresponding relation between different URLs and different aggregation interfaces is formed, wherein the URLs are generated according to the preset rule, and each aggregation interface comprises one or more graph QL query statements aiming at different micro services;
the step of generating a target aggregation identifier according to a preset rule based on each target micro-service identifier in the service request comprises the following steps:
generating a target URL according to a preset rule based on each target micro-service identifier in the service request;
the step of obtaining, from the storage device, one or more target data acquisition instructions for different micro services included in a target aggregation interface corresponding to the target aggregation identifier includes:
obtaining one or more target graph QL query statements aiming at different micro services contained in a target aggregation interface from the storage device based on the target URL;
the step of sending the target data acquisition instruction to a service server so that the service server acquires target data from corresponding microservices respectively and returns the target data comprises the following steps:
and sending each target graph QL query statement to a business server so that the business server acquires target data from corresponding micro-services based on each target graph QL query statement and returns the target data.
Optionally, the method further comprises:
receiving a configuration instruction input by a user, wherein the configuration instruction comprises micro-service identifiers to be aggregated, generating a new aggregation identifier according to the preset rule based on the micro-service identifiers to be aggregated, associating the new aggregation identifier with a data acquisition instruction of each micro-service to be aggregated, obtaining a corresponding relation between the new aggregation identifier and a new aggregation interface, and sending the corresponding relation between the new aggregation identifier and the new aggregation interface to the storage device for storage, wherein the new aggregation interface comprises the data acquisition instruction of each micro-service to be aggregated.
Optionally, the target aggregation identifier is a target uniform resource locator URL generated according to a preset rule; the target data acquisition instruction is a target graph QL query statement;
the storage device specifically stores: the corresponding relation between different URLs and different aggregation interfaces is formed, wherein the URLs are generated according to the preset rule, and each aggregation interface comprises one or more graph QL query statements aiming at different micro services;
the step of generating a new aggregation identifier according to the preset rule based on each micro-service identifier to be aggregated, associating the new aggregation identifier with the data acquisition instruction of each micro-service to be aggregated, and obtaining the corresponding relationship between the new aggregation identifier and the new aggregation interface includes:
and generating a new URL for each micro service identifier to be aggregated according to the preset rule, and associating the new URL with the graph QL query statement of each micro service to be aggregated to obtain the corresponding relation between the new URL and a new aggregation interface, wherein the new aggregation interface comprises the graph QL query statement of each micro service to be aggregated.
Optionally, the step of generating a target aggregation identifier according to a preset rule based on each target micro-service identifier in the service request includes:
and obtaining a target custom text corresponding to each target micro-service identifier in the service request based on the relation between a preset custom text and one or more micro-service identifiers, and generating a target URL based on the target custom text.
In a third aspect of the present invention, there is provided an interface aggregation gateway device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing the steps of any one of the service request methods when the program stored in the memory is executed.
In yet another aspect of the present invention, there is further provided a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the steps of any one of the service request methods described above.
In yet another aspect of the present invention, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the steps of any of the above-described service request methods.
In the service system, the service request method, and the gateway device provided by the embodiments of the present invention, after receiving a service request sent by a service requester, an interface aggregation gateway generates a target aggregation identifier according to a preset rule, further queries a storage device to obtain one or more target data acquisition instructions for different micro services included in a target aggregation interface corresponding to the target aggregation identifier, acquires corresponding target data based on the target data acquisition instructions, and performs aggregate data processing on the target data to obtain response data, thereby implementing interface aggregation. The corresponding relations between different aggregation identifiers and different aggregation interfaces are stored in the storage device in advance, and then after a service request is received and a target aggregation identifier corresponding to the service request is generated, the target aggregation interface can be obtained by directly inquiring the corresponding relation in the storage device so as to obtain a target data obtaining instruction, so that target data can be further obtained.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
Fig. 1 is a schematic structural diagram of a business service system according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an architecture of an interface aggregation gateway according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an aggregate identifier generation interface according to an embodiment of the present disclosure;
fig. 4 is a flowchart illustrating a service request method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an interface aggregation gateway device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.
In order to solve the problem that after receiving business requirements, existing developers customize and develop aggregation interfaces at a server according to the business requirements, and aggregation interfaces required to be customized and developed may be similar for different business requirements, under the circumstance, the aggregation interfaces still need to be customized and developed again, so that the interface aggregation development efficiency is low, the embodiment of the invention provides a business service system, a business request method and gateway equipment. The business service system provided by the embodiment of the invention comprises: the interface aggregation gateway, the storage device and the service server;
the interface aggregation gateway is used for receiving a service request sent by a service requester, and generating a target aggregation identifier according to a preset rule based on each target micro-service identifier in the service request; obtaining one or more target data acquisition instructions aiming at different micro services contained in a target aggregation interface corresponding to the target aggregation identifier from the storage equipment; sending each target data acquisition instruction to the service server; aggregating target data returned from the service server to obtain response data, and returning the response data to the service request party;
the storage device is used for storing corresponding relations between different aggregation identifiers and different aggregation interfaces, wherein the aggregation identifiers are generated according to the preset rule, and each aggregation interface comprises one or more data acquisition instructions aiming at different micro services;
and the service server is used for respectively acquiring target data from corresponding micro-services based on the received target data acquisition instructions and returning the target data to the interface aggregation gateway.
In the service system provided by the embodiment of the present invention, after receiving a service request sent by a service requester, an interface aggregation gateway generates a target aggregation identifier according to a preset rule, further queries a storage device to obtain one or more target data acquisition instructions for different microservices included in a target aggregation interface corresponding to the target aggregation identifier, acquires corresponding target data based on the target data acquisition instructions, and performs aggregate data processing on the target data to obtain response data, thereby implementing interface aggregation. The corresponding relations between different aggregation identifiers and different aggregation interfaces are stored in the storage device in advance, and then after a service request is received and a target aggregation identifier corresponding to the service request is generated, the target aggregation interface can be obtained by directly inquiring the corresponding relation in the storage device so as to obtain a target data obtaining instruction, so that target data can be further obtained.
The following describes a service system provided by an embodiment of the present invention in detail:
in the embodiment of the invention, in order to realize interface aggregation, a business service system applied to a micro-service scene can be constructed first, and the business service system can be a system based on a GraphQL framework. Referring to fig. 1, the business service system 100 may include: interface aggregation gateway 110, storage device 120, service server 130, and service requester 140.
The interface aggregation gateway 110 is configured to receive a service request sent by the service requester 140, and generate a target aggregation identifier according to a preset rule based on each target micro-service identifier in the service request; obtaining one or more target data acquisition instructions for different micro services from the storage device 120, where the target aggregation interface corresponds to the target aggregation identifier; sending each target data acquisition instruction to the service server 130; the target data returned from the service server 130 is aggregated to obtain response data, and the response data is returned to the service requester 140.
The storage device 120 is configured to store corresponding relationships between different aggregation identifiers and different aggregation interfaces, where the aggregation identifiers are generated according to a preset rule, and each aggregation interface includes one or more data acquisition instructions for different micro services;
and the service server 130 is configured to obtain target data from corresponding microservices based on the received target data obtaining instructions, and return the target data to the interface aggregation gateway 110.
The embodiment of the invention can be applied to micro-service scenes, and one micro-service can be a service module. The service requester 140 may be any party such as a client or a third party device that needs to request service data. The storage device 120 may be a database, such as a MySQL database, and may also be a device capable of storing data, such as a data configuration center.
The interface aggregation gateway 110 receives a service request sent by the service requester 140, where the service request may include a target micro-service identifier, and the target micro-service identifier may be information such as a type and an identifier of a micro-service included in a service requested by the service requester 140. And the interface aggregation gateway 110 may generate a corresponding target aggregation identifier in a customized manner according to each target micro-service identifier in the service request.
The storage device 120 stores corresponding relationships between different aggregation identifiers and different aggregation interfaces, where each aggregation interface includes one or more data acquisition instructions for different micro services, so that after the interface aggregation gateway 110 generates a target aggregation identifier, the interface aggregation gateway may query the corresponding relationships between different aggregation identifiers and different aggregation interfaces in the storage device 120 to obtain one or more target data acquisition instructions for different micro services included in the target aggregation interface corresponding to the target aggregation identifier, and send each target data acquisition instruction to the service server 130, so as to acquire one or more target data for different micro services. The target data acquisition instruction may be used to instruct acquisition of target data corresponding to one or more different microservices.
Further, the service server 130 stores target data corresponding to different micro services, and may obtain the target data from the corresponding micro services after receiving each target data obtaining instruction, and return the obtained target data to the interface aggregation gateway 110. The interface aggregation gateway 110 receives the target data returned by the service server 130, performs data aggregation processing on each target data to obtain aggregated response data, and then feeds back the obtained response data to the service requester 140.
In this embodiment of the present invention, the target aggregation identifier generated by the interface aggregation gateway 110 may be used to represent an external application program interface identifier of the service system.
As an optional implementation manner of the embodiment of the present invention, the interface aggregation gateway 110 may feed back the target aggregation identifier and the response data to the service requester 140.
The interface aggregation gateway 110 feeds back the target aggregation identifier and the response data to the service requester 140, so as to feed back the application program interface identifier corresponding to the interface aggregation to the service requester 140 while feeding back the response data to the service requester 140.
In the service system provided by the embodiment of the present invention, after receiving a service request sent by a service requester, an interface aggregation gateway generates a target aggregation identifier according to a preset rule, further queries a storage device to obtain one or more target data acquisition instructions for different microservices included in a target aggregation interface corresponding to the target aggregation identifier, acquires corresponding target data based on the target data acquisition instructions, and performs aggregate data processing on the target data to obtain response data, thereby implementing interface aggregation. The corresponding relations between different aggregation identifiers and different aggregation interfaces are stored in the storage device in advance, and then after a service request is received and a target aggregation identifier corresponding to the service request is generated, the target aggregation interface can be obtained by directly inquiring the corresponding relation in the storage device so as to obtain a target data obtaining instruction, so that target data can be further obtained.
As a preferred implementation manner of the embodiment of the present invention, the target aggregation identifier may be a target URL (Uniform Resource Locator) generated according to a preset rule, and the target data obtaining instruction may be a target graph ql query statement.
Correspondingly, the storage device 120 may be specifically configured to store corresponding relationships between different URLs and different aggregation interfaces, where the URLs are generated according to a preset rule, and each aggregation interface includes one or more graph ql query statements for different micro services.
And the service server 130 may be specifically configured to obtain target data from corresponding microservices respectively based on the received target graph ql query statements, and return the target data to the interface aggregation gateway.
In the embodiment of the invention, the development framework based on the graph QL can generate the corresponding graph QL query statement aiming at different micro services in advance by programming.
For example, it can be programmed to generate respective graph ql query statements for the microservices a and B, which are respectively expressed as:
Figure BDA0003096850660000101
Figure BDA0003096850660000111
the username is used for identifying the username, the telephone is used for identifying the telephone communication mode, the email is used for identifying the email communication mode, the contino is used for identifying the user number, the authStart is used for identifying the start of authentication, and the authEnd is used for identifying the end of authentication.
Furthermore, the aggregation interfaces of the graph QL query statements containing the microservices A and B are associated with the URLs generated according to the preset rules, so that the corresponding relations between different URLs and different aggregation interfaces can be obtained.
Further, as shown in fig. 2, the interface aggregation gateway 110 in the embodiment of the present invention may include: a URL converter 101, a graph ql controller 102, a data aggregation unit 103, and a data response unit 104.
The URL converter 101 is configured to receive a service request sent by the service requester 140, and generate a target URL according to a preset rule based on each target micro-service identifier in the service request.
The graph ql controller 102 is configured to obtain, from the storage device 120, one or more target graph ql query statements for different micro services included in the target aggregation interface corresponding to the target URL, and send each target graph ql query statement to the business server 130.
The data aggregation unit 103 is configured to aggregate the target data returned from the service server 130 to obtain response data.
And a data response unit 104, configured to return response data to the service requester 140.
The URL converter 101 may generate a target URL in a customized manner based on each target micro-service identifier in the received service request. The graph ql controller 102 may query, from the storage device 120, the correspondence between different URLs and different aggregation interfaces according to the target URL, obtain one or more target graph ql query statements for different micro services included in the target aggregation interface corresponding to the target URL, and send the obtained target graph ql query statements to the business server 130, so that the business server 130 returns target data corresponding to the target graph ql query statements. The data aggregation unit 103 further aggregates the target data returned from the service server 130 to obtain response data, and the data response unit 104 returns the response data to the service requester 140.
In this embodiment of the present invention, the target URL generated by the interface aggregation gateway 110 may be used to represent an external application program interface identifier of the business service system.
For example, the graph ql controller 102 obtains, from the storage device 120, one or more target graph ql query statements for different microservices, which are included in the target aggregation interface corresponding to the target URL, and may be represented as:
Figure BDA0003096850660000121
the target data corresponding to the target graph ql query statement returned by the service server 130 can be represented as:
Figure BDA0003096850660000122
in the service system provided by the embodiment of the present invention, after receiving a service request sent by a service requester, an interface aggregation gateway generates a target URL in a user-defined manner, and then queries a storage device to obtain one or more target graph ql query statements for different microservices included in a target aggregation interface corresponding to the target URL, obtains corresponding target data based on the target graph ql query statements, performs aggregation data processing on the target data to obtain response data, and implements interface aggregation. The corresponding relations between different aggregation identifiers and different aggregation interfaces are stored in the storage device in advance, and then after a service request is received and a target aggregation identifier corresponding to the service request is generated, the target aggregation interface can be obtained by directly inquiring the corresponding relation in the storage device so as to obtain a target data obtaining instruction, so that target data can be further obtained.
As a preferred implementation manner of the embodiment of the present invention, the interface aggregation gateway 110 may further be configured to:
receiving a configuration instruction input by a user, wherein the configuration instruction comprises each micro-service identifier to be aggregated, generating a new aggregation identifier according to a preset rule based on each micro-service identifier to be aggregated, associating the new aggregation identifier with a data acquisition instruction of each micro-service to be aggregated to obtain a corresponding relation between the new aggregation identifier and a new aggregation interface, and sending the corresponding relation between the new aggregation identifier and the new aggregation interface to a storage device for storage, wherein the new aggregation interface comprises the data acquisition instruction of each micro-service to be aggregated.
The interface aggregation gateway 110 may further receive a configuration instruction including each microservice identifier to be aggregated, which is input by a user, to further generate a new aggregation identifier by customization of each microservice identifier to be aggregated, associate the new aggregation identifier with the data acquisition instruction of each microservice to be aggregated, obtain a corresponding relationship between the new aggregation identifier and a new aggregation interface including the data acquisition instruction of each microservice to be aggregated, and send the corresponding relationship between the new aggregation identifier and the new aggregation interface to the storage device 120 for storage.
Optionally, the target aggregation identifier may be a target uniform resource locator URL generated according to a preset rule, and the target data obtaining instruction may be a target graph ql query statement.
Correspondingly, the storage device 120 may be specifically configured to store corresponding relationships between different URLs and different aggregation interfaces, where the URLs are generated according to preset rules, and each aggregation interface includes one or more graph ql query statements for different microservices.
And the service server 130 may be specifically configured to obtain target data from corresponding microservices based on the received target graph ql query statements, and return the target data to the interface aggregation gateway.
Further, as shown in fig. 2, in the embodiment of the present invention, the interface aggregation gateway 110 may further include, in addition to the URL converter 101, the graph ql controller 102, the data aggregation unit 103, and the data response unit 104, the following: the interface 105 is configured.
The configuration interface 105 is configured to receive each micro service identifier to be aggregated input by a user, generate a new URL for each micro service identifier to be aggregated according to a preset rule, associate the new URL with each graph ql query statement of each micro service to be aggregated, obtain a corresponding relationship between the new URL and the new aggregation interface, and send the corresponding relationship between the new URL and the new aggregation interface to the storage device for storage, where the new aggregation interface includes the graph ql query statement of each micro service to be aggregated.
In the embodiment of the present invention, when accessing a new micro service, the interface aggregation gateway may generate a new aggregation identifier by self-defining the new micro service identifier, associate the new aggregation identifier with the data acquisition instruction of the new micro service to obtain a corresponding relationship between the new aggregation identifier and the new aggregation interface, and update the corresponding relationship stored in the storage device 120, so that when a new micro service is accessed, only the new aggregation identifier needs to be generated, and the corresponding relationship between the new aggregation identifier stored in the storage device 120 and the new aggregation interface needs to be updated, and it is not necessary to re-customize and develop interface aggregation, thereby improving extensibility and availability of interface aggregation, and improving development efficiency of interface aggregation.
As a preferred implementation manner of the embodiment of the present invention, the URL converter 101 of the interface aggregation gateway 110 may be specifically configured to obtain a target custom text corresponding to each target micro-service identifier in the service request based on a relationship between a preset custom text and one or more micro-service identifiers, and generate a target URL based on the target custom text.
In the embodiment of the present invention, a custom text may be set for one or more micro service identifiers in advance, and the relationship between the preset custom text and one or more micro service identifiers is stored, so that after receiving a service request sent by the service requester 140, the relationship between the preset custom text and one or more micro service identifiers is queried to obtain a target custom text corresponding to each target micro service identifier in the service request, and further, a target URL is generated according to the target custom text.
Specifically, the obtained target custom text may be combined with a preset interface identifier to generate a target URL.
Illustratively, the micro service identifier is basic information and operation information, the corresponding custom text is getUserBasicinfo, the preset interface identifier is/api/graphql/, and correspondingly, the target URL corresponding to the target micro service identifier generated according to the preset rule may be represented as: /api/graphql/getUserBasicinfo. The generated target URL request may not have an identifying meaning for the particular service, i.e., the target URL may not directly contain or be able to directly identify relevant information for the requested service.
As shown in fig. 3, in the embodiment of the present invention, taking an aggregation interface of "user information query — public service interface" as an example, an aggregation identifier generation interface may be designed to implement the function of the URL converter 101. In fig. 3, "basic information", "operation information", "self-media information", and "contract information" respectively represent different micro-service identifiers, after receiving a selection instruction of the "basic information" and the "operation information" from the user of the service requester 140, the selected micro-service identifiers "basic information" and "operation information" are dragged to the URL converter 101, and further after receiving a click instruction of the generation button from the user of the service requester 140, the URL converter 101 generates a corresponding target URL request, where the URL converter 101 may integrate the relationship between different custom texts and one or more micro-service identifiers in advance.
In the embodiment of the invention, the user-defined text is set for one or more micro-service identifiers in advance, and then after the interface aggregation gateway 110 receives the service request, the target user-defined text corresponding to each target micro-service identifier in the service request can be obtained based on the relation between the preset user-defined text and the one or more micro-service identifiers, and the target URL is generated based on the target user-defined text without further analyzing the service request, so that the expandability and the availability of the interface aggregation are enhanced, and the development efficiency of the interface aggregation is improved.
Corresponding to the above system embodiment, an embodiment of the present invention further provides a service request method, which is applied to an interface aggregation gateway in a service system shown in fig. 1, and as shown in fig. 4, the service request method provided in the embodiment of the present invention may include the following steps:
s201, receiving a service request sent by a service request party, wherein the service request comprises a target micro-service identifier.
S202, based on each target micro-service identifier in the service request, generating a target aggregation identifier according to a preset rule.
And S203, acquiring one or more target data acquisition instructions aiming at different micro services from a storage device, wherein the target data acquisition instructions are contained in a target aggregation interface corresponding to a target aggregation identifier, and the storage device stores the corresponding relation between the different aggregation identifiers and the different aggregation interfaces, wherein the aggregation identifier is generated according to a preset rule, and each aggregation interface contains one or more data acquisition instructions aiming at the different micro services.
And S204, sending each target data acquisition instruction to the service server so that the service server acquires the target data from the corresponding micro-service respectively and returns the target data.
And S205, aggregating the target data returned from the service server to obtain response data, and returning the response data to the service request party.
For a specific implementation process of the related embodiment of the service request method, reference may be made to the detailed description of the above system embodiment, and details of the embodiment of the present invention are not described herein again.
In the service request method provided by the embodiment of the present invention, after receiving a service request sent by a service requester, an interface aggregation gateway generates a target aggregation identifier according to a preset rule, further queries a storage device to obtain one or more target data acquisition instructions for different microservices included in a target aggregation interface corresponding to the target aggregation identifier, acquires corresponding target data based on the target data acquisition instructions, and performs aggregated data processing on the target data to obtain response data, thereby implementing interface aggregation. The corresponding relations between different aggregation identifiers and different aggregation interfaces are stored in the storage device in advance, and then after a service request is received and a target aggregation identifier corresponding to the service request is generated, the target aggregation interface can be obtained by directly inquiring the corresponding relation in the storage device so as to obtain a target data obtaining instruction, so that target data can be further obtained.
As an optional implementation manner of the embodiment of the present invention, the target aggregation identifier may be a target uniform resource locator URL generated according to a preset rule; the target data acquiring instruction may be a target graphQL query statement.
Correspondingly, the storage device specifically stores: and the corresponding relations between different URLs and different aggregation interfaces, wherein the URLs are generated according to preset rules, and each aggregation interface comprises one or more graph QL query statements aiming at different micro services.
The aforementioned step S202, based on each target micro service identifier in the service request, may be implemented by generating a target aggregation identifier according to a preset rule, and includes:
and generating a target URL according to a preset rule based on each target micro-service identifier in the service request.
The step S203 of obtaining, from the storage device, one or more target data obtaining instructions for different micro services included in the target aggregation interface corresponding to the target aggregation identifier may include:
and obtaining one or more target graph QL query statements aiming at different micro services contained in the target aggregation interface from the storage device based on the target URL.
The step S204 of sending the target data obtaining instruction to the service server, so that the service server obtains the target data from the corresponding microservices, and returns the target data to the service server, may include:
and sending each target graph QL query statement to the business server so that the business server acquires target data from the corresponding micro-service based on each target graph QL query statement and returns the target data.
As an optional implementation manner of the embodiment of the present invention, the method may further include:
receiving a configuration instruction input by a user, wherein the configuration instruction comprises each micro-service identification to be aggregated, generating a new aggregation identification based on each micro-service identification to be aggregated according to a preset rule, associating the new aggregation identification with a data acquisition instruction of each micro-service to be aggregated to obtain a corresponding relation between the new aggregation identification and a new aggregation interface, and sending the corresponding relation between the new aggregation identification and the new aggregation interface to a storage device for storage, wherein the new aggregation interface comprises the data acquisition instruction of each micro-service to be aggregated.
As an optional implementation manner of the embodiment of the present invention, the target aggregation identifier may be a target uniform resource locator URL generated according to a preset rule; the target data acquiring instruction may be a target graphQL query statement.
Correspondingly, the storage device specifically stores: and the corresponding relations between different URLs and different aggregation interfaces, wherein the URLs are generated according to preset rules, and each aggregation interface comprises one or more graph QL query statements aiming at different micro services.
The above-mentioned embodiment, in which a new aggregation identifier is generated according to a preset rule based on each microservice identifier to be aggregated, and the new aggregation identifier is associated with the data acquisition instruction of each microservice to be aggregated, so as to obtain a corresponding relationship between the new aggregation identifier and the new aggregation interface, may include:
and generating a new URL for each micro-service identifier to be aggregated according to a preset rule, associating the new URL with the graph QL query statement of each micro-service to be aggregated to obtain the corresponding relation between the new URL and the new aggregation interface, wherein the new aggregation interface comprises the graph QL query statement of each micro-service to be aggregated.
As an optional implementation manner of the embodiment of the present invention, the implementation manner of generating the target aggregation identifier according to the preset rule based on each target micro-service identifier in the service request in step S202 may include:
and obtaining a target custom text corresponding to each target micro-service identifier in the service request based on the relation between the preset custom text and one or more micro-service identifiers, and generating a target URL based on the target custom text.
The embodiment of the present invention further provides an interface aggregation gateway device, as shown in fig. 5, which includes a processor 301, a communication interface 302, a memory 303, and a communication bus 304, where the processor 301, the communication interface 302, and the memory 303 complete mutual communication through the communication bus 304,
a memory 303 for storing a computer program;
the processor 301, when executing the program stored in the memory 303, implements the following steps:
receiving a service request sent by a service request party, wherein the service request comprises a target micro-service identifier;
generating a target aggregation identifier according to a preset rule based on each target micro-service identifier in the service request;
acquiring one or more target data acquisition instructions aiming at different micro services contained in a target aggregation interface corresponding to a target aggregation identifier from a storage device, wherein the storage device stores corresponding relations between the different aggregation identifiers and the different aggregation interfaces, the aggregation identifiers are generated according to preset rules, and each aggregation interface contains one or more data acquisition instructions aiming at the different micro services;
sending each target data acquisition instruction to a service server so that the service server acquires target data from corresponding microservices respectively and returns the target data;
and aggregating the target data returned from the service server to obtain response data, and returning the response data to the service requester.
According to the interface aggregation gateway device provided by the embodiment of the invention, after a service request sent by a service requester is received, a target aggregation identifier is generated according to a preset rule, and then a storage device is queried to obtain one or more target data obtaining instructions aiming at different micro services contained in a target aggregation interface corresponding to the target aggregation identifier, corresponding target data is obtained based on the target data obtaining instructions, aggregate data processing is carried out on the target data to obtain response data, and interface aggregation is realized. The corresponding relations between different aggregation identifiers and different aggregation interfaces are stored in the storage device in advance, and then after a service request is received and a target aggregation identifier corresponding to the service request is generated, the target aggregation interface can be obtained by directly inquiring the corresponding relation in the storage device so as to obtain a target data obtaining instruction, so that target data can be further obtained.
The communication bus mentioned in the electronic device may be a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the terminal and other equipment.
The Memory may include a RAM (Random Access Memory) or an NVM (Non-Volatile Memory), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also a DSP (Digital Signal Processing), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
In another embodiment of the present invention, a computer-readable storage medium is further provided, in which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the interface aggregation method described in any of the above embodiments to achieve the same technical effect.
In a further embodiment provided by the present invention, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the steps of the interface aggregation method described in any of the above embodiments to achieve the same technical effects.
In the above embodiments, all or part of the implementation may be realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber, DSL (Digital Subscriber Line)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more available media. The usable medium may be a magnetic medium (e.g., a floppy Disk, a hard Disk, a magnetic tape), an optical medium (e.g., a DVD (Digital Versatile Disk)), or a semiconductor medium (e.g., an SSD (Solid State Disk)), etc.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for system/method/apparatus embodiments, because they are substantially similar to method embodiments, the description is relatively simple, and reference may be made to some descriptions of method embodiments for related points.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (12)

1. A business service system, characterized in that the business service system comprises: the interface aggregation gateway, the storage device and the service server;
the interface aggregation gateway is used for receiving a service request sent by a service requester, and generating a target aggregation identifier according to a preset rule based on each target micro-service identifier in the service request; obtaining one or more target data acquisition instructions aiming at different micro services contained in a target aggregation interface corresponding to the target aggregation identifier from the storage equipment; sending each target data acquisition instruction to the service server; aggregating target data returned from the service server to obtain response data, and returning the response data to the service request party; the target aggregation identifier is a target Uniform Resource Locator (URL) generated according to a preset rule; the target data acquisition instruction is a target graph QL query statement;
the storage device is used for storing corresponding relations between different aggregation identifiers and different aggregation interfaces, wherein the aggregation identifiers are generated according to the preset rule, and each aggregation interface comprises one or more data acquisition instructions aiming at different micro services;
and the service server is used for respectively acquiring target data from corresponding micro-services based on the received target data acquisition instructions and returning the target data to the interface aggregation gateway.
2. The system according to claim 1, wherein the storage device is specifically configured to store correspondence between different URLs and different aggregation interfaces, where the URLs are generated according to the preset rule, and each aggregation interface includes one or more graph ql query statements for different microservices;
the service server is specifically configured to obtain target data from corresponding microservices respectively based on the received target graph ql query statements, and return the target data to the interface aggregation gateway;
the interface aggregation gateway comprises: the system comprises a URL converter, a graph QL controller, a data aggregation unit and a data response unit;
the URL converter is used for receiving a service request sent by a service requester and generating a target URL according to a preset rule based on each target micro-service identifier in the service request;
the graph ql controller is configured to obtain, from the storage device, one or more target graph ql query statements for different micro services included in a target aggregation interface corresponding to the target URL, and send each target graph ql query statement to the service server;
the data aggregation unit is used for aggregating the target data returned from the service server to obtain response data;
and the data response unit is used for returning the response data to the service requester.
3. The system of claim 1, wherein the interface aggregation gateway is further configured to:
receiving a configuration instruction input by a user, wherein the configuration instruction comprises micro-service identifiers to be aggregated, generating a new aggregation identifier according to the preset rule based on the micro-service identifiers to be aggregated, associating the new aggregation identifier with a data acquisition instruction of each micro-service to be aggregated, obtaining a corresponding relation between the new aggregation identifier and a new aggregation interface, and sending the corresponding relation between the new aggregation identifier and the new aggregation interface to the storage device for storage, wherein the new aggregation interface comprises the data acquisition instruction of each micro-service to be aggregated.
4. The system according to claim 3, wherein the target aggregation identifier is a target Uniform Resource Locator (URL) generated according to a preset rule; the target data acquisition instruction is a target graph QL query statement;
the storage device is specifically configured to store corresponding relationships between different URLs and different aggregation interfaces, where the URLs are generated according to the preset rule, and each aggregation interface includes one or more graph ql query statements for different microservices;
the service server is specifically configured to obtain target data from corresponding microservices respectively based on each received target graph ql query statement, and return the target data to the interface aggregation gateway;
the interface aggregation gateway comprises: the system comprises a URL converter, a graph QL controller, a data aggregation unit, a data response unit and a configuration interface;
the URL converter is used for receiving a service request sent by a service requester, and generating a target URL according to a preset rule based on each target micro-service identifier in the service request;
the graph ql controller is configured to obtain, from the storage device, one or more target graph ql query statements for different micro services included in a target aggregation interface corresponding to the target URL, and send each target graph ql query statement to the service server;
the data aggregation unit is used for aggregating the target data returned from the service server to obtain response data;
the data response unit is used for returning the response data to the service request party
The configuration interface is configured to receive each micro service identifier to be aggregated input by a user, generate a new URL for each micro service identifier to be aggregated according to the preset rule, associate the new URL with a graph ql query statement of each micro service to be aggregated, obtain a correspondence between the new URL and a new aggregation interface, and send the correspondence between the new URL and the new aggregation interface to the storage device for storage, where the new aggregation interface includes the graph ql query statement of each micro service to be aggregated.
5. The system of claim 2 or 4,
the URL converter is specifically configured to obtain a target custom text corresponding to each target microservice identifier in the service request based on a relationship between a preset custom text and one or more microservice identifiers, and generate a target URL based on the target custom text.
6. A service request method applied to an interface aggregation gateway in a service system according to any one of claims 1 to 5, the method comprising:
receiving a service request sent by a service request party, wherein the service request comprises a target micro-service identifier;
generating a target aggregation identifier according to a preset rule based on each target micro-service identifier in the service request, wherein the target aggregation identifier is a target Uniform Resource Locator (URL) generated according to the preset rule;
acquiring one or more target data acquisition instructions aiming at different micro services contained in a target aggregation interface corresponding to the target aggregation identifier from the storage device, wherein the target data acquisition instructions are target graph QL query statements; the storage device stores corresponding relations between different aggregation identifiers and different aggregation interfaces, wherein the aggregation identifiers are generated according to the preset rule, and each aggregation interface comprises one or more data acquisition instructions for different micro services;
sending each target data acquisition instruction to a service server so that the service server acquires target data from corresponding microservices respectively and returns the target data;
and aggregating the target data returned from the service server to obtain response data, and returning the response data to the service request party.
7. The method according to claim 6, wherein the storage device stores in particular: the corresponding relation between different URLs and different aggregation interfaces is formed, wherein the URLs are generated according to the preset rule, and each aggregation interface comprises one or more graph QL query statements aiming at different micro services;
the step of generating a target aggregation identifier according to a preset rule based on each target micro-service identifier in the service request comprises the following steps:
generating a target URL according to a preset rule based on each target micro-service identifier in the service request;
the step of obtaining, from the storage device, one or more target data acquisition instructions for different micro services included in a target aggregation interface corresponding to the target aggregation identifier includes:
obtaining one or more target graph QL query statements aiming at different micro services contained in a target aggregation interface from the storage device based on the target URL;
the step of sending the target data acquisition instruction to a service server so that the service server acquires target data from corresponding microservices respectively and returns the target data comprises the following steps:
and sending each target graph QL query statement to a business server so that the business server acquires target data from corresponding micro-services based on each target graph QL query statement and returns the target data.
8. The method of claim 6, further comprising:
receiving a configuration instruction input by a user, wherein the configuration instruction comprises micro-service identifiers to be aggregated, generating a new aggregation identifier according to the preset rule based on the micro-service identifiers to be aggregated, associating the new aggregation identifier with a data acquisition instruction of each micro-service to be aggregated, obtaining a corresponding relation between the new aggregation identifier and a new aggregation interface, and sending the corresponding relation between the new aggregation identifier and the new aggregation interface to the storage device for storage, wherein the new aggregation interface comprises the data acquisition instruction of each micro-service to be aggregated.
9. The method according to claim 8, wherein the target aggregation identifier is a target Uniform Resource Locator (URL) generated according to a preset rule; the target data acquisition instruction is a target graph QL query statement;
the storage device specifically stores: the corresponding relation between different URLs and different aggregation interfaces is formed, wherein the URLs are generated according to the preset rule, and each aggregation interface comprises one or more graph QL query statements aiming at different micro services;
the step of generating a new aggregation identifier according to the preset rule based on each micro-service identifier to be aggregated, associating the new aggregation identifier with the data acquisition instruction of each micro-service to be aggregated, and obtaining the corresponding relationship between the new aggregation identifier and the new aggregation interface includes:
and generating a new URL for each micro service identifier to be aggregated according to the preset rule, and associating the new URL with the graph QL query statement of each micro service to be aggregated to obtain the corresponding relation between the new URL and a new aggregation interface, wherein the new aggregation interface comprises the graph QL query statement of each micro service to be aggregated.
10. The method according to claim 7 or 9, wherein the step of generating a target aggregation identifier according to a preset rule based on each target micro-service identifier in the service request comprises:
and obtaining a target custom text corresponding to each target micro-service identifier in the service request based on the relation between a preset custom text and one or more micro-service identifiers, and generating a target URL based on the target custom text.
11. The interface aggregation gateway equipment is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are used for completing mutual communication through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any one of claims 6 to 10 when executing a program stored in the memory.
12. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of the claims 6-10.
CN202110614550.2A 2021-06-02 2021-06-02 Business service system, business request method and gateway equipment Active CN113364853B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110614550.2A CN113364853B (en) 2021-06-02 2021-06-02 Business service system, business request method and gateway equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110614550.2A CN113364853B (en) 2021-06-02 2021-06-02 Business service system, business request method and gateway equipment

Publications (2)

Publication Number Publication Date
CN113364853A CN113364853A (en) 2021-09-07
CN113364853B true CN113364853B (en) 2022-10-25

Family

ID=77531315

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110614550.2A Active CN113364853B (en) 2021-06-02 2021-06-02 Business service system, business request method and gateway equipment

Country Status (1)

Country Link
CN (1) CN113364853B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113783963A (en) * 2021-09-16 2021-12-10 阿里巴巴达摩院(杭州)科技有限公司 Data transmission method, server node, gateway device and network system
CN114125818B (en) * 2021-11-23 2023-08-22 北京字节跳动网络技术有限公司 Service parameter transmission method, device, system, electronic equipment and storage medium
CN114374727B (en) * 2022-01-13 2024-04-02 平安付科技服务有限公司 Data calling method and device based on artificial intelligence, electronic equipment and medium
CN114357003A (en) * 2022-03-03 2022-04-15 深圳希施玛数据科技有限公司 Financial and financial data processing method and system
CN116048928B (en) * 2023-03-27 2023-06-20 新华三技术有限公司 Service monitoring method and device, electronic equipment and storage medium
CN116109112B (en) * 2023-04-12 2023-06-27 徐工汉云技术股份有限公司 Service data processing method, device, medium and equipment based on aggregation interface

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110008045A (en) * 2019-04-12 2019-07-12 深圳乐信软件技术有限公司 Polymerization, device, equipment and the storage medium of micro services
CN110557284A (en) * 2019-08-30 2019-12-10 贝壳技术有限公司 data aggregation method and device based on client gateway
CN111314459A (en) * 2020-02-13 2020-06-19 北京奇艺世纪科技有限公司 Service request method, device, electronic equipment and storage medium
CN111638972A (en) * 2020-05-07 2020-09-08 北京仁科互动网络技术有限公司 Request response method, system, equipment and storage medium based on micro-service
CN112256252A (en) * 2019-07-22 2021-01-22 腾讯科技(深圳)有限公司 Interface generation method and device, storage medium and electronic equipment
CN112528202A (en) * 2020-12-17 2021-03-19 湖南快乐阳光互动娱乐传媒有限公司 Service request processing method and device
CN112685193A (en) * 2020-12-18 2021-04-20 易久批信息技术有限公司 Micro-service gateway interface exposure and aggregation method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10489275B2 (en) * 2016-10-20 2019-11-26 Cisco Technology, Inc. Agentless distributed monitoring of microservices through a virtual switch

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110008045A (en) * 2019-04-12 2019-07-12 深圳乐信软件技术有限公司 Polymerization, device, equipment and the storage medium of micro services
CN112256252A (en) * 2019-07-22 2021-01-22 腾讯科技(深圳)有限公司 Interface generation method and device, storage medium and electronic equipment
CN110557284A (en) * 2019-08-30 2019-12-10 贝壳技术有限公司 data aggregation method and device based on client gateway
CN111314459A (en) * 2020-02-13 2020-06-19 北京奇艺世纪科技有限公司 Service request method, device, electronic equipment and storage medium
CN111638972A (en) * 2020-05-07 2020-09-08 北京仁科互动网络技术有限公司 Request response method, system, equipment and storage medium based on micro-service
CN112528202A (en) * 2020-12-17 2021-03-19 湖南快乐阳光互动娱乐传媒有限公司 Service request processing method and device
CN112685193A (en) * 2020-12-18 2021-04-20 易久批信息技术有限公司 Micro-service gateway interface exposure and aggregation method

Also Published As

Publication number Publication date
CN113364853A (en) 2021-09-07

Similar Documents

Publication Publication Date Title
CN113364853B (en) Business service system, business request method and gateway equipment
CN109325729B (en) Method and server for generating electronic contract
KR102019336B1 (en) Matching users in a location-based service
CN112868004B (en) Resource recommendation method and device, electronic equipment and storage medium
TWI479331B (en) Aggregating and searching profile data from multiple services
US10701155B2 (en) Method and system for status management communication
KR20120036831A (en) Integrating updates into a social-networking service
US20150264095A1 (en) Web service push method and web service push server and web service providing server performing same
CN111581502A (en) Information notification method and device
CN109753424B (en) AB test method and device
CN114338793A (en) Message pushing method and device, electronic equipment and readable storage medium
US9755844B2 (en) Techniques to transform network resource requests to zero rated network requests
CN111797334B (en) Website access method and device, electronic equipment and storage medium
US11521250B2 (en) Method and apparatus for providing digital product using user account synchronization
CN113946739A (en) Sensitive data query method, device, equipment and storage medium
CN102707967A (en) Method, equipment and system for running third-party application program
CN107544971B (en) Method and system for intelligently inquiring business data
CN113961600A (en) Data query method and device, computer equipment and storage medium
CN112835573A (en) Data query method and device, electronic equipment and storage medium
CN107222559B (en) Information calling method
CN111061543A (en) Multi-tenant workflow engine service method, device and server
KR101250213B1 (en) Method and content service server for providing content request service
CN109889590B (en) Message processing method, device, client and computer readable medium
CN111698324B (en) Data request method, device and system
CN112016081B (en) Method, device, medium and electronic equipment for realizing identifier mapping

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant