CN112054998A - Proxy service method, device, equipment and computer readable storage medium - Google Patents
Proxy service method, device, equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN112054998A CN112054998A CN202010800002.4A CN202010800002A CN112054998A CN 112054998 A CN112054998 A CN 112054998A CN 202010800002 A CN202010800002 A CN 202010800002A CN 112054998 A CN112054998 A CN 112054998A
- Authority
- CN
- China
- Prior art keywords
- request
- service
- result data
- server
- request message
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 63
- 238000012545 processing Methods 0.000 claims abstract description 53
- 230000006870 function Effects 0.000 claims description 71
- 238000011161 development Methods 0.000 claims description 23
- 238000006243 chemical reaction Methods 0.000 claims description 16
- 238000004806 packaging method and process Methods 0.000 claims description 11
- 238000004590 computer program Methods 0.000 claims description 10
- 238000004458 analytical method Methods 0.000 claims description 9
- 238000012550 audit Methods 0.000 claims description 5
- 230000007246 mechanism Effects 0.000 claims description 5
- 239000003795 chemical substances by application Substances 0.000 description 39
- 230000008569 process Effects 0.000 description 14
- 238000012827 research and development Methods 0.000 description 11
- 238000004891 communication Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 241000750004 Nestor meridionalis Species 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000000523 sample Substances 0.000 description 1
- 238000009517 secondary packaging Methods 0.000 description 1
- 239000002904 solvent Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
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/01—Protocols
- H04L67/133—Protocols for remote procedure calls [RPC]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/547—Remote procedure calls [RPC]; Web services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/20—Network architectures or network communication protocols for network security for managing network security; network security policies in general
-
- 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/56—Provisioning of proxy 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/22—Parsing or analysis of headers
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a proxy service method, a device, equipment and a computer readable storage medium, wherein the method comprises the following steps: receiving a calling request sent by a requester, and acquiring an initial request message corresponding to the calling request; analyzing and processing the initial request message to obtain an updating request message corresponding to the calling request; sending the updating request message to a server side corresponding to the calling request so as to request the server side to call a target service according to the updating request message and obtain result data; and receiving the result data sent by the server, processing the result data and feeding back the processed result data to the requester. According to the invention, the agent service platform is set up in advance, the request sent by the requester is received through the agent service platform, processed and forwarded to the server, the requester is not required to develop according to the server, and the application program development efficiency of the requester is improved.
Description
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a proxy service method, apparatus, device, and computer-readable storage medium.
Background
With the rapid development of computer technology, the functions of application programs are more and more complete, and the functions of application programs are mostly realized by calling a third-party interface.
The software developer develops an application program according to business requirements, and then calls related codes according to a third-party interface writing interface, so that the application program can call the third-party interface to realize corresponding functions.
Disclosure of Invention
The invention mainly aims to provide a proxy service method, a proxy service device, proxy service equipment and a computer readable storage medium, and aims to solve the technical problems that when an application program calls a third-party interface, codes needing to be written are many and complicated, the development time of the application program is long, the efficiency is low, when the application program is updated, the codes need to be rewritten, and the code reuse rate is low.
In order to achieve the above object, the present invention provides a proxy service method, which is applied to a proxy service platform, and comprises the following steps:
receiving a calling request sent by a requester, and acquiring an initial request message corresponding to the calling request;
analyzing and processing the initial request message to obtain an updating request message corresponding to the calling request;
sending the updating request message to a server side corresponding to the calling request so as to request the server side to call a target service according to the updating request message and obtain result data;
and receiving the result data sent by the server, processing the result data and feeding back the processed result data to the requester.
Optionally, before the step of receiving a call request sent by a requester and obtaining an initial request packet corresponding to the call request, the method includes:
and integrating a predefined configuration module, a protocol conversion module, a fusing module, a current limiting module, a data structure analysis assembly module, a function assembly module, an audit module, a registration module and a load balancing module to form an agent service platform.
Optionally, before the step of sending the update request packet to the server corresponding to the call request to request the server to call the target service according to the update request packet, and obtaining result data, the method includes:
judging whether interface current limiting configuration exists or not;
if the interface current-limiting configuration does not exist, executing the step of sending the updating request message to the service party corresponding to the calling request so as to request the service party to call a target service according to the updating request message and obtain result data;
if the interface current limiting configuration exists, counting the access frequency of the calling request, and judging whether the access frequency is higher than a current limiting threshold value in the interface current limiting configuration;
if the access frequency is higher than the current limiting threshold value in the interface current limiting configuration, returning a current limiting error prompt to the requester;
and if the access frequency is not higher than the current limiting threshold value in the interface current limiting configuration, sending the updating request message to a service party corresponding to the calling request to request the service party to call a target service according to the updating request message to obtain result data.
Optionally, if the access frequency is not higher than the current limit threshold in the interface current limit configuration, the step of sending the update request packet to the service party corresponding to the invocation request to request the service party to invoke the target service according to the update request packet to obtain the result data is executed, and includes:
if the access frequency is not higher than the current limiting threshold value in the interface current limiting configuration, sending the update request message to a preset message queue;
inquiring a preset registration module, acquiring information of a service party corresponding to the calling request, and selecting a server from a service cluster corresponding to the service party according to the information of the service party;
and sending the updating request message in the message queue to the server through a preset load balancing module so as to request the server to call a target service according to the updating request message and obtain result data.
Optionally, the step of receiving the result data sent by the service party, processing the result data, and feeding back the processed result data to the request party includes:
receiving the result data sent by the server side, and judging whether the call request is successful according to the result data;
if the request of the calling request is successful, processing the result data and feeding back the processed result data to the requester;
if the request of the calling request fails, acquiring the sending duration of the updating request message, and judging whether the sending duration exceeds the preset processing duration;
if the sending time length does not exceed the preset processing time length, feeding back processing error information to the requester;
and if the sending time length exceeds the preset processing time length, starting a fusing mechanism and feeding fusing information back to the requester.
Optionally, the step of analyzing and processing the initial request packet to obtain an update request packet corresponding to the invocation request includes:
analyzing the initial request message to obtain message information in the initial request message;
extracting service party information corresponding to the call request in the message information, and determining protocol information, framework information and development language information of the service party according to the service party information;
processing the message information according to the protocol information, the frame information and the development language information of the service party to perform protocol conversion;
and packaging the converted message information to obtain an updating request message.
Optionally, before the step of sending the update request packet to the server corresponding to the call request to request the server to call the target service according to the update request packet, and obtaining result data, the method includes:
determining a request function corresponding to the call request according to the update request message, inquiring a preset function assembly module, and judging whether an assembled function identical to the request function exists or not;
if the assembled function which is the same as the request function exists, acquiring an assembled service interface corresponding to the target assembled function, calling a service party according to the assembled service interface, and executing the update request message to be sent to the service party corresponding to the call request so as to request the service party to call a target service according to the update request message, and acquiring result data;
if the assembled function which is the same as the request function does not exist, packaging an interface provided by a server according to the request function to form an assembled service interface, calling the server according to the assembled service interface, and executing the update request message to be sent to the server corresponding to the call request so as to request the server to call a target service according to the update request message to obtain result data.
In addition, to achieve the above object, the present invention further provides a proxy service apparatus, which is provided on a proxy service platform, and includes:
the request receiving module is used for receiving a calling request sent by a requester and acquiring an initial request message corresponding to the calling request;
the message analysis module is used for analyzing and processing the initial request message and obtaining an updating request message corresponding to the calling request;
the sending request module is used for sending the updating request message to a server side corresponding to the calling request so as to request the server side to call a target service according to the updating request message and obtain result data;
and the receiving feedback module is used for receiving the result data sent by the server, processing the result data and feeding back the processed result data to the requester.
In addition, in order to achieve the above object, the present invention also provides a proxy service device;
the agent service platform is set up on the agent service equipment, and the agent service equipment comprises: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein:
the computer program, when executed by the processor, implements the steps of the proxy service method as described above.
In addition, to achieve the above object, the present invention also provides a computer-readable storage medium;
the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the proxy service method as described above.
In the method, the device, the equipment and the computer-readable storage medium for proxy service provided by the embodiment of the invention, a call request sent by a requester is received, and an initial request message corresponding to the call request is obtained; analyzing and processing the initial request message to obtain an updating request message corresponding to the calling request; sending the updating request message to a server side corresponding to the calling request so as to request the server side to call a target service according to the updating request message and obtain result data; and receiving the result data sent by the server, processing the result data and feeding back the processed result data to the requester. In the embodiment of the invention, the agent service platform is set up in advance, the agent service platform receives the call request sent by the requester, the request message corresponding to the call request is processed and then forwarded to the server, therefore, the direct communication connection between the requester and the server is not needed, the requester does not need to develop according to the service interface provided by the server, the development amount of the application program code of the requester is reduced, the development efficiency of the application program of the requester is improved, when the application program of the requester is updated, codes do not need to be rewritten, the server only needs to be connected with the agent platform and does not need to be connected with a plurality of requesters, the safety of the server is ensured, meanwhile, the requester calls the service party through the proxy service platform, so that the risk caused by calling the service party by the requester is avoided, and the safety of the requester is also ensured.
Drawings
FIG. 1 is a schematic diagram of an apparatus in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first exemplary embodiment of a proxy service method according to the present invention;
FIG. 3 is a diagram illustrating a specific scenario of a proxy service platform according to a first embodiment of the proxy service method of the present invention;
fig. 4 is a functional block diagram of a proxy service device according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The invention mainly solves the problem of calling between heterogeneous systems when calling third-party service; the research and development personnel can build the proxy service through the scheme of the invention, can solve the problems of service protocol conversion, data message analysis conversion, encapsulation, function assembly, code multiplexing incapability and the like, and can call the interface of the proxy service instead of directly calling the service interface of a third party in the research and development process, so that the calling becomes simple and clear, the code logic is clear, only the research and development of business are focused, and the interface function provided by the third party, the protocol of the calling interface and the like are not distracted.
As shown in fig. 1, fig. 1 is a schematic structural diagram of a proxy service device (also called a proxy service platform, where the proxy service platform may be formed by a single proxy service device or may be formed by combining other devices and proxy service devices) based on a user-type graph in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the proxy service platform according to the embodiment of the present invention may include: the processor 1001 includes, for example, a Central Processing Unit (CPU), a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002, a chipset, a disk system, hardware such as a network, and the like. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a WIreless interface (e.g., WIFI interface, WIreless FIdelity, WIFI interface). The memory 1005 may be a Random Access Memory (RAM) or a non-volatile memory (e.g., a disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the proxy service platform may further include a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, and a WiFi module; the input unit is compared with a display screen and a touch screen; the network interface can be selected from the wireless interface, such as Bluetooth, a probe and the like except WiFi. Those skilled in the art will appreciate that the proxy service platform architecture shown in FIG. 1 does not constitute a limitation of the proxy service platform and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, the computer software product is stored in a computer readable storage medium (also called storage medium, readable storage medium or direct storage medium, etc., the computer readable storage medium may be a non-volatile readable storage medium, such as RAM, magnetic disk, optical disk), and includes several instructions for enabling a proxy service platform to execute the method according to the embodiments of the present invention, and a memory 1005 as a computer readable storage medium may include an operating system, a network communication module, a user interface module, and a computer program.
In the proxy service platform shown in fig. 1, the network interface 1004 is mainly used for connecting to a background database and performing data communication with the background database; the user interface 1003 is mainly used for connecting a client (client, also called user side or terminal, the terminal in the embodiment of the present invention may be a fixed terminal or a mobile terminal, for example, an intelligent air conditioner with networking function, an intelligent electric lamp, an intelligent power supply, an intelligent sound box, an automatic driving car, a PC, a smart phone, a tablet computer, an electronic book reader, a portable computer, etc., the terminal includes sensors such as a light sensor, a motion sensor, and other sensors, which are not described herein again), and performs data communication with the client; and the processor 1001 may be configured to call the computer program stored in the memory 1005 and perform the steps of the proxy service method provided by the following embodiment of the present invention.
Based on the hardware structure, the embodiment of the proxy service method is provided.
Referring to fig. 2, in a first embodiment of the proxy service method of the present invention, the proxy service method includes:
step S10, receiving a call request sent by a requester, and obtaining an initial request message corresponding to the call request.
The agent service method in this embodiment is applied to an agent service platform, the agent service platform is provided with an agent service device, and the agent service platform is set up in advance in this embodiment, specifically, the step of setting up the agent service platform includes: and integrating a predefined configuration module, a protocol conversion module, a fusing module, a current limiting module, a data structure analysis assembly module, a function assembly module, an audit module, a registration module and a load balancing module to form an agent service platform.
Referring to fig. 3, the proxy service platform in the embodiment of the present invention includes:
a configuration module: and storing the relevant configuration of the service agent system, and automatically loading when the service is started.
A protocol conversion module: after receiving a request from a requesting party, according to a Protocol provided by a third party API (Application Program Interface), converting the requested Protocol into a Protocol of a service party (for example, a signature proxy service in grain transaction, which is a Protocol for converting an RPC (Remote Procedure Call Protocol) access Protocol into an HTTP (HTTP, HyperText Transfer Protocol) Protocol of a third party signature system).
A fusing module: if a certain target service is slow to call or overtime exists in a large quantity, the call of the service is fused, for a subsequent call request, the target service is not continuously called, the direct return is carried out, the resource is quickly released, and if the condition of the target service is improved, the call is recovered.
A current limiting module: and forwarding the access amount which can be borne by the interface server system configured in the configuration to the server, wherein the exceeding request can be automatically returned to relevant error information.
Data structure analysis and assembly module: analyzing and packaging the request sent by the requester, then accessing the service side (API) by the function assembly module to obtain the result data finally returned to the requester, and packaging and returning the data to the requester.
Function assembly module: according to the API provided by the service party, combining the functions required by the research and development system, the function points of the API provided by the service party are combined and packaged, on one hand, the API service provided by the service party is accessed, on the other hand, an interface called after secondary packaging is provided for business research and development personnel, and then the interface is provided for the research and development personnel.
An auditing module: and recording related information of a request party, a request interface, a service party, a service interface and the like so as to be convenient for subsequent statistics, reference and tracing.
A registration module: when the system is started, the system automatically registers itself to each registration center (can register to different registration centers, and is determined according to the registration centers of all requesters and servers), stores the relevant information of the server in a storage list, and updates the storage list according to the information pushed by the registration centers in real time.
A load balancing module: when the function assembling module sends a request, the load balancing module calculates and obtains one server information according to the server information storage list of the server to forward the server information.
As can be seen from fig. 3, the requestor protocols and the server protocols may be http, tcp, rpc, queues, etc.; the frame may be dubbo, springclosed, kaka, etc.; the language can be java, C + +,. NET, etc.; the registry can be zookeeper, nacos, eureka, self-research registry or the like, for example, the requester uses a springclosed framework, an http request protocol, the nacos registry, and the programming language is java; and the service side uses a dubbo framework, rpc protocol, zookeeper registration center and C + + programming language, so that the proxy request can be performed by using the invention.
The protocol conversion module in the proxy service platform in the embodiment adapts the protocol of the service provided by the requester and the service provider (API interface); the function assembly module encapsulates the third party API into a simple and easy-to-use proxy interface again according to the interface provided by the third party and aiming at the actual needs of business research and development, so that the change of the interface is clear and clear, the code workload of research and development personnel is reduced, and codes can be reused; 3. an audit module is additionally arranged, so that the statistics and traceability of the system are improved; 4. a current limiting module is additionally arranged, so that the stability of a service system is improved; 5. and a fusing module is additionally arranged, so that the stability of the access system is improved, and the avalanche phenomenon is avoided.
It can be understood that, the modules in the proxy service platform in this embodiment may be increased or decreased according to a specific scenario, a part of the modules are used in the method of this embodiment, and not all the modules in the scheme are used, for example: a configuration module, a current limiting module, a load balancing module, a fusing module, a request message analyzing and assembling module, a function combination module and a protocol conversion module are used; when the scheme is used, all research and development personnel can freely combine the modules according to the practical situation to build an agent service platform so as to meet the service agent requirement.
The requester sends the call request so that the data interface of the third party of the server provides corresponding services according to the received call request, and specifically, the requester sends the call request to the proxy service platform, or the proxy service platform intercepts the call request sent by the requester. The proxy service platform receives a call request sent by a requester and acquires an initial request message associated with the call request, wherein the initial request message comprises detailed information of the request, such as command statements and protocol information.
The triggering manner of the request invoking request by the requesting party is not specifically limited, that is, the invoking request may be actively triggered by the user, for example, the user speaks: the 'face recognition' triggers a calling request for calling a face recognition interface of a service party; in addition, the call request may also be triggered automatically, for example, when the requester sets the user application to start, the service side face recognition interface is called, and when the requester detects that the user starts the application program, the requester triggers the call request automatically.
Step S20, analyzing and processing the initial request message, and obtaining an update request message corresponding to the call request.
The proxy service platform analyzes the initial request message, obtains message information in the initial request message, performs protocol conversion on the message information, packages the converted message information, and generates an update request message corresponding to the call request; specifically, step S20 includes:
a1, analyzing the initial request message to obtain the message information in the initial request message;
a2, extracting service party information corresponding to the call request in the message information, and determining protocol information, framework information and development language information of the service party according to the service party information;
step a3, processing the message information to perform protocol conversion according to the protocol information, the framework information and the development language information of the service party;
step a4, packaging the converted message information to obtain the update request message.
Namely, the agent service platform analyzes the initial request message to obtain message information in the initial request message; the proxy service platform extracts service party information corresponding to the call request in the message information (the service party information includes but is not limited to a service party identifier, or equipment address information of a server corresponding to the service party, and the like), and determines protocol information, framework information and development language information of the service party according to the service party information; for example, the agent service platform queries the registration center to obtain protocol information, framework information and development language information corresponding to the service party identifier; the agent service platform processes message information to carry out protocol conversion according to the protocol information, the frame information and the development language information of the service party; and the proxy service platform encapsulates the converted message information to obtain an update request message.
That is, in this embodiment, the protocol information, the framework information, and the development language information of the requester may be different from the protocol information, the framework information, and the development language information of the server, and after the server provides the interface in the prior art, the requester needs to develop according to the provided interface, but in this embodiment, the proxy service platform is used to analyze the request message corresponding to the call request sent by the requester and convert the request message into the request message corresponding to the server, and the requester does not need to perform corresponding development, so that the service call is more convenient, specifically:
step S30, sending the update request packet to the service side corresponding to the call request, so as to request the service side to call a target service according to the update request packet, and obtain result data.
The agent service platform sends the update request message to a service party corresponding to the call request to request the service party to call the target service according to the update request message to obtain result data, namely, the service party receives the update request message sent by the agent service platform, the service party calls the corresponding target service according to the update request message to obtain the result data,
step S40, receiving the result data sent by the service side, processing the result data, and feeding back the processed result data to the request side.
The proxy service platform receives the result data sent by the service party, processes the result data, namely, the proxy service platform analyzes the result data sent by the service, converts the result data into protocol information, framework information and development language information corresponding to the request party and can output a data result, and feeds the processed result data back to the request party so that a user corresponding to the request party can obtain the result data corresponding to the call request.
For example, when the grain transaction system accesses the signature system, the signature system is directly accessed before, for example, ten service scenes need to access the signature system to perform electronic signature, and then the ten service scenes need to be written with the same codes (for example, the ten scenes need to access the signature system for many times when performing electronic signature), and when an electronic signature scene is newly added, the electronic signature scene needs to be encoded again (because the codes cannot be reused); during encoding, the request message is packaged and the returned message is analyzed when the signature system is accessed every time, and the functions of fusing, current limiting and load balancing are not provided; the pain points are summarized and analyzed, and the data interface provided by the signature system is encapsulated and proxied again, so that the pain point problem of the original system is solved, the research and development workload of research and development personnel is reduced, and the code readability and reusability are improved.
In the embodiment of the invention, the agent service platform is set up in advance, the agent service platform receives the calling request sent by the requester, and the request message corresponding to the calling request is processed and forwarded to the server, so that the requester and the server do not need to be in direct communication connection, the requester does not need to develop according to a service interface provided by the server, the development amount of application program codes of the requester is reduced, the development efficiency of the application program of the requester is improved, when the application program of the requester is updated, the codes do not need to be rewritten, the server only needs to be connected with the agent platform, a plurality of requesters do not need to be connected, and the safety of the server is ensured.
Further, a second embodiment of the proxy service method of the present invention is proposed on the basis of the first embodiment of the present invention.
This embodiment is a step before step S30 in the first embodiment, and is different from the first embodiment of the present invention in that:
judging whether interface current limiting configuration exists or not;
if the interface current-limiting configuration does not exist, executing the step of sending the updating request message to the service party corresponding to the calling request so as to request the service party to call a target service according to the updating request message and obtain result data;
if the interface current limiting configuration exists, counting the access frequency of the calling request, and judging whether the access frequency is higher than a current limiting threshold value in the interface current limiting configuration;
if the access frequency is higher than the current limiting threshold value in the interface current limiting configuration, returning a current limiting error prompt to the requester;
and if the access frequency is not higher than the current limiting threshold value in the interface current limiting configuration, sending the updating request message to a service party corresponding to the calling request to request the service party to call a target service according to the updating request message to obtain result data.
After step S20 of the first embodiment of the present invention, that is, after the proxy service platform converts the request message corresponding to the requestor, the proxy service platform obtains the configuration information of the configuration module, and the proxy service platform determines whether there is interface current limiting configuration according to the configuration information;
if the interface throttling configuration does not exist, the proxy service platform executes step S30 in the first embodiment: and sending the updating request message to a server side corresponding to the calling request so as to request the server side to call a target service according to the updating request message and obtain result data.
If the interface current limiting configuration exists, the proxy service platform counts the access frequency of the calling request, and judges whether the access frequency is higher than a current limiting threshold value in the interface current limiting configuration (the current limiting threshold value refers to a preconfigured process limiting threshold value, and the current limiting threshold value can be set according to a specific scene); if the access frequency is higher than the current limiting threshold value in the interface current limiting configuration, returning a current limiting error prompt to the requester; if the access frequency is not higher than the current limit threshold in the interface current limit configuration, step S30 in the first embodiment is executed: and sending the updating request message to a server side corresponding to the calling request so as to request the server side to call a target service according to the updating request message and obtain result data.
In this embodiment, if the access frequency is not higher than the current limit threshold in the interface current limit configuration, the step of sending the update request packet to the service party corresponding to the call request to request the service party to call a target service according to the update request packet to obtain result data includes:
if the access frequency is not higher than the current limiting threshold value in the interface current limiting configuration, sending the update request message to a preset message queue;
inquiring a preset registration module, acquiring information of a service party corresponding to the calling request, and selecting a server from a service cluster corresponding to the service party according to the information of the service party;
and sending the updating request message in the message queue to the server through a preset load balancing module so as to request the server to call a target service according to the updating request message and obtain result data.
If the access frequency is not higher than the current limiting threshold value in the interface current limiting configuration, the agent service platform sends the update request message to a preset message queue; the proxy service platform inquires a preset registration module to obtain service party information corresponding to the call request, and selects a server from a service cluster corresponding to the service party according to the service party information; in particular, the amount of the solvent to be used,
the implementation mode is as follows: the agent service platform can acquire the current task number of each server in the service cluster corresponding to the service party, and the agent service platform selects the server with the least current task number to process the request, so that the service can be responded to fastest;
the implementation mode two is as follows: the agent service platform can obtain the position information of each server in the service cluster corresponding to the service party, the agent service platform selects the server closest to the position of the request party to process the request, and the server selection is carried out according to the geographical position, so that the later inquiry management can be facilitated, and the resource consumption of the mobile network can be reduced.
In addition, the manner of selecting the server from the service cluster corresponding to the service party by the proxy service platform is not particularly limited.
And the agent service platform sends the update request message in the message queue to the server through a preset load balancing module so as to request the server to call the target service according to the update request message and obtain result data. For example, a specific scenario provided in this embodiment is that the proxy service platform receives an access request, analyzes the request message, and performs one or more assembling of the request message and sending of the request according to actual conditions, and when sending the request to the service party, if an interface current limiting configuration exists, determines whether current limiting is needed by combining with the current limiting module, and if current limiting is needed, directly returns relevant error information of current limiting; if the current is not limited, a load balancing module is called, a server is selected for accessing by combining with the server information storage list in the registration module, if the access is fused, or the access is too slow and overtime and needs to be fused, the fusing related information is returned, otherwise, the server is normally accessed and the normal information is returned.
In the embodiment, the interface current limiting information is configured on the proxy service platform, so that the excessive pressure of a service party can be avoided, and the processing efficiency of the request is effectively improved by selecting different cluster processing requests.
Further, a third embodiment of the proxy service method of the present invention is proposed on the basis of the above-mentioned embodiments of the present invention.
This embodiment is a refinement of the step S40 in the first embodiment, and the difference between this embodiment and the above-described embodiment of the present invention is:
if the request of the calling request is successful, processing the result data and feeding back the processed result data to the requester;
if the request of the calling request fails, acquiring the sending duration of the updating request message, and judging whether the sending duration exceeds the preset processing duration;
if the sending time length does not exceed the preset processing time length, feeding back processing error information to the requester;
and if the sending time length exceeds the preset processing time length, starting a fusing mechanism and feeding fusing information back to the requester.
If the request of the calling request is successful, the proxy service platform processes result data and feeds back the processed result data to the requester; if the request of the calling request fails, the proxy service platform acquires the sending time length of the updating request message and judges whether the sending time length exceeds the preset processing time length (the preset processing time length can be set according to a specific scene); if the sending time length does not exceed the preset processing time length, the preset processing time length feeds back processing error information to the requester; and if the sending time length exceeds the preset processing time length, the preset processing time length starts a fusing mechanism and feeds fusing information back to the requester.
For example, when a specific scenario agent service platform receives a request, the service agent system analyzes a request message of the request, packages the request message for accessing a third party, and requests the third party; if the corresponding current limiting configuration exists, corresponding current limiting judgment is carried out, whether current limiting is needed or not is carried out, if the current limiting is needed, corresponding processing (queue waiting or error direct return is carried out), if the current limiting is not needed or the current limiting threshold value is not reached, a load balancing module selects one server according to a server information storage list, the request is forwarded to the server for processing, whether the request is successful or not is judged, if the request is successful, normal data is directly returned, if the request is failed, whether fusing is needed or not is judged, if fusing is needed, fusing related information is returned, and if fusing is not needed, error information is directly returned. In the embodiment, the fusing operation is performed on the request which does not respond for a long time, so that the requester can obtain effective feedback, and the occupation of service resources is reduced.
Further, a fourth embodiment of the proxy service method of the present invention is proposed on the basis of the above-mentioned embodiments of the present invention.
This embodiment is a step before step S30 in the first embodiment, and the difference between this embodiment and the above-described embodiment of the present invention is:
determining a request function corresponding to the call request according to the update request message, inquiring a preset function assembly module, and judging whether an assembled function identical to the request function exists or not;
if the assembled function which is the same as the request function exists, acquiring an assembled service interface corresponding to the target assembled function, calling a service party according to the assembled service interface, and executing the update request message to be sent to the service party corresponding to the call request so as to request the service party to call a target service according to the update request message, and acquiring result data;
if the assembled function which is the same as the request function does not exist, packaging an interface provided by a server according to the request function to form an assembled service interface, calling the server according to the assembled service interface, and executing the update request message to be sent to the server corresponding to the call request so as to request the server to call a target service according to the update request message to obtain result data.
The agent service platform assembles the function interfaces of all related services in advance, namely, the agent service platform analyzes and encapsulates the request sent by the requester, then the function assembly module accesses the service side (API) to obtain the result data finally returned to the requester, and encapsulates and returns the data to the requester; when a requester calls an interface through a proxy platform, determining a request function corresponding to the call request according to the update request message, inquiring a preset function assembly module, and judging whether an assembled function identical to the request function exists,
If the assembled function which is the same as the request function exists, the assembled service interface corresponding to the target assembled function is obtained, a server is called according to the assembled service interface, the update request message is sent to the server corresponding to the call request to request the server to call the target service according to the update request message, the result data proxy service platform is obtained, the corresponding function can be realized only by calling the assembled interface, the frequency of repeated calling of the interface is reduced, and the service response efficiency is improved.
If the assembled function which is the same as the request function does not exist, an interface provided by a server is packaged according to the request function to form an assembled service interface, the server is called according to the assembled server interface, the server is called according to the assembled service interface, the update request message is sent to the server corresponding to the call request, so that the server is requested to call a target service according to the update request message, result data is obtained, flexible interface assembly is carried out when the request is carried out, and service calling is more flexible.
Further, a fifth embodiment of the proxy service method of the present invention is proposed on the basis of the above-described embodiments of the present invention.
This embodiment is the step after step S40 in the first embodiment, and the difference between this embodiment and the above-described embodiment of the present invention is:
receiving a service query request, and acquiring query information corresponding to the service query request, wherein the query information comprises identification information of a requester, identification information of a server and/or sending time of a call request;
and querying the historical service log, and acquiring and outputting a query result corresponding to the query information.
The method comprises the steps that a proxy service platform receives a service query request, wherein the triggering mode of the service query request is not specifically limited, and the proxy service platform obtains query information corresponding to the service query request, wherein the query information comprises identification information of a requester, identification information of a server and/or sending time of a call request; the agent service platform queries a historical service log (the historical service log refers to a background database corresponding to the agent service platform), acquires a query result corresponding to the query information and outputs the query result.
In addition, referring to fig. 4, an embodiment of the present invention further provides a proxy service apparatus, where the proxy service apparatus includes:
a request receiving module 10, configured to receive a call request sent by a requester, and obtain an initial request packet corresponding to the call request;
a message analyzing module 20, configured to analyze and process the initial request message, and obtain an update request message corresponding to the call request;
a sending request module 30, configured to send the update request packet to a service party corresponding to the call request, so as to request the service party to call a target service according to the update request packet, and obtain result data;
and the receiving feedback module 40 is configured to receive the result data sent by the server, process the result data, and feed back the processed result data to the requester.
In one embodiment, the proxy service apparatus includes:
and the platform building module is used for integrating a predefined configuration module, a protocol conversion module, a fusing module, a current limiting module, a data structure analysis assembly module, a function assembly module, an audit module, a registration module and a load balancing module to form an agent service platform.
In one embodiment, the proxy service apparatus includes:
the current limiting judgment module is used for judging whether interface current limiting configuration exists or not;
if the interface current-limiting configuration does not exist, calling the sending request module, wherein the sending request module is used for executing the step of sending the updating request message to the service party corresponding to the calling request so as to request the service party to call a target service according to the updating request message and obtain result data;
the flow judgment module is used for counting the access frequency of the calling request and judging whether the access frequency is higher than a current limiting threshold value in the interface current limiting configuration or not if the interface current limiting configuration exists;
a prompt sending module, configured to return a current-limiting error prompt to the requester if the access frequency is higher than a current-limiting threshold in the interface current-limiting configuration;
and if the access frequency is not higher than the current limiting threshold value in the interface current limiting configuration, executing a message sending module, which is used for sending the update request message to a service party corresponding to the call request so as to request the service party to call a target service according to the update request message, and obtaining result data.
In an embodiment, if the access frequency is not higher than a current limit threshold in the interface current limit configuration, a message sending module is called, where the message sending module includes:
a first sending unit, configured to send the update request packet to a preset message queue if the access frequency is not higher than a current limit threshold in the interface current limit configuration;
the query selection unit is used for querying a preset registration module, acquiring the information of a service party corresponding to the call request, and selecting a server from the service cluster corresponding to the service party according to the information of the service party;
and the sending request unit is used for sending the updating request message in the message queue to the server through a preset load balancing module so as to request the server to call a target service according to the updating request message and obtain result data.
In one embodiment, the receiving feedback module includes:
a receiving and judging unit, configured to receive the result data sent by the server, and judge whether the call request is successful according to the result data;
the first feedback unit is used for processing the result data and feeding back the processed result data to the requester if the request of the calling request is successful;
a time judgment unit, configured to, if the request of the call request fails, obtain a sending duration of the update request packet, and judge whether the sending duration exceeds a preset processing duration;
the error feedback unit is used for feeding back processing error information to the requester if the sending duration does not exceed the preset processing duration;
and the fusing feedback unit is used for starting a fusing mechanism and feeding fusing information back to the requester if the sending duration exceeds the preset processing duration.
In an embodiment, the packet parsing module includes:
the analysis obtaining unit is used for analyzing the initial request message and obtaining message information in the initial request message;
the extraction determining unit is used for extracting the service party information corresponding to the calling request in the message information, and determining the protocol information, the framework information and the development language information of the service party according to the service party information;
a message conversion unit, configured to process the message information according to the protocol information of the service party, the framework information, and the development language information to perform protocol conversion;
and the message packaging unit is used for packaging the converted message information to obtain an updating request message.
In one embodiment, the proxy service apparatus includes:
the query judging module is used for determining a request function corresponding to the call request according to the update request message, querying a preset function assembling module and judging whether an assembled function which is the same as the request function exists or not;
the obtaining and sending module is used for obtaining an assembly service interface corresponding to the target assembly function if the assembled function which is the same as the request function exists, calling a service party according to the assembly service interface, and executing the sending of the update request message to the service party corresponding to the calling request so as to request the service party to call a target service according to the update request message and obtain result data;
and the interface assembling module is used for packaging an interface provided by a service party according to the request function to form an assembled service interface if the assembled function which is the same as the request function does not exist, calling the service party according to the assembled service party interface, calling the service party according to the assembled service interface, and executing the update request message to be sent to the service party corresponding to the call request so as to request the service party to call a target service according to the update request message to obtain result data.
In the proxy service device in the proxy service platform, the proxy service platform is set up in advance, the proxy service platform receives the call request sent by the requester, the request message corresponding to the call request is processed and then forwarded to the server, so that the requester and the server do not need to be in direct communication connection, the requester does not need to develop according to a service interface provided by the server, development amount of application program codes of the requester is reduced, development efficiency of the application program of the requester is improved, codes do not need to be rewritten when the application program of the requester is updated, the server only needs to be connected with the proxy platform, a plurality of requesters do not need to be connected, and safety of the server is guaranteed.
The steps implemented by each functional module of the proxy service device may refer to each embodiment of the proxy service method of the present invention, and are not described herein again.
In addition, the embodiment of the invention also provides a computer readable storage medium.
The computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the operations in the proxy service method provided by the above embodiments.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity/action/object from another entity/action/object without necessarily requiring or implying any actual such relationship or order between such entities/actions/objects; the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system 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 system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
For the apparatus embodiment, since it is substantially similar to the method embodiment, it is described relatively simply, and reference may be made to some descriptions of the method embodiment for relevant points. The above-described apparatus embodiments are merely illustrative, in that elements described as separate components may or may not be physically separate. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the invention. One of ordinary skill in the art can understand and implement it without inventive effort.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, an agent service platform, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (10)
1. A proxy service method is applied to a proxy service platform, and is characterized by comprising the following steps:
receiving a calling request sent by a requester, and acquiring an initial request message corresponding to the calling request;
analyzing and processing the initial request message to obtain an updating request message corresponding to the calling request;
sending the updating request message to a server side corresponding to the calling request so as to request the server side to call a target service according to the updating request message and obtain result data;
and receiving the result data sent by the server, processing the result data and feeding back the processed result data to the requester.
2. The proxy service method according to claim 1, wherein before the step of receiving the invocation request sent by the requester and obtaining the initial request packet corresponding to the invocation request, the method comprises:
and integrating a predefined configuration module, a protocol conversion module, a fusing module, a current limiting module, a data structure analysis assembly module, a function assembly module, an audit module, a registration module and a load balancing module to form an agent service platform.
3. The proxy service method according to claim 1, wherein before the step of sending the update request packet to the server corresponding to the invocation request to request the server to invoke the target service according to the update request packet, the method includes:
judging whether interface current limiting configuration exists or not;
if the interface current-limiting configuration does not exist, executing the step of sending the updating request message to the service party corresponding to the calling request so as to request the service party to call a target service according to the updating request message and obtain result data;
if the interface current limiting configuration exists, counting the access frequency of the calling request, and judging whether the access frequency is higher than a current limiting threshold value in the interface current limiting configuration;
if the access frequency is higher than the current limiting threshold value in the interface current limiting configuration, returning a current limiting error prompt to the requester;
and if the access frequency is not higher than the current limiting threshold value in the interface current limiting configuration, sending the updating request message to a service party corresponding to the calling request to request the service party to call a target service according to the updating request message to obtain result data.
4. The proxy service method according to claim 3, wherein if the access frequency is not higher than the current limit threshold in the interface current limit configuration, the step of sending the update request packet to the server corresponding to the invocation request to request the server to invoke the target service according to the update request packet to obtain the result data is performed, and includes:
if the access frequency is not higher than the current limiting threshold value in the interface current limiting configuration, sending the update request message to a preset message queue;
inquiring a preset registration module, acquiring information of a service party corresponding to the calling request, and selecting a server from a service cluster corresponding to the service party according to the information of the service party;
and sending the updating request message in the message queue to the server through a preset load balancing module so as to request the server to call a target service according to the updating request message and obtain result data.
5. The proxy service method of claim 1, wherein the step of receiving the result data sent by the service party, processing the result data, and feeding back the processed result data to the requesting party comprises:
receiving the result data sent by the server side, and judging whether the call request is successful according to the result data;
if the request of the calling request is successful, processing the result data and feeding back the processed result data to the requester;
if the request of the calling request fails, acquiring the sending duration of the updating request message, and judging whether the sending duration exceeds the preset processing duration;
if the sending time length does not exceed the preset processing time length, feeding back processing error information to the requester;
and if the sending time length exceeds the preset processing time length, starting a fusing mechanism and feeding fusing information back to the requester.
6. The proxy service method according to claim 1, wherein the step of parsing and processing the initial request packet to obtain the update request packet corresponding to the invocation request comprises:
analyzing the initial request message to obtain message information in the initial request message;
extracting service party information corresponding to the call request in the message information, and determining protocol information, framework information and development language information of the service party according to the service party information;
processing the message information according to the protocol information, the frame information and the development language information of the service party to perform protocol conversion;
and packaging the converted message information to obtain an updating request message.
7. The proxy service method according to any one of claims 1 to 6, wherein before the step of sending the update request packet to the service side corresponding to the invocation request to request the service side to invoke the target service according to the update request packet, the method includes:
determining a request function corresponding to the call request according to the update request message, inquiring a preset function assembly module, and judging whether an assembled function identical to the request function exists or not;
if the assembled function which is the same as the request function exists, acquiring an assembled service interface corresponding to the target assembled function, calling a service party according to the assembled service interface, and executing the update request message to be sent to the service party corresponding to the call request so as to request the service party to call a target service according to the update request message, and acquiring result data;
if the assembled function which is the same as the request function does not exist, packaging an interface provided by a server according to the request function to form an assembled service interface, calling the server according to the assembled service interface, and executing the update request message to be sent to the server corresponding to the call request so as to request the server to call a target service according to the update request message to obtain result data.
8. A proxy service apparatus provided in a proxy service platform, the proxy service apparatus comprising:
the request receiving module is used for receiving a calling request sent by a requester and acquiring an initial request message corresponding to the calling request;
the message analysis module is used for analyzing and processing the initial request message and obtaining an updating request message corresponding to the calling request;
the sending request module is used for sending the updating request message to a server side corresponding to the calling request so as to request the server side to call a target service according to the updating request message and obtain result data;
and the receiving feedback module is used for receiving the result data sent by the server, processing the result data and feeding back the processed result data to the requester.
9. The agent service device is characterized in that an agent service platform is set up on the agent service device, and the agent service device comprises: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein:
the computer program, when executed by the processor, implementing the steps of the proxy service method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, realizes the steps of the proxy service method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010800002.4A CN112054998A (en) | 2020-08-10 | 2020-08-10 | Proxy service method, device, equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010800002.4A CN112054998A (en) | 2020-08-10 | 2020-08-10 | Proxy service method, device, equipment and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112054998A true CN112054998A (en) | 2020-12-08 |
Family
ID=73601726
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010800002.4A Pending CN112054998A (en) | 2020-08-10 | 2020-08-10 | Proxy service method, device, equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112054998A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113515392A (en) * | 2021-05-17 | 2021-10-19 | 腾讯科技(深圳)有限公司 | RPC calling method, device, equipment and storage medium |
CN113835911A (en) * | 2021-11-23 | 2021-12-24 | 深圳市明源云科技有限公司 | Intranet penetration agent method, system, host and computer readable storage medium |
CN113839993A (en) * | 2021-09-03 | 2021-12-24 | 深圳市托奇科技有限公司 | Instruction issuing system capable of supporting mass equipment |
CN114567557A (en) * | 2022-03-07 | 2022-05-31 | 上海数禾信息科技有限公司 | Message processing method and device, computer equipment and storage medium |
CN114978888A (en) * | 2022-04-25 | 2022-08-30 | 平安付科技服务有限公司 | Message forwarding method and device, electronic equipment and storage medium |
CN116132246A (en) * | 2022-09-02 | 2023-05-16 | 马上消费金融股份有限公司 | Interaction method, device, gateway equipment and storage medium |
CN116980480A (en) * | 2023-09-25 | 2023-10-31 | 上海伊邦医药信息科技股份有限公司 | Method and system for processing fusing information based on micro-service network model |
CN117278323A (en) * | 2023-11-16 | 2023-12-22 | 荣耀终端有限公司 | Third party information acquisition method, electronic equipment and readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108289060A (en) * | 2017-01-09 | 2018-07-17 | 腾讯科技(深圳)有限公司 | A kind of data processing method and device based on RPC service |
US20180278471A1 (en) * | 2017-03-21 | 2018-09-27 | International Business Machines Corporation | Generic connector module capable of integrating multiple applications into an integration platform |
CN109120684A (en) * | 2018-08-01 | 2019-01-01 | 武汉索雅信息技术有限公司 | Informatization management method, device, ESB bus platform and storage medium |
CN109150858A (en) * | 2018-08-01 | 2019-01-04 | 武汉索雅信息技术有限公司 | Request processing method, equipment, system and the storage medium of data interaction bus |
CN110022289A (en) * | 2018-01-10 | 2019-07-16 | 北龙中网(北京)科技有限责任公司 | Data transmission method, apparatus and system |
CN111338604A (en) * | 2020-02-28 | 2020-06-26 | 深圳前海微众银行股份有限公司 | Service generation method, device, equipment and computer readable storage medium |
-
2020
- 2020-08-10 CN CN202010800002.4A patent/CN112054998A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108289060A (en) * | 2017-01-09 | 2018-07-17 | 腾讯科技(深圳)有限公司 | A kind of data processing method and device based on RPC service |
US20180278471A1 (en) * | 2017-03-21 | 2018-09-27 | International Business Machines Corporation | Generic connector module capable of integrating multiple applications into an integration platform |
CN110022289A (en) * | 2018-01-10 | 2019-07-16 | 北龙中网(北京)科技有限责任公司 | Data transmission method, apparatus and system |
CN109120684A (en) * | 2018-08-01 | 2019-01-01 | 武汉索雅信息技术有限公司 | Informatization management method, device, ESB bus platform and storage medium |
CN109150858A (en) * | 2018-08-01 | 2019-01-04 | 武汉索雅信息技术有限公司 | Request processing method, equipment, system and the storage medium of data interaction bus |
CN111338604A (en) * | 2020-02-28 | 2020-06-26 | 深圳前海微众银行股份有限公司 | Service generation method, device, equipment and computer readable storage medium |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113515392A (en) * | 2021-05-17 | 2021-10-19 | 腾讯科技(深圳)有限公司 | RPC calling method, device, equipment and storage medium |
CN113515392B (en) * | 2021-05-17 | 2024-02-09 | 腾讯科技(深圳)有限公司 | RPC calling method, device, equipment and storage medium |
CN113839993A (en) * | 2021-09-03 | 2021-12-24 | 深圳市托奇科技有限公司 | Instruction issuing system capable of supporting mass equipment |
CN113835911A (en) * | 2021-11-23 | 2021-12-24 | 深圳市明源云科技有限公司 | Intranet penetration agent method, system, host and computer readable storage medium |
CN113835911B (en) * | 2021-11-23 | 2022-03-01 | 深圳市明源云科技有限公司 | Intranet penetration agent method, system, host and computer readable storage medium |
CN114567557A (en) * | 2022-03-07 | 2022-05-31 | 上海数禾信息科技有限公司 | Message processing method and device, computer equipment and storage medium |
CN114978888B (en) * | 2022-04-25 | 2024-02-06 | 平安付科技服务有限公司 | Message forwarding method and device, electronic equipment and storage medium |
CN114978888A (en) * | 2022-04-25 | 2022-08-30 | 平安付科技服务有限公司 | Message forwarding method and device, electronic equipment and storage medium |
CN116132246A (en) * | 2022-09-02 | 2023-05-16 | 马上消费金融股份有限公司 | Interaction method, device, gateway equipment and storage medium |
CN116980480A (en) * | 2023-09-25 | 2023-10-31 | 上海伊邦医药信息科技股份有限公司 | Method and system for processing fusing information based on micro-service network model |
CN116980480B (en) * | 2023-09-25 | 2024-02-27 | 上海伊邦医药信息科技股份有限公司 | Method and system for processing fusing information based on micro-service network model |
CN117278323A (en) * | 2023-11-16 | 2023-12-22 | 荣耀终端有限公司 | Third party information acquisition method, electronic equipment and readable storage medium |
CN117278323B (en) * | 2023-11-16 | 2024-04-19 | 荣耀终端有限公司 | Third party information acquisition method, electronic equipment and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112054998A (en) | Proxy service method, device, equipment and computer readable storage medium | |
EP3629552B1 (en) | Method, registration center and device for service discovery | |
CN109672580B (en) | Full link monitoring method, device, terminal equipment and storage medium | |
US20160286380A1 (en) | Management method for embedded universal integrated circuit card, related device, and system | |
CN110958281B (en) | Data transmission method and communication device based on Internet of things | |
CN109120684B (en) | Information management method and device, ESB (Enterprise service bus) platform and storage medium | |
CN106878368B (en) | Method and device for realizing information push | |
CN111258723B (en) | Transaction processing method, device, system, medium and equipment of distributed system | |
CN112187908A (en) | Data processing method, system and interface service platform | |
CN110753129A (en) | Message transmission method, system, device, equipment and computer readable storage medium | |
CN111083219A (en) | Request processing method, device, equipment and computer readable storage medium | |
CN112395107A (en) | Tax control equipment control method and device, storage medium and electronic equipment | |
CN110990619A (en) | Buried point data query method, device, system, equipment and computer storage medium | |
CN111931030A (en) | Request adaptation method, device, equipment and storage medium based on heterogeneous system | |
CN111694620A (en) | Interaction method, device and equipment of third-party service and computer storage medium | |
CN113179269B (en) | Protocol data analysis method, system and medium based on Internet of things | |
US20040040022A1 (en) | Method and apparatus for just-in-time provisioning application-related information at a communication device | |
EP3308530A1 (en) | Policy based routing respecting network conditions | |
WO2020173345A1 (en) | Method for service decision distribution among multiple terminal devices and system | |
CN111756916A (en) | Application processing method and device, electronic equipment and computer storage medium | |
CN111367683A (en) | Result obtaining method, device and equipment | |
CN111400060B (en) | Equipment linkage method, device, server and medium | |
KR102506155B1 (en) | Electronic device, application executing system and control methods thereof | |
CN114745412A (en) | Bidirectional remote procedure calling method, device, equipment and storage medium | |
KR100798916B1 (en) | Method and system for handling the network events in application server using open API based web services |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201208 |
|
RJ01 | Rejection of invention patent application after publication |