An access method, device, and equipment for an external service

By displaying the functional nodes to generate execution links and sending them to the gateway, the problem of inefficient access to external services is solved, and a convenient and efficient access method is achieved.

CN114448754BActive Publication Date: 2025-07-04ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210181934.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-25
Publication Date
2025-07-04
Estimated Expiration
2042-02-25

AI Technical Summary

Technical Problem

In the prior art, access to external services requires the writing of adaptive templates and script code, which leads to inefficiency and human resources consumption, and the access capability cannot be opened.

Method used

By displaying multiple functional nodes, receiving configuration instructions from the service access party generate a functional node execution chain, and sending it to the gateway to store and load, access to external services is realized.

Benefits of technology

It lowers the threshold for external service access, enables the service party to configure independently, and improves the convenience and efficiency of access.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114448754B_ABST
    Figure CN114448754B_ABST
Patent Text Reader

Abstract

Embodiments of this specification disclose a method, apparatus, and device for accessing external services. By presenting multiple different functional nodes; receiving a configuration instruction from a service access party to generate a functional node execution chain, where the functional node execution chain includes multiple functional nodes that are executed in sequence; sending the functional node execution chain to a gateway so that the gateway stores and loads the functional node execution chain. It is realized that based on the abstracted functional nodes, accessing an external service only requires orchestrating these functional nodes to complete the access to the external service.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This specification relates to the field of Internet technologies, and particularly to a method, apparatus, and device for accessing an external service. Background Art

[0002] Many industry services need to be provided by institutions (such as provident funds, health codes, medical insurance, etc.). Compared with general services, these services are non-standard for payment platforms. The standards are customized by institutions and there are also regional differences. Therefore, there is a lot of work to adapt to these differences when accessing. The traditional method generally needs to be completed by writing adaptation templates and script codes. This method has problems such as low efficiency, consuming human resources for access, and being unable to open up the access capabilities.

[0003] Based on this, a more convenient and efficient access solution for external services is needed. Summary of the Invention

[0004] One or more embodiments of this specification provide a method, apparatus, device, and storage medium for accessing an external service to solve the following technical problem: a more convenient and efficient access solution for external services is needed.

[0005] To solve the above technical problem, one or more embodiments of this specification are implemented as follows:

[0006] In a first aspect, an embodiment of this specification provides a method for accessing an external service, including: displaying a plurality of different function nodes; receiving a configuration instruction from a service access party and generating a function node execution chain, where the function node execution chain includes a plurality of function nodes that are sequentially executed; sending the function node execution chain to a gateway so that the gateway stores and loads the function node execution chain.

[0007] In a second aspect, an embodiment of this specification further provides an execution method for an external service, which is applied to a gateway. The method includes: receiving a service request and determining the function node execution chain corresponding to the service request;

[0008] 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; sending the service result to the service request initiator.

[0009] In a third aspect, corresponding to the first aspect, an embodiment of the present specification further provides an access device for external services, including: a display module for displaying a plurality of different function nodes; a generation module for receiving a configuration instruction from a service access party and generating a function node execution chain, where the function node execution chain includes a plurality of function nodes to be executed in sequence; and a first sending module for sending the function node execution chain to a gateway so that the gateway stores and loads the function node execution chain.

[0010] In a fourth aspect, corresponding to the second aspect, an embodiment of the present specification further provides an execution device for external services, which is applied to a gateway. The device includes: a receiving module for receiving a service request and determining the function node execution chain corresponding to the service request; a loading module for loading the function node execution chain; an execution module for executing the function node execution chain according to the request parameters in the service request to generate a service result; and a second sending module for sending the service result to the service request initiator.

[0011] In a fifth aspect, an embodiment of the present specification further provides an electronic device, including:

[0012] at least one processor; and,

[0013] a memory communicatively connected to the at least one processor; wherein,

[0014] the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method as described in the first aspect or the second aspect.

[0015] In a sixth aspect, an embodiment of the present specification further provides a non-volatile computer storage medium storing computer-executable instructions. When a computer reads the computer-executable instructions in the storage medium, the instructions cause one or more processors to execute the method as described in the first aspect or the second aspect.

[0016] One or more of the above technical solutions adopted in the embodiments of the present specification can achieve the following beneficial effects: By displaying a plurality of different function nodes; receiving a configuration instruction from a service access party and generating a function node execution chain, where the function node execution chain includes a plurality of function nodes to be executed in sequence; and sending the function node execution chain to a gateway so that the gateway stores and loads the function node execution chain. It is realized that based on the abstracted function nodes, when accessing external services, only these function nodes need to be orchestrated to complete the access of external services. Thus, when facing a large number of non-standard external institutional service accesses to the payment platform, there is no need to write program code, which reduces the threshold and can be independently configured by the business side, making it more convenient and efficient. Description of the Drawings

[0017] To more clearly illustrate the technical solutions in the embodiments of this specification or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings described below are only some embodiments recorded in this specification. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0018] Figure 1 Schematic flowchart of a method for accessing an external service provided by an embodiment of this specification;

[0019] Figure 2 Schematic configuration diagram of a function node execution chain given by an embodiment of this specification;

[0020] Figure 3 Schematic logical framework diagram of generating a function node execution chain provided by an embodiment of this specification;

[0021] Figure 4 Schematic flowchart of a method for executing an external service provided by an embodiment of this specification;

[0022] Figure 5 Schematic logical diagram of executing a provident fund query service provided by an embodiment of this specification;

[0023] Figure 6 Schematic structural diagram of an access device for an external service provided by an embodiment of this specification;

[0024] Figure 7 Schematic structural diagram of an execution device for an external service provided by an embodiment of this specification;

[0025] Figure 8 Schematic structural diagram of an electronic device provided by an embodiment of this specification. Detailed implementation manners

[0026] Embodiments of this specification provide a method, device, equipment, and storage medium for accessing an external service.

[0027] To enable those skilled in the art to better understand the technical solutions in this specification, the following will clearly and completely describe the technical solutions in the embodiments of this specification in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only a part of the embodiments of this application, rather than all of them. Based on the embodiments of this specification, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.

[0028] Figure 1The flowchart shows a method for accessing external services provided by an embodiment of this specification, which specifically includes the following steps:

[0029] S101: Display multiple different functional nodes.

[0030] In the embodiments of this specification, functional nodes are nodes that are abstracted from the precipitation of past practical experience in accessing external services and have generality to achieve specific single functions according to the characteristics of external services.

[0031] For example, a communication functional node can be used to transmit data with an institution; a parsing functional node can be used to parse the result message returned by the institution; a signature adding functional node can be used to add a signature to the user's input or the output of collaboration; and there are also various pre-set functional nodes such as encryption, decryption, signature verification, process control, node rendering, conversion, combination, etc.

[0032] In other words, for each functional node, although it can still be personalized configured by the external service access party, the functions it finally implements are always the same.

[0033] For example, querying Hangzhou provident fund and querying Beijing provident fund are both services for querying provident fund, but they are provided by different institutions due to different regions. For two different provident fund institutions, even if they both use the "communication" functional node, there will be some differences in the message of the interface used by this functional node and the relevant communication address.

[0034] Another example is that for the functional node "signature adding", each external service access party can configure the private key applicable when adding a signature in the node, but ultimately, it all implements the signature adding operation for the input of this node based on the private key configured by the external service access party.

[0035] Furthermore, various pre-precipitated functional nodes can be displayed graphically in the interface for the service access party to select.

[0036] S103: Receive the configuration instruction of the service access party and generate a functional node execution chain, where the functional node execution chain contains multiple functional nodes that are executed in sequence.

[0037] The service access party can be a third party other than the payment platform. For example, it can be some services provided by various public operation institutions, such as querying provident fund balance, health code, checking and paying water, electricity and gas, medical insurance, etc.

[0038] For the configuration instruction of the service access party, it can be used to select specific functional nodes, determine the order of the selected functional nodes, and perform content configuration filling and order arrangement for these functional nodes, etc.

[0039] As shown Figure 2 in the figure Figure 2 is a schematic diagram of the configuration of a functional node execution chain given in the embodiments of this specification. The service access party makes sequential selections among multiple displayed functional nodes and can also perform personalized configuration on each functional node, thereby generating a functional node execution chain.

[0040] For example, the service access party can perform the following personalized content configuration filling on each functional node: For the selected functional node of "signing", the service access party can pre-configure the private key used during the signing process or the path that can be called to obtain the private key; or, for the selected functional node of "communication", the service access party can configure the address during the communication process (this address can be the address for obtaining data that needs to be called by this functional node or the address for sending request information).

[0041] Again, for example, the service access party can perform the following sequential arrangement on each functional node: The service access party can configure the execution order of each functional node. As shown Figure 2 in the figure, among the displayed functional nodes, the server access party configures the execution order of each functional node as "parsing - transformation - signing - rendering - communication - parsing - verification - rendering"; or, the service access party can also configure the data input and output between each functional node, that is, determine the data transmission between each functional node.

[0042] Again, for example, the service access party can perform the following configuration on the data exchange method of each functional node: It should be noted that although each functional node in the functional node execution chain always executes sequentially. However, not all the data executed by each functional node needs to depend on the execution result of the previous functional node, and there may be jumps. For example, for Figure 2 the functional node "verification" in the figure, in fact, its input does not depend on the previous "rendering", "communication", or "parsing" functional nodes, but depends on "signing". And this also requires the service access party to configure, that is, the configuration instruction can also configure the order of input and output during the data transmission process of the functional node. In Figure 2 the figure, it can be shown that the service access party configures the output of the 3rd functional node "signing" as the input of the 7th functional node "verification".

[0043] S105. Send the functional node execution chain to the gateway so that the gateway stores and loads the functional node execution chain.

[0044] After the function node execution chain is sent to the gateway, the gateway can use the function node execution chain. For example, the gateway can save the corresponding relationship between the service access party and the function node execution chain. Thus, when the service access party calls the gateway service, the gateway can obtain the function node execution chain of the service access party and load and execute it to generate a data result. As Figure 3 shown Figure 3 is a schematic diagram of a logic framework for generating a function node execution chain provided by an embodiment of this specification.

[0045] By displaying multiple different function nodes; receiving a configuration instruction from a service access party to generate a function node execution chain, where the function node execution chain includes multiple function nodes that are sequentially executed; sending the function node execution chain to the gateway so that the gateway stores and loads the function node execution chain. It is realized that based on the abstracted function nodes, only by orchestrating these function nodes can the external service be accessed. Thus, when a large number of non-standard external institutional services access the payment platform, there is no need to write program code, which reduces the threshold and can be independently configured by the business side, making it more convenient and efficient.

[0046] In one embodiment, before sending the function node execution chain to the gateway, the simulated execution result of the function node execution chain can also be displayed so that the service access party can adjust the function node execution chain according to the simulated execution result.

[0047] In practical applications, since the function node execution chain is configured in the graphical display interface provided by the service access platform, in fact, for external service access parties, they do not know whether the configuration is correct and need to be able to test it in the background.

[0048] Based on this, the service access platform can display the orchestrated capability node execution chain, provide input parameters, and execute to directly output the execution result. If an exception occurs during the simulation, an error prompt message can also be displayed, and it can be determined which function node in the chain has the problem, so that the service access party can adjust the function node execution chain according to the simulated execution result. Here, the adjustment includes filling in the content configuration or arranging the order of each function node in the execution chain as described above.

[0049] In one embodiment, when the service access platform displays multiple different function nodes, various different display methods can also be given based on the characteristics of each function node itself. Specifically, the corresponding form styles required for the front-end rendering of the atomic capability can be described in advance. The corresponding form styles include styles such as text, selection, dynamic form, etc. Thus, based on the agreed form description rules, each function node can be rendered into a pre-agreed image.

[0050] For example, for the "signing" function node, the display of this function node consists of several forms. The form style of this function can be agreed upon as a lock-shaped graph, so that the display method is more intuitive and the user experience is improved.

[0051] Another example is that for a function node that requires encryption during the access process, configuration items such as "encryption algorithm type", "text to be encrypted", and "encoding method of encryption result" in the form of this node need to be configured. For example, for the item of "encryption algorithm type", it can be described that the display method is the agreed-upon "selection" style, and multiple encryption algorithm types are provided for drop-down selection. Thus, when the service access party selects this node, various encryption algorithms provided by this encrypted function node are displayed in the "selectable" style.

[0052] In one embodiment, when rendering and displaying the function node according to the style information, an execution chain template composed of multiple function nodes can also be rendered and displayed according to the style information. The execution chain template can be provided by the server, or can be classified based on the characteristics of the service access party and statistically obtained based on the function node execution chains adopted by each category.

[0053] For example, for service access parties, they can be divided into query types, payment types, those requiring security verification, etc. based on their industries or functions. Each service access party can have its own template, and when accessing, it can select a suitable template and complete the access with just a slight adjustment of the arrangement.

[0054] Taking the provident fund as an example, the server can provide a basic template of the provident fund containing multiple function nodes for provident fund institutions in various regions to choose from. Or the server may not provide any templates in advance, but for provident fund institutions in various regions after generating the function node execution chains in their respective regions and accessing the service.

[0055] At this time, if a new provident fund institution applies for access again, the function node execution chains adopted by other provident fund institutions that have been successfully executed can be displayed and sorted (for example, sorted according to the execution success rate of the function node execution chains of other local provident fund institutions, or the number of times selected by other institutions) and displayed, which is convenient for the new access party to select and further improve the access efficiency of external services.

[0056] In a second aspect, the embodiments of this specification also provide an execution method for an external service, which is applied to a gateway, as Figure 4 shown, Figure 4 is a schematic flowchart of an execution method for an external service provided by the embodiments of this specification, which specifically includes the following steps:

[0057] S401. Receive a service request and determine the function node execution chain corresponding to the service request.

[0058] A user can send a request to the business system of the payment platform through a client. The business system can forward the request to the gateway so that the gateway can obtain the service by executing the function node execution chain.

[0059] For example, a user can operate the payment application client on a mobile device. The application client will initiate a query request to the provident fund business system, and then the provident fund business system will forward the request to the gateway. By executing the function node chain, it communicates with the provident fund institutions at all levels of cities and towns outside, obtains the corresponding user provident fund information and returns it to be finally displayed to the user.

[0060] After receiving the service request, the gateway can query from the database the function node execution chain pre-stored by the access party of the external service.

[0061] S403. Load the function node execution chain.

[0062] S405. Execute the function node execution chain according to the request parameters in the service request to generate a service result.

[0063] The gateway can instantiate each function node in the function node execution chain into an executable object and execute them in sequence based on the parameters included in the service request (for example, the user's identity identifier, the query parameters input by the user, etc.).

[0064] S407. Send the service result to the service request initiator.

[0065] As Figure 5 shown, Figure 5 is a logical schematic diagram of implementing a provident fund query service provided by an embodiment of this specification. In this schematic diagram, the gateway performs queries and communications based on the pre-stored function node execution chain, and returns the query result to the provident fund business system so that the provident fund business system can assemble the query result and send it to the user's client for display. In this process, the function node execution chain is pre-configured and generated based on the method described in the first aspect, and no code needs to be written during the configuration and execution processes, thus realizing more convenient business access.

[0066] In the third aspect, corresponding to the first aspect, an embodiment of this specification also provides an access device for an external service, as Figure 6 shown, Figure 6 is a structural schematic diagram of an access device for an external service provided by an embodiment of this specification, including:

[0067] A display module 601 that displays a plurality of different function nodes;

[0068] A generation module 603 receives a configuration instruction from a service access party and generates a functional node execution chain, where the functional node execution chain includes a plurality of functional nodes that are sequentially executed.

[0069] A first sending module 605 sends the functional node execution chain to a gateway so that the gateway stores and loads the functional node execution chain.

[0070] Optionally, the device further includes a simulation module 607 that displays a simulation execution result of the functional node execution chain so that the service access party can adjust the functional node execution chain according to the simulation execution result.

[0071] Optionally, the display module 601 obtains style information of the functional nodes; renders and displays the functional nodes according to the style information.

[0072] Optionally, the display module 601 renders and displays an execution chain template composed of a plurality of functional nodes according to the style information.

[0073] Optionally, the generation module 603 determines a data exchange method between the selected multiple functional nodes according to the configuration instruction, and determines an execution order of the multiple functional nodes; generates a functional node execution chain according to the data exchange method and the execution order.

[0074] In a fourth aspect, corresponding to the second aspect, an embodiment of this specification further provides an execution device for an external service, as Figure 7 shown Figure 7 is a schematic structural diagram of an execution device for an external service provided by an embodiment of this specification, including:

[0075] A receiving module 701 receives a service request and determines a functional node execution chain corresponding to the service request;

[0076] A loading module 703 loads the functional node execution chain;

[0077] An execution module 705 executes the functional node execution chain according to request parameters in the service request and generates a service result;

[0078] A second sending module 707 sends the service result to a service request initiator.

[0079] In a fifth aspect, an embodiment of this specification further provides an electronic device. Figure 8 is a schematic structural diagram of an electronic device provided by an embodiment of this specification, and the device includes:

[0080] At least one processor; and,

[0081] A memory communicatively connected to the at least one processor; wherein,

[0082] The memory stores instructions executable by the at least one processor, and when the instructions are executed by the at least one processor, the at least one processor is enabled to execute the method described in the first aspect or the second aspect.

[0083] In a sixth aspect, an embodiment of the present specification further provides a non-volatile computer storage medium storing computer-executable instructions, and when a computer reads the computer-executable instructions in the storage medium, the instructions cause one or more processors to execute the method described in the first aspect or the second aspect.

[0084] In the 1990s, improvements to a technology could be clearly distinguished as either hardware improvements (e.g., improvements to circuit structures such as diodes, transistors, switches, etc.) or software improvements (improvements to method flows). However, with the development of technology, many method flow improvements today can be regarded as direct improvements to hardware circuit structures. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement to a method flow cannot be implemented using a hardware entity module. For example, a Programmable Logic Device (PLD) (such as a Field Programmable Gate Array (FPGA)) is an integrated circuit whose logical function is determined by the user programming the device. Designers can program themselves to "integrate" a digital system onto a single PLD, without having to ask a chip manufacturer to design and fabricate a dedicated integrated circuit chip. Moreover, nowadays, instead of manually fabricating integrated circuit chips, this programming is mostly implemented using "logic compiler" software, which is similar to the software compiler used in program development and writing. The original code before compilation also has to be written in a specific programming language, which is called a Hardware Description Language (HDL), and there is not just one type of HDL, but many types, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones currently are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also be aware that by simply performing a little logical programming on the method flow using the above-mentioned several hardware description languages and programming it into the integrated circuit, it is easy to obtain the hardware circuit that implements the logical method flow.

[0085] The controller can be implemented in any suitable manner. For example, the controller can take the form of, for example, a microprocessor or a processor and a computer-readable medium storing computer-readable program code (such as 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 the controller include, but are not limited to, the following microcontrollers: ARC625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in the form of pure computer-readable program code, it is entirely possible to logically program the method steps to enable the controller to be implemented in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers, etc. to achieve the same function. Therefore, such a controller can be considered a hardware component, and the devices included therein for implementing various functions can also be regarded as the structures within the hardware component. Or even, the devices for implementing various functions can be regarded as either software modules for implementing the method or structures within the hardware component.

[0086] The systems, devices, modules, or units illustrated in the above embodiments can be specifically implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer can be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or any combination of these devices.

[0087] For the convenience of description, when describing the above devices, they are described as various units according to their functions. Of course, when implementing this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0088] Those skilled in the art should understand that the embodiments of this specification can be provided as a method, a system, or a computer program product. Therefore, the embodiments of this specification can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the embodiments of this specification can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memory, CD-ROM, optical memory, etc.) containing computer-usable program code.

[0089] This specification is described with reference to the flowcharts and / or block diagrams of methods, apparatuses (systems), and computer program products according to embodiments of the specification. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and combinations of flows and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to the processors of general-purpose computers, special-purpose computers, embedded processors, or other programmable data processing devices to produce a machine, such that the instructions executed by the processors of the computer or other programmable data processing devices generate means for implementing the functions specified in one or more of the flows Figure 1 one or more of the flows and / or blocks Figure 1 one or more of the blocks for implementing the specified functions.

[0090] These computer program instructions can also be stored in a computer-readable memory capable of guiding a computer or other programmable data processing device to work in a specific manner, such that the instructions stored in the computer-readable memory produce a manufactured article including instruction means for implementing the functions specified in one or more of the flows Figure 1 one or more of the flows and / or blocks Figure 1 one or more of the blocks.

[0091] These computer program instructions can also be loaded onto a computer or other programmable data processing device, such that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, and thus the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more of the flows Figure 1 one or more of the flows and / or blocks Figure 1 one or more of the blocks.

[0092] In a typical configuration, a computing device includes one or more processors (CPUs), an input / output interface, a network interface, and a memory.

[0093] The memory may include non-permanent memory in the form of computer-readable media, random access memory (RAM), and / or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). The memory is an example of computer-readable media.

[0094] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules 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 disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0095] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0096] This specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. This specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0097] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, equipment, and non-volatile computer storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0098] The above description has been made of specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the acts or steps recited in the claims may be performed in a different order than in the embodiments and still achieve the desired result. Additionally, the processes depicted in the figures do not necessarily require the particular order or sequential order shown to achieve the desired result. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0099] The foregoing is only one or more embodiments of this specification and is not intended to limit this specification. For those skilled in the art, various modifications and variations can be made to one or more embodiments of this specification. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more embodiments of this specification shall be included within the scope of the claims of this specification.

Claims

1. An access method for an external service, where the external service is non-standard, has regional differences, and is provided by an external agency. The external agency includes agencies with the same business in different regions, and the agency is a public operation agency. The method includes: Displaying a plurality of different function nodes; Receiving a configuration instruction from a service access party and generating a function node execution chain. Among them, the function node execution chain contains a plurality of function nodes that are sequentially executed, and two different agencies with the same business have made different personalized configurations for the function nodes, without the need to write adaptation templates or script codes; Sending the function node execution chain to the gateway so that the gateway stores and loads the function node execution chain, and the function node execution chain needs to communicate with the corresponding external agency; The server does not pre-provide any templates. After agencies with the same business in different regions generate function node execution chains for their respective regions and access the service, if a new agency with the same business applies for access, display the function node execution chains adopted by agencies with the same business in other places that have been successfully executed, and sort them according to the execution success rate of the function node execution chains of agencies with the same business in other places or the number of times selected by other agencies, to facilitate the new access party to make a choice; The function node execution chain includes a signed function node. For the selected signed function node, the service access party configures the private key used in the signing process or the path that can be called to obtain the private key.

2. The method according to claim 1, wherein Before sending the function node execution chain to the gateway, the method further includes: 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 according to claim 1, wherein Displaying a plurality of different function nodes, including: Obtaining the style information of the function node; Rendering and displaying the function node according to the style information.

4. The method according to claim 3, wherein, Rendering and displaying the function node according to the style information, including: Rendering and displaying an execution chain template composed of a plurality of function nodes according to the style information.

5. The method according to claim 1, wherein Receiving a configuration instruction from a service access party and generating a function node execution chain, including: Determining the data exchange method between the selected plurality of function nodes according to the configuration instruction; Determining the execution order of the plurality of function nodes; Generating a function node execution chain according to the data exchange method and the execution order.

6. An execution method for an external service, applied to a gateway. The external service is non-standard, has regional differences, and is provided by an external agency. The external agency includes agencies with the same business in different regions, and the agency is a public operation agency. The method includes: Receiving a service request and determining the function node execution chain corresponding to the service request. Two different agencies with the same business have made different personalized configurations for the function nodes, without the need to write adaptation templates or script codes; 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 the function node execution chain needs to communicate with the corresponding external agency; Send the service result to the service request initiator; The server does not provide any templates in advance. After institutions with the same business in different regions generate the execution chains of functional nodes in their respective regions and access the service, if new institutions with the same business apply for access, the execution chains of functional nodes adopted by institutions with the same business in other places that have been successfully executed are displayed, and they are sorted according to the execution success rate of the execution chains of functional nodes of institutions with the same business in other places or the number of times selected by other institutions, facilitating the selection by new access parties; The execution chain of functional nodes includes a signed functional node. For the selected signed functional node, the service access party configures the private key used in the signing process or the path that can be used to obtain the private key.

7. An access device for an external service, where the external service is non-standard and has regional differences, provided by external institutions, and the external institutions include institutions with the same business in different regions. The institution is a public operation institution. The device includes: A display module that displays a plurality of different functional nodes; A generation module that receives a configuration instruction from a service access party and generates an execution chain of functional nodes, where the execution chain of functional nodes includes a plurality of functional nodes that are sequentially executed, and two different institutions with the same business have made different personalized configurations for the functional nodes, without the need to write adaptation templates or script codes; A first sending module that sends the execution chain of functional nodes to the gateway so that the gateway stores and loads the execution chain of functional nodes, and the execution chain of functional nodes needs to communicate with the corresponding external institution; The server does not provide any templates in advance. After institutions with the same business in different regions generate the execution chains of functional nodes in their respective regions and access the service, if new institutions with the same business apply for access, the execution chains of functional nodes adopted by institutions with the same business in other places that have been successfully executed are displayed, and they are sorted according to the execution success rate of the execution chains of functional nodes of institutions with the same business in other places or the number of times selected by other institutions, facilitating the selection by new access parties; The execution chain of functional nodes includes a signed functional node. For the selected signed functional node, the service access party configures the private key used in the signing process or the path that can be used to obtain the private key.

8. The device according to claim 7, wherein, The device further includes a simulation module that displays the simulation execution result of the execution chain of functional nodes so that the service access party can adjust the execution chain of functional nodes according to the simulation execution result.

9. The device according to claim 7, wherein The display module obtains the style information of the functional nodes; renders and displays the functional nodes according to the style information.

10. The device according to claim 9, wherein, The display module renders and displays an execution chain template composed of a plurality of functional nodes according to the style information.

11. The device according to claim 7, wherein, The generation module determines the data exchange method between the selected multiple functional nodes according to the configuration instruction, and determines the execution order of the multiple functional nodes; generates an execution chain of functional nodes according to the data exchange method and the execution order.

12. An execution device for an external service, which is applied to a gateway. The external service is non-standard and has regional differences. It is provided by an external institution, and the external institution includes institutions with the same business in various regions. The institution is a public operation institution. The device includes: A receiving module, which receives a service request and determines the function node execution chain corresponding to the service request. Two different institutions with the same business have made different personalized configurations for the function nodes, without the need to write adaptation templates or script codes; A loading module, which loads the function node execution chain; An execution module, which executes the function node execution chain according to the request parameters in the service request to generate a service result. The function node execution chain needs to communicate with the corresponding external institution; A second sending module, which sends the service result to the service request initiator; The server does not pre-provide any templates. After institutions with the same business in various regions generate function node execution chains for their respective regions and access the service, if a new institution with the same business applies for access, the function node execution chains adopted by other institutions with the same business that have been successfully executed are displayed, and they are sorted according to the execution success rate of the function node execution chains of other institutions with the same business in other places, or the number of times selected by other institutions, to facilitate the new access party to make a choice; The function node execution chain includes a signed function node. For the selected signed function node, the service access party configures the private key used in the signing process or the path that can be called to obtain the private key.

13. An electronic device, including: At least one processor; And, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor. When the instructions are executed by the at least one processor, the at least one processor can execute the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Service logic configuration method and device

    CN110944048A

  • Service calling method based on micro-service gateway, service arrangement method and device

    CN111245916A