CN114448754A - External service access method, device and equipment - Google Patents

External service access method, device and equipment Download PDF

Info

Publication number
CN114448754A
CN114448754A CN202210181934.4A CN202210181934A CN114448754A CN 114448754 A CN114448754 A CN 114448754A CN 202210181934 A CN202210181934 A CN 202210181934A CN 114448754 A CN114448754 A CN 114448754A
Authority
CN
China
Prior art keywords
function node
execution chain
service
execution
node execution
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
Application number
CN202210181934.4A
Other languages
Chinese (zh)
Inventor
方佳峰
王增
杜永刚
顾延宇
辅佳良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alipay Hangzhou Information Technology Co Ltd
Original Assignee
Alipay Hangzhou Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alipay Hangzhou Information Technology Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Priority to CN202210181934.4A priority Critical patent/CN114448754A/en
Publication of CN114448754A publication Critical patent/CN114448754A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Abstract

The embodiment of the specification discloses an external service access method, an external service access device and external service equipment. By exposing a plurality of different functional nodes; receiving a configuration instruction of a service access party, and generating a function node execution chain, wherein the function node execution chain comprises a plurality of function nodes which are executed in sequence; and sending the function node execution chain to a gateway so that the gateway can store and load the function node execution chain. The access to the external service can be completed only by arranging the function nodes based on the abstracted function nodes.

Description

External service access method, device and equipment
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to an access method, an access device, and an access apparatus based on an external service.
Background
Many industry businesses require organizations to provide services (e.g., equity, health codes, medical insurance, etc.) that are non-standard to the payment platform, are customized by organizations, and have regional differences compared to general services, so there is much work to do to access that needs to adapt to these differences. The traditional mode is generally completed by writing an adaptive template and script codes. The method has the problems of low efficiency, high access consumption of human resources and incapability of opening the access capability.
Based on this, there is a need for a more convenient and efficient access scheme for external services.
Disclosure of Invention
One or more embodiments of the present specification provide an access method, an apparatus, a device, and a storage medium for external services, so as to solve the following technical problems: there is a need for a more convenient and efficient access scheme for external services.
To solve the above technical problems, one or more embodiments of the present specification are implemented as follows:
in a first aspect, an embodiment of the present specification provides an external service access method, including: displaying a plurality of different functional nodes; receiving a configuration instruction of a service access party, and generating a function node execution chain, wherein the function node execution chain comprises a plurality of function nodes which are executed in sequence; and sending the function node execution chain to a gateway so that the gateway can store and load the function node execution chain.
In a second aspect, an embodiment of the present specification further provides an execution method of an external service, which is applied in a gateway, and the method includes: receiving a service request, and determining a function node execution chain corresponding to the service request;
loading the function node execution chain; executing the function node execution chain according to the request parameters in the service request to generate a service result; and sending the service result to a service request initiator.
In a third aspect, corresponding to the first aspect, embodiments of the present specification further provide an access apparatus for external services, including: the display module displays a plurality of different functional nodes; the system comprises a generating module, a processing module and a processing module, wherein the generating module receives a configuration instruction of a service access party and generates a function node execution chain, and the function node execution chain comprises a plurality of function nodes which are sequentially executed; and the first sending module is used for sending the function node execution chain to a gateway so that the gateway can store and load the function node execution chain.
In a fourth aspect, corresponding to the second aspect, this specification further provides an external service execution device, where the external service execution device is applied in a gateway, and the device includes: the receiving module is used for receiving a service request and determining a function node execution chain corresponding to the service request; the loading module loads the function node execution chain; the execution module executes the function node execution chain according to the request parameters in the service request to generate a service result; and the second sending module is used for sending the service result to the service request initiator.
In a fifth aspect, an embodiment of the present specification further provides an electronic device, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a method according to the first or second aspect.
In a sixth aspect, the present specification further provides a non-volatile computer storage medium storing computer-executable instructions that, when read by a computer, cause the one or more processors to perform the method according to the first or second aspect.
At least one technical scheme adopted by one or more embodiments of the specification can achieve the following beneficial effects: by exposing a plurality of different functional nodes; receiving a configuration instruction of a service access party, and generating a function node execution chain, wherein the function node execution chain comprises a plurality of function nodes which are executed in sequence; and sending the function node execution chain to a gateway so that the gateway can store and load the function node execution chain. The access to the external service can be completed only by arranging the function nodes based on the abstracted function nodes. Therefore, when a large amount of nonstandard external organization services are accessed to the payment platform, program codes do not need to be written, the threshold is reduced, the payment platform can be configured and completed by a business party independently, and the payment platform is more convenient and efficient.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present specification, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative effort.
Fig. 1 is a flowchart illustrating an access method for an external service according to an embodiment of the present disclosure;
fig. 2 is a schematic configuration diagram of a function node execution chain according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a logical framework for generating an execution chain of function nodes according to an embodiment of the present disclosure;
FIG. 4 is a flowchart illustrating a method for executing an external service according to an embodiment of the present disclosure;
FIG. 5 is a logic diagram illustrating a method for executing a accumulation fund query service according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an access device for external services according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of an external service execution device provided in an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of an electronic device provided in an embodiment of the present specification.
Detailed Description
The embodiment of the specification provides an external service access method, an external service access device, external service equipment and a storage medium.
In order to make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any inventive step based on the embodiments of the present disclosure, shall fall within the scope of protection of the present application.
Fig. 1 is a schematic flowchart of an access method for an external service according to an embodiment of the present disclosure, which specifically includes the following steps:
s101: a plurality of different functional nodes are exposed.
In the embodiment of the present specification, the functional node is a node capable of realizing a specific single function, which is abstracted to have generality, according to the characteristics of the external service through the precipitation of the practical experience of the past external service access.
For example, the communication function node can realize data transmission with the mechanism; the analysis function node can realize the analysis of the mechanism return result message; the signature adding function node can realize signature addition on the input of the user or the output of the cooperation; and various preset functional nodes such as encryption, decryption, signature verification, flow control, node rendering, conversion, combination and the like.
In other words, for each functional node, the functionality that it finally implements is always the same, although it can still be configured individually by the external service access.
For example, query of the hangzhou public accumulation fund and query of the beijing public accumulation fund are services for querying the public accumulation fund, but because the difference of regions is provided by different institutions, for two different public accumulation fund institutions, even though a communication function node is adopted, the message and the related communication address of the interface used by the function node have some differences.
For another example, for the functional node "signing", each external service access party may configure a private key applied in signing adopted in the node, but finally, the input to the node is signed based on the private key configured by the external service access party.
Furthermore, various pre-precipitated functional nodes can be displayed in an interface in a graphical mode so as to be convenient for a service access side to select.
S103, receiving a configuration instruction of a service access party, and generating a function node execution chain, wherein the function node execution chain comprises a plurality of function nodes which are executed in sequence.
The service access party may be a third party of the non-payment platform, for example, may be some of the services provided by various public operating agencies. Such as inquiring the balance of the public deposit, health codes, paying for the water and electricity coal, medical insurance and the like.
The configuration instruction of the service access party can be used for selecting specific functional nodes, determining the sequence of the selected functional nodes, performing content configuration filling and sequence arrangement on the functional nodes, and the like.
Fig. 2 is a schematic configuration diagram of a function node execution chain according to an embodiment of the present disclosure, as shown in fig. 2. The service access party sequentially selects a plurality of displayed functional nodes and can also perform personalized configuration on each functional node, thereby generating a functional node execution chain.
For example, the service access may populate content configurations personalized for each functional node as follows: for the selected function node of 'adding sign', the service access party can pre-configure the private key used in the sign adding process or can call the path for obtaining the private key; alternatively, the service access party may configure the address in the communication process for the selected "communication" function node (the address may be the address required to call to obtain data or the address to send request information at the function node).
For another example, the service access side may perform the following sequential arrangement on each functional node: the service access party can configure the execution sequence of each function node, as shown in fig. 2, among the displayed function nodes, the service access party configures the execution sequence of each function node into an execution sequence of "parsing-converting-tagging-rendering-communicating-parsing-tagging-rendering"; alternatively, the service access side may also configure data input and output between the functional nodes, that is, determine data transmission between the functional nodes.
For another example, the service access side may perform the following data exchange configuration for each functional node: it should be noted that, although each function node is always executed in sequence in the function node execution chain. However, the data executed by each functional node is not required to depend on the execution result of the previous functional node, and a jump may exist between the functional nodes. For example, for the function node "check label" in fig. 2, its input does not depend on the function node before it, such as "render", "communicate" or "parse", but depends on "add label". This also requires the service access to configure, i.e. the configuration instructions can also configure the inputs and outputs of the functional nodes in sequence during data transmission. In fig. 2, it can be shown that the service access party configures the output of the 3 rd functional node "tagging" as the input of the 7 th functional node "tag verification".
And S105, sending the function node execution chain to a gateway so that the gateway can store and load the function node execution chain.
After the function node execution chain is sent to the gateway, the gateway may execute the function node execution chain, for example, the gateway may store a correspondence between the service access party and the function node execution chain. Therefore, the gateway can obtain the function node execution chain of the service access party only when the service access party calls the service of the gateway, and the function node execution chain is loaded and executed to generate a data result. Fig. 3 is a schematic diagram of a logical framework for generating a function node execution chain according to an embodiment of the present disclosure, as shown in fig. 3.
By exposing a plurality of different functional nodes; receiving a configuration instruction of a service access party, and generating a function node execution chain, wherein the function node execution chain comprises a plurality of function nodes which are executed in sequence; and sending the function node execution chain to a gateway so that the gateway can store and load the function node execution chain. The access to the external service can be completed only by arranging the function nodes based on the abstracted function nodes. Therefore, when a large amount of nonstandard external organization services are accessed to the payment platform, program codes do not need to be written, the threshold is reduced, the payment platform can be configured and completed by a business party independently, and the payment platform is more convenient and efficient.
In an embodiment, before sending the function node execution chain to the gateway, a simulation execution result of the function node execution chain may be further shown, so that the service access party adjusts the function node execution chain according to the simulation execution result.
In practical applications, since the function node execution chain is configured in the graphical presentation interface provided by the service access platform, it is actually unknown to the external service access party whether the configuration is correct, and it is necessary to be able to perform testing in the background.
Based on the method, the service access platform can display the arranged capability node execution chain, provide input parameters, execute and directly output an execution result. If abnormity occurs in the simulation process, error prompt information can be displayed, and which functional node appears in the chain is determined, so that the service access party can adjust the functional node execution chain according to the simulation execution result. The adjustment here includes the content configuration filling or the sequential arrangement of the function nodes in the execution chain.
In an embodiment, when the service access platform displays a plurality of different function nodes, the service access platform may also give various different modes of display based on the characteristics of each function node. Specifically, the corresponding form styles required for the atomic capability front-end rendering, including styles such as text, selection, dynamic form, etc., can be described in advance, so that each function node can be rendered into a pre-agreed image based on agreed form description rules.
For example, for a 'tagging' function node, the function node display can be composed of a plurality of forms, and the form style of the function can be defined as a lock-shaped graph, so that the display mode is more intuitive, and the user experience is improved.
For another example, for a functional node that needs to use encryption in the access process, configuration items such as "encryption algorithm type", "text to be encrypted", "encryption result encoding mode" and the like in a form of the node need to be configured, for example, the "encryption algorithm type" item may be described as a style whose display mode is the agreed "selection", and multiple items of encryption algorithm type pull-down selection are provided. Therefore, when the service access side selects the node, the various encryption algorithms provided by the encrypted functional node are displayed in a selectable mode.
In an embodiment, when the function node is rendered and displayed according to the style information, an execution chain template composed of a plurality of function nodes may be rendered and displayed according to the style information. The execution chain template may be provided by the server, or may be obtained by classifying based on the characteristics of the service access party and performing statistics based on the execution chain of the function node adopted by each class.
For example, a service access party can be classified into a query class, a payment class, a security check class and the like based on the industry or the function of the service access party, each service access party can have a respective template, a proper template can be selected during access, and the access can be completed only by slightly adjusting the arrangement.
Taking the accumulation fund as an example, the server may provide a basic template of the accumulation fund including a plurality of functional nodes so as to facilitate selection of each local accumulation fund organization. The service end does not provide any template in advance, and the service end can generate the function node execution chain of each place and access the service for the public accumulation fund institutions of each place.
At this time, if a new accumulation fund mechanism re-applies for access, the function node execution chains adopted by the accumulation fund mechanisms in other places which are executed in a mature manner can be displayed, and sequencing (for example, the execution success rate of the function node execution chains of the accumulation fund machines in other places can be determined, or the times selected by other places can be sequenced) and display are performed, so that a new access party can conveniently select, and the access efficiency of external services can be further improved.
In a second aspect, an embodiment of the present specification further provides an execution method of an external service, which is applied to a gateway, as shown in fig. 4, where fig. 4 is a schematic flow diagram of the execution method of the external service provided in the embodiment of the present specification, and specifically includes the following steps:
s401, receiving a service request, and determining a function node execution chain corresponding to the service request.
The user can send a request to the service system of the payment platform through the client. The service system may forward the request to the gateway so that the gateway obtains the service by executing the functional node execution chain.
For example, a user may operate a payment application client on the mobile device, and the application client may initiate an inquiry request to the accumulation fund service system, and then forward the request to the gateway by the accumulation fund service system, and communicate with external accumulation fund mechanisms in various levels of cities through executing a functional node chain, so as to obtain corresponding user accumulation fund information, and return the corresponding user accumulation fund information to be finally displayed to the user.
After receiving the service request, the gateway may query the database for a function node execution chain pre-stored by the access party obtaining the external service.
And S403, loading the function node execution chain.
S405, executing the function node execution chain according to the request parameter in the service request, and generating a service result.
The gateway may instantiate each function node in the function node execution chain as an executable object and execute it in sequence based on parameters included in the service request (e.g., the user's identity, user-entered query parameters, etc.)
S407, the service result is sent to the service request initiator.
Fig. 5 is a logic diagram illustrating a method for executing a accumulation fund query service according to an embodiment of the present disclosure. In the schematic diagram, the gateway performs query and communication based on the pre-stored function node execution chain, and returns the query result to the accumulation fund service system, so that the accumulation fund service system assembles the query result and sends the query result to the client of the user for display. In the process, the function node execution chain is generated by pre-configuration based on the mode of the first aspect, and codes do not need to be written in the configuration and execution processes, so that more convenient service access is realized.
In a third aspect, corresponding to the first aspect, an embodiment of the present specification further provides an access device for an external service, as shown in fig. 6, where fig. 6 is a schematic structural diagram of the access device for an external service provided by the embodiment of the present specification, and includes:
a display module 601 for displaying a plurality of different functional nodes;
a generating module 603, configured to receive a configuration instruction of a service access party, and generate a function node execution chain, where the function node execution chain includes a plurality of function nodes that are sequentially executed;
the first sending module 605 sends the function node execution chain to the gateway, so that the gateway stores and loads the function node execution chain.
Optionally, the apparatus further includes a simulation module 607, which displays a simulation execution result of the function node execution chain, so that the service access party adjusts the function node execution chain according to the simulation execution result.
Optionally, the presentation module 601 obtains style information of the functional node; and rendering and displaying the functional nodes according to the style information.
Optionally, the presentation module 601 renders and presents an execution chain template composed of a plurality of functional nodes according to the style information.
Optionally, the generating module 603 determines, according to the configuration instruction, a data exchange manner among the selected multiple functional nodes, and determines an execution sequence of the multiple functional nodes; and generating a function node execution chain according to the data exchange mode and the execution sequence.
In a fourth aspect, corresponding to the second aspect, an embodiment of the present specification further provides an external service execution apparatus, as shown in fig. 7, where fig. 7 is a schematic structural diagram of the external service execution apparatus provided in the embodiment of the present specification, and includes:
a receiving module 701, configured to receive a service request, and determine a function node execution chain corresponding to the service request;
a loading module 703 for loading the function node execution chain;
the execution module 705 executes the function node execution chain according to the request parameter in the service request to generate a service result;
the second sending module 707 sends the service result to the service request initiator.
In a fifth aspect, embodiments of the present specification further provide an electronic device. Fig. 8 is a schematic structural diagram of an electronic device provided in an embodiment of the present specification, where the electronic device includes:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a method according to the first or second aspect.
In a sixth aspect, embodiments of the present specification further provide a non-volatile computer storage medium storing computer-executable instructions that, when read by a computer, cause the one or more processors to perform the method according to the first aspect or the second aspect.
In the 90's of the 20 th century, improvements to a technology could clearly distinguish between improvements in hardware (e.g., improvements to circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements to process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually making an Integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Hardware Description Language), traffic, pl (core universal Programming Language), HDCal (jhdware Description Language), lang, Lola, HDL, laspam, hardward Description Language (vhr Description Language), vhal (Hardware Description Language), and vhigh-Language, which are currently used in most common. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, the following microcontrollers: the ARC625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic for the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functions of the various elements may be implemented in the same one or more software and/or hardware implementations of the present description.
As will be appreciated by one skilled in the art, the present specification embodiments may be provided as a method, system, or computer program product. Accordingly, embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The description has been presented with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the description. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
This description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the embodiments of the apparatus, the device, and the nonvolatile computer storage medium, since they are substantially similar to the embodiments of the method, the description is simple, and for the relevant points, reference may be made to the partial description of the embodiments of the method.
The foregoing description of specific embodiments has been presented for purposes of illustration and description. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The above description is merely one or more embodiments of the present disclosure and is not intended to limit the present disclosure. Various modifications and alterations to one or more embodiments of the present description will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement or the like made within the spirit and principle of one or more embodiments of the present specification should be included in the scope of the claims of the present specification.

Claims (13)

1. An access method of an external service, comprising:
displaying a plurality of different functional nodes;
receiving a configuration instruction of a service access party, and generating a function node execution chain, wherein the function node execution chain comprises a plurality of function nodes which are executed in sequence;
and sending the function node execution chain to a gateway so that the gateway can store and load the function node execution chain.
2. The method of claim 1, wherein prior to sending the functional node execution chain to a gateway, the method further comprises:
and displaying the simulation execution result of the function node execution chain so that the service access party can adjust the function node execution chain according to the simulation execution result.
3. The method of claim 1, wherein exposing a plurality of different functional nodes comprises:
acquiring style information of the functional node;
and rendering and displaying the functional nodes according to the style information.
4. The method of claim 3, wherein rendering and exposing the functional node according to the style information comprises:
and rendering and displaying an execution chain template consisting of a plurality of functional nodes according to the style information.
5. The method of claim 1, wherein receiving a configuration instruction of a serving access party, generating a functional node execution chain comprises:
determining a data exchange mode among the selected multiple functional nodes according to the configuration instruction;
determining an execution order of the plurality of functional nodes;
and generating a function node execution chain according to the data exchange mode and the execution sequence.
6. An execution method of an external service is applied to a gateway, and the method comprises the following steps:
receiving a service request, and determining a function node execution chain corresponding to the service request;
loading the function node execution chain;
executing the function node execution chain according to the request parameters in the service request to generate a service result;
and sending the service result to a service request initiator.
7. An access device for external services, comprising:
the display module displays a plurality of different functional nodes;
the system comprises a generating module, a processing module and a processing module, wherein the generating module receives a configuration instruction of a service access party and generates a function node execution chain, and the function node execution chain comprises a plurality of function nodes which are sequentially executed;
and the first sending module is used for sending the function node execution chain to a gateway so that the gateway can store and load the function node execution chain.
8. The apparatus of claim 7, wherein the apparatus further comprises a simulation module for presenting a simulation execution result of the function node execution chain, so that the service access party adjusts the function node execution chain according to the simulation execution result.
9. The apparatus of claim 7, wherein the presentation module obtains style information of the function node; and rendering and displaying the functional nodes according to the style information.
10. The apparatus of claim 9, wherein the presentation module renders and presents an execution chain template composed of a plurality of function nodes according to the style information.
11. The apparatus of claim 7, wherein the generating module determines a data exchange manner among the selected plurality of functional nodes according to the configuration instruction, and determines an execution sequence of the plurality of functional nodes; and generating a function node execution chain according to the data exchange mode and the execution sequence.
12. An external service execution device applied to a gateway, the device comprising:
the receiving module is used for receiving a service request and determining a function node execution chain corresponding to the service request;
the loading module loads the function node execution chain;
the execution module executes the function node execution chain according to the request parameters in the service request to generate a service result;
and the second sending module is used for sending the service result to the service request initiator.
13. An electronic device, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1 to 6.
CN202210181934.4A 2022-02-25 2022-02-25 External service access method, device and equipment Pending CN114448754A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210181934.4A CN114448754A (en) 2022-02-25 2022-02-25 External service access method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210181934.4A CN114448754A (en) 2022-02-25 2022-02-25 External service access method, device and equipment

Publications (1)

Publication Number Publication Date
CN114448754A true CN114448754A (en) 2022-05-06

Family

ID=81373882

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210181934.4A Pending CN114448754A (en) 2022-02-25 2022-02-25 External service access method, device and equipment

Country Status (1)

Country Link
CN (1) CN114448754A (en)

Similar Documents

Publication Publication Date Title
US11461860B2 (en) Signing methods, apparatuses and devices of electronic contract
CN110377851B (en) Method and device for realizing multi-stage linkage drop-down frame and computer equipment
CN108154211B (en) Two-dimensional code generation method, two-dimensional code generation device, two-dimensional code service processing equipment and two-dimensional code
CN108958714B (en) Business component type development method and device, computer equipment and storage medium
CN112241506B (en) User behavior backtracking method, device, equipment and system
CN108171492B (en) Payment method, device and equipment
CN112015739A (en) Data verification and data query method and device
CN107479868B (en) Interface loading method, device and equipment
CN109271587A (en) A kind of page generation method and device
CN110648034A (en) Method and device for distributing customer service
CN111158650B (en) Report template and report generation method and device
JP2019509567A (en) Resource loading method, service function implementing method and apparatus for application (APP)
CN113268243A (en) Memory prediction method and device, storage medium and electronic equipment
CN111899008A (en) Resource transfer method, device, equipment and system
CN111402058B (en) Data processing method, device, equipment and medium
US11556816B2 (en) Conditional parallel coordinates in automated artificial intelligence with constraints
CN111538667A (en) Page testing method and device
CN114448754A (en) External service access method, device and equipment
CN113434063B (en) Information display method, device and equipment
CN109597695B (en) Data processing method, device and equipment
CN114201086B (en) Information display method and device
CN111242731B (en) Service execution method and device
CN109903165B (en) Model merging method and device
CN112581141A (en) Transaction processing method, device and system based on block chain
CN109947564B (en) Service processing method, device, equipment and storage medium

Legal Events

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