Channel gateway service method and device, electronic equipment and storage medium

By setting up multiple channel docking modules in the channel gateway service system and assembled into the service cache unit, the problem of waste and maintenance of channel gateway resources is solved, the isolation and expansion of channel access is achieved, and resource utilization is improved rationality and efficiency of system maintenance.

CN119496816APending Publication Date: 2025-02-21LIANLIAN HANGZHOU INFORMATION TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411618937.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-13
Publication Date
2025-02-21

AI Technical Summary

Technical Problem

The existing channel gateway technology has the problem of waste of resources and maintenance workload, especially because the transaction volume of some channels is small, resulting in idle resources, which increases the complexity of system maintenance.

Method used

By setting up multiple channel docking modules in the channel gateway service system, the channel services of these modules are assembled to the service cache unit at startup, receiving service processing requests from the business party, and determining the target channel service based on the request, controlling the docking module and channel party Interaction, realize the rational use of resources and simplify maintenance.

Benefits of technology

It realizes the isolation and scalability of channel access, reduces resource waste and maintenance workload, improves the rationality of resource utilization and system maintenance efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119496816A_ABST
    Figure CN119496816A_ABST
Patent Text Reader

Abstract

The invention discloses a channel gateway service method and device, electronic equipment and a storage medium, and the method comprises the steps: calling a target channel gateway corresponding to a target business party in response to a service processing request of the target business party for a target channel service, and carrying out the service processing of a service cache unit corresponding to the target channel gateway from the channel service of the service cache unit corresponding to the target channel gateway, determining a target channel service; the channel service of the service cache unit is used for assembling at least one channel service corresponding to each channel docking module in a plurality of target channel docking modules corresponding to a target channel gateway into the service cache unit under the condition that the target channel gateway is started; determining a current channel docking module corresponding to the target channel service from the plurality of target channel docking modules, and controlling the current channel docking module to interact with the target channel party so as to execute a service operation corresponding to the service processing request; according to the technical scheme, reasonable utilization of resources is achieved, and the maintenance workload is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent service technology, and in particular to a channel gateway service method, device, electronic device and storage medium. Background Art

[0002] The channel gateway is an application for the interaction between the system and the channel. The channel gateway is responsible for encapsulating system instructions and passing them to the channel, processing the channel return content, and escaping the system transaction status. It is also responsible for interacting with the channel API, receiving channel Webhook notifications, and pulling bills. Generally, in order to isolate the channel and ensure business independence, and to facilitate channel maintenance, the existing technology encapsulates the access of a channel into an application, that is, encapsulates the entire channel gateway, one channel gateway corresponds to one channel, or encapsulates one payment product of a channel into one application. However, the transaction volume of some channels is very small, and there is not much traffic entering. They are idle for a long time, which easily causes unnecessary waste of resources. At the same time, due to too many channel applications, it brings inconvenience to system maintenance. Therefore, a new channel gateway service method is needed to achieve more rational use of resources, realize isolation and scalability of channel access, and reduce maintenance workload. Summary of the invention

[0003] In view of this, the embodiments of the present invention provide a channel gateway service method, device, electronic device and storage medium to solve technical problems such as resource waste and heavy maintenance workload in the channel gateway.

[0004] One aspect of the present invention provides a channel gateway service method, the method comprising the following steps:

[0005] In response to a service processing request of a target business party for a target channel service, a target channel gateway corresponding to the target business party is called, and the target channel service is determined from the channel services of a service cache unit corresponding to the target channel gateway; the channel service of the service cache unit is to assemble at least one channel service corresponding to each of a plurality of target channel docking modules corresponding to the target channel gateway into the service cache unit when the target channel gateway is started;

[0006] From the multiple target channel docking modules, determine the current channel docking module corresponding to the target channel service, and control the current channel docking module to interact with the target channel party to execute the service operation corresponding to the service processing request.

[0007] Another aspect of the present invention provides a target channel gateway service method device, the device comprising:

[0008] A response module, for responding to a service processing request of a target business party for a target channel service, calling a target channel gateway corresponding to the target business party, and determining the target channel service from the channel services of a service cache unit corresponding to the target channel gateway; the channel service of the service cache unit is to assemble at least one channel service corresponding to each of a plurality of target channel docking modules corresponding to the target channel gateway into the service cache unit when the target channel gateway is started;

[0009] The determination module is used to determine the current channel docking module corresponding to the target channel service from the multiple target channel docking modules, and control the current channel docking module to interact with the target channel party to execute the service operation corresponding to the service processing request.

[0010] Another aspect of the present invention provides an electronic device, comprising:

[0011] processor;

[0012] a memory for storing instructions executable by the processor;

[0013] Wherein, the processor is configured to execute the instructions to implement any one of the channel gateway service methods described above.

[0014] Yet another aspect of the present invention provides a computer-readable storage medium, which, when instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to execute any one of the channel gateway service methods described above.

[0015] The present invention provides a channel gateway service method, device, electronic device and storage medium. By setting multiple channel docking modules in a channel gateway service system, when the target channel gateway is started, at least one channel service corresponding to each of the multiple channel docking modules corresponding to the target channel gateway is assembled into a service cache unit, a service processing request for the target channel service from the target business party is received, and based on the service processing request, the target channel service is determined from the channel services of the service cache unit, and then based on the target channel service, the current channel docking module is determined from the multiple target channel docking modules, so as to achieve isolation and scalability of channel access, and control the current channel docking module to interact with the target channel party, so as to achieve that the target channel gateway can interact with at least one target channel party, thereby achieving rational use of resources and reducing maintenance workload. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0017] Figure 1 is a schematic diagram of a system structure of a channel gateway service method provided according to an exemplary embodiment;

[0018] Figure 2 It is a flow chart of introducing a preset channel docking module corresponding to a target business party into a preset channel gateway corresponding to each preset business party according to an exemplary embodiment;

[0019] Figure 3 A flowchart of introducing a preset channel docking module matching channel identification information into a preset channel gateway corresponding to each preset business party based on a channel matching result of first channel identification information and second channel identification information provided according to an exemplary embodiment;

[0020] Figure 4 It is a structural diagram of a channel gateway service device provided according to an exemplary embodiment. DETAILED DESCRIPTION

[0021] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0022] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or server that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0023] Figure 1It is a flow chart of a channel gateway service method provided according to an exemplary embodiment. The following introduces an embodiment of a channel gateway service method of the present application with a channel gateway service system as the execution subject. Specifically, Figure 1 As shown, the method includes:

[0024] S101: In response to a service processing request of a target business party for a target channel service, a target channel gateway corresponding to the target business party is called, and the target channel service is determined from channel services of a service cache unit corresponding to the target channel gateway.

[0025] In a specific embodiment, the channel service of the service cache unit is to assemble at least one channel service corresponding to each of the multiple target channel docking modules corresponding to the target channel gateway into the service cache unit when the target channel gateway is started; specifically, in the payment scenario, the channel service can be a payment service, a refund service and other services, the target business party can be a functional party with a payment initiation function such as JD.com and Taobao, and the channel party can be software with a payment function such as Alipay and WeChat; optionally, when the target business party generates a service demand, a service processing request will be sent to the channel routing, and the channel routing determines the target channel gateway based on the service processing request; the target business party can be a business initiator conducting channel business; at least one channel service corresponding to each channel docking module can be a service instantiation that can be provided locally by the external channel corresponding to each channel docking module; the service processing request can be a service processing request that the target service party needs to perform; the target channel docking module can be a functional module that docks with the target channel party.

[0026] In a specific embodiment, a channel gateway service system is provided in the present application. Specifically, the system includes a plurality of preset channel gateways. Specifically, each preset channel gateway includes a preset assembly module, a gateway control unit and a plurality of channel docking modules, wherein the gateway control unit is respectively connected to the preset assembly module and the plurality of channel docking modules, the preset assembly module is connected to the plurality of channel docking modules, and the preset assembly module includes a service cache unit;

[0027] Specifically, when the target business direction channel gateway service system sends a service processing request, the channel gateway service system receives and processes it. Optionally, when the target business party sends a service processing request, it already knows what kind of service is needed, and then when receiving the service processing request sent by the target business party, the target channel gateway corresponding to the target business party is called for processing. Optionally, the target channel service is determined from the channel service of the service cache unit corresponding to the target channel gateway. Specifically, the channel service of the service cache unit is to assemble at least one channel service corresponding to each of the multiple target channel docking modules corresponding to the target channel gateway into the service cache unit when the target channel gateway is started.

[0028] In an optional embodiment, the above method may further include:

[0029] The target assembly module in the target channel gateway is called to assemble at least one channel service corresponding to each of the multiple channel docking modules corresponding to the target channel gateway into the service cache unit in the target assembly module.

[0030] In a specific embodiment, when the target channel gateway is started, the gateway control unit calls the target assembly module in the target channel gateway to assemble at least one channel service corresponding to each of the multiple channel docking modules corresponding to the target channel gateway into the service cache unit in the target assembly module. Specifically, when the target channel gateway is started, service instantiation is performed on at least one channel service corresponding to each of the multiple channel docking modules corresponding to the target channel gateway, and then at least one channel service corresponding to each of the multiple channel docking modules corresponding to the target channel gateway is assembled into the service cache unit in the target assembly module.

[0031] In the above embodiment, by using the target assembly module of the target channel gateway to assemble the target channel service corresponding to the target channel gateway into the service cache unit of the target channel gateway in response to the service processing request of the target business party for the target channel service, the target channel service is determined from the channel services in the service cache unit, thereby improving the rationality and rigor of determining the current channel docking module, further improving the accuracy of determining the current channel docking module, and correspondingly improving the rationality of resource utilization.

[0032] Figure 2 is a flow chart of introducing a preset channel docking module corresponding to a target business party into a preset channel gateway corresponding to each preset business party according to an exemplary embodiment. Figure 2 As shown, the above method also includes:

[0033] S201: Acquire preset channel documents corresponding to each of a plurality of preset channel parties and preset demand information corresponding to at least one preset business party;

[0034] S203: modularly encapsulate the preset channel documents corresponding to the multiple preset channel parties respectively to obtain multiple preset channel docking modules corresponding to the multiple preset channels;

[0035] S205: Based on the preset demand information corresponding to each preset business party in at least one preset business party, introduce the preset channel docking module corresponding to each preset business party in the plurality of preset channel docking modules into the preset channel gateway corresponding to each preset business party.

[0036] In a specific embodiment, the preset channel document corresponding to any preset channel party is a document containing multiple interface parameters corresponding to any preset channel party; multiple preset channel parties include a target channel party; at least one preset business party includes a target business party; at least one preset channel party can be a service operator that executes the needs of the target business party; the preset demand information corresponding to at least one preset business party can be the demand parameter information of each preset business party, and optionally, the preset demand information corresponding to at least one preset business party can include demand parameter information such as service channel, service amount, service scenario, and service address.

[0037] Specifically, the preset channel docking module corresponding to each preset business party needs to be introduced into the preset channel gateway in advance, so that when the preset channel gateway is started, the current channel docking module corresponding to the service processing request can be selected to interact with the target channel party. Specifically, first obtain the preset demand information corresponding to at least one preset business party in the preset channel documents corresponding to multiple preset channel parties, and modularly package the preset channel documents corresponding to the multiple preset channel parties to obtain multiple preset channel docking modules corresponding to multiple preset channels; further, based on the preset demand information corresponding to each preset business party in at least one preset business party, the preset channel docking module corresponding to each preset business party in the multiple preset channel docking modules is introduced into the preset channel gateway corresponding to each preset business party.

[0038] In the above embodiment, the preset channel document is encapsulated to form a preset channel docking module corresponding to the preset channel gateway, thereby realizing the correspondence between the preset channel party and the preset channel docking module, so as to prepare for subsequent direct docking service processing. Furthermore, through the preset demand information of the preset business party, the preset channel docking module required for use in the preset demand information of the preset business party is introduced into the preset channel gateway corresponding to the preset business party, thereby improving the efficiency of business processing, further saving time and improving the rationality of resource utilization.

[0039] Figure 3 The present invention is a flow chart of introducing a preset channel docking module matching the channel identification information into the preset channel gateway corresponding to each preset business party based on the channel matching result of the first channel identification information and the second channel identification information according to an exemplary embodiment. In an optional embodiment, the preset demand information includes the first channel identification information of at least one preset channel party required by each preset business party; Figure 3 As shown, based on the preset demand information corresponding to each preset business party in at least one preset business party, introducing the preset channel docking module corresponding to each preset business party in the plurality of preset channel docking modules into the preset channel gateway corresponding to each preset business party may include:

[0040] S301: Obtaining second channel identification information corresponding to each preset channel docking module corresponding to the preset channel party;

[0041] S303: performing identification information matching based on the first channel identification information and the second channel identification information to obtain a channel matching result for each preset business party;

[0042] S305: When the channel matching result indicates that the second channel identification information includes matching channel identification information of the first channel identification information, a preset channel docking module corresponding to the matching channel identification information of each preset business party among multiple preset channel docking modules is introduced into a preset channel gateway corresponding to each preset business party.

[0043] In a specific embodiment, the first channel identification information may be the preset identification information of each preset channel party, and optionally, the preset identification information may include information with identification function such as name information and number information; the second channel identification information may be the current identification information of each preset channel party, and correspondingly, the current identification information may also include information with identification function such as name information and number information;

[0044] Specifically, when the second channel identification information of the preset channel docking module corresponding to the preset channel party corresponding to each preset business party is obtained, the first channel identification information of at least one preset channel party required by each preset business party in the preset demand information is matched with the second channel identification information of the preset channel docking module obtained, and accordingly, the channel matching result of each preset business party is obtained. Further, when the channel matching result indicates that the second channel identification information includes the matching channel identification information of the first channel identification information, the preset channel docking module with the matching channel identification information corresponding to each preset business party among the multiple preset channel docking modules is introduced into the preset channel gateway corresponding to each preset business party, that is, in the preset channel docking module corresponding to the second channel identification information, the preset channel docking module with the matching channel identification information that matches the second channel identification information and the first channel identification information is introduced into the preset channel gateway corresponding to each preset business party.

[0045] In the above embodiment, the identification information is matched by the first channel identification information in the preset demand information and the second channel identification information corresponding to the preset channel party, and the preset channel docking module that needs to be introduced by the preset channel gateway corresponding to the preset business party is determined based on the channel matching result, which can achieve high efficiency in business demand processing and also achieve orderliness in business processing, and further save time resources.

[0046] In an optional embodiment, the above method may further include:

[0047] In the case where the channel matching result indicates that the second channel identification information does not include matching channel identification information of the first channel identification information, an alarm message is generated and sent to a creator of the channel gateway service system.

[0048] In a specific embodiment, the channel matching result indicates that the second channel identification information does not include matching channel identification information of the first channel identification information, that is, the preset channel docking module required in the preset requirement information does not exist in the multiple preset channel docking modules. Furthermore, in this case, an alarm message is generated and sent to the creator of the channel gateway service system, so that the creator can maintain the channel gateway service system to make the channel gateway service system more extensive in service.

[0049] In the above embodiment, by listing the situations where the channel matching result indicates that the second channel identification information does not include the first channel identification information, the rationality of the present application scheme is improved, and at the same time, an alarm message is generated to the creator of the channel gateway service system so that the creator can maintain the channel gateway service system, thereby reducing the maintenance workload of the channel gateway service system and further improving the service breadth of the channel gateway service system.

[0050] In an optional embodiment, the service processing request carries target service identification information of the target channel service; the above-mentioned response to the service processing request of the target business party for the target channel service, calling the target channel gateway corresponding to the target business party, and determining the target channel service from the channel services of the service cache unit corresponding to the target channel gateway includes:

[0051] In response to the service processing request of the target business party for the target channel service, the target channel gateway corresponding to the target business party is called, and based on the target service identification information and the service identification information of the channel service in the service cache unit, the target channel service is determined from the channel services in the service cache unit.

[0052] In a specific embodiment, the channel service corresponding to each preset channel party has its own service identification information. Accordingly, the target channel identification information of the target channel party corresponding to the target channel gateway is obtained. Furthermore, in the process of processing the service processing request of the target business party for the target channel service, the target channel gateway corresponding to the target business party is called, and the target channel identification information corresponding to the target channel docking module and the service identification information of the channel service in the service cache unit are compared, and then the target channel service is determined from the channel services in the service cache unit.

[0053] In the above embodiment, identification information is compared between the target service identification information and the service identification information of the channel service in the service cache unit to determine the target channel service, thereby improving the accuracy and speed of determining the target channel service.

[0054] S103: Determine a current channel docking module corresponding to the target channel service from a plurality of target channel docking modules, and control the current channel docking module to interact with the target channel party to execute a service operation corresponding to the service processing request.

[0055] In a specific embodiment, the current channel docking module may be a functional module for executing docking with the target channel party;

[0056] Specifically, when the target channel service is determined, based on the correspondence between the target channel service and the target channel docking module, the current channel docking module that interacts with the target channel party is determined from multiple target channel docking modules, and further, the target channel party is controlled to perform service operations corresponding to the service processing request.

[0057] In an optional embodiment, the above method may further include:

[0058] The target channel gateway is called to receive the request processing result of the target service party for the service processing request, so that the target channel gateway sends the request processing result to the target business party.

[0059] In a specific embodiment, when the target channel party completes the service operation corresponding to the service processing request, the target channel party sends the module address information of the current channel docking module and the request processing result to the channel gateway service system. Optionally, the module address information of the current channel docking module may be sent to the target channel party by the current channel docking module during the interaction with the target channel party, or may be pre-stored in the target channel party by the creator. Further, the channel gateway service system sends the request processing result to the target channel gateway according to the module interaction address. Optionally, the channel gateway service system also sends the request processing result to the target business party so that the target business party updates its business status. Accordingly, when the request processing result is successful, the corresponding business status of the target business party is completed. When the request processing result is failed, the corresponding business status of the target business party is that business processing needs to be performed again.

[0060] In the above embodiment, by returning the request processing result to the target business party, the rationality of the technical solution of the present application is improved. Furthermore, the target business party updates the business status, thereby improving the target business party's attention to the demand service of the demander, thereby improving the demander's satisfaction.

[0061] It can be seen from the technical solution provided by the above embodiments of the present application that the technical solution of the present application first modularly encapsulates the preset channel documents corresponding to each of the multiple preset channel parties, determines the preset channel docking module corresponding to each preset channel party, and then based on the preset demand information corresponding to at least one preset business party, introduces the preset channel docking module corresponding to each preset business party in the multiple preset channel docking modules into the preset channel gateway corresponding to each preset business party, and then responds when the target business party issues a service processing request for the target channel service. Further, the target channel gateway corresponding to the target business party is called to determine the target channel service from the channel service of the service cache unit corresponding to the target channel gateway, and then the current channel docking module corresponding to the target channel service is determined from the multiple target channel docking modules, and the current channel docking module is controlled to interact with the target channel party to execute the service operation corresponding to the service processing request, so that the channel service system can interact with at least one target service party, thereby realizing the rational use of resources and reducing maintenance workload.

[0062] Figure 4 is a schematic diagram of a channel gateway service method and device according to an exemplary embodiment. The following describes an embodiment of a channel gateway service device of the present application, taking a channel gateway service system as the execution subject. Specifically, Figure 4 As shown, the device comprises:

[0063] The response module 401 is used to respond to the service processing request of the target business party for the target channel service, call the target channel gateway corresponding to the target business party, and determine the target channel service from the channel services of the service cache unit corresponding to the target channel gateway; the channel service of the service cache unit is to assemble at least one channel service corresponding to each of the multiple target channel docking modules corresponding to the target channel gateway into the service cache unit when the target channel gateway is started;

[0064] The determination module 403 is used to determine the current channel docking module corresponding to the target channel service from the multiple target channel docking modules, and control the current channel docking module to interact with the target channel party to execute the service operation corresponding to the service processing request.

[0065] In an optional embodiment, the above device further includes:

[0066] an acquisition module, used to acquire preset channel documents corresponding to each of a plurality of preset channel parties and preset demand information corresponding to at least one preset business party; the plurality of preset channel parties include the target channel party; the preset channel document corresponding to any preset channel party is a document containing a plurality of interface parameters corresponding to any preset channel party; the at least one preset business party includes the target business party;

[0067] A packaging module, used to modularly package the preset channel documents corresponding to the plurality of preset channel parties, respectively, to obtain a plurality of preset channel docking modules corresponding to the plurality of preset channels;

[0068] The introduction module is used to introduce the preset channel docking module corresponding to each preset business party in the multiple preset channel docking modules into the preset channel gateway corresponding to each preset business party based on the preset demand information corresponding to each preset business party in the at least one preset business party.

[0069] In an optional embodiment, the preset demand information includes first channel identification information of at least one preset channel party required by each preset business party; the above-mentioned introduction module includes:

[0070] An identification acquisition unit, used to acquire second channel identification information corresponding to each preset channel docking module corresponding to the preset channel party;

[0071] an identification matching unit, configured to match identification information based on the first channel identification information and the second channel identification information, and obtain a channel matching result for each preset business party;

[0072] A matching introduction unit is used to introduce the preset channel docking module corresponding to the matching channel identification information of each preset business party among the multiple preset channel docking modules into the preset channel gateway corresponding to each preset business party when the channel matching result indicates that the second channel identification information includes the matching channel identification information of the first channel identification information.

[0073] In an optional embodiment, the above-mentioned introduction module further includes a mismatching unit, which is used to:

[0074] In a case where the channel matching result indicates that the second channel identification information does not include matching channel identification information of the first channel identification information, an alarm message is generated and sent to a creator of the channel gateway service system.

[0075] In an optional embodiment, the service processing request carries the target service identification information of the target channel service; the above-mentioned determination module includes a channel matching unit, which is used to:

[0076] In response to a service processing request from a target business party for a target channel service, a target channel gateway corresponding to the target business party is called, and based on the target service identification information and the service identification information of the channel service in the service cache unit, the target channel service is determined from the channel services in the service cache unit.

[0077] In an optional embodiment, the above device further includes a return module, which is used to:

[0078] The target channel gateway is called to receive the request processing result of the target service party for the service processing request, so that the target channel gateway sends the request processing result to the target service party.

[0079] In an optional embodiment, the above device further includes a target assembly module, which is used to:

[0080] The target assembly module in the target channel gateway is called to assemble the at least one channel service corresponding to each of the multiple channel docking modules corresponding to the target channel gateway into the service cache unit in the target assembly module.

[0081] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0082] In an exemplary embodiment, an electronic device is also provided, including: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the channel gateway service method as in the embodiment of the present disclosure.

[0083] In an exemplary embodiment, a computer-readable storage medium is also provided. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the channel gateway service method in the embodiment of the present disclosure.

[0084] In an exemplary embodiment, a computer program product or a computer program is also provided, the computer program product or the computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the channel gateway service method provided in the above-mentioned various optional implementations.

[0085] It is understandable that in the specific implementation of this application, user-related data is involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.

[0086] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0087] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0088] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A channel gateway service method, characterized in that: The method comprises: In response to a service processing request of a target business party for a target channel service, a target channel gateway corresponding to the target business party is called, and the target channel service is determined from the channel services of a service cache unit corresponding to the target channel gateway; the channel service of the service cache unit is to assemble at least one channel service corresponding to each of a plurality of target channel docking modules corresponding to the target channel gateway into the service cache unit when the target channel gateway is started; From the multiple target channel docking modules, determine the current channel docking module corresponding to the target channel service, and control the current channel docking module to interact with the target channel party to execute the service operation corresponding to the service processing request.

2. The method according to claim 1, characterized in that The method further comprises: Acquire preset channel documents corresponding to each of a plurality of preset channel parties and preset demand information corresponding to at least one preset business party; the plurality of preset channel parties include the target channel party; the preset channel document corresponding to any preset channel party is a document containing a plurality of interface parameters corresponding to any preset channel party; the at least one preset business party includes the target business party; Modularize and encapsulate the preset channel documents corresponding to the multiple preset channel parties respectively to obtain multiple preset channel docking modules corresponding to the multiple preset channels; Based on the preset demand information corresponding to each preset business party in the at least one preset business party, the preset channel docking module corresponding to each preset business party in the plurality of preset channel docking modules is introduced into the preset channel gateway corresponding to each preset business party.

3. The method according to claim 2, characterized in that The preset demand information includes first channel identification information of at least one preset channel party required by each preset business party; the step of introducing the preset channel docking module corresponding to each preset business party in the plurality of preset channel docking modules into the preset channel gateway corresponding to each preset business party based on the preset demand information corresponding to each preset business party in the at least one preset business party includes: Obtaining second channel identification information corresponding to each preset channel docking module corresponding to the preset channel party; Based on the first channel identification information and the second channel identification information, identification information matching is performed to obtain a channel matching result of each preset business party; When the channel matching result indicates that the second channel identification information includes matching channel identification information of the first channel identification information, the preset channel docking module corresponding to the matching channel identification information of each preset business party among the multiple preset channel docking modules is introduced into the preset channel gateway corresponding to each preset business party.

4. The method according to claim 3, characterized in that The method further comprises: In a case where the channel matching result indicates that the second channel identification information does not include matching channel identification information of the first channel identification information, an alarm message is generated and sent to a creator of the channel gateway service system.

5. The method according to claim 1, characterized in that: The service processing request carries the target service identification information of the target channel service; the response to the service processing request of the target business party for the target channel service, calling the target channel gateway corresponding to the target business party, and determining the target channel service from the channel services of the service cache unit corresponding to the target channel gateway includes: In response to a service processing request from a target business party for a target channel service, a target channel gateway corresponding to the target business party is called, and based on the target service identification information and the service identification information of the channel service in the service cache unit, the target channel service is determined from the channel services in the service cache unit.

6. The method according to claim 1, characterized in that The method further comprises: The target channel gateway is called to receive the request processing result of the target channel party for the service processing request, so that the target channel gateway sends the request processing result to the target service party.

7. The method according to claim 1, characterized in that The method further comprises: The target assembly module in the target channel gateway is called to assemble the at least one channel service corresponding to each of the multiple channel docking modules corresponding to the target channel gateway into the service cache unit in the target assembly module.

8. A channel gateway service method and device, characterized in that: The device comprises: A response module, for responding to a service processing request of a target business party for a target channel service, calling a target channel gateway corresponding to the target business party, and determining the target channel service from the channel services of a service cache unit corresponding to the target channel gateway; the channel service of the service cache unit is to assemble at least one channel service corresponding to each of a plurality of target channel docking modules corresponding to the target channel gateway into the service cache unit when the target channel gateway is started; The determination module is used to determine the current channel docking module corresponding to the target channel service from the multiple target channel docking modules, and control the current channel docking module to interact with the target channel party to execute the service operation corresponding to the service processing request.

9. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; Wherein, the processor is configured to execute the instructions to implement the channel gateway service method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the channel gateway service method as described in any one of claims 1 to 7.