CN112804303B - Service providing method, device, system, transit platform and storage medium - Google Patents
Service providing method, device, system, transit platform and storage medium Download PDFInfo
- Publication number
- CN112804303B CN112804303B CN202011626183.XA CN202011626183A CN112804303B CN 112804303 B CN112804303 B CN 112804303B CN 202011626183 A CN202011626183 A CN 202011626183A CN 112804303 B CN112804303 B CN 112804303B
- Authority
- CN
- China
- Prior art keywords
- service
- service provider
- call request
- interface information
- transfer platform
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 90
- 238000012546 transfer Methods 0.000 claims abstract description 144
- 230000004044 response Effects 0.000 claims description 15
- 238000004590 computer program Methods 0.000 claims description 11
- 238000012423 maintenance Methods 0.000 abstract description 15
- 238000004806 packaging method and process Methods 0.000 abstract description 8
- 230000003993 interaction Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000003491 array Methods 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000008447 perception Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000004366 reverse phase liquid chromatography Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/51—Discovery or management thereof, e.g. service location protocol [SLP] or web services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling 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)
- Telephonic Communication Services (AREA)
Abstract
The invention provides a service providing method, a device, a system, a transfer platform and a storage medium, wherein the method applied to the transfer platform corresponding to a service calling party comprises the following steps: acquiring configuration information, wherein the configuration information comprises interface information of a service provider; the interface information is published to a registration server, so that a service calling party obtains the interface information of a service provider from the registration server; receiving a call request of a service calling party, wherein the call request comprises interface information; and sending the call request to a transfer platform corresponding to the service provider, so that the service provider executes the service corresponding to the interface information according to the call request. Therefore, the service calling party can realize the calling of the service without packaging a corresponding HTTP interface, the workload of the service calling party can be reduced, and the maintenance cost of the system is reduced.
Description
Technical Field
The present invention relates to the field of communications, and in particular, to a service providing method, device, system, relay platform, and storage medium.
Background
Currently, in a service system, a service provider and a service caller perform information interaction through an HTTP (Hypertext Transfer Protocol ) interface. Specifically, the service provider needs to expose a corresponding HTTP interface, and the service caller needs to encapsulate the corresponding HTTP interface to directly communicate through the HTTP interface. However, in the above communication manner, the service caller needs to encapsulate the corresponding HTTP interface, which not only increases the workload, but also increases the maintenance cost of the system.
Disclosure of Invention
The present invention aims to solve at least one of the technical problems in the related art to some extent.
The invention provides a service providing method, a device, a system, a transfer platform and a storage medium, so that a service calling party can call services without packaging a corresponding HTTP interface, the workload of the service calling party can be reduced, and the maintenance cost of the system is reduced.
An embodiment of a first aspect of the present invention provides a service providing method, applied to a transfer platform corresponding to a service caller, including:
acquiring configuration information, wherein the configuration information comprises interface information of a service provider;
The interface information is published to a registration server, so that the service calling party obtains the interface information of the service provider from the registration server;
receiving a call request of the service calling party, wherein the call request comprises the interface information;
and sending the call request to a transfer platform corresponding to the service provider, so that the service provider executes the service corresponding to the interface information according to the call request.
The service providing method of the embodiment of the invention obtains the configuration information through the transfer platform corresponding to the service calling party, wherein the configuration information comprises the interface information of the service provider, and the interface information is released to the registration server, so that the service calling party obtains the interface information of the service provider from the registration server, and then, a call request of the service calling party is received, wherein the call request comprises the interface information, and the call request is sent to the transfer platform corresponding to the service provider, so that the service provider executes the service corresponding to the interface information according to the call request. Therefore, the service calling party does not need to encapsulate a corresponding HTTP interface, only needs to acquire interface information of the service provider from the registration server, generates and transmits a call request according to the interface information, and the transfer platform corresponding to the service calling party transmits the call request to the service provider through the transfer platform corresponding to the service provider, so that the service provider can execute the service corresponding to the interface information according to the call request, call of the corresponding service is completed, the workload of the service calling party can be reduced, and the maintenance cost of the system is reduced.
An embodiment of a second aspect of the present invention provides another service providing method, applied to a transit platform corresponding to a service provider, including:
receiving a call request sent by a transfer platform corresponding to the service calling party; wherein the call request includes interface information of a service provider;
and sending the call request to a service provider to execute the service corresponding to the interface information.
According to the service providing method, the transfer platform corresponding to the service provider receives the call request sent by the transfer platform corresponding to the service caller; wherein the call request includes interface information of the service provider; and sending a call request to a service provider to execute the service corresponding to the interface information. Therefore, the service calling party can realize the calling of the service without packaging a corresponding HTTP interface, the workload of the service calling party can be reduced, and the maintenance cost of the system is reduced.
An embodiment of a third aspect of the present invention provides a service providing apparatus, applied to a transit platform corresponding to a service caller, including:
the system comprises an acquisition module, a configuration module and a service provider, wherein the acquisition module is used for acquiring configuration information, and the configuration information comprises interface information of the service provider;
The issuing module is used for issuing the interface information to a registration server so that the service calling party obtains the interface information of the service provider from the registration server;
the receiving module is used for receiving a call request of the service calling party, wherein the call request comprises the interface information;
and the sending module is used for sending the calling request to a transfer platform corresponding to the service provider so that the service provider executes the service corresponding to the interface information according to the calling request.
The service providing device of the embodiment of the invention obtains the configuration information through the transfer platform corresponding to the service calling party, wherein the configuration information comprises the interface information of the service provider and the interface information is published to the registration server, so that the service calling party obtains the interface information of the service provider from the registration server, and then receives the calling request of the service calling party, wherein the calling request comprises the interface information and sends the calling request to the transfer platform corresponding to the service provider, so that the service provider executes the service corresponding to the interface information according to the calling request. Therefore, the service calling party does not need to encapsulate a corresponding HTTP interface, only needs to acquire interface information of the service provider from the registration server, generates and transmits a call request according to the interface information, and the transfer platform corresponding to the service calling party transmits the call request to the service provider through the transfer platform corresponding to the service provider, so that the service provider can execute the service corresponding to the interface information according to the call request, call of the corresponding service is completed, the workload of the service calling party can be reduced, and the maintenance cost of the system is reduced.
An embodiment of a fourth aspect of the present invention provides another service providing apparatus, applied to a transit platform corresponding to a service provider, including:
the receiving module is used for receiving a call request sent by a transfer platform corresponding to the service calling party; wherein the call request includes interface information of a service provider;
and the sending module is used for sending the calling request to a service provider so as to execute the service corresponding to the interface information.
According to the service providing device, a transfer platform corresponding to a service provider receives a call request sent by a transfer platform corresponding to a service calling party; wherein the call request includes interface information of the service provider; and sending a call request to a service provider to execute the service corresponding to the interface information. Therefore, the service calling party can realize the calling of the service without packaging a corresponding HTTP interface, the workload of the service calling party can be reduced, and the maintenance cost of the system is reduced.
An embodiment of a fifth aspect of the present invention provides a transfer platform corresponding to a service caller, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing a service providing method as proposed by an embodiment of the first aspect of the invention when executing the program.
An embodiment of a sixth aspect of the present invention provides a relay platform corresponding to a service provider, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing a service providing method as proposed by an embodiment of the second aspect of the invention when executing the program.
An embodiment of a seventh aspect of the present invention proposes a service providing system, including: the system comprises a service calling party, a transfer platform corresponding to the service calling party, a service provider and a transfer platform corresponding to the service provider;
the transfer platform corresponding to the service calling party is used for executing the service providing method provided by the embodiment of the first aspect of the invention;
the service calling party is communicated with the transfer platform corresponding to the service calling party and is used for sending a calling request carrying interface information;
the transfer platform corresponding to the service provider is used for executing the service providing method provided by the embodiment of the second aspect of the invention;
and the service provider is communicated with the transfer platform corresponding to the service provider and is used for receiving the call request and executing the service corresponding to the interface information according to the call request.
An eighth aspect of the present invention proposes a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a service providing method as proposed by an embodiment of the first aspect of the present invention, or implements a service providing method as proposed by an embodiment of the second aspect of the present invention.
An embodiment of a ninth aspect of the present invention proposes a computer program product which, when executed by a processor, performs a service providing method as proposed by an embodiment of the first aspect of the present invention, or implements a service providing method as proposed by an embodiment of the second aspect of the present invention.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings, in which:
fig. 1 is a flowchart of a service providing method according to an embodiment of the present invention;
fig. 2 is a flowchart of a service providing method according to a second embodiment of the present invention;
Fig. 3 is a flow chart of a service providing method according to a third embodiment of the present invention;
FIG. 4 is a schematic diagram of an interaction process according to an embodiment of the present invention;
fig. 5 is a flowchart of a service providing method according to a fourth embodiment of the present invention;
FIG. 6 is a second schematic diagram of an interaction process according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a service providing device according to a fifth embodiment of the present invention;
fig. 8 is a schematic structural diagram of a service providing device according to a sixth embodiment of the present invention;
fig. 9 is a flowchart of a service providing system according to a seventh embodiment of the present invention.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative and intended to explain the present invention and should not be construed as limiting the invention.
The current business system uses an HTTPS interface to complete information interaction between different environments. However, in the above information interaction manner, the service provider needs to expose a corresponding HTTP interface, and the service caller needs to encapsulate the corresponding HTTP interface, which not only increases the workload, but also increases the maintenance cost of the system.
Aiming at the technical problems, the embodiment of the invention mainly provides a service providing method, and the service calling party only needs to acquire interface information of a service provider from a registration server, generates and transmits a call request according to the interface information, and a transfer platform corresponding to the service calling party transmits the call request to the service provider through the transfer platform corresponding to the service provider, so that the service provider can execute the service corresponding to the interface information according to the call request, and therefore, the service calling party can complete call of the corresponding service without packaging a corresponding HTTP interface, thereby reducing the workload of the service calling party and lowering the maintenance cost of a system.
The following describes a service providing method, device, system, transit platform and storage medium according to an embodiment of the present invention with reference to the accompanying drawings.
Fig. 1 is a flowchart of a service providing method according to an embodiment of the invention.
The service providing method of the embodiment of the invention can be applied to the transit platform corresponding to the service calling party.
As shown in fig. 1, the service providing method may include the steps of:
step 101, acquiring configuration information, wherein the configuration information comprises interface information of a service provider.
In the embodiment of the invention, the transfer platform corresponding to the service calling party and/or the transfer platform corresponding to the service provider can be deployed in a plurality of development environments, the transfer platform, the environment information and other information such as the opposite-end transfer platform corresponding to the transfer platform (for example, when the transfer platform is the transfer platform corresponding to the service calling party, the opposite-end transfer platform can be the transfer platform corresponding to the service provider) can be configured in each development environment, and for convenience in management, a unified management entrance can be provided, for example, a management page can be provided through a distributed configuration center, and interface information (for example, interface names) of the service providers in each development environment, access paths (address information) corresponding to the interface information, provided services (services corresponding to the interface information) and other information can be configured.
In the embodiment of the invention, when the transfer platform corresponding to the service calling party is started or initialized, the configuration file can be acquired from the configuration center, and the configuration information is determined according to the configuration file.
In a possible implementation manner of the embodiment of the invention, in the running process of the transit platform corresponding to the service calling party, whether the information of the configuration center is changed or not can be monitored, when the information of the configuration center is monitored to be changed, the update data of the configuration center can be obtained, and the configuration information obtained by the service calling party is updated according to the update data, so that dynamic maintenance of the configuration information is realized, and the real-time performance of the update of the configuration information is ensured.
In another possible implementation manner of the embodiment of the present invention, when the information of the configuration center is changed, the configuration center may distribute the update data to the transit platform corresponding to the service caller, and accordingly, the transit platform corresponding to the service caller may update the configuration information acquired by itself according to the received update data, so as to dynamically maintain the configuration information and ensure synchronous update of the configuration information.
Step 102, the interface information is published to the registration server, so that the service calling party obtains the interface information of the service provider from the registration server.
In the embodiment of the invention, after the configuration information is acquired, the transfer platform corresponding to the service calling party can issue the configuration information to the registration server, so that the service calling party can acquire the interface information of the service provider from the registration server.
Step 103, receiving a call request of a service caller, wherein the call request comprises interface information.
In the embodiment of the invention, the service calling party obtains the interface information of the service provider from the registration server, generates the calling request according to the interface information of the service provider, and sends the calling request to the transfer platform corresponding to the service calling party.
And 104, sending the call request to a transfer platform corresponding to the service provider, so that the service provider executes the service corresponding to the interface information according to the call request.
In the embodiment of the invention, after receiving the call request, the transfer platform corresponding to the service caller can send the call request to the transfer platform corresponding to the service provider, and correspondingly, after receiving the call request, the transfer platform corresponding to the service provider can send the call request to the service provider, and correspondingly, after receiving the call request, the service provider can execute the service corresponding to the interface information in the call request.
In the prior art, the service calling party and the service provider directly communicate with each other, and the service calling party needs to realize remote call of the service by encapsulating an HTTP interface, so that the usability is poor in this way.
In the embodiment of the invention, the service calling party can realize remote call of the service without packaging a corresponding HTTP interface, thereby not only reducing the complexity of access, but also improving the usability of the method.
The service providing method of the embodiment of the invention obtains the configuration information through the transfer platform corresponding to the service calling party, wherein the configuration information comprises the interface information of the service provider, and the interface information is released to the registration server, so that the service calling party obtains the interface information of the service provider from the registration server, and then, a call request of the service calling party is received, wherein the call request comprises the interface information, and the call request is sent to the transfer platform corresponding to the service provider, so that the service provider executes the service corresponding to the interface information according to the call request. Therefore, the service calling party does not need to encapsulate a corresponding HTTP interface, only needs to acquire interface information of the service provider from the registration server, generates and transmits a call request according to the interface information, and the transfer platform corresponding to the service calling party transmits the call request to the service provider through the transfer platform corresponding to the service provider, so that the service provider can execute the service corresponding to the interface information according to the call request, call of the corresponding service is completed, the workload of the service calling party can be reduced, and the maintenance cost of the system is reduced.
In order to clearly explain how the transfer platform corresponding to the service caller in the above embodiment sends the call request to the transfer platform corresponding to the service provider, another service providing method is provided in this embodiment, and fig. 2 is a schematic flow chart of the service providing method provided in the second embodiment of the present invention.
As shown in fig. 2, the service providing method may include the steps of:
step 201, obtaining configuration information, wherein the configuration information includes interface information of a service provider and an access path corresponding to the interface information.
Step 202, the interface information is published to the registration server, so that the service caller obtains the interface information of the service provider from the registration server.
Step 203, receiving a call request of a service caller, wherein the call request includes interface information.
The execution of steps 201 to 203 may refer to the execution of steps 101 to 103 in the above embodiment, and will not be described herein.
Step 204, obtaining interface information from the call request.
In the embodiment of the invention, the call request is generated by the service calling party according to the interface information of the service provider, and the call request carries the interface information, so that the transfer platform corresponding to the service calling party can analyze the call request to acquire the interface information.
Step 205, according to the interface information, inquiring the configuration information to obtain the corresponding access path.
In the embodiment of the invention, the corresponding relation between the interface information and the access path can be correspondingly stored in the configuration information, so that the transfer platform corresponding to the service calling party can query the configuration information according to the interface information to obtain the corresponding access path.
And step 206, according to the access path, sending the call request to a transfer platform corresponding to the service provider, so that the service provider executes the service corresponding to the interface information according to the call request.
In the embodiment of the invention, after the transfer platform corresponding to the service calling party queries the configuration information to obtain the access path corresponding to the interface information, the call request can be sent to the transfer platform corresponding to the service provider according to the access path, and accordingly, the transfer platform corresponding to the service provider can send the call request to the service provider after receiving the call request, and accordingly, the service provider can execute the service corresponding to the interface information in the call request after receiving the call request.
For example, the transfer platform corresponding to the server caller may query the configuration information according to the interface information in the call request, determine the address of the actually provided service, that is, the address of the transfer platform deployed by the peer network (that is, the transfer platform corresponding to the service provider), and at this time, the access path may be the transfer platform address corresponding to the service provider, and forward the call request to the transfer platform corresponding to the service provider through HTTPS, so that the transfer platform corresponding to the service provider may complete RPC (Remote Procedure Call, remote call) call of the actual service on the intranet.
According to the service providing method provided by the embodiment of the invention, the service provider and the service caller do not need to carry out direct communication, so that the service caller does not need to package a corresponding HTTP interface, the workload can be reduced, and the maintenance cost of the system can be reduced.
In order to clearly explain how the transfer platform corresponding to the service caller in the above embodiment sends the call request to the transfer platform corresponding to the service provider according to the access path, another service providing method is provided in this embodiment, and fig. 3 is a schematic flow chart of the service providing method provided in the third embodiment of the present invention.
As shown in fig. 3, the service providing method may include the steps of:
step 301, obtaining configuration information, wherein the configuration information includes interface information of a service provider and an access path corresponding to the interface information.
Step 302, the interface information is published to the registration server, so that the service caller obtains the interface information of the service provider from the registration server.
Step 303, receiving a call request of a service caller, wherein the call request includes interface information.
Step 304, the interface information is obtained from the call request.
Step 305, inquiring configuration information according to the interface information to obtain a corresponding access path.
The execution of steps 301 to 305 may be referred to the description of relevant portions of other embodiments, and will not be repeated here.
Step 306, generating a request message according to the call request; wherein, the call request is used as a request parameter in the request message.
In the embodiment of the invention, the transfer platform corresponding to the service calling party can generate the request message according to the call request, and concretely, the transfer platform corresponding to the service calling party can calculate the call as the request parameter in the request message.
It should be noted that, in the embodiment of the present invention, only step 306 is performed after step 305, and in practical application, in order to improve the processing efficiency, step 306 may also be performed in parallel with step 305, or step 306 may also be performed in parallel with step 304, or step 306 may also be performed before step 305, or step 306 may also be performed before step 304, which is not limited in this embodiment of the present invention.
Step 307, according to the access path, a request message is sent to the transfer platform corresponding to the service provider.
In the embodiment of the invention, in order to avoid the serialization overhead in transmission and the messy code problem caused by serialization, after the transfer platform corresponding to the service calling party generates the request message according to the calling request, the request message can be directly sent to the transfer platform corresponding to the service provider. Specifically, the transfer platform corresponding to the service caller may send a request message to the transfer platform corresponding to the service provider according to the access path, and accordingly, after receiving the request message, the transfer platform corresponding to the service provider may send the request message to the service provider, and accordingly, after receiving the request message, the service provider may execute the service corresponding to the interface information in the call message.
For example, after the transfer platform corresponding to the service provider receives the request message sent by the transfer platform corresponding to the service caller through the HTTP interface, the original RPC request of the service system of the service caller may be obtained from the request message, and the original RPC request is sent to the actual service provider for the specific RPC frame calling mode, so that the service provider may execute the RPC service.
As an example, taking the request message as the hessian message for illustration, after receiving the request message, the transit platform corresponding to the service provider can combine the hessian protocol format and the data transmission format of the RPC framework to parse necessary parameters, such as a method name, a method signature, an alias, a timeout time, and the like, from the request message, so as to obtain necessary parameters of RPC service call, so as to complete the request of the actual RPC service. In order to avoid the problem of complex object analysis caused by reverse sequence, after determining the actual service provider from the request message, the request message can be completely transmitted to the actual service provider, so that the service provider analyzes the request message, determines interface information, and executes the service corresponding to the interface information.
In the prior art, by directly communicating between a service caller and a service provider, when the service caller sends a call request, the service caller transmits source information of the call request into the call request. In this way, the correctness and the safety of the source information cannot be guaranteed.
In one possible implementation manner of the embodiment of the present invention, in order to ensure the correctness and safety of the source information of the call request, a security field may be inserted into the request packet through a transit platform corresponding to the service caller, where the security field is used to indicate the source of the request packet. Specifically, after the transfer platform corresponding to the service caller generates the request message according to the call request, a security field may be inserted into the request message in a hard-coded manner, where the security field is used to indicate the source of the request message. Therefore, traceability of the request message can be ensured.
For example, the request message is exemplified by a hessian message, that is, the method is applied to a scenario of using hessian to transmit between RPCs, and a transit platform corresponding to a service caller can be inserted in an original hessian message in a hard coding manner.
In a possible implementation manner of the embodiment of the present invention, for the step 102, the step 202, or the step 302, when the transfer platform corresponding to the service caller issues the interface information to the registration server, the generic interface of the transfer platform corresponding to the service caller may be named according to the interface information indicated by the configuration information, and the generic interface named by the interface information may be issued to the registration server. Therefore, the interface information acquired by the service calling party from the registration server is actually a general interface of the transit platform corresponding to the service calling party, after the service calling party acquires the interface information, the interface information is considered to be the interface information corresponding to the service provided by the service provider, and at the moment, the service calling party considers that the transit platform corresponding to the service calling party is the service provider, so that the non-perception calling of the service system corresponding to the service calling party can be realized.
For example, for the RPC framework for implementing service discovery by using the zookeeper, the transit platform corresponding to the service caller directly names the internal universal interface of the transit platform as interface information corresponding to the service, and registers the universal interface named by adopting the interface information into the zookeeper, so that the service system of the service caller in the network can call the service pseudo-installed by the transit platform corresponding to the service caller like calling the intranet RPC service, and the non-perception call of the service system of the service caller is implemented.
That is, in the embodiment of the present invention, the transit platform corresponding to the service caller provides the proxy service in the original RPC framework of the service system, so that the service system of the service caller can call the service provided by the service provider like calling the local method, without the service system of the service caller perceiving the difference of network environments, and doing additional processing.
In one possible implementation manner of the embodiment of the present invention, after executing the service corresponding to the interface information, the service provider may further send feedback information to the relay platform corresponding to the service provider, and, correspondingly, after receiving the feedback information, the relay platform corresponding to the service provider may send a response message to the relay platform corresponding to the service caller according to the feedback information. Correspondingly, after receiving the response message, the transfer platform corresponding to the service calling party can acquire feedback information corresponding to the calling request from the response message, and send the feedback information to the service calling party through the message middleware. Therefore, the service calling party can timely acquire the execution state of the service.
As an example, the interaction procedure of the embodiment of the present invention may be shown in fig. 4, where the service system on the left side may serve the caller, and the service system on the right side may be the service provider. The service system on the left side can be regarded as a service cluster, and all services in the service cluster are called through the RPC. In the absence of network isolation, the left business system may directly invoke the RPC service provided by the right business system through the RPC framework (e.g., open source dubbo, brpc, etc.).
The transit platform corresponding to the service caller (abbreviated as transit platform 1) may obtain configuration information from the configuration center, and issue interface information of the service provider in the configuration information to the registration server (corresponding to the issue in fig. 4). After the service provider discovers the interface information published by the relay platform 1 through the registration server, the interface information (corresponding to the subscription in fig. 4) of the service provider can be obtained. The service caller generates a call request according to the interface information and sends the call request to the transfer platform 1. The relay platform 1 rewrites the deserialization service, takes the call request as a request parameter in the request message, and sends the request message to the relay platform (relay platform 2) corresponding to the service provider. The anti-serialization service is a data transmission format combined with the hessian protocol format and the RPC framework, and analyzes necessary parameters, such as a method name, a method signature, an alias, a timeout time, and the like, from the request message.
After receiving the request message sent by the transfer platform 1 through the HTTP interface, the transfer platform 2 obtains an original RPC request of the service system of the service calling party from the request message, and sends the original RPC request to an actual service provider according to the specific RPC framework calling mode, so that the service provider executes the service corresponding to the interface information in the RPC request.
The obtaining generalization object in fig. 4 refers to analyzing a request message, and obtaining parameters related to RPC, such as an interface name, an alias, a timeout time, a serialization manner, and the like, corresponding to a service.
Optionally, the relay platform 1 may also insert an app source field in the request message in a hard-coded manner to identify the source of the request message, thereby ensuring traceability of the request message. In addition, when the transfer platform 1 sends the request message, certificate encryption and signature verification can be used to ensure the safety and non-repudiation of the data.
The service providing method and the synchronization process of the configuration information can improve the maintainability of the system, and the security field is inserted into the request message, so that the traceability of the data can be ensured, and the security of the data can be ensured.
The embodiment of the invention also provides a service providing method executed by the transfer platform corresponding to the service provider.
Fig. 5 is a flowchart of a service providing method according to a fourth embodiment of the present invention.
The service providing method of the embodiment of the invention can be applied to the transit platform corresponding to the service provider.
As shown in fig. 5, the service providing method may include the steps of:
step 401, receiving a call request sent by a transfer platform corresponding to a service calling party; wherein the call request includes interface information of the service provider.
In the embodiment of the invention, the transfer platform corresponding to the service calling party can acquire the configuration information from the configuration center, the configuration information can comprise the interface information of the service provider, and the transfer platform corresponding to the service calling party can issue the interface information in the configuration information to the registration server after acquiring the configuration information, so that the service calling party can acquire the interface information of the service provider from the registration server. After the service calling party obtains the interface information, a calling request can be generated according to the interface information, and the calling request is sent to the transfer platform corresponding to the service calling party.
It should be noted that, the explanation of the service provider method executed by the transit platform corresponding to the service caller in the embodiments of fig. 1 to 3 is also applicable to the transit platform corresponding to the service provider in the embodiment, and the implementation principle is similar, and will not be repeated here.
Step 402, a call request is sent to a service provider to execute a service corresponding to the interface information.
In the embodiment of the invention, after receiving the call request, the transfer platform corresponding to the service provider can send the call request to the service provider, and correspondingly, after receiving the call request, the service provider can execute the service corresponding to the interface information in the call request.
In one possible implementation manner of the embodiment of the present invention, after executing the service corresponding to the interface information, the service provider may further send feedback information to the relay platform corresponding to the service provider, and, correspondingly, after receiving the feedback information, the relay platform corresponding to the service provider may send a response message to the relay platform corresponding to the service caller according to the feedback information. Correspondingly, after receiving the response message, the transfer platform corresponding to the service calling party can acquire feedback information corresponding to the calling request from the response message, and send the feedback information to the service calling party through the message middleware. Therefore, the service calling party can timely acquire the execution state of the service.
As an example, the interaction procedure of the embodiment of the present invention may be shown in fig. 6, where the service system on the left side may serve the caller, and the service system on the right side may be the service provider. After executing the service corresponding to the interface, the service provider may send feedback information to a transfer platform (referred to as transfer platform 2 for short) corresponding to the service provider, for example, the service provider may send feedback information to the transfer platform 2 through a message middleware, after receiving the feedback information, the transfer platform 2 may send a response message to a transfer platform (referred to as transfer platform 1 for short) corresponding to the service caller through an HTTPS interface, and correspondingly, the transfer platform 1 may obtain feedback information corresponding to the call request from the response message after receiving the response message, and send the feedback information to the service caller through the message middleware.
According to the service providing method, the transfer platform corresponding to the service provider receives the call request sent by the transfer platform corresponding to the service caller; wherein the call request includes interface information of the service provider; and sending a call request to a service provider to execute the service corresponding to the interface information. Therefore, the service calling party can realize the calling of the service without packaging a corresponding HTTP interface, the workload of the service calling party can be reduced, and the maintenance cost of the system is reduced.
The present invention also provides a service providing apparatus corresponding to the service providing method provided by the embodiments of fig. 1 to 3, and since the service providing apparatus provided by the embodiments of the present invention corresponds to the service providing method provided by the embodiments of fig. 1 to 3, the implementation of the service providing method is also applicable to the service providing apparatus provided by the embodiments of the present invention, and will not be described in detail in the embodiments of the present invention.
Fig. 7 is a schematic structural diagram of a service providing device according to a fifth embodiment of the present invention.
As shown in fig. 7, the service providing apparatus 100 is applied to a transit platform corresponding to a service caller, and may include: acquisition module 110, distribution module 120, receiving module 130, and sending module 140.
The acquiring module 110 is configured to acquire configuration information, where the configuration information includes interface information of a service provider.
And the publishing module 120 is used for publishing the interface information to the registration server so that the service calling party can acquire the interface information of the service provider from the registration server.
And the receiving module 130 is configured to receive a call request from a service caller, where the call request includes interface information.
And the sending module 140 is configured to send the call request to a relay platform corresponding to the service provider, so that the service provider executes the service corresponding to the interface information according to the call request.
Further, in a possible implementation manner of the embodiment of the present invention, the configuration information further includes an access path corresponding to the interface information; the transmitting module 140 may include:
and the acquisition unit is used for acquiring the interface information from the call request.
And the inquiring unit is used for inquiring the configuration information according to the interface information so as to obtain a corresponding access path.
And the sending unit is used for sending the call request to the transfer platform corresponding to the service provider according to the access path.
Further, in one possible implementation manner of the embodiment of the present invention, the sending unit is specifically configured to: generating a request message according to the call request; the calling request is used as a request parameter in a request message; and sending a request message to a transfer platform corresponding to the service provider according to the access path.
Further, in a possible implementation manner of the embodiment of the present invention, the sending unit is further configured to insert a security field in a request packet in a hard-coded manner; the security field is used for indicating the source of the request message.
Further, in one possible implementation manner of the embodiment of the present invention, the publishing module 120 is specifically configured to name a generic interface of the transit platform corresponding to the service caller according to the interface information indicated by the configuration information; and issuing the universal interface named by adopting the interface information to a registration server.
Further, in a possible implementation manner of the embodiment of the present invention, the receiving module 130 is further configured to receive a response message returned by the relay platform corresponding to the service provider.
The obtaining module 110 is further configured to obtain feedback information corresponding to the call request from the response message.
The sending module 140 is further configured to send feedback information to the service caller through the message middleware.
The service providing device in the embodiment of the invention obtains the configuration information through the transfer platform corresponding to the service calling party, wherein the configuration information comprises the interface information of the service provider, and the interface information is published to the registration server, so that the service calling party obtains the interface information of the service provider from the registration server, and then receives the call request of the service calling party, wherein the call request comprises the interface information, and sends the call request to the transfer platform corresponding to the service provider, so that the service provider executes the service corresponding to the interface information according to the call request. Therefore, the service calling party does not need to encapsulate a corresponding HTTP interface, only needs to acquire interface information of the service provider from the registration server, generates and transmits a call request according to the interface information, and transmits the call request to the service provider through a transfer platform corresponding to the service provider by a transfer platform corresponding to the service calling party, so that the service provider can execute the service corresponding to the interface information according to the call request, call of the corresponding service is completed, the workload of the service calling party can be reduced, and the maintenance cost of the system is reduced.
The present invention also provides a service providing apparatus corresponding to the service providing method provided by the embodiment of fig. 5, and since the service providing apparatus provided by the embodiment of the present invention corresponds to the service providing method provided by the embodiment of fig. 5, the implementation of the service providing method is also applicable to the service providing apparatus provided by the embodiment of the present invention, and will not be described in detail in the embodiment of the present invention.
Fig. 8 is a schematic structural diagram of a service providing apparatus according to a sixth embodiment of the present invention.
As shown in fig. 8, the service providing apparatus 200 is applied to a transit platform corresponding to a service provider, and may include: the receiving module 210 and the transmitting module 220.
The receiving module 210 is configured to receive a call request sent by a transfer platform corresponding to a service caller; wherein the call request includes interface information of the service provider.
And the sending module 220 is configured to send a call request to the service provider to execute the service corresponding to the interface information.
Further, in a possible implementation manner of the embodiment of the present invention, the receiving module 210 is further configured to receive feedback information sent by the service provider.
The sending module 220 is further configured to send a response message to the transfer platform corresponding to the service caller according to the feedback information.
The service providing device in the embodiment of the invention receives the call request sent by the transfer platform corresponding to the service calling party through the transfer platform corresponding to the service provider; wherein the call request includes interface information of the service provider; and sending a call request to a service provider to execute the service corresponding to the interface information. Therefore, the service calling party can realize the calling of the service without packaging a corresponding HTTP interface, the workload of the service calling party can be reduced, and the maintenance cost of the system is reduced.
In order to implement the above embodiment, the present invention further provides a transfer platform corresponding to a service caller, including: the system comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor executes the program to realize the service providing method according to any one of the embodiments of the present invention as set forth in the above-mentioned fig. 1-3.
In order to implement the above embodiment, the present invention further provides a transfer platform corresponding to a service provider, including: the system comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor executes the program to realize the service providing method according to the embodiment of the invention as set forth in the above-mentioned fig. 5.
In order to implement the above embodiment, the present invention also proposes a service providing system.
Fig. 9 is a flowchart of a service providing system according to a seventh embodiment of the present invention.
As shown in fig. 9, the service providing system 300 may include: a service caller 310, a relay platform 320 corresponding to the service caller, a service provider 330, and a relay platform 340 corresponding to the service provider.
The relay platform 320 corresponding to the service caller is configured to execute the service providing method according to any one of the embodiments of fig. 1 to 3.
The service caller 310 communicates with the transit platform 320 corresponding to the service caller, and is configured to send a call request carrying interface information.
The transit platform 340 corresponding to the service provider is configured to execute the service providing method according to the embodiment of fig. 5.
The service provider 330 communicates with the transit platform 340 corresponding to the service provider, and is configured to receive the call request, and execute the service corresponding to the interface information according to the call request.
It should be noted that the foregoing explanation of the embodiment of the service providing method is also applicable to the service providing system of this embodiment, and the implementation principle is similar, which is not repeated here.
In order to achieve the above-described embodiments, the present invention also proposes a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a service providing method as proposed in any of the above-described embodiments of the present invention.
In order to implement the above embodiments, the present invention also proposes a computer program product which, when executed by a processor, performs a service providing method as proposed in any of the above embodiments of the present invention.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present invention, the meaning of "plurality" means at least two, for example, two, three, etc., unless specifically defined otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and additional implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order from that shown or discussed, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present invention.
Logic and/or steps represented in the flowcharts or otherwise described herein, e.g., a ordered listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). In addition, the computer readable medium may even be paper or other suitable medium on which the program is printed, as the program may be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
It is to be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. As with the other embodiments, if implemented in hardware, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
Those of ordinary skill in the art will appreciate that all or a portion of the steps carried out in the method of the above-described embodiments may be implemented by a program to instruct related hardware, where the program may be stored in a computer readable storage medium, and where the program, when executed, includes one or a combination of the steps of the method embodiments.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing module, or each unit may exist alone physically, or two or more units may be integrated in one module. The integrated modules may be implemented in hardware or in software functional modules. The integrated modules may also be stored in a computer readable storage medium if implemented in the form of software functional modules and sold or used as a stand-alone product.
The above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, or the like. While embodiments of the present invention have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the invention, and that variations, modifications, alternatives and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the invention.
Claims (12)
1. The service providing method is characterized by being applied to a transit platform corresponding to a service calling party and comprising the following steps:
acquiring configuration information, wherein the configuration information comprises interface information of a service provider;
the interface information is published to a registration server, so that the service calling party obtains the interface information of the service provider from the registration server;
receiving a call request of the service calling party, wherein the call request comprises the interface information;
the call request is sent to a transfer platform corresponding to the service provider, so that the service provider executes the service corresponding to the interface information according to the call request sent by the transfer platform corresponding to the service provider;
the configuration information also comprises an access path corresponding to the interface information; the sending the call request to the transfer platform corresponding to the service provider includes:
Acquiring the interface information from the call request;
inquiring the configuration information according to the interface information to obtain a corresponding access path, wherein the access path is a transit platform address corresponding to a service provider;
according to the access path, the call request is sent to a transfer platform corresponding to the service provider;
the publishing the interface information to the registration server comprises the following steps:
naming a general interface of the transfer platform corresponding to the service calling party according to the interface information indicated by the configuration information;
and publishing the universal interface named by adopting the interface information to the registration server.
2. The service providing method according to claim 1, wherein the sending the call request to the transit platform corresponding to the service provider according to the access path includes:
generating a request message according to the call request; the call request is used as a request parameter in the request message;
and sending the request message to a transfer platform corresponding to the service provider according to the access path.
3. The service providing method according to claim 2, wherein before the request message is sent to the transit platform corresponding to the service provider according to the access path, the method further comprises:
Inserting a security field in the request message in a hard coding mode;
the security field is configured to indicate a source of the request packet.
4. A service providing method according to any one of claims 1-3, characterized in that the method further comprises:
receiving a response message returned by the transfer platform corresponding to the service provider;
acquiring feedback information corresponding to the calling request from the response message;
and sending the feedback information to the service calling party through a message middleware.
5. The service providing method is characterized by being applied to a transit platform corresponding to a service provider and comprising the following steps:
receiving a call request sent by a transfer platform corresponding to a service calling party; the call request comprises interface information of a service provider, a transfer platform corresponding to the service caller inquires configuration information according to the interface information to obtain a corresponding access path, the access path is a transfer platform address corresponding to the service provider, and the call request is sent to the transfer platform corresponding to the service provider according to the access path;
sending the call request to a service provider so that the service provider executes the service corresponding to the interface information according to the call request;
Before the transfer platform corresponding to the service calling party sends the call request, the interface information of the service provider is named as a general interface of the transfer platform corresponding to the service calling party by the transfer platform corresponding to the service calling party and is released to the registration server.
6. The service providing method according to claim 5, wherein the sending the call request to the service provider, after executing the service corresponding to the interface information, further comprises:
receiving feedback information sent by the service provider;
and sending a response message to a transfer platform corresponding to the service calling party according to the feedback information.
7. A service providing apparatus, which is applied to a transit platform corresponding to a service caller, comprising:
the system comprises an acquisition module, a configuration module and a service provider, wherein the acquisition module is used for acquiring configuration information, and the configuration information comprises interface information of the service provider;
the issuing module is used for issuing the interface information to a registration server so that the service calling party obtains the interface information of the service provider from the registration server; the receiving module is used for receiving a call request of the service calling party, wherein the call request comprises the interface information;
The sending module is used for sending the call request to a transfer platform corresponding to the service provider so that the service provider executes the service corresponding to the interface information according to the call request sent by the transfer platform corresponding to the service provider;
the sending module comprises:
the acquisition unit is used for acquiring the interface information from the call request;
the query unit is used for querying the configuration information according to the interface information to obtain a corresponding access path, wherein the access path is a transit platform address corresponding to the service provider;
the sending unit is used for sending the calling request to a transfer platform corresponding to the service provider according to the access path;
the publishing module is specifically configured to:
naming a general interface of the transfer platform corresponding to the service calling party according to the interface information indicated by the configuration information;
and publishing the universal interface named by adopting the interface information to the registration server.
8. A service providing device, which is applied to a transit platform corresponding to a service provider, comprising:
the receiving module is used for receiving a call request sent by a transfer platform corresponding to the service calling party; the call request comprises interface information of a service provider, a transfer platform corresponding to the service caller inquires configuration information according to the interface information to obtain a corresponding access path, the access path is a transfer platform address corresponding to the service provider, and the call request is sent to the transfer platform corresponding to the service provider according to the access path;
The sending module is used for sending the calling request to a service provider so that the service provider executes the service corresponding to the interface information according to the calling request;
before the transfer platform corresponding to the service calling party sends the call request, the interface information of the service provider is named as a general interface of the transfer platform corresponding to the service calling party by the transfer platform corresponding to the service calling party and is released to the server.
9. A transfer platform corresponding to a service caller, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the service providing method according to any one of claims 1-4 when executing the program.
10. A transit platform corresponding to a service provider, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the service providing method according to claim 5 or 6 when executing the program.
11. A service providing system, comprising: the system comprises a service calling party, a transfer platform corresponding to the service calling party, a service provider and a transfer platform corresponding to the service provider;
Wherein, the transit platform corresponding to the service calling party is used for executing the service providing method as set forth in any one of claims 1-4;
the service calling party is communicated with the transfer platform corresponding to the service calling party and is used for sending a calling request carrying interface information;
a transit platform corresponding to the service provider, configured to execute the service providing method according to any one of claims 5 to 6;
and the service provider is communicated with the transfer platform corresponding to the service provider and is used for receiving the call request and executing the service corresponding to the interface information according to the call request.
12. A non-transitory computer-readable storage medium having stored thereon a computer program, characterized in that the program, when executed by a processor, implements the service providing method according to any one of claims 1 to 4, or implements the service providing method according to claim 5 or 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011626183.XA CN112804303B (en) | 2020-12-31 | 2020-12-31 | Service providing method, device, system, transit platform and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011626183.XA CN112804303B (en) | 2020-12-31 | 2020-12-31 | Service providing method, device, system, transit platform and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112804303A CN112804303A (en) | 2021-05-14 |
CN112804303B true CN112804303B (en) | 2023-11-03 |
Family
ID=75807706
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011626183.XA Active CN112804303B (en) | 2020-12-31 | 2020-12-31 | Service providing method, device, system, transit platform and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112804303B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113422810B (en) * | 2021-06-02 | 2023-04-25 | 广州三星通信技术研究有限公司 | Method and device for sending information to service provider |
CN114598750B (en) * | 2022-01-14 | 2024-01-30 | 浙江吉利控股集团有限公司 | Data request processing method, device and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108255615A (en) * | 2017-11-30 | 2018-07-06 | 平安科技(深圳)有限公司 | Across language call method, server and storage medium |
CN108600326A (en) * | 2018-03-29 | 2018-09-28 | 阿里巴巴集团控股有限公司 | Communication means, device and equipment |
CN108984316A (en) * | 2018-06-15 | 2018-12-11 | 广州视源电子科技股份有限公司 | Method and device for distributed data processing, electronic equipment and computer storage medium |
CN111131193A (en) * | 2019-12-10 | 2020-05-08 | 四川新网银行股份有限公司 | Distributed service governance method supporting multi-protocol heterogeneous non-code intrusion |
CN111353880A (en) * | 2020-03-31 | 2020-06-30 | 中国工商银行股份有限公司 | Transaction service encapsulation method, device and system |
CN111414261A (en) * | 2020-03-18 | 2020-07-14 | 政采云有限公司 | Cross-network calling method and device of distributed system and related components |
CN111431956A (en) * | 2019-01-10 | 2020-07-17 | 阿里巴巴集团控股有限公司 | Cross-network service access method, device, system and storage medium |
CN112114979A (en) * | 2020-08-31 | 2020-12-22 | 厦门安胜网络科技有限公司 | Remote procedure call method and device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100241712A1 (en) * | 2009-03-23 | 2010-09-23 | Siemens Aktiengesellschaft | Method and System for a Distributed and Extensible Communication Framework |
US10516672B2 (en) * | 2016-08-05 | 2019-12-24 | Oracle International Corporation | Service discovery for a multi-tenant identity and data security management cloud service |
-
2020
- 2020-12-31 CN CN202011626183.XA patent/CN112804303B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108255615A (en) * | 2017-11-30 | 2018-07-06 | 平安科技(深圳)有限公司 | Across language call method, server and storage medium |
CN108600326A (en) * | 2018-03-29 | 2018-09-28 | 阿里巴巴集团控股有限公司 | Communication means, device and equipment |
CN108984316A (en) * | 2018-06-15 | 2018-12-11 | 广州视源电子科技股份有限公司 | Method and device for distributed data processing, electronic equipment and computer storage medium |
CN111431956A (en) * | 2019-01-10 | 2020-07-17 | 阿里巴巴集团控股有限公司 | Cross-network service access method, device, system and storage medium |
CN111131193A (en) * | 2019-12-10 | 2020-05-08 | 四川新网银行股份有限公司 | Distributed service governance method supporting multi-protocol heterogeneous non-code intrusion |
CN111414261A (en) * | 2020-03-18 | 2020-07-14 | 政采云有限公司 | Cross-network calling method and device of distributed system and related components |
CN111353880A (en) * | 2020-03-31 | 2020-06-30 | 中国工商银行股份有限公司 | Transaction service encapsulation method, device and system |
CN112114979A (en) * | 2020-08-31 | 2020-12-22 | 厦门安胜网络科技有限公司 | Remote procedure call method and device |
Also Published As
Publication number | Publication date |
---|---|
CN112804303A (en) | 2021-05-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110022289B (en) | Data transmission method, device and system | |
CN112804303B (en) | Service providing method, device, system, transit platform and storage medium | |
CN109474936B (en) | Internet of things communication method and system applied among multiple lora gateways | |
US10681184B2 (en) | Method and device for transmitting a message in a vehicle | |
US10637794B2 (en) | Resource subscription method, resource subscription apparatus, and resource subscription system | |
CN102904959B (en) | Network accelerating method and gateway | |
CN104363291A (en) | Network communication middleware implementation method | |
WO2016044581A1 (en) | Systems and methods for enabling access to third party services via a service layer | |
US20070118842A1 (en) | DDS-assisted CORBA discovery | |
CN112751898B (en) | Load balancing method, device, medium and equipment | |
CN109451014B (en) | WebService agent system and transparent agent method thereof | |
CN105791315A (en) | Method and system for accelerating UDP protocol | |
CN112532673B (en) | Message sending method and device, computer readable storage medium and electronic equipment | |
CN113014621B (en) | In-vehicle communication system and method based on HTTP (hyper text transport protocol) | |
CN110830282A (en) | Method, device and equipment for configuring user plane function | |
WO2010133097A1 (en) | Data sharing method, server and data sharing system for widget system | |
CN116633775B (en) | Container communication method and system of multi-container network interface | |
GB2580419A (en) | Electronic message control | |
GB2580421A (en) | Electronic message translation management | |
CN111901384B (en) | System, method, electronic device and readable storage medium for processing message | |
CN103428013B (en) | Device management method, system and gateway device | |
CN112653716B (en) | Service binding method and device | |
CN115756771B (en) | Micro-servitization front-end system, workflow scheduling method and device | |
US20120254393A1 (en) | Device management method, device management apparatus, and device management system | |
CN115225706B (en) | Data transmission method, device, vehicle and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |