WO2025091762A1 - Interconnection method, electronic device and storage medium - Google Patents
Interconnection method, electronic device and storage medium Download PDFInfo
- Publication number
- WO2025091762A1 WO2025091762A1 PCT/CN2024/084116 CN2024084116W WO2025091762A1 WO 2025091762 A1 WO2025091762 A1 WO 2025091762A1 CN 2024084116 W CN2024084116 W CN 2024084116W WO 2025091762 A1 WO2025091762 A1 WO 2025091762A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- task flow
- client
- configuration file
- task
- docking
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/08—Insurance
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Definitions
- the present invention relates to the technical field of intelligent terminals, and in particular to a docking method, an electronic device and a computer-readable storage medium.
- the systems of insurance companies and ecological partners usually have their own data format rules, and the docking of the two systems requires the system of one party to be mapped to the data structure of the other party's system.
- the weaker party's system usually follows the data rule format of the other party. For example, if a small insurance company asks a large bank to sell products on its behalf, the small insurance company needs to follow the data rule format of the large bank. For another example, if a large insurance company docks with a small travel company, and the small travel company assists in selling insurance products, the small travel company needs to follow the data rule format of the large insurance company.
- hard coding can be used to adapt to the other party's system, but this requires modifying the system code itself. Adjusting the system code through hard coding will have unpredictable effects on system stability. Therefore, for situations where both parties agree on their own data rule formats, it is usually difficult for both parties to reach an agreement on the docking strategy. The above situations will make the docking and management between systems very complicated.
- the embodiments of the present application propose a docking method, an electronic device, and a computer-readable storage medium, which are applied to the server side and can set a target configuration file for docking between a first client of a business system and a second client of an access system.
- the generation process of the target configuration file includes: generating a docking task flow of the target configuration file based on the acquired configuration file, selecting a corresponding atomic component from a preset atomic component library according to the docking task flow and mounting it to a task node of the docking task flow, obtaining a second task flow, and determining an access interface of the target configuration file according to the docking task flow, configuring the access port of the target system into the second task flow, and then packaging the second task flow as a target configuration file.
- the first client needs to dock with the second client, the first client or the second client is obtained.
- the call request sent by the second client calls the access interface, thereby realizing the connection between the first client and the second client.
- an embodiment of the present application provides a docking method, which is applied to the server side, and the method includes: obtaining a configuration file, determining a first task flow based on the obtained configuration file; determining an atomic component corresponding to the task content of the first task flow from a preset atomic component library, mounting the atomic component to the first task flow, obtaining a second task flow and an access address of the second task flow; encapsulating the second task flow into a target configuration file; obtaining a call request from the first client or the second client to the target configuration file, and completing the docking of the first client and the second client.
- a configuration file is obtained from the server, and the first task flow (i.e., docking task flow) is determined according to the configuration file, and then, the atomic component corresponding to the docking task in the first task flow is selected from the preset atomic component library, and the atomic component is mounted to the first task flow.
- the mounted first task flow contains atomic components that can execute each task node, and then the second task flow (i.e., target task flow) can be obtained, and the access address of the second task flow can be configured.
- the second task flow is encapsulated as a target configuration file, for example, the second task flow is encapsulated as a target configuration file in JSON format, and the target configuration file describes all the data information required for the docking process.
- the access address of the second task flow can be configured as a single access interface exposed by the second task flow.
- the docking task corresponding to the second task flow can be loaded by calling the single access interface, and the docking task can be run to complete the docking of the first client and the second client.
- obtaining a configuration file and determining the first task flow according to the obtained configuration file includes: obtaining the configuration file, wherein the configuration file is used to characterize a connection process between the first client and the second client; and determining the first task flow according to the obtained configuration file.
- the configuration file may be configuration data sent by the user to the server through a client for designing a docking process.
- the user can determine the docking task process required by the system to be docked by answering a questionnaire, and then save the docking task process as a configuration file and store it in the server.
- an atomic component corresponding to the task content of the first task flow is determined from a preset atomic component library, and the atomic component is mounted in the first task flow to obtain a second task flow, including: selecting one or more required first atomic components from the preset atomic component library according to the task content of each task node in the first task flow; mounting one or more first atomic components to each task node in the first task flow to obtain the second task flow.
- the server may store a preset atomic component library, which may provide multiple atomic components.
- Each atomic component is a component corresponding to a single minimum function, and the docking function corresponding to the docking task flow may be realized by combining the atomic components.
- the docking task flow may be split into multiple task nodes, and each task node may correspond to a corresponding docking function, which may be obtained by combining at least one atomic component. Therefore, the server only needs to select the atomic component corresponding to the first task flow from the preset atomic component library, and mount the selected atomic component into the first task flow in sequence according to the first task flow, and then the docking function may be realized through at least one atomic component.
- the atomic component implements the docking function that can be performed by the first task flow.
- one or more first atomic components are mounted to each task node in the first task flow to obtain a second task flow, including: detecting a user's drag operation on the instantiated first atomic component, and modifying the attribute parameters of the first atomic component corresponding to the drag operation according to the drag operation; and determining the second task flow based on the modified one or more first atomic components.
- a visual task flow editing interface can be provided for a terminal used by a user to develop or maintain an interface, in which a preset atomic component library interface area is provided, and the interface area contains icons corresponding to instantiated atomic components.
- the user can configure the attribute parameters of the instantiated atomic components by dragging, clicking, etc., and then visualize the icons of the instantiated atomic components as each task node of the first task flow.
- the method for determining the access address of the second task flow includes: configuring the access interface of the second task flow based on the first atomic component in the second task flow.
- the interface endpoint exposed to the outside by the second task flow is the interface call address of the docking request, which can be used to receive data passed in from the access party, for example, it can be used to obtain insurance policy data.
- a single access interface exposed to the outside can be configured for one or more access addresses corresponding to one or more first atomic components in the second task flow, so that users can call the single access interface to access one or more first atomic components in the second task flow and run the second task flow to achieve system docking.
- mounting the atomic component into the first task flow to obtain the second task flow also includes: configuring the first access address of the first client and/or the second access address of the second client as the access address of the relevant routing task in the first task flow to obtain the second task flow.
- the access address of the system to be connected can be configured as the access address of the relevant routing task in the first task flow, so as to facilitate direct access to the system to be connected during the execution of the routing task, that is, when the second task flow is run, the routing task can directly access the first client or the second client.
- encapsulating the second task flow into a target configuration file includes: encapsulating the second task flow into a target configuration file in a JSON format.
- the second task flow can be encapsulated as a target configuration file in JSON format for easy calling.
- the server can create a new text document (docker file), which contains all the commands and instructions for the user to create an image, and then the configured second task flow and all the atomic components mounted on it can be packaged as a service (docker image) and pushed to the image warehouse. Then, you can select the runtime environment site, call the preset cloud platform deployment API, deploy the text to the runtime site and run it, and call the gateway registration API to register the access interface of the target configuration file to the gateway.
- docker file contains all the commands and instructions for the user to create an image
- the configured second task flow and all the atomic components mounted on it can be packaged as a service (docker image) and pushed to the image warehouse. Then, you can select the runtime environment site, call the preset cloud platform deployment API, deploy the text to the runtime site and run it, and call the gateway registration API to register the access interface of the target configuration file to the gateway.
- each task node i.e., each docking step in the task flow executed by calling the API corresponding to the target configuration file can record log information, and the gateway can summarize the log information after collecting it.
- the middle layer can realize the online configuration, verification, packaging, publishing, post-publishing verification, error troubleshooting or log viewing of the system docking interface, forming a one-stop online docking platform without coding, reducing the loss of engineering links and the inefficiency caused by hard-coded docking methods.
- the atomic components include at least: a data rule verification component, a data routing transmission component, and a data format conversion component.
- the atomic component at least includes data rule verification function, data routing transmission function and data format conversion function.
- an embodiment of the present application also provides an electronic device, comprising: one or more processors; one or more memories; one or more memories storing one or more programs, when one or more programs are executed by the one or more processors, the electronic device executes the docking method provided by the first aspect and various possible implementations.
- an embodiment of the present application further provides a computer-readable storage medium, characterized in that instructions are stored on the storage medium, and when the instructions are executed on a computer, the computer executes the docking method provided by the above-mentioned first aspect and various possible implementations.
- an embodiment of the present application further provides a computer program product, characterized in that it includes a computer program/instruction, which, when executed by a processor, implements the docking method provided by the above-mentioned first aspect and various possible implementations.
- FIG1 shows a schematic diagram of a system docking
- FIG2 shows a schematic diagram of a system docking scenario according to an embodiment of the present application
- FIG3 shows a schematic diagram of a specific implementation process of a docking method according to an embodiment of the present application
- FIG4 is a schematic diagram showing a scenario in which a middle layer generates a target configuration file according to an embodiment of the present application
- FIG5A is a schematic diagram showing a method flow chart of obtaining a target configuration file based on an intermediate layer according to some embodiments of the present application;
- FIG5B shows a schematic diagram of a visualized atomic component editing interface according to some embodiments of the present application.
- FIG6 shows a schematic diagram of a dual-system docking workflow according to an embodiment of the present application.
- FIG. 7 shows a block diagram of a server 203 according to an embodiment of the present application.
- Illustrative embodiments of the present application include, but are not limited to, docking methods, electronic devices, and computer-readable storage media, among others.
- the electronic device applicable to the present application can be a server, wherein the applicable server can be a cloud server, a physical server, a large bandwidth server, a high-defense server, a dedicated line server or a group server and other rental type servers.
- the applicable server can be a complex instruction set computing (CISC) architecture server or a reduced instruction set computing (RISC) architecture server, and there is no limitation here.
- CISC complex instruction set computing
- RISC reduced instruction set computing
- FIG1 shows a schematic diagram of a system docking.
- the insurance company's business system S-1 needs to be connected to the bank's access system S-2.
- a hard-coded connection layer is written in the business system S-1 in a hard-coded manner to connect the data standards of the business system S-1 and the access system S-2, thereby ensuring that the business system S-1 and the access system S-2 can be successfully connected.
- a hard-coded docking layer may also be written into the bank's access system S-2 to access
- the insurance company's business system S-1 obtains its computing engine to implement agent sales of insurance.
- connection layers need to be customized for different access systems.
- the code corresponding to the connection layer is often mixed with the code of the business system. If the code of the connection layer needs to be modified and maintained, it will affect the stability of the business code. Frequent changes in connection requirements will have a significant impact on the stability of both the business system and the access system. For example, if you need to modify the access layer written in a hard-coded manner, you need to pull the code of the access layer to the local storage of the terminal used to develop the system. After the coding is completed in the terminal, the modified access layer code will be submitted, packaged and published. It is understandable that the overall process of maintaining, modifying and updating the connection layer is relatively long, which makes the cost of maintaining, modifying and updating the connection layer relatively high.
- an embodiment of the present application proposes a docking method, which is applied to the server side and can set a target configuration file for docking between the first client of the business system and the second client of the access system.
- the generation process of the target configuration file includes: generating a docking task flow (i.e., a first task flow) of the target configuration file based on the acquired configuration file, selecting the corresponding atomic component from the preset atomic component library according to the docking task flow and mounting it to the task node of the docking task flow, obtaining the second task flow, and determining the access interface of the target configuration file according to the docking task flow, and configuring the access port of the target system into the second task flow, and then packaging the second task flow as a target configuration file.
- the access interface is called by obtaining the call request sent by the first client or the second client, so as to realize the docking of the first client and the second client.
- the target configuration file is an ordered set of tasks performed during the docking process between the first client and the second client.
- the target configuration file is decoupled from the codes of the first client and the second client, and the target configuration file can be independently written, modified and maintained.
- the first client of the business system and the second client of the access system are respectively set in different terminals
- the first client 011 of the business system can be set in the terminal 201
- the second client 021 of the access system can be set in the terminal 202.
- the first client 011 and the second client 021 can call the target configuration file 031 proposed in the embodiment of the present application through remote communication to complete the docking process.
- the target configuration file 031 can be stored in the server 203.
- the second client 021 can call the algorithm logic of the business system S-1 corresponding to the target configuration file 031. Since the code of the above-mentioned target configuration file exists independently and is decoupled from the code of the business system client or the code of the access system client, when modifying the above-mentioned target configuration file, it will not affect the code of the business system or the access system, thereby reducing the cost of maintenance, modification and update of the target configuration file.
- the server 203 may include a preset atomic component library, which may provide atomic components that implement the above functions, such as providing atomic components with data rule verification function, data structure conversion function, switch function or routing function, each component corresponds to a function, that is, a single atomic component is a component corresponding to a single minimum function, which is conducive to the design and composition of the task flow, and is convenient for the reuse and sharing of a single function.
- a data rule verification function is instantiated as a reusable atomic component. When the function is reused, it is only necessary to mount the atomic component on the task node that needs to reuse the verification function in the task flow, and the verification function can be added to the task flow.
- the user wants to change the data rule verification function it is only necessary to modify the atomic component to achieve the modification of all task nodes in the task flow that use the verification function, saving time and effort.
- the tasks involved in the process of docking the first client 011 to the second client 021 can be pieced together based on multiple atomic components.
- the tasks for docking the first client 011 and the second client 021 can be determined based on the configuration file.
- the task flow of the client 021 can then select the required atomic components according to the specific tasks of the task flow, and can arrange and combine the selected atomic components according to the task flow to obtain the above-mentioned target configuration file.
- the configuration file is used to define the docking task flow between the first client 011 and the second client 021 , that is, defines what data processing needs to be performed between the first client 011 and the second client 021 to achieve the docking between the two.
- the configuration file may be configuration data sent to the server 203 by the user through the client that designs the docking process.
- the server 203 may obtain the configuration file for docking from other servers or the server 203 locally.
- the configuration file may include a format conversion task for converting the data format of the premium data received by the insurance business system into a data format readable by the bank system.
- the server 203 may convert the data format of the premium data into a data format readable by the bank system.
- the user can determine the docking task flow required by the system to be docked by answering a questionnaire, and then save the docking task flow as a configuration file and store it in the server 203.
- the questionnaire can provide multiple options for docking tasks, for example: "Is data format conversion required?" Option A is "Yes” and option B is “No".
- the user's selection results for the docking task flow are collected through the questionnaire, and the task flow required for the docking system is determined based on the selection results, and the above task flow is saved as a configuration file.
- the configuration file can generate multiple task nodes in the docking task flow.
- the server 203 can read the acquired configuration file and determine the docking task flow defined in the configuration file, where the docking task flow is an ordered set of docking tasks required to be performed when the first client 011 is docked with the second client 021.
- reading the configuration file can determine each task node included in the docking task flow, and each task node corresponds to a single docking task and can execute a portion of the docking function.
- the configuration file may be a docking task process input by a user, which defines the docking tasks required for the first client 011 and the second client 021 to be docked.
- the configuration file may be a docking task flow pre-stored by the first client 011 for docking with the second client 021 .
- the configuration file may be a docking task flow determined by the server 203 according to the configuration data of the first client 011 and the configuration data of the second client 021 .
- the server 203 may store a preset atomic component library, which may provide multiple atomic components.
- Each atomic component is a component corresponding to a single minimum function. The combination of subcomponents realizes the docking function corresponding to the docking task flow.
- the docking task flow can be split into multiple task nodes, each of which has a corresponding docking function, which can be obtained by combining at least one atomic component. Therefore, the server 203 only needs to select the atomic component corresponding to the docking task flow from the preset atomic component library, and mount the selected atomic component into the task flow in sequence according to the docking task flow, so as to realize the docking function that can be executed by the task flow through at least one atomic component.
- the atomic component can have a corresponding access address, thereby configuring the access address of the docking task flow.
- each atomic component has a corresponding processing logic, and the processing logic needs to be accessed to implement the function corresponding to the atomic component. Therefore, the atomic component is mounted in the task node, and the access address of the atomic component can be added to the docking task flow as an attribute parameter of the atomic component, thereby configuring the target task flow (i.e., the second task flow) and the access address corresponding to the target task flow.
- the server 203 may configure a single externally exposed access address for multiple atomic components in the target task flow, for example, configuring a single API (singular API) for obtaining access requests and the endpoint corresponding to the API for the target task flow. Then, when the server 203 detects that any system calls the above single API (i.e., accesses the endpoint corresponding to the API), it may run each task node in the docking task flow to implement inter-system docking processing.
- a single API single API
- the server 203 may encapsulate the target task flow into a target configuration file in a preset format and store it locally in the server 203.
- the server 203 may encapsulate the target task flow into a target configuration file in JavaScript object notation (JSON) format, and the target configuration file describes all data information required for the docking process.
- JSON JavaScript object notation
- the target configuration file may be stored in the server 203 , so that the first client 011 or the second client 021 may subsequently call the target configuration file through a single API.
- the server 203 may configure the access address of the docking system into the target task flow. For example, if the banking system wishes to access the insurance business system to obtain the computing engine related data of the insurance business system, the banking system may run the target configuration file by calling a single API.
- S305 Obtain a call request for a target configuration file from the first client or the second client, and complete the connection between the first client and the second client.
- the server 203 can receive a call request from the first client 011 or the second client 021 for the access address of the target task flow, and run the stored target configuration file based on the call request to achieve docking of the first client 011 and the second client 021.
- the server 203 may run a docking engine, use the docking engine to load a target configuration file, and wait for a call request from the first client 011 or the second client 021.
- the server 203 detects a call request to the singular API, it executes the target configuration file to implement docking processing for the first client 011 and the second client 021.
- the docking task flow is determined through the configuration file, and the atomic component mounted in the docking task flow is selected from the preset atomic component library, and the access address of the docking task flow is determined according to the mounted atomic component, and then the encapsulated target configuration file is obtained, and the docking process of the first client 011 and the second client 021 is realized through the target configuration file.
- the target configuration file It has the data structure expected by the access party (such as the second client 021), can be called by the first client 011 and the second client 021, and can achieve docking between systems through a series of call chains corresponding to the docking task flow encapsulated therein, which is convenient to use.
- the process of obtaining the target configuration file it is only necessary to select the required atomic components from the preset atomic component library, without online programming, which reduces the difficulty of obtaining the docking file.
- the implementation is simple and can be applied to the docking between systems carried by lightweight terminals (such as wearable devices, etc.).
- the server 203 may provide an intermediate layer 030 for implementing the above steps S301 to S304.
- the intermediate layer 030 may generate the target configuration file 031 mentioned above according to the configuration file mentioned above, and package and store the target configuration file 031 in the server 203.
- the target configuration file 031 may also be published so that the first client 011 and the second client 021 may call the target configuration file 031 for docking. It can be understood that the intermediate layer 030 does not affect the first client 011 and the second client 021 involved in the docking process.
- the intermediate layer 030 may provide functions such as configuration components, verification testing of components, configuration and verification of task flows, packaging and publishing of the target configuration file 031, and/or logging.
- the intermediate layer 030 provides users with a one-stop generation platform for the target configuration file 031, which effectively reduces the cost waste caused by waiting for each link in software engineering management.
- the intermediate layer 030 is easy to dock with cloud infrastructure, such as serverless cloud infrastructure such as lambda.
- the middle layer 030 can use cloud native language and its open source framework, and expand the open source framework.
- the middle layer deliverable (such as target configuration file) developed by the middle layer 030 is small in size, usually no more than 20MB, which greatly reduces the occupation of runtime resources.
- FIG5A shows a schematic flow chart of a method for obtaining a target configuration file based on an intermediate layer according to some embodiments of the present application.
- the server 203 or the intermediate layer 030 provided by the server 203 can create an empty task flow online for integrating tasks for docking the computing engine of the first client 011, so as to facilitate the subsequent configuration of at least one docking task in the task flow according to the configuration file input by the user.
- the created empty task flow can be instantiated as a visual task flow icon, so that the instantiated atomic component can be mounted in the task flow to form a visual docking task flow. It can be understood that the instantiated docking task flow is convenient for users to visually add, delete, modify, and check it. The user can quickly modify the above docking task flow in the visual editing area provided by the server 203, making the operation of modifying the docking task flow intuitive and convenient.
- the configuration file can be input by the user through the first client 011 to the server 203 or the intermediate layer 030 provided by the server 203, or can be input by the user through the second client 021 to the server 203 or the intermediate layer 030 provided by the server 203.
- the configuration file can be the configuration attributes and attribute parameters used by the first client 011 for docking, or can be the configuration attributes and attribute parameters used by the second client 021 for docking.
- the server 203 or the intermediate layer 030 provided by the server 203 can determine the process required for the first client 011 and the second client 021 to dock through the configuration file, and determine each task node of the task flow based on the process.
- the server 203 or the intermediate layer 030 provided by the server 203 adds the processing step to the task flow, which can form a task node for data rule verification.
- a target configuration file editing application for generating a target configuration file may be provided in the server 203, and the target configuration file editing application may provide a target configuration file editing interface for the user in the client of the user designing and developing the docking process.
- the above-mentioned user may be an interface developer or a system maintenance personnel.
- each task node in the task flow described above may be instantiated and displayed in the editing area of the above-mentioned editing interface, forming a visual task flow, which is convenient for the user to edit the target configuration file.
- the capability required to execute each task node can be split into at least one minimum functional unit, and the required atomic components can be selected from the preset atomic component library according to the determined minimum functional unit, and the selected atomic components can be mounted in each task node, so that at least one atomic component cooperates to realize the docking function required by the corresponding task node.
- the task flow at this time becomes an ordered set containing at least one atomic component, and the task flow can be executed by calling the above atomic components in sequence to realize the docking processing of the first client 011 and the second client 021.
- each atomic component can accept data in JSON or extensible markup language (XML) format as input data, and the output format can be any one of JSON or XML.
- JSON JSON
- XML extensible markup language
- the input data of an atomic component can be any data that complies with the JSON or XML protocol, and is not limited here.
- the above-mentioned atomic components can provide a variety of functions, and the processing logic corresponding to the function can be diversified, for example, it can verify input data, convert input data format, input data routing processing, etc.
- the output results of atomic components with different functions correspond to their functions.
- the atomic component used for model conversion can be a converter.
- the converter can be applied to convert the XML protocol data model formulated by the Association for Insurance Data Standards (ACORD) into the JSON protocol data model required by the premium calculation engine.
- ACORD Association for Insurance Data Standards
- the data format conversion purpose of converting the above-mentioned ACORD model to the JSON model is achieved through the atomic component of the converter.
- the delimiters and statement expression rules in the statement are changed, but the attribute values are not changed, that is, the content has not changed substantially. This enables docking processing for systems that apply different data rule formats.
- the converter may also be used for data structure conversion and field mapping processing.
- online verification can be performed through the server 203 to complete the unit test.
- atomic components may include atomic components with various functions such as converters, verifiers, routers, etc.
- the atomic components with the above-mentioned different functions may be classified and managed through a preset atomic component library, and a unified page for maintaining atomic components with different functions may be provided to users, so as to facilitate users to generate and maintain the above-mentioned atomic components.
- the middle layer 030 can provide a visual task flow editing interface for the terminal used by the user to develop or maintain the interface.
- a preset atomic component library interface area is set, and the interface area contains icons corresponding to the instantiated atomic components.
- the user can configure the attribute parameters of the instantiated atomic components by dragging, clicking, etc., and then visualize the icons of the instantiated atomic components as each task node of the docking task flow.
- the left side of the visual atomic component editing interface R provides a preset atomic component library interface area R-1, and the right side provides an atomic component editing area R-2.
- the middle layer 030 detects that the user's dragging operation on the "Part 1" icon and the "Part 2" icon in R-1 is to drag “Part 1" and "Part 2" to the atomic component editing area R-2.
- the value logic of the corresponding component configuration parameters can be determined according to the operation parameters such as the trajectory corresponding to the user's dragging operation and the position at the end of the operation, and then the configuration parameters of "Part 1" and "Part 2" are determined, and based on the configuration parameters, "Part 1" and "Part 2" are set in the atomic component to realize the functions required by the atomic component.
- Visual editing of instantiated atomic component icons facilitates users to maintain historical target configuration files.
- the above parts are modules with finer functional granularity than atomic components, such as a part for obtaining a date, a part for comparing two numbers, a part for assigning a value, etc.
- the above parts can be used to configure the complete functions required by the atomic components.
- the interface endpoint of the first client 011 used for access can be configured into the docking task flow, so that the interface endpoint of the first client 011 can be called when executing the docking task flow to realize data interaction with the first client 011.
- the server 203 can determine the interface access address of the calculation engine of the first client 011 that needs to be called according to each task node in the docking task flow, that is, the interface endpoint of the first client 011 that needs to be called, so as to facilitate the corresponding docking processing using the first client 011 in the task flow.
- the task flow includes the docking processing of switching the data in the task node 3 to the first client 011 in the task node 4, for example, passing the data obtained by the task node 3 to the premium calculation engine of the first client 011 to obtain the return information of the premium calculation engine interface, so as to facilitate the data rule verification processing in the subsequent task node 5.
- the interface endpoint corresponding to the calculation engine of the first client 011 is necessary to configure the interface endpoint corresponding to the calculation engine of the first client 011 as the attribute parameter of the above-mentioned task node 4. It should be understood that corresponding to the case of configuring the interface endpoint of the premium calculation engine for the task node 4, when the server 203 executes the task node 4, it can send the docking data to the premium calculation engine of the first client 011 by calling the above-mentioned configured interface endpoint to obtain the return information, so as to facilitate the execution of subsequent tasks and realize the docking processing between systems.
- the interface endpoint exposed by the target task flow is the interface call address of the docking request, which can be used to receive data passed in from the access party, for example, it can be used to obtain insurance policy data.
- the above-mentioned target task flow can be packaged into a target configuration file in JSON format and stored locally on the server 203, so that when the first client 011 and the second client 021 are docked, the target configuration file can be run by calling the singular API to implement the docking process.
- the server 203 can create a new text document (docker file), which contains all the commands and instructions for the user to create an image, and then can package the configured target task flow and all atomic components mounted on it into a service (docker) image and push it to the image repository.
- docker file contains all the commands and instructions for the user to create an image
- the target configuration file is packaged into a text image and pushed to the image repository
- the input data in the target task flow can be automatically extracted as an API request, which makes it convenient for users to submit API requests online and call the API corresponding to the target profile through the gateway, such as the singular API.
- each task node i.e., each docking step in the target task flow executed by calling the API corresponding to the target configuration file can be recorded with log information, and the gateway can summarize the above log information after collecting it.
- the server 203 can provide users with an online query page for users to query the recorded log information.
- a target configuration file can be constructed through atomic components and configuration files on the server 203 or the intermediate layer 030 provided by the server 203, and the target configuration file can be published and registered to the gateway.
- the intermediate layer 030 can realize the functions of online configuration, verification, packaging, publishing, post-publishing verification, error troubleshooting or log viewing of the system docking interface, forming a one-stop online docking platform without coding, reducing the loss of engineering links, and reducing the inefficiency caused by the hard-coded docking method.
- the API exposed by the middle layer 030 can be registered on the gateway, so the docking party only needs to configure the endpoint for calling the API to complete the docking process, without involving the system codes of the two docking parties, effectively reducing the risks of the systems of the two docking parties.
- the middle layer 030 can use cloud native languages and related frameworks to effectively reduce resource utilization, run fast, and have strong expansion capabilities. For example, it can support multi-tenant mechanisms, and reusable atomic components can be shared between tenants to meet the many-to-many needs between ecosystems in digital connections.
- Figure 6 shows a schematic diagram of a dual-system docking workflow according to an embodiment of the present application. It can be understood that the execution subject of each step of the process shown in Figure 6 can be the server 203 or the middle layer 030 provided by the server 203, and the execution subject of a single step will not be repeated.
- a workflow is designed based on a scenario in which an insurance broker system is connected to a premium calculation system.
- the workflow may include:
- the singular API is a configured target configuration file access interface, which can be identified as the insurance broker system ACORD singular API (Broker ACORD Singular API).
- step S-2 pass the received request data to an inbound validator, and use the inbound validator to verify whether the incoming data is valid. If the inbound validator is executed successfully, continue to step S-3.
- the upload validator may be identified as an insurance broker system ACORD validator (BrokerACORDValidator).
- S-3 uses an inbound transformer to convert the data protocol and data format passed in by the access party into the data protocol and data format expected by the target computing engine.
- the upload converter is used to convert the request structure of the XML protocol under the ACORD model provided by the insurance broker system into the data protocol and data format expected by the target computing engine.
- the upload converter can be identified as the insurance broker system ACORD converter (BrokerACORDTransformer).
- the router component passes the received converted data to the API provided by the calculation engine of the premium calculation system, and receives the return information of the target calculation engine API.
- the API provided by the calculation engine of the premium calculation system can be identified as "InsureMORatingAPI", and thus, the router component can be identified as "Route to InsureMORatingAPI".
- the outbound validator verifies the return information of the computing engine API, and if it is valid, proceed to step S-6.
- the outbound validator can be identified as "InsureMORating Validator".
- the download converter converts the information returned by the calculation engine API into the data protocol and format expected by the insurance brokerage system.
- the download converter can be identified as InsureMORating Transformer.
- the connected insurance brokerage system still retains its own data structure as the ACORD XML request structure. It still uses its own data structure when calling the insurance brokerage system ACORD singular API exposed by the target task flow (that is, the access interface of the target configuration file generated by the task flow).
- the insurance brokerage system ACORD singular API can pass the ACORD XML request data to the insurance brokerage system ACORD validator component to verify the legality of the incoming data. If it is not legal, the target task flow stops. If it is legal, the ACORD XML request data will continue to be passed to the insurance brokerage system ACORD converter component, and the insurance brokerage system ACORD converter component will convert the ACORD XML request into a request format acceptable to the premium calculation engine InsureMO Rating API. Then the converted data is passed to the routing component, which can route the request in the above request format to the InsureMORating API of the target premium calculation engine.
- the access address of the InsureMORating API can be specified in the task flow through the configuration file. Then, the InsureMO Rating response information returned by the InsureMORating API will be passed to the next verification component for verification. Corresponding to the legality of the verification result, it will be passed to the next converter component for conversion, converted into an ACORD XML response structure and returned to the insurance brokerage system.
- the data structure returned by the premium calculation engine received by the insurance brokerage system also complies with the data structure expected by the insurance brokerage system.
- the ACORD XML request structure and ACORD XML response structure of the insurance brokerage system are fully reused.
- the insurance brokerage system does not need to write new code to adapt to the data format of the premium calculation engine, nor does it need to write code to do data verification and data conversion.
- the insurance brokerage system only needs to add a
- the trigger logic for data interaction with the target configuration file for example, sends the ACORD XML request to the task flow corresponding to the target configuration file, which is the singular API exposed by the insurance brokerage system, and receives the return in the ACORD XML response format. Therefore, the application of the target configuration file to achieve inter-system docking can effectively avoid the impact on other program processing of the docking systems.
- FIG7 shows a block diagram of a server 203 according to an embodiment of the present application.
- the server 203 may include one or more processors 804, a system control logic 808 connected to at least one of the processors 804, a system memory 812 connected to the system control logic 808, a non-volatile memory (NVM) 816 connected to the system control logic 808, and a network interface 820 connected to the system control logic 808.
- processors 804 a system control logic 808 connected to at least one of the processors 804, a system memory 812 connected to the system control logic 808, a non-volatile memory (NVM) 816 connected to the system control logic 808, and a network interface 820 connected to the system control logic 808.
- NVM non-volatile memory
- the processor 804 may include one or more single-core or multi-core processors. In some embodiments, the processor 804 may include any combination of general-purpose processors and special-purpose processors (e.g., graphics processors, application processors, baseband processors, etc.). In an embodiment where the server 203 uses an enhanced base station (evolved node b, eNB) 101 or a radio access network (radio access network, RAN) controller 102, the processor 804 may be configured to execute various embodiments that comply with the present invention.
- eNB enhanced base station
- RAN radio access network
- system control logic 808 may include any suitable interface controller to provide any suitable interface to at least one of processors 804 and/or any suitable device or component in communication with system control logic 808 .
- system control logic 808 may include one or more memory controllers to provide an interface to the system memory 812.
- the system memory 812 may be used to load and store data and/or instructions.
- the memory 812 of the server 203 may include any suitable volatile memory, such as a suitable dynamic random access memory (DRAM).
- DRAM dynamic random access memory
- NVM/memory 816 may include one or more tangible, non-transitory computer-readable media for storing data and/or instructions.
- NVM/memory 816 may include any suitable non-volatile memory such as flash memory and/or any suitable non-volatile storage device, such as at least one of a hard disk drive (HDD), a compact disc (CD) drive, and a digital versatile disc (DVD) drive.
- HDD hard disk drive
- CD compact disc
- DVD digital versatile disc
- NVM/storage 816 may include a portion of storage resources on the device on which server 203 is installed, or it may be accessible by the device but not necessarily a portion of the device. For example, NVM/storage 816 may be accessed over a network via network interface 820 .
- system memory 812 and NVM/storage 816 may include, respectively, a temporary copy and a permanent copy of instructions 824.
- Instructions 824 may include instructions that, when executed by at least one of processors 804, cause server 203 to implement the above-described construction method.
- instructions 824, hardware, firmware, and/or software components thereof may be additionally/alternatively placed in system control logic 808, network interface 820, and/or processor 804.
- the network interface 820 may include a transceiver for providing a radio interface for the server 203, and then communicating with any other suitable device (such as a front-end module, an antenna, etc.) through one or more networks.
- the network interface 820 may be integrated with other components of the server 203.
- the network interface 820 may be integrated with at least one of the processor 804, the system memory 812, the NVM/storage 816, and a firmware device with instructions (not shown in the figure), and when at least one of the processors 804 executes the instructions, the server 203 implements the above-mentioned docking method.
- the network interface 820 may further include any suitable hardware and/or firmware to provide multiple-input multiple-output wireless
- network interface 820 may be a network adapter, a wireless network adapter, a telephone modem, and/or a wireless modem.
- At least one of the processors 804 may be packaged together with logic for one or more controllers of the system control logic 808 to form a system in package (SiP). In one embodiment, at least one of the processors 804 may be integrated on the same die with logic for one or more controllers of the system control logic 808 to form a system on chip (SoC).
- SiP system in package
- SoC system on chip
- the server 203 may further include an input/output (I/O) device 832.
- the I/O device 832 may include a user interface to enable a user to interact with the server 203; and a peripheral component interface design to enable peripheral components to interact with the server 203.
- the server 203 further includes a sensor for determining at least one of an environmental condition and location information related to the server 203.
- the user interface may include, but is not limited to, a display (e.g., an LCD display, a touch screen display, etc.), a speaker, a microphone, one or more cameras (e.g., a still image camera and/or a video camera), a flashlight (e.g., an LED flash), and a keyboard.
- a display e.g., an LCD display, a touch screen display, etc.
- a speaker e.g., a speaker
- a microphone e.g., a microphone
- one or more cameras e.g., a still image camera and/or a video camera
- a flashlight e.g., an LED flash
- the peripheral component interface may include, but is not limited to, a non-volatile memory port, an audio jack, and a power interface.
- the sensors may include, but are not limited to, gyroscope sensors, accelerometers, proximity sensors, ambient light sensors, and positioning units.
- the positioning unit may also be part of or interact with the network interface 820 to communicate with components of a positioning network (e.g., global positioning system (GPS) satellites).
- GPS global positioning system
- the various embodiments disclosed in the present application may be implemented in hardware, software, firmware, or a combination of these implementation methods.
- the embodiments of the present application may be implemented as a computer program or program code executed on a programmable system, the programmable system including at least one processor, a storage system (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device.
- Program code can be applied to input instructions to perform the functions described in this application and generate output information.
- the output information can be applied to one or more output devices in a known manner.
- a processing system includes any system having a processor such as, for example, a digital signal processor (DSP), a microcontroller, an application specific integrated circuit (ASIC), or a microprocessor.
- DSP digital signal processor
- ASIC application specific integrated circuit
- Program code can be implemented with high-level programming language or object-oriented programming language to communicate with the processing system.
- program code can also be implemented with assembly language or machine language.
- the mechanism described in this application is not limited to the scope of any specific programming language. In either case, the language can be a compiled language or an interpreted language.
- the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof.
- the disclosed embodiments may also be implemented as instructions carried or stored on one or more temporary or non-temporary machine-readable (e.g., computer-readable) storage media, which may be read and executed by one or more processors.
- instructions may be distributed over a network or through other computer-readable media.
- machine-readable media may include any mechanism for storing or transmitting information in a machine (e.g., computer) readable form, including, but not limited to, floppy disks, optical disks, optical disks, read-only memories (CD-ROMs), magneto-optical disks, read-only memories (ROMs), random access memories (RAMs), erasable programmable read-only memories (EPROMs), electrically erasable programmable read-only memories (EEPROMs), magnetic or optical cards, flash memory, or a tangible machine-readable memory for transmitting information (e.g., carrier waves, infrared signals, digital signals, etc.) using the Internet in electrical, optical, acoustic, or other forms of propagation signals.
- machine-readable media include any type of machine-readable media suitable for storing or transmitting electronic instructions or information in a form readable by a machine (eg, a computer).
- a logical unit/module can be a physical unit/module, or a part of a physical unit/module, or can be implemented as a combination of multiple physical units/modules.
- the physical implementation method of these logical units/modules themselves is not the most important.
- the combination of functions implemented by these logical units/modules is the key to solving the technical problems proposed by the present application.
- the above-mentioned device embodiments of the present application do not introduce units/modules that are not closely related to solving the technical problems proposed by the present application, which does not mean that there are no other units/modules in the above-mentioned device embodiments.
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Physics & Mathematics (AREA)
- Development Economics (AREA)
- General Business, Economics & Management (AREA)
- Technology Law (AREA)
- Strategic Management (AREA)
- Computer Security & Cryptography (AREA)
- Marketing (AREA)
- Economics (AREA)
- Stored Programmes (AREA)
Abstract
Description
本申请要求2023年10月31日提交中国专利局、申请号为202311436165.9、申请名称为“对接方法、电子设备和存储介质”的中国专利申请的优先权,上述申请的全部内容通过引用结合在本申请中。This application claims priority to the Chinese patent application filed with the China Patent Office on October 31, 2023, with application number 202311436165.9 and application name “Docking method, electronic device and storage medium”. The entire contents of the above application are incorporated by reference into this application.
本发明涉及智能终端技术领域,具体涉及一种对接方法、电子设备和计算机可读存储介质。The present invention relates to the technical field of intelligent terminals, and in particular to a docking method, an electronic device and a computer-readable storage medium.
保险领域的数字化转型过程中,存在不同生态伙伴之间的连接需求。例如一家大型保险公司可以存在稳定的保险业务系统,然而围绕保险公司的生态伙伴可能涉足于不同的行业(例如电商、零售、汽车制造业、银行、邮局、租车公司等)。上述生态伙伴的系统与保险业务系统对接的过程中,往往会由于其系统与保险业务系统的配置不同造成对接困难。例如与保险业务系统具有不同的数据文件格式,这可以导致业务系统与生态伙伴的系统间难以进行信息交互,传输后的文件难以被接收方读取,最终导致对接失败。During the digital transformation of the insurance sector, there is a need for connections between different ecological partners. For example, a large insurance company may have a stable insurance business system, but the ecological partners surrounding the insurance company may be involved in different industries (such as e-commerce, retail, automobile manufacturing, banks, post offices, car rental companies, etc.). In the process of connecting the systems of the above ecological partners with the insurance business system, it is often difficult to connect due to the different configurations of their systems and the insurance business system. For example, having a different data file format from the insurance business system can make it difficult for the business system to interact with the ecological partner's system, and the transmitted files are difficult to be read by the recipient, which ultimately leads to a connection failure.
而在保险公司和生态伙伴的对接过程中,通常保险公司和生态伙伴的系统都具有各自的数据格式规则,而两个系统的对接需要某一方的系统映射到另一方系统的数据结构。可以理解,通常为弱势方系统遵循另一方的数据规则格式。例如,小型保险公司请大型银行代为销售产品,则小型保险公司需要遵循大型银行的数据规则格式。又例如,大型保险公司与小型旅游公司做对接,小型旅游公司协助销售保险产品,则小型旅游公司需要遵循大型保险公司的数据规则格式。通常可以采用硬编码方式适配对方的系统,但这需要修改自身系统代码,通过硬编码方式调整系统代码会对系统稳定带来难以预测的影响,因此对于双方均坚持自身的数据规则格式的情况,通常双方难以在对接策略上达成合意。上述情况均会使得系统间的对接和管理变得非常复杂。In the process of docking between insurance companies and ecological partners, the systems of insurance companies and ecological partners usually have their own data format rules, and the docking of the two systems requires the system of one party to be mapped to the data structure of the other party's system. It can be understood that the weaker party's system usually follows the data rule format of the other party. For example, if a small insurance company asks a large bank to sell products on its behalf, the small insurance company needs to follow the data rule format of the large bank. For another example, if a large insurance company docks with a small travel company, and the small travel company assists in selling insurance products, the small travel company needs to follow the data rule format of the large insurance company. Usually, hard coding can be used to adapt to the other party's system, but this requires modifying the system code itself. Adjusting the system code through hard coding will have unpredictable effects on system stability. Therefore, for situations where both parties insist on their own data rule formats, it is usually difficult for both parties to reach an agreement on the docking strategy. The above situations will make the docking and management between systems very complicated.
发明内容Summary of the invention
本申请实施例提出了一种对接方法、电子设备和计算机可读存储介质,应用于服务器端,可以为业务系统的第一客户端与接入系统的第二客户端之间设置一个用于对接的目标配置文件。该目标配置文件的生成过程包括:基于获取到的配置文件生成目标配置文件的对接任务流,根据对接任务流从预设原子组件库中选择出对应的原子组件挂载至对接任务流的任务节点中,得到第二任务流,并根据对接任务流确定目标配置文件的访问接口,并向第二任务流配置入目标系统的访问端口,继而打包该第二任务流为目标配置文件。当第一客户端需要与第二客户端对接时,获取第一客户端或第 二客户端发送的调用请求调用该访问接口,即可实现第一客户端和第二客户端的对接。The embodiments of the present application propose a docking method, an electronic device, and a computer-readable storage medium, which are applied to the server side and can set a target configuration file for docking between a first client of a business system and a second client of an access system. The generation process of the target configuration file includes: generating a docking task flow of the target configuration file based on the acquired configuration file, selecting a corresponding atomic component from a preset atomic component library according to the docking task flow and mounting it to a task node of the docking task flow, obtaining a second task flow, and determining an access interface of the target configuration file according to the docking task flow, configuring the access port of the target system into the second task flow, and then packaging the second task flow as a target configuration file. When the first client needs to dock with the second client, the first client or the second client is obtained. The call request sent by the second client calls the access interface, thereby realizing the connection between the first client and the second client.
第一方面,本申请实施例提供了一种对接方法,应用于服务器端,该方法包括:获取配置文件,根据获取到的配置文件确定第一任务流;从预设原子组件库中确定出与第一任务流的任务内容相对应的原子组件,将原子组件挂载至第一任务流中,得到第二任务流及第二任务流的访问地址;封装第二任务流为目标配置文件;获取第一客户端或第二客户端对目标配置文件的调用请求,完成对第一客户端和第二客户端的对接。In the first aspect, an embodiment of the present application provides a docking method, which is applied to the server side, and the method includes: obtaining a configuration file, determining a first task flow based on the obtained configuration file; determining an atomic component corresponding to the task content of the first task flow from a preset atomic component library, mounting the atomic component to the first task flow, obtaining a second task flow and an access address of the second task flow; encapsulating the second task flow into a target configuration file; obtaining a call request from the first client or the second client to the target configuration file, and completing the docking of the first client and the second client.
即从服务器端获取配置文件,并根据该配置文件确定第一任务流(即对接任务流),进而,从预设原子组件库中选出与第一任务流中对接任务相应的原子组件,将原子组件挂载至第一任务流中,挂载后的第一任务流中包含可以执行每个任务节点的原子组件,进而可以得到第二任务流(即目标任务流),并配置出第二任务流的访问地址。将第二任务流封装为目标配置文件,例如,将第二任务流封装为JSON格式的目标配置文件,该目标配置文件内描述有所有对接流程所需的数据信息。That is, a configuration file is obtained from the server, and the first task flow (i.e., docking task flow) is determined according to the configuration file, and then, the atomic component corresponding to the docking task in the first task flow is selected from the preset atomic component library, and the atomic component is mounted to the first task flow. The mounted first task flow contains atomic components that can execute each task node, and then the second task flow (i.e., target task flow) can be obtained, and the access address of the second task flow can be configured. The second task flow is encapsulated as a target configuration file, for example, the second task flow is encapsulated as a target configuration file in JSON format, and the target configuration file describes all the data information required for the docking process.
在一些实施例中,第二任务流的访问地址可以配置为第二任务流对外暴露的单一访问接口,调用该单一访问接口即可装载该第二任务流所对应的对接任务,运行上述对接任务完成第一客户端和第二客户端的对接。In some embodiments, the access address of the second task flow can be configured as a single access interface exposed by the second task flow. The docking task corresponding to the second task flow can be loaded by calling the single access interface, and the docking task can be run to complete the docking of the first client and the second client.
由此,得到目标配置文件的过程中,仅需从预设的原子组件库中选取所需的原子组件,无需在线编程,减小了对接文件的获取难度。并且,无需在待对接的系统终端本地添加任何代码,不会影响待对接系统的系统稳定性,也无需占用任意本地存储资源和本地计算资源,实现简单,可以应用于轻量级终端(例如穿戴设备等)所搭载的系统间的对接。Therefore, in the process of obtaining the target configuration file, it is only necessary to select the required atomic components from the preset atomic component library, without the need for online programming, which reduces the difficulty of obtaining the docking file. In addition, there is no need to add any code locally in the system terminal to be docked, which will not affect the system stability of the system to be docked, nor does it need to occupy any local storage resources and local computing resources. It is simple to implement and can be applied to the docking between systems equipped with lightweight terminals (such as wearable devices, etc.).
在上述第一方面的一种可能的实现中,获取配置文件,根据获取到的配置文件确定第一任务流,包括:获取配置文件,其中,配置文件用于表征第一客户端和第二客户端的对接流程;根据获取到的配置文件确定第一任务流。In a possible implementation of the first aspect, obtaining a configuration file and determining the first task flow according to the obtained configuration file includes: obtaining the configuration file, wherein the configuration file is used to characterize a connection process between the first client and the second client; and determining the first task flow according to the obtained configuration file.
即该配置文件可以为用户通过用于设计对接流程的客户端发送至服务器的配置数据。That is, the configuration file may be configuration data sent by the user to the server through a client for designing a docking process.
在一些实施例中,用户可以通过回答问卷的方式,确定待对接的系统所需的对接任务流程,继而将对接任务流程保存为配置文件,存储于服务器中。In some embodiments, the user can determine the docking task process required by the system to be docked by answering a questionnaire, and then save the docking task process as a configuration file and store it in the server.
在上述第一方面的一种可能的实现中,从预设原子组件库中确定出与第一任务流的任务内容相对应的原子组件,将原子组件挂载至第一任务流中,得到第二任务流,包括:根据第一任务流中每一个任务节点的任务内容从预设原子组件库中选出所需的一个或多个第一原子组件;将一个或多个第一原子组件挂载至第一任务流中的每一个任务节点中,得到第二任务流。In a possible implementation of the first aspect above, an atomic component corresponding to the task content of the first task flow is determined from a preset atomic component library, and the atomic component is mounted in the first task flow to obtain a second task flow, including: selecting one or more required first atomic components from the preset atomic component library according to the task content of each task node in the first task flow; mounting one or more first atomic components to each task node in the first task flow to obtain the second task flow.
即服务器中可以存储有预设的原子组件库,该预设的原子组件库可以提供多个原子组件,每一个原子组件为对应于单一最小功能的组件,可以通过对原子组件的组合来实现对接任务流所对应的对接功能。进而,对接任务流可以拆分为多个任务节点,每一个任务节点均对应有相应的对接功能,该对接功能可以由至少一个原子组件组合得到。因此,服务器仅需从预设的原子组件库中选出第一任务流所对应的原子组件,并根据第一任务流依序将选出的原子组件挂载至该第一任务流内,即可通过至少一个 原子组件实现第一任务流能够执行的对接功能。That is, the server may store a preset atomic component library, which may provide multiple atomic components. Each atomic component is a component corresponding to a single minimum function, and the docking function corresponding to the docking task flow may be realized by combining the atomic components. Furthermore, the docking task flow may be split into multiple task nodes, and each task node may correspond to a corresponding docking function, which may be obtained by combining at least one atomic component. Therefore, the server only needs to select the atomic component corresponding to the first task flow from the preset atomic component library, and mount the selected atomic component into the first task flow in sequence according to the first task flow, and then the docking function may be realized through at least one atomic component. The atomic component implements the docking function that can be performed by the first task flow.
在上述第一方面的一种可能的实现中,将一个或多个第一原子组件挂载至第一任务流中的每一个任务节点中,得到第二任务流,包括:检测到用户对实例化的第一原子组件的拖拽操作,根据拖拽操作修改拖拽操作对应的第一原子组件的属性参数;基于修改后的一个或多个第一原子组件确定第二任务流。In a possible implementation of the first aspect above, one or more first atomic components are mounted to each task node in the first task flow to obtain a second task flow, including: detecting a user's drag operation on the instantiated first atomic component, and modifying the attribute parameters of the first atomic component corresponding to the drag operation according to the drag operation; and determining the second task flow based on the modified one or more first atomic components.
在一些实施例中,可以为用户用于开发或维护接口的终端提供可视化任务流编辑界面,在该编辑界面中,设置有预设原子组件库界面区域,该界面区域内包含实例化的原子组件所对应的图标。用户可以通过拖拽、点击等方式配置实例化的原子组件的属性参数,进而将实例化的原子组件的图标可视化拼接为第一任务流的每一个任务节点。In some embodiments, a visual task flow editing interface can be provided for a terminal used by a user to develop or maintain an interface, in which a preset atomic component library interface area is provided, and the interface area contains icons corresponding to instantiated atomic components. The user can configure the attribute parameters of the instantiated atomic components by dragging, clicking, etc., and then visualize the icons of the instantiated atomic components as each task node of the first task flow.
在上述第一方面的一种可能的实现中,第二任务流的访问地址的确定方式,包括:基于第二任务流内的第一原子组件配置第二任务流的访问接口。In a possible implementation of the first aspect, the method for determining the access address of the second task flow includes: configuring the access interface of the second task flow based on the first atomic component in the second task flow.
即第二任务流对外暴露的接口端点即为对接请求的接口调用地址,可以用于接收从接入方传入的数据,例如可以用于获取保单数据。在一些实施方式中,可以为第二任务流内的一个或多个第一原子组件所对应的一个或多个访问地址配置出的对外暴露的单一访问接口,以便于用户调用该单一访问接口访问第二任务流中的一个或多个第一原子组件,运行第二任务流以实现系统对接。That is, the interface endpoint exposed to the outside by the second task flow is the interface call address of the docking request, which can be used to receive data passed in from the access party, for example, it can be used to obtain insurance policy data. In some embodiments, a single access interface exposed to the outside can be configured for one or more access addresses corresponding to one or more first atomic components in the second task flow, so that users can call the single access interface to access one or more first atomic components in the second task flow and run the second task flow to achieve system docking.
在上述第一方面的一种可能的实现中,将原子组件挂载至第一任务流中,得到第二任务流,还包括:将第一客户端的第一访问地址和/或第二客户端的第二访问地址配置为第一任务流内相关路由任务的访问地址,得到第二任务流。In a possible implementation of the first aspect above, mounting the atomic component into the first task flow to obtain the second task flow also includes: configuring the first access address of the first client and/or the second access address of the second client as the access address of the relevant routing task in the first task flow to obtain the second task flow.
即可以在挂载原子组件到第一任务流得到第二任务流的过程中,将待对接系统的访问地址配置为第一任务流内相关路由任务的访问地址,便于在执行路由任务的过程中直接访问待对接系统,即运行第二任务流则路由任务可以直接访问第一客户端或第二客户端。That is, in the process of mounting the atomic component to the first task flow to obtain the second task flow, the access address of the system to be connected can be configured as the access address of the relevant routing task in the first task flow, so as to facilitate direct access to the system to be connected during the execution of the routing task, that is, when the second task flow is run, the routing task can directly access the first client or the second client.
在上述第一方面的一种可能的实现中,封装第二任务流为目标配置文件,包括:将第二任务流封装为JSON格式的目标配置文件。In a possible implementation of the first aspect, encapsulating the second task flow into a target configuration file includes: encapsulating the second task flow into a target configuration file in a JSON format.
即第二任务流可以封装为JSON格式的目标配置文件,便于调用。That is, the second task flow can be encapsulated as a target configuration file in JSON format for easy calling.
在一些实施例中,服务器可以新建一个文本文档(docker file),该文本文档中包含了用户创建镜像的所有命令和说明,进而可以将配置好的第二任务流以及其上挂载的所有原子组件打包为服务(docker)镜像并推送至镜像仓库。继而,可以选择运行时环境站点,调用预设云平台部署的API,部署该文本到运行时站点并运行,调用网关的注册API将目标配置文件的访问接口注册到网关。In some embodiments, the server can create a new text document (docker file), which contains all the commands and instructions for the user to create an image, and then the configured second task flow and all the atomic components mounted on it can be packaged as a service (docker image) and pushed to the image warehouse. Then, you can select the runtime environment site, call the preset cloud platform deployment API, deploy the text to the runtime site and run it, and call the gateway registration API to register the access interface of the target configuration file to the gateway.
在另一些实施例中,调用目标配置文件对应的API执行任务流中的每一个任务节点(即执行每一个对接步骤)均可记录有日志信息,网关在收集到上述日志信息后可以进行汇总。由此,该中间层可以实现系统对接接口的在线配置、验证、打包、发布、发布后的验证、排查错误或日志查看等功能,形成一站式在线对接平台,无需编码,减少了工程性环节的损耗,减少了硬编码对接方式带来的效率低下。In other embodiments, each task node (i.e., each docking step) in the task flow executed by calling the API corresponding to the target configuration file can record log information, and the gateway can summarize the log information after collecting it. Thus, the middle layer can realize the online configuration, verification, packaging, publishing, post-publishing verification, error troubleshooting or log viewing of the system docking interface, forming a one-stop online docking platform without coding, reducing the loss of engineering links and the inefficiency caused by hard-coded docking methods.
在上述第一方面的一种可能的实现中,原子组件至少包括:数据规则校验组件、数据路由传递组件、数据格式转换组件。 In a possible implementation of the first aspect above, the atomic components include at least: a data rule verification component, a data routing transmission component, and a data format conversion component.
即原子组件至少包括数据规则校验功能、数据路由传递功能和数据格式转换功能。That is, the atomic component at least includes data rule verification function, data routing transmission function and data format conversion function.
第二方面,本申请实施例还提供了一种电子设备,包括:一个或多个处理器;一个或多个存储器;一个或多个存储器存储有一个或多个程序,当一个或者多个程序被上述一个或多个处理器执行时,使得该电子设备执行上述第一方面以及各种可能的实现提供的对接方法。In the second aspect, an embodiment of the present application also provides an electronic device, comprising: one or more processors; one or more memories; one or more memories storing one or more programs, when one or more programs are executed by the one or more processors, the electronic device executes the docking method provided by the first aspect and various possible implementations.
第三方面,本申请实施例还提供了一种计算机可读存储介质,其特征在于,该存储介质上存储有指令,该指令在计算机上执行时使该计算机执行上述第一方面以及各种可能的实现提供的对接方法。In a third aspect, an embodiment of the present application further provides a computer-readable storage medium, characterized in that instructions are stored on the storage medium, and when the instructions are executed on a computer, the computer executes the docking method provided by the above-mentioned first aspect and various possible implementations.
第四方面,本申请实施例还提供了一种计算机程序产品,其特征在于,包括计算机程序/指令,该计算机程序/指令被处理器执行时实现上述第一方面以及各种可能的实现提供的对接方法。In a fourth aspect, an embodiment of the present application further provides a computer program product, characterized in that it includes a computer program/instruction, which, when executed by a processor, implements the docking method provided by the above-mentioned first aspect and various possible implementations.
图1示出了一种系统对接示意图;FIG1 shows a schematic diagram of a system docking;
图2根据本申请实施例示出了一种系统对接场景示意图;FIG2 shows a schematic diagram of a system docking scenario according to an embodiment of the present application;
图3根据本申请实施例示出了一种对接方法的具体实施流程示意图;FIG3 shows a schematic diagram of a specific implementation process of a docking method according to an embodiment of the present application;
图4根据本申请实施例示出了一种中间层生成目标配置文件的场景示意图;FIG4 is a schematic diagram showing a scenario in which a middle layer generates a target configuration file according to an embodiment of the present application;
图5A根据本申请一些实施例示出了一种基于中间层得到目标配置文件的方法流程示意图;FIG5A is a schematic diagram showing a method flow chart of obtaining a target configuration file based on an intermediate layer according to some embodiments of the present application;
图5B根据本申请一些实施例示出了一种可视化原子组件编辑界面示意图;FIG5B shows a schematic diagram of a visualized atomic component editing interface according to some embodiments of the present application;
图6根据本申请实施例示出了一种双系统对接工作流的流程示意图;FIG6 shows a schematic diagram of a dual-system docking workflow according to an embodiment of the present application;
图7根据本申请实施例示出了一种服务器203的框图。FIG. 7 shows a block diagram of a server 203 according to an embodiment of the present application.
为了使本申请实施例的目的、技术方案和优点更加清楚,下面将结合说明书附图以及具体的实施方式对本申请实施例中的技术方案进行详细的说明。In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.
本申请的说明性实施例包括但不限于对接方法、电子设备和计算机可读存储介质等。Illustrative embodiments of the present application include, but are not limited to, docking methods, electronic devices, and computer-readable storage media, among others.
可以理解,本申请适用的电子设备可以为服务器,其中,所适用的服务器可以是云服务器、物理服务器、大带宽服务器、高防服务器、专线服务器或者群服务器等租用类型的服务器,此外,所适用的服务器可以是复杂指令集计算(complex instruction set computer,CISC)架构服务器或精简指令集计算(reduced instruction set computer,RISC)架构服务器,在此不做限制。It can be understood that the electronic device applicable to the present application can be a server, wherein the applicable server can be a cloud server, a physical server, a large bandwidth server, a high-defense server, a dedicated line server or a group server and other rental type servers. In addition, the applicable server can be a complex instruction set computing (CISC) architecture server or a reduced instruction set computing (RISC) architecture server, and there is no limitation here.
下面结合图1对基于硬编码实现系统对接的场景进行详细说明。The following describes in detail the scenario of implementing system docking based on hard coding in conjunction with FIG. 1 .
图1示出了一种系统对接示意图。FIG1 shows a schematic diagram of a system docking.
参考图1,保险公司的业务系统S-1与银行的接入系统S-2需要进行对接,则以硬编码方式在业务系统S-1中编写一个硬编码对接层,以使得业务系统S-1与接入系统S-2的数据标准进行对接,保障业务系统S-1和接入系统S-2能够成功对接。Referring to Figure 1, the insurance company's business system S-1 needs to be connected to the bank's access system S-2. A hard-coded connection layer is written in the business system S-1 in a hard-coded manner to connect the data standards of the business system S-1 and the access system S-2, thereby ensuring that the business system S-1 and the access system S-2 can be successfully connected.
在一些实施方式中,也可以在银行的接入系统S-2中写入硬编码对接层,以访问 保险公司的业务系统S-1获取其计算引擎,以实现代理销售保险。In some embodiments, a hard-coded docking layer may also be written into the bank's access system S-2 to access The insurance company's business system S-1 obtains its computing engine to implement agent sales of insurance.
可以理解,若需要对接多个接入系统,则需要对不同的接入系统定制不同的对接层。并且,对接层所对应的代码往往与业务系统的代码混合在一起,若需要修改维护对接层的代码,则会影响业务代码的稳定性,频繁的对接需求变更会使得业务系统和接入系统的稳定性均受到较大影响。例如,若需要修改硬编码方式编写的接入层,则需要将该接入层的代码拉取至用于开发系统的终端的本地存储,于终端内完成编码后,将修改好的接入层代码进行提交、打包和发布。可以理解,上述维护、修改与更新对接层的整体流程较为漫长,使得对接层的维护、修改和更新的成本较为高昂。It is understandable that if multiple access systems need to be connected, different connection layers need to be customized for different access systems. In addition, the code corresponding to the connection layer is often mixed with the code of the business system. If the code of the connection layer needs to be modified and maintained, it will affect the stability of the business code. Frequent changes in connection requirements will have a significant impact on the stability of both the business system and the access system. For example, if you need to modify the access layer written in a hard-coded manner, you need to pull the code of the access layer to the local storage of the terminal used to develop the system. After the coding is completed in the terminal, the modified access layer code will be submitted, packaged and published. It is understandable that the overall process of maintaining, modifying and updating the connection layer is relatively long, which makes the cost of maintaining, modifying and updating the connection layer relatively high.
此外,若对接的双方系统均希望维持自身的数据规则,则难以实现对接处理。In addition, if both systems want to maintain their own data rules, it will be difficult to achieve the docking process.
有鉴于此,为了解决上述业务系统与接入系统间对接处理复杂的问题,本申请实施例提出了一种对接方法,应用于服务器端,可以为业务系统的第一客户端与接入系统的第二客户端之间设置一个用于对接的目标配置文件。该目标配置文件的生成过程包括:基于获取到的配置文件生成目标配置文件的对接任务流(即第一任务流),根据对接任务流从预设原子组件库中选择出对应的原子组件挂载至对接任务流的任务节点中,得到第二任务流,并根据对接任务流确定目标配置文件的访问接口,并向第二任务流配置入目标系统的访问端口,继而打包该第二任务流为目标配置文件。当第一客户端需要与第二客户端对接时,获取第一客户端或第二客户端发送的调用请求调用该访问接口,即可实现第一客户端和第二客户端的对接。应理解,该目标配置文件为第一客户端和第二客户端对接过程中所执行的任务的有序集合。In view of this, in order to solve the problem of complex docking processing between the above-mentioned business system and the access system, an embodiment of the present application proposes a docking method, which is applied to the server side and can set a target configuration file for docking between the first client of the business system and the second client of the access system. The generation process of the target configuration file includes: generating a docking task flow (i.e., a first task flow) of the target configuration file based on the acquired configuration file, selecting the corresponding atomic component from the preset atomic component library according to the docking task flow and mounting it to the task node of the docking task flow, obtaining the second task flow, and determining the access interface of the target configuration file according to the docking task flow, and configuring the access port of the target system into the second task flow, and then packaging the second task flow as a target configuration file. When the first client needs to dock with the second client, the access interface is called by obtaining the call request sent by the first client or the second client, so as to realize the docking of the first client and the second client. It should be understood that the target configuration file is an ordered set of tasks performed during the docking process between the first client and the second client.
应理解,目标配置文件与第一客户端和第二客户端的代码相互解耦,该目标配置文件可独立编写、修改及维护。例如,假定业务系统的第一客户端和接入系统的第二客户端分别设置于不同的终端内,参考图2,业务系统的第一客户端011可以设置于终端201中,接入系统的第二客户端021可以设置于终端202中。对应于该对接场景,第一客户端011与第二客户端021可以通过远程通信方式调用本申请实施例提出的目标配置文件031完成对接处理。且该目标配置文件031可以存储于服务器203中。例如,第二客户端021可以调用目标配置文件031所对应的业务系统S-1具有的算法逻辑。由于上述目标配置文件的代码独立存在,与业务系统客户端的代码或接入系统客户端的代码解耦,因此在修改上述目标配置文件时,不会影响业务系统或接入系统的代码,降低了目标配置文件的维护、修改和更新的成本。It should be understood that the target configuration file is decoupled from the codes of the first client and the second client, and the target configuration file can be independently written, modified and maintained. For example, assuming that the first client of the business system and the second client of the access system are respectively set in different terminals, referring to Figure 2, the first client 011 of the business system can be set in the terminal 201, and the second client 021 of the access system can be set in the terminal 202. Corresponding to this docking scenario, the first client 011 and the second client 021 can call the target configuration file 031 proposed in the embodiment of the present application through remote communication to complete the docking process. And the target configuration file 031 can be stored in the server 203. For example, the second client 021 can call the algorithm logic of the business system S-1 corresponding to the target configuration file 031. Since the code of the above-mentioned target configuration file exists independently and is decoupled from the code of the business system client or the code of the access system client, when modifying the above-mentioned target configuration file, it will not affect the code of the business system or the access system, thereby reducing the cost of maintenance, modification and update of the target configuration file.
在一些实施例中,服务器203中可以包含预设原子组件库,该预设原子组件库中可以提供实现上述功能的原子组件,例如提供具有数据规则校验功能、数据结构转换功能、开关功能或路由功能的原子组件,每一个组件对应有一种功能,即单一原子组件为对应于单一最小功能的组件,以利于任务流的设计与组成,且便于单一功能的复用和共享。例如,将一个数据规则校验功能实例化为可复用的原子组件,在复用该功能时,仅需在任务流中需要复用该校验功能的任务节点上挂载该原子组件,即可在任务流中加入该校验功能。当用户想要改变数据规则校验功能时,仅需修改该原子组件,即可实现修改任务流中所有使用到该校验功能的任务节点,省时省力。In some embodiments, the server 203 may include a preset atomic component library, which may provide atomic components that implement the above functions, such as providing atomic components with data rule verification function, data structure conversion function, switch function or routing function, each component corresponds to a function, that is, a single atomic component is a component corresponding to a single minimum function, which is conducive to the design and composition of the task flow, and is convenient for the reuse and sharing of a single function. For example, a data rule verification function is instantiated as a reusable atomic component. When the function is reused, it is only necessary to mount the atomic component on the task node that needs to reuse the verification function in the task flow, and the verification function can be added to the task flow. When the user wants to change the data rule verification function, it is only necessary to modify the atomic component to achieve the modification of all task nodes in the task flow that use the verification function, saving time and effort.
应理解,基于多个原子组件即可拼出第一客户端011对接至第二客户端021的过程中所涉及的任务。例如,可以基于配置文件确定用于对接第一客户端011和第二客 户端021的任务流,继而可以根据任务流的具体任务选出所需的原子组件,并可根据该任务流对选出的原子组件进行排列组合,得到上述目标配置文件。It should be understood that the tasks involved in the process of docking the first client 011 to the second client 021 can be pieced together based on multiple atomic components. For example, the tasks for docking the first client 011 and the second client 021 can be determined based on the configuration file. The task flow of the client 021 can then select the required atomic components according to the specific tasks of the task flow, and can arrange and combine the selected atomic components according to the task flow to obtain the above-mentioned target configuration file.
下面结合图3对本申请实施例中的一种对接方法的实施流程进行详细说明。可以理解,图3所示流程各步骤的执行主体可以是服务器203,对于单一步骤的执行主体不再进行赘述。The implementation process of a docking method in the embodiment of the present application is described in detail below in conjunction with Figure 3. It can be understood that the execution subject of each step of the process shown in Figure 3 can be the server 203, and the execution subject of a single step will not be repeated.
S301,获取配置文件。S301, obtaining a configuration file.
示例性地,该配置文件用于定义第一客户端011和第二客户端021之间的对接任务流程,即定义了第一客户端011和第二客户端021之间需要进行哪些数据处理来实现两者对接。Exemplarily, the configuration file is used to define the docking task flow between the first client 011 and the second client 021 , that is, defines what data processing needs to be performed between the first client 011 and the second client 021 to achieve the docking between the two.
在一些实施例中,该配置文件可以为用户通过设计对接流程的客户端发送至服务器203的配置数据。例如,当第一客户端011为保险业务系统,第二客户端021为银行系统。在保险业务系统与银行系统进行对接的场景中,服务器203可以从其他服务器或服务器203本地获取到用于对接的配置文件。例如,该配置文件中可包含用于将保险业务系统接收到的保费数据的数据格式转换为银行系统可读取的数据格式的格式转换任务。当保费数据的数据格式与银行系统规定的数据格式不一致时,服务器203可以将保费数据的数据格式转换为银行系统可读取的数据格式。In some embodiments, the configuration file may be configuration data sent to the server 203 by the user through the client that designs the docking process. For example, when the first client 011 is an insurance business system and the second client 021 is a bank system. In the scenario where the insurance business system is docked with the bank system, the server 203 may obtain the configuration file for docking from other servers or the server 203 locally. For example, the configuration file may include a format conversion task for converting the data format of the premium data received by the insurance business system into a data format readable by the bank system. When the data format of the premium data is inconsistent with the data format specified by the bank system, the server 203 may convert the data format of the premium data into a data format readable by the bank system.
在一些实施例中,用户可以通过回答问卷的方式,确定待对接的系统所需的对接任务流程,继而将对接任务流程保存为配置文件,存储于服务器203中。该问卷中可以给出多个对接任务的待选项,例如:“是否需要进行数据格式转换?”选项A为“是”,选项B为“否”。通过问卷采集用户对对接任务流的选择结果,基于选择结果确定出对接系统所需的任务流程,并将上述任务流程保存为配置文件。该配置文件即可生成对接任务流中的多个任务节点,例如上述待选项的示例中,用户选择了选项A“是”,则可以确定对接任务流中包含“数据格式转换”的任务节点,便于为对接系统提供数据格式转换功能。In some embodiments, the user can determine the docking task flow required by the system to be docked by answering a questionnaire, and then save the docking task flow as a configuration file and store it in the server 203. The questionnaire can provide multiple options for docking tasks, for example: "Is data format conversion required?" Option A is "Yes" and option B is "No". The user's selection results for the docking task flow are collected through the questionnaire, and the task flow required for the docking system is determined based on the selection results, and the above task flow is saved as a configuration file. The configuration file can generate multiple task nodes in the docking task flow. For example, in the example of the above options, if the user selects option A "Yes", it can be determined that the task node containing "data format conversion" is included in the docking task flow, which is convenient for providing the docking system with a data format conversion function.
S302,根据获取到的配置文件确定对接任务流。S302: Determine a docking task flow according to the acquired configuration file.
示例性地,服务器203可以读取获取到的配置文件,确定该配置文件所定义的对接任务流,该对接任务流为第一客户端011与第二客户端021对接时所需进行的对接任务的有序集合。例如,读取配置文件可确定对接任务流中所包含的每一个任务节点,每一个任务节点与单一对接任务相对应,可执行一部分的对接功能。Exemplarily, the server 203 can read the acquired configuration file and determine the docking task flow defined in the configuration file, where the docking task flow is an ordered set of docking tasks required to be performed when the first client 011 is docked with the second client 021. For example, reading the configuration file can determine each task node included in the docking task flow, and each task node corresponds to a single docking task and can execute a portion of the docking function.
在一些实施例中,配置文件可以为用户输入的对接任务流程,其定义了第一客户端011和第二客户端021对接所需进行的对接任务。In some embodiments, the configuration file may be a docking task process input by a user, which defines the docking tasks required for the first client 011 and the second client 021 to be docked.
在另一些实施例中,配置文件可以为第一客户端011预存的用于对接第二客户端021的对接任务流程。In other embodiments, the configuration file may be a docking task flow pre-stored by the first client 011 for docking with the second client 021 .
在又一些实施例中,配置文件可以为服务器203根据第一客户端011的配置数据和第二客户端021的配置数据确定出的对接任务流程。In some other embodiments, the configuration file may be a docking task flow determined by the server 203 according to the configuration data of the first client 011 and the configuration data of the second client 021 .
S303,从预设的原子组件库中将对应的原子组件挂载至对接任务流中,得到目标任务流及对应的访问地址。S303, mounting the corresponding atomic component from the preset atomic component library into the docking task flow, and obtaining the target task flow and the corresponding access address.
示例性地,服务器203中可以存储有预设的原子组件库,该预设的原子组件库可以提供多个原子组件,每一个原子组件为对应于单一最小功能的组件,可以通过对原 子组件的组合来实现对接任务流所对应的对接功能。For example, the server 203 may store a preset atomic component library, which may provide multiple atomic components. Each atomic component is a component corresponding to a single minimum function. The combination of subcomponents realizes the docking function corresponding to the docking task flow.
在一些实施例中,上述对接任务流可以拆分为多个任务节点,每一个任务节点均对应有相应的对接功能,该对接功能可以由至少一个原子组件组合得到。因此,服务器203仅需从预设的原子组件库中选出对接任务流所对应的原子组件,并根据对接任务流依序将选出的原子组件挂载至任务流内,即可通过至少一个原子组件实现任务流能够执行的对接功能。In some embodiments, the docking task flow can be split into multiple task nodes, each of which has a corresponding docking function, which can be obtained by combining at least one atomic component. Therefore, the server 203 only needs to select the atomic component corresponding to the docking task flow from the preset atomic component library, and mount the selected atomic component into the task flow in sequence according to the docking task flow, so as to realize the docking function that can be executed by the task flow through at least one atomic component.
可以理解,原子组件可以存在对应的访问地址,由此可以配置出对接任务流的访问地址。例如,每个原子组件均存在相应的处理逻辑,需要访问该处理逻辑来实现原子组件所对应的功能。因此任务节点中挂载上原子组件,原子组件的访问地址作为原子组件的属性参数可以一并添加入该对接任务流中,进而配置出目标任务流(即第二任务流)及目标任务流所对应的访问地址。It can be understood that the atomic component can have a corresponding access address, thereby configuring the access address of the docking task flow. For example, each atomic component has a corresponding processing logic, and the processing logic needs to be accessed to implement the function corresponding to the atomic component. Therefore, the atomic component is mounted in the task node, and the access address of the atomic component can be added to the docking task flow as an attribute parameter of the atomic component, thereby configuring the target task flow (i.e., the second task flow) and the access address corresponding to the target task flow.
在一些实施例中,服务器203可以为目标任务流中的多个原子组件配置一个对外暴露的单一访问地址,例如为目标任务流配置一个用于获取访问请求的单一API(singular API)以及该API所对应的端点。继而,服务器203在检测到有任意系统调用上述单一API时(即访问该API所对应的端点时),可运行对接任务流中的每一个任务节点,实现系统间对接处理。In some embodiments, the server 203 may configure a single externally exposed access address for multiple atomic components in the target task flow, for example, configuring a single API (singular API) for obtaining access requests and the endpoint corresponding to the API for the target task flow. Then, when the server 203 detects that any system calls the above single API (i.e., accesses the endpoint corresponding to the API), it may run each task node in the docking task flow to implement inter-system docking processing.
S304,封装目标任务流为目标配置文件。S304, encapsulating the target task flow into a target configuration file.
示例性地,服务器203可以将目标任务流封装为预设格式的目标配置文件,并将其存储于服务器203本地。例如,服务器203可以将目标任务流封装为JavaScript对象表示法(JavaScript object notation,JSON)格式的目标配置文件,该目标配置文件内描述有所有对接流程所需的数据信息。Exemplarily, the server 203 may encapsulate the target task flow into a target configuration file in a preset format and store it locally in the server 203. For example, the server 203 may encapsulate the target task flow into a target configuration file in JavaScript object notation (JSON) format, and the target configuration file describes all data information required for the docking process.
在一些实施例中,可以将目标配置文件存储于服务器203内,便于后续第一客户端011或第二客户端021通过单一API调用上述目标配置文件。In some embodiments, the target configuration file may be stored in the server 203 , so that the first client 011 or the second client 021 may subsequently call the target configuration file through a single API.
在另一些实施例中,服务器203可以将对接系统的访问地址配置入目标任务流中。例如,若银行系统期望接入保险业务系统以获取保险业务系统的计算引擎相关数据,则银行系统可以通过调用单一API来运行目标配置文件。In other embodiments, the server 203 may configure the access address of the docking system into the target task flow. For example, if the banking system wishes to access the insurance business system to obtain the computing engine related data of the insurance business system, the banking system may run the target configuration file by calling a single API.
S305,获取第一客户端或第二客户端对目标配置文件的调用请求,完成对第一客户端与第二客户端的对接。S305: Obtain a call request for a target configuration file from the first client or the second client, and complete the connection between the first client and the second client.
可以理解,服务器203可以接收第一客户端011或第二客户端021对目标任务流的访问地址的调用请求,并基于该调用请求运行存储的目标配置文件,实现对第一客户端011与第二客户端021的对接。It is understandable that the server 203 can receive a call request from the first client 011 or the second client 021 for the access address of the target task flow, and run the stored target configuration file based on the call request to achieve docking of the first client 011 and the second client 021.
在一些实施例中,服务器203可以运行对接引擎,使用对接引擎装载目标配置文件,并等待第一客户端011或第二客户端021的调用请求。服务器203检测到对s ingular API的调用请求,则执行目标配置文件,实现对第一客户端011和第二客户端021的对接处理。In some embodiments, the server 203 may run a docking engine, use the docking engine to load a target configuration file, and wait for a call request from the first client 011 or the second client 021. When the server 203 detects a call request to the singular API, it executes the target configuration file to implement docking processing for the first client 011 and the second client 021.
可以理解,本申请实施例中的步骤S301至S305,通过配置文件确定对接任务流,并从预设的原子组件库中选出挂载至对接任务流内的原子组件,根据挂载的原子组件确定对接任务流的访问地址,进而得到封装后的目标配置文件,并通过该目标配置文件实现对第一客户端011和第二客户端021的对接处理。可以理解,该目标配置文件 具有接入方(例如第二客户端021)所期望的数据结构,可以供第一客户端011和第二客户端021调用,并可以通过其封装的对接任务流对应的一系列调用链来实现系统间的对接,使用便捷。It can be understood that in the steps S301 to S305 of the embodiment of the present application, the docking task flow is determined through the configuration file, and the atomic component mounted in the docking task flow is selected from the preset atomic component library, and the access address of the docking task flow is determined according to the mounted atomic component, and then the encapsulated target configuration file is obtained, and the docking process of the first client 011 and the second client 021 is realized through the target configuration file. It can be understood that the target configuration file It has the data structure expected by the access party (such as the second client 021), can be called by the first client 011 and the second client 021, and can achieve docking between systems through a series of call chains corresponding to the docking task flow encapsulated therein, which is convenient to use.
此外,得到目标配置文件的过程中,仅需从预设的原子组件库中选取所需的原子组件,无需在线编程,减小了对接文件的获取难度。并且,无需在第一客户端011所在的终端201或第二客户端021所在的终端202本地添加任何代码,不会影响第一客户端011和第二客户端021的系统稳定性,也无需占用任意本地存储资源和本地计算资源,实现简单,可以应用于轻量级终端(例如穿戴设备等)所搭载的系统间的对接。In addition, in the process of obtaining the target configuration file, it is only necessary to select the required atomic components from the preset atomic component library, without online programming, which reduces the difficulty of obtaining the docking file. In addition, there is no need to add any code locally in the terminal 201 where the first client 011 is located or the terminal 202 where the second client 021 is located, which will not affect the system stability of the first client 011 and the second client 021, and there is no need to occupy any local storage resources and local computing resources. The implementation is simple and can be applied to the docking between systems carried by lightweight terminals (such as wearable devices, etc.).
在一些实施例中,参考图4,服务器203可提供一个用于实现上述步骤S301至S304的中间层030,该中间层030可以根据上文中的配置文件生成上文中的目标配置文件031,并将该目标配置文件031打包存储于服务器203,也可以将该目标配置文件031进行发布处理,使得第一客户端011和第二客户端021可以调用该目标配置文件031进行对接。可以理解,该中间层030不影响参与对接处理的第一客户端011和第二客户端021,该中间层030可以提供配置组件、对组件的验证测试、对任务流的配置和验证、对目标配置文件031的打包与发布,和/或日志记录等功能,即该中间层030为用户提供了目标配置文件031的一站式生成平台,有效减少了软件工程管理中各个环节互相等待造成的成本浪费。并且,该中间层030易于对接云基础设施,例如lambda等serverless云基础设施。In some embodiments, referring to FIG. 4 , the server 203 may provide an intermediate layer 030 for implementing the above steps S301 to S304. The intermediate layer 030 may generate the target configuration file 031 mentioned above according to the configuration file mentioned above, and package and store the target configuration file 031 in the server 203. The target configuration file 031 may also be published so that the first client 011 and the second client 021 may call the target configuration file 031 for docking. It can be understood that the intermediate layer 030 does not affect the first client 011 and the second client 021 involved in the docking process. The intermediate layer 030 may provide functions such as configuration components, verification testing of components, configuration and verification of task flows, packaging and publishing of the target configuration file 031, and/or logging. That is, the intermediate layer 030 provides users with a one-stop generation platform for the target configuration file 031, which effectively reduces the cost waste caused by waiting for each link in software engineering management. In addition, the intermediate layer 030 is easy to dock with cloud infrastructure, such as serverless cloud infrastructure such as lambda.
在一些实施例中,该中间层030可以采用云原生语言及其开源框架,同时扩展了开源框架。通过中间层030所开发出来的中间层交付物(例如目标配置文件)体积较小,通常不大于20MB,大大减少了对于运行时资源的占用。In some embodiments, the middle layer 030 can use cloud native language and its open source framework, and expand the open source framework. The middle layer deliverable (such as target configuration file) developed by the middle layer 030 is small in size, usually no more than 20MB, which greatly reduces the occupation of runtime resources.
下面结合图5A和图5B对通过中间层030得到目标配置文件031的过程进行详细说明。The process of obtaining the target configuration file 031 through the intermediate layer 030 is described in detail below with reference to FIG. 5A and FIG. 5B .
图5A根据本申请一些实施例示出了一种基于中间层得到目标配置文件的方法流程示意图。FIG5A shows a schematic flow chart of a method for obtaining a target configuration file based on an intermediate layer according to some embodiments of the present application.
可以理解,图5A所示流程各步骤的执行主体可以是服务器203或服务203提供的中间层030,对于单一步骤的执行主体不再进行赘述。It can be understood that the execution subject of each step of the process shown in Figure 5A can be the server 203 or the intermediate layer 030 provided by the service 203, and the execution subject of a single step will not be described in detail.
S501,在线创建对接计算引擎的集成任务的任务流。S501, creating a task flow of an integration task for docking with a computing engine online.
可以理解,服务器203或服务器203提供的中间层030可在线创建一个用于对接第一客户端011的计算引擎的集成任务的空的任务流,便于后续根据用户输入的配置文件配置出任务流中的至少一个对接任务。It is understandable that the server 203 or the intermediate layer 030 provided by the server 203 can create an empty task flow online for integrating tasks for docking the computing engine of the first client 011, so as to facilitate the subsequent configuration of at least one docking task in the task flow according to the configuration file input by the user.
在一些实施例中,创建出的空的任务流可以实例化为可视化的任务流图标,以便于实例化的原子组件挂载至任务流内,形成可视化的对接任务流。可以理解,实例化后的对接任务流便于用户对其进行可视化的增、删、改、查,用户可以在服务器203提供的可视化编辑区域内快速修改上述对接任务流,使得修改对接任务流的操作直观且便捷。In some embodiments, the created empty task flow can be instantiated as a visual task flow icon, so that the instantiated atomic component can be mounted in the task flow to form a visual docking task flow. It can be understood that the instantiated docking task flow is convenient for users to visually add, delete, modify, and check it. The user can quickly modify the above docking task flow in the visual editing area provided by the server 203, making the operation of modifying the docking task flow intuitive and convenient.
S502,获取用户输入的配置文件,生成任务流的各个任务节点。S502, obtaining a configuration file input by a user, and generating each task node of a task flow.
可以理解,配置文件可以由用户通过第一客户端011输入服务器203或服务器203提供的中间层030,也可以由用户通过第二客户端021输入服务器203或服务器203 提供的中间层030。该配置文件可以为第一客户端011用于对接的配置属性及属性参数,也可以为第二客户端021用于对接的配置属性及属性参数。服务器203或服务器203提供的中间层030通过该配置文件可以确定第一客户端011和第二客户端021进行对接所需的流程,并基于该流程确定任务流的各个任务节点。例如,当第一客户端011接入第二客户端021时,需要进行数据规则验证处理,则流程中将会存在一个数据规则验证的处理步骤,服务器203或服务器203提供的中间层030将该处理步骤加入任务流中,可形成用于数据规则验证的任务节点。It is understood that the configuration file can be input by the user through the first client 011 to the server 203 or the intermediate layer 030 provided by the server 203, or can be input by the user through the second client 021 to the server 203 or the intermediate layer 030 provided by the server 203. The intermediate layer 030 provided. The configuration file can be the configuration attributes and attribute parameters used by the first client 011 for docking, or can be the configuration attributes and attribute parameters used by the second client 021 for docking. The server 203 or the intermediate layer 030 provided by the server 203 can determine the process required for the first client 011 and the second client 021 to dock through the configuration file, and determine each task node of the task flow based on the process. For example, when the first client 011 is connected to the second client 021, data rule verification processing is required, and there will be a data rule verification processing step in the process. The server 203 or the intermediate layer 030 provided by the server 203 adds the processing step to the task flow, which can form a task node for data rule verification.
在一些实施例中,服务器203内可设置有用于生成目标配置文件的目标配置文件编辑应用,该目标配置文件编辑应用可以在用户设计和开发对接流程的客户端内为用户提供目标配置文件编辑界面。应理解,上述用户可以为接口开发人员或系统维护人员。在目标配置文件编辑界面内,上文中任务流内的每一个任务节点均可实例化显示于上述编辑界面的编辑区域内,形成可视化的任务流,便于用户编辑目标配置文件。In some embodiments, a target configuration file editing application for generating a target configuration file may be provided in the server 203, and the target configuration file editing application may provide a target configuration file editing interface for the user in the client of the user designing and developing the docking process. It should be understood that the above-mentioned user may be an interface developer or a system maintenance personnel. In the target configuration file editing interface, each task node in the task flow described above may be instantiated and displayed in the editing area of the above-mentioned editing interface, forming a visual task flow, which is convenient for the user to edit the target configuration file.
S503,从预设原子组件库中选择所需的原子组件,并将选出的原子组件挂载到每个任务节点中。S503, selecting a required atomic component from a preset atomic component library, and mounting the selected atomic component to each task node.
示例性地,在确定任务流的各个任务节点后,执行每个任务节点所需的能力可以拆分为至少一个最小功能单元,根据确定出的最小功能单元可以从预设原子组件库中挑选出所需的原子组件,并将选出的原子组件挂载至每一个任务节点内,以使得至少一个原子组件配合实现对应的任务节点所需的对接功能。应理解,此时的任务流成为了包含至少一个原子组件的有序集合,依照顺序调用上述原子组件即可执行该任务流,实现对第一客户端011和第二客户端021的对接处理。Exemplarily, after determining each task node of the task flow, the capability required to execute each task node can be split into at least one minimum functional unit, and the required atomic components can be selected from the preset atomic component library according to the determined minimum functional unit, and the selected atomic components can be mounted in each task node, so that at least one atomic component cooperates to realize the docking function required by the corresponding task node. It should be understood that the task flow at this time becomes an ordered set containing at least one atomic component, and the task flow can be executed by calling the above atomic components in sequence to realize the docking processing of the first client 011 and the second client 021.
应理解,所有原子组件的配置数据均有租户属性及是否共享属性。进而使得每个原子组件可以接受JSON或可扩展标记语言(extensible markup language,XML)格式的数据作为输入数据,而输出格式则可以为JSON或XML中的任意一种。例如,输入JSON格式的输入数据,可以获得JSON或XML格式的输出数据;输入XML格式的输入数据,也可以获得JSON或XML格式的输出数据。可以理解,原子组件的输入数据可以为遵循JSON或XML协议的任意数据,在此不做限定。It should be understood that the configuration data of all atomic components have tenant attributes and whether they are shared attributes. As a result, each atomic component can accept data in JSON or extensible markup language (XML) format as input data, and the output format can be any one of JSON or XML. For example, by inputting input data in JSON format, output data in JSON or XML format can be obtained; by inputting input data in XML format, output data in JSON or XML format can also be obtained. It can be understood that the input data of an atomic component can be any data that complies with the JSON or XML protocol, and is not limited here.
应理解,上述原子组件可以提供各种各样的功能,而该功能对应的处理逻辑可以是多样化的,例如可以校验输入数据、转换输入数据格式、输入数据路由处理等。不同功能的原子组件,其输出结果与其功能相对应。例如,用于模型转换的原子组件可以为转换器。则在第一客户端011为保险业务系统、第二客户端021为银行系统的对接场景中,可以应用该转换器,将保险数据标准协会(ACORD)所制定的XML协议数据模型转换为保费计算引擎所需要的JSON协议的数据模型。It should be understood that the above-mentioned atomic components can provide a variety of functions, and the processing logic corresponding to the function can be diversified, for example, it can verify input data, convert input data format, input data routing processing, etc. The output results of atomic components with different functions correspond to their functions. For example, the atomic component used for model conversion can be a converter. Then, in the docking scenario where the first client 011 is an insurance business system and the second client 021 is a bank system, the converter can be applied to convert the XML protocol data model formulated by the Association for Insurance Data Standards (ACORD) into the JSON protocol data model required by the premium calculation engine.
应理解,通过转换器这一原子组件实现上述ACORD模型转换为JSON模型的数据格式转换目的,可以修改两者之间的协议格式,输入数据的数据内容不会进行改变。例如,若地址中包含街道A为输入数据,则可以将“<地址值=地址1>”和“<街道>A”的数据规则格式更改为“"地址":"A"”的数据规则格式,其语句中的分隔符和语句表达规则有所改变,但属性值并未变化,即内容并未产生实质改变。从而为应用不同数据规则格式的系统实现对接处理。It should be understood that the data format conversion purpose of converting the above-mentioned ACORD model to the JSON model is achieved through the atomic component of the converter. The protocol format between the two can be modified, and the data content of the input data will not be changed. For example, if the address contains street A as input data, the data rule format of "<address value = address 1>" and "<street> A" can be changed to the data rule format of ""address": "A"". The delimiters and statement expression rules in the statement are changed, but the attribute values are not changed, that is, the content has not changed substantially. This enables docking processing for systems that apply different data rule formats.
在另一些实施例中,转换器还可以用于数据结构转换和字段的映射处理。 In other embodiments, the converter may also be used for data structure conversion and field mapping processing.
在一些实施例中,上述原子组件的配置过程中,可以通过服务器203在线验证以完成单元测试。In some embodiments, during the configuration process of the above atomic components, online verification can be performed through the server 203 to complete the unit test.
在一些实施例中,原子组件可以包括转换器、校验器、路由器等多种不同功能的原子组件,通过预设原子组件库可以将上述不同功能的原子组件分类管理,并且可以为用户提供用于维护不同功能的原子组件的统一页面,便于用户生成和维护上述原子组件。In some embodiments, atomic components may include atomic components with various functions such as converters, verifiers, routers, etc. The atomic components with the above-mentioned different functions may be classified and managed through a preset atomic component library, and a unified page for maintaining atomic components with different functions may be provided to users, so as to facilitate users to generate and maintain the above-mentioned atomic components.
在一些实施例中,中间层030可以为用户用于开发或维护接口的终端提供可视化任务流编辑界面,在该编辑界面中,设置有预设原子组件库界面区域,该界面区域内包含实例化的原子组件所对应的图标。用户可以通过拖拽、点击等方式配置实例化的原子组件的属性参数,进而将实例化的原子组件的图标可视化拼接为对接任务流的每一个任务节点。In some embodiments, the middle layer 030 can provide a visual task flow editing interface for the terminal used by the user to develop or maintain the interface. In the editing interface, a preset atomic component library interface area is set, and the interface area contains icons corresponding to the instantiated atomic components. The user can configure the attribute parameters of the instantiated atomic components by dragging, clicking, etc., and then visualize the icons of the instantiated atomic components as each task node of the docking task flow.
参考图5B,可视化原子组件编辑界面R左侧提供了预设原子组件库界面区域R-1,右侧提供了原子组件编辑区域R-2。中间层030检测到用户对R-1中“零件1”图标和“零件2”图标的拖拽操作为将“零件1”和“零件2”拖拽至原子组件编辑区域R-2,则可以根据用户拖拽操作对应的轨迹、操作结束时所处位置等操作参数,确定对应的组件配置参数的取值逻辑,进而确定“零件1”和“零件2”的配置参数,并基于该配置参数将“零件1”和“零件2”设置于原子组件内,以实现原子组件所需实现的功能。可视化编辑实例化的原子组件图标便于用户维护历史目标配置文件。Referring to FIG5B , the left side of the visual atomic component editing interface R provides a preset atomic component library interface area R-1, and the right side provides an atomic component editing area R-2. The middle layer 030 detects that the user's dragging operation on the "Part 1" icon and the "Part 2" icon in R-1 is to drag "Part 1" and "Part 2" to the atomic component editing area R-2. The value logic of the corresponding component configuration parameters can be determined according to the operation parameters such as the trajectory corresponding to the user's dragging operation and the position at the end of the operation, and then the configuration parameters of "Part 1" and "Part 2" are determined, and based on the configuration parameters, "Part 1" and "Part 2" are set in the atomic component to realize the functions required by the atomic component. Visual editing of instantiated atomic component icons facilitates users to maintain historical target configuration files.
应理解,上述零件为相较于原子组件功能粒度更细小的模块,例如获取日期的零件、比较两个数的零件、赋值的零件等。通过上述零件可以配置出原子组件所需的完整功能。It should be understood that the above parts are modules with finer functional granularity than atomic components, such as a part for obtaining a date, a part for comparing two numbers, a part for assigning a value, etc. The above parts can be used to configure the complete functions required by the atomic components.
S504,配置第一客户端内计算引擎对应的接口端点。S504: Configure the interface endpoint corresponding to the computing engine in the first client.
应理解,若对接任务流内仅配置入原子组件,则仅能确定用于执行任务节点的组件。但还需要配置每一个执行节点得到的执行结果的推送方。例如,某任务节点需要执行路径切换,则不仅需要挂载路径切换组件,还需要确定路径切换的目标路径。因此,可以将用于接入的第一客户端011的接口端点配置入对接任务流中,便于执行对接任务流时可以调用第一客户端011的接口端点实现与第一客户端011的数据交互。It should be understood that if only atomic components are configured in the docking task flow, only the components used to execute the task node can be determined. However, it is also necessary to configure the pusher of the execution result obtained by each execution node. For example, if a task node needs to execute path switching, it is not only necessary to mount the path switching component, but also necessary to determine the target path of the path switching. Therefore, the interface endpoint of the first client 011 used for access can be configured into the docking task flow, so that the interface endpoint of the first client 011 can be called when executing the docking task flow to realize data interaction with the first client 011.
示例性地,服务器203可以根据对接任务流内的每个任务节点确定出需要调用的第一客户端011的计算引擎的接口访问地址,即需要调用的第一客户端011的接口端点,便于在任务流中利用第一客户端011实现相应的对接处理。在一些实施例中,服务器203执行任务流的过程中,该任务流包含将任务节点3中的数据在任务节点4内路径切换至第一客户端011的对接处理,例如将任务节点3得到的数据传递给第一客户端011的保费计算引擎以获取保费计算引擎接口的返回信息,以便于进行后续任务节点5中的数据规则校验处理。因此需要将第一客户端011的计算引擎对应的接口端点配置为上述任务节点4的属性参数。应理解,对应于为任务节点4配置该保费计算引擎的接口端点的情况,服务器203执行任务节点4时可以通过调用上述配置好的接口端点,将对接数据发送给第一客户端011的保费计算引擎,以获取返回信息,便于执行后续任务,实现系统间对接处理。Exemplarily, the server 203 can determine the interface access address of the calculation engine of the first client 011 that needs to be called according to each task node in the docking task flow, that is, the interface endpoint of the first client 011 that needs to be called, so as to facilitate the corresponding docking processing using the first client 011 in the task flow. In some embodiments, during the process of the server 203 executing the task flow, the task flow includes the docking processing of switching the data in the task node 3 to the first client 011 in the task node 4, for example, passing the data obtained by the task node 3 to the premium calculation engine of the first client 011 to obtain the return information of the premium calculation engine interface, so as to facilitate the data rule verification processing in the subsequent task node 5. Therefore, it is necessary to configure the interface endpoint corresponding to the calculation engine of the first client 011 as the attribute parameter of the above-mentioned task node 4. It should be understood that corresponding to the case of configuring the interface endpoint of the premium calculation engine for the task node 4, when the server 203 executes the task node 4, it can send the docking data to the premium calculation engine of the first client 011 by calling the above-mentioned configured interface endpoint to obtain the return information, so as to facilitate the execution of subsequent tasks and realize the docking processing between systems.
S505,配置整个目标任务流对外暴露的接口端点。 S505: Configure the interface endpoints exposed to the outside by the entire target task flow.
可以理解,目标任务流对外暴露的接口端点即为对接请求的接口调用地址,可以用于接收从接入方传入的数据,例如可以用于获取保单数据。It can be understood that the interface endpoint exposed by the target task flow is the interface call address of the docking request, which can be used to receive data passed in from the access party, for example, it can be used to obtain insurance policy data.
S506,将整个目标任务流存为JSON格式的目标配置文件。S506, saving the entire target task flow as a target configuration file in JSON format.
可以理解,上述目标任务流可以被打包为JSON格式的目标配置文件,并存储于服务器203本地,使得第一客户端011与第二客户端021对接时可以通过调用singular API的方式运行该目标配置文件,实现对接处理。It can be understood that the above-mentioned target task flow can be packaged into a target configuration file in JSON format and stored locally on the server 203, so that when the first client 011 and the second client 021 are docked, the target configuration file can be run by calling the singular API to implement the docking process.
在一些实施例中,服务器203可以新建一个文本文档(docker file),该文本文档中包含了用户创建镜像的所有命令和说明,进而可以将配置好的目标任务流以及其上挂载的所有原子组件打包为服务(docker)镜像并推送至镜像仓库。In some embodiments, the server 203 can create a new text document (docker file), which contains all the commands and instructions for the user to create an image, and then can package the configured target task flow and all atomic components mounted on it into a service (docker) image and push it to the image repository.
S507,将目标配置文件发布并注册至网关。S507, publish and register the target configuration file to the gateway.
在一些实施例中,将目标配置文件打包成文本镜像并推送至镜像仓库后,可以选择运行时环境站点,调用预设云平台部署的API,部署该文本到运行时站点并运行,调用网关的注册API将目标配置文件的访问接口注册到网关。In some embodiments, after the target configuration file is packaged into a text image and pushed to the image repository, you can select a runtime environment site, call the preset cloud platform deployment API, deploy the text to the runtime site and run it, and call the gateway's registration API to register the target configuration file's access interface to the gateway.
由于将目标配置文件注册至网关,因此可以自动提取目标任务流中的输入数据作为API请求,便于用户在线提交API请求并通过网关调用目标配置文件对应的API,例如单数API(singular API)。Since the target profile is registered to the gateway, the input data in the target task flow can be automatically extracted as an API request, which makes it convenient for users to submit API requests online and call the API corresponding to the target profile through the gateway, such as the singular API.
在一些实施例中,调用目标配置文件对应的API执行目标任务流中的每一个任务节点(即执行每一个对接步骤)均可记录有日志信息,网关在收集到上述日志信息后可以进行汇总。在一些实施方式中,服务器203可以为用户提供在线查询页面以供用户查询记录的日志信息。In some embodiments, each task node (i.e., each docking step) in the target task flow executed by calling the API corresponding to the target configuration file can be recorded with log information, and the gateway can summarize the above log information after collecting it. In some implementations, the server 203 can provide users with an online query page for users to query the recorded log information.
可以理解,通过上述步骤S501至S507,可以在服务器203或服务器203提供的中间层030上通过原子组件和配置文件构建出目标配置文件,并可将该目标配置文件发布并注册至网关。此时,该中间层030可以实现系统对接接口的在线配置、验证、打包、发布、发布后的验证、排查错误或日志查看等功能,形成一站式在线对接平台,无需编码,减少了工程性环节的损耗,减少了硬编码对接方式带来的效率低下。It can be understood that through the above steps S501 to S507, a target configuration file can be constructed through atomic components and configuration files on the server 203 or the intermediate layer 030 provided by the server 203, and the target configuration file can be published and registered to the gateway. At this time, the intermediate layer 030 can realize the functions of online configuration, verification, packaging, publishing, post-publishing verification, error troubleshooting or log viewing of the system docking interface, forming a one-stop online docking platform without coding, reducing the loss of engineering links, and reducing the inefficiency caused by the hard-coded docking method.
并且,该中间层030所暴露的API可以注册至网关上,则对接的一方仅需配置其调用该API的端点即可完成对接处理,不涉及对接双方的系统代码,有效减少了对接双方系统的风险。Furthermore, the API exposed by the middle layer 030 can be registered on the gateway, so the docking party only needs to configure the endpoint for calling the API to complete the docking process, without involving the system codes of the two docking parties, effectively reducing the risks of the systems of the two docking parties.
在一些实施例中,上述中间层030可以采用云原生语言及其相关框架,有效减少资源利用,运行速度快,扩容能力强。例如,可以支持多租户机制,可复用的原子组件可以在租户之间共享,满足数字化连接中生态系统之间多对多的需求。In some embodiments, the middle layer 030 can use cloud native languages and related frameworks to effectively reduce resource utilization, run fast, and have strong expansion capabilities. For example, it can support multi-tenant mechanisms, and reusable atomic components can be shared between tenants to meet the many-to-many needs between ecosystems in digital connections.
下面结合相关附图对应用接口进行对接的过程进行详细说明。The process of docking the application interface is described in detail below with reference to the relevant drawings.
图6根据本申请实施例示出了一种双系统对接工作流的流程示意图。可以理解,图6所示流程各步骤的执行主体可以是服务器203或服务器203提供的中间层030,对于单一步骤的执行主体不再进行赘述。Figure 6 shows a schematic diagram of a dual-system docking workflow according to an embodiment of the present application. It can be understood that the execution subject of each step of the process shown in Figure 6 can be the server 203 or the middle layer 030 provided by the server 203, and the execution subject of a single step will not be repeated.
参考图6,根据本申请一些实施例,以保险经纪(broker)系统对接至保费计算系统的场景设计工作流,则该工作流可以包括:Referring to FIG. 6 , according to some embodiments of the present application, a workflow is designed based on a scenario in which an insurance broker system is connected to a premium calculation system. The workflow may include:
S-1,通过单数API(singular API)接收保险经纪系统的输入数据,使得接入方通过调用API的方式将其请求信息传入。 S-1, receiving input data from the insurance brokerage system through a singular API, so that the access party can pass in its request information by calling the API.
可以理解,该单数API为配置好的目标配置文件访问接口,可以标识为保险经纪系统ACORD单数API(BrokerACORDSingularAPI)。It can be understood that the singular API is a configured target configuration file access interface, which can be identified as the insurance broker system ACORD singular API (Broker ACORD Singular API).
S-2,将接收到的请求数据传递给一个上传校验器(inbound validator),通过该上传校验器校验传入的数据是否有效,若上传校验器执行成功,则继续执行步骤S-3。S-2, pass the received request data to an inbound validator, and use the inbound validator to verify whether the incoming data is valid. If the inbound validator is executed successfully, continue to step S-3.
其中,该上传校验器可以标识为保险经纪系统ACORD验证器(BrokerACORDValidator)。The upload validator may be identified as an insurance broker system ACORD validator (BrokerACORDValidator).
S-3,使用上传转换器(inbound transformer)将接入方所传入的数据协议和数据格式,转换为目标计算引擎所期望的数据协议和数据格式。S-3 uses an inbound transformer to convert the data protocol and data format passed in by the access party into the data protocol and data format expected by the target computing engine.
例如,使用该上传转换器将保险经纪系统提供的ACORD模型下XML协议的请求结构转换为目标计算引擎所期望的数据协议和数据格式。其中,该上传转换器可以标识为保险经纪系统ACORD转换器(BrokerACORDTransformer)。For example, the upload converter is used to convert the request structure of the XML protocol under the ACORD model provided by the insurance broker system into the data protocol and data format expected by the target computing engine. The upload converter can be identified as the insurance broker system ACORD converter (BrokerACORDTransformer).
S-4,路由(router)组件将接收到的转换好的数据传递给保费计算系统的计算引擎提供的API,并接收目标计算引擎API的返回信息。其中,该保费计算系统的计算引擎提供的API可以标识为“InsureMORatingAPI”,由此,该路由组件可以标识为“Route to InsureMORatingAPI”。S-4, the router component passes the received converted data to the API provided by the calculation engine of the premium calculation system, and receives the return information of the target calculation engine API. The API provided by the calculation engine of the premium calculation system can be identified as "InsureMORatingAPI", and thus, the router component can be identified as "Route to InsureMORatingAPI".
S-5,下载校验器(outbound validator)校验计算引擎API的返回信息,若有效,则继续执行步骤S-6。其中,该下载校验器可以标识为“InsureMORating校验器(InsureMORatingValidator)”。S-5, the outbound validator verifies the return information of the computing engine API, and if it is valid, proceed to step S-6. The outbound validator can be identified as "InsureMORating Validator".
S-6,下载转换器将计算引擎API返回的信息,转换为保险经纪系统所期望的数据协议和格式。其中,该下载转换器可标识为InsureMORating转换器(InsureMORatingTransformer)。S-6, the download converter converts the information returned by the calculation engine API into the data protocol and format expected by the insurance brokerage system. The download converter can be identified as InsureMORating Transformer.
由此可见,接入的保险经纪系统依然保留自身的数据结构为ACORD XML request结构,其在调用目标任务流所暴露的保险经纪系统ACORD单数API(即任务流生成的目标配置文件的访问接口)的过程中,依然使用其自身数据结构。It can be seen that the connected insurance brokerage system still retains its own data structure as the ACORD XML request structure. It still uses its own data structure when calling the insurance brokerage system ACORD singular API exposed by the target task flow (that is, the access interface of the target configuration file generated by the task flow).
可以理解,通过上述步骤S-1至S-6,保险经纪系统ACORD单数API可将ACORD XML request数据传递给保险经纪系统ACORD校验器组件,以验证传入的数据的合法性,若不合法,则目标任务流停止。若合法则继续将ACORD XML request数据传递给保险经纪系统ACORD转换器组件,保险经纪系统ACORD转换器组件将ACORD XML request转换为保费计算引擎InsureMO Rating API所能接受的request格式。然后将转换后的数据传递给路由组件,该路由组件可以将上述request格式的请求路由给目标保费计算引擎的InsureMORatingAPI。应理解,该InsureMORatingAPI的访问地址可以在任务流中通过配置文件指定。进而,获取到InsureMORatingAPI返回的InsureMO Rating response信息将传入下一个验证组件进行验证。对应于验证结果为合法,则传入下一个转换器组件进行转换,转换为ACORD XML response结构并返回给保险经纪系统。It can be understood that through the above steps S-1 to S-6, the insurance brokerage system ACORD singular API can pass the ACORD XML request data to the insurance brokerage system ACORD validator component to verify the legality of the incoming data. If it is not legal, the target task flow stops. If it is legal, the ACORD XML request data will continue to be passed to the insurance brokerage system ACORD converter component, and the insurance brokerage system ACORD converter component will convert the ACORD XML request into a request format acceptable to the premium calculation engine InsureMO Rating API. Then the converted data is passed to the routing component, which can route the request in the above request format to the InsureMORating API of the target premium calculation engine. It should be understood that the access address of the InsureMORating API can be specified in the task flow through the configuration file. Then, the InsureMO Rating response information returned by the InsureMORating API will be passed to the next verification component for verification. Corresponding to the legality of the verification result, it will be passed to the next converter component for conversion, converted into an ACORD XML response structure and returned to the insurance brokerage system.
由此可知,保险经纪系统接收到的保费计算引擎所返回的数据结构也是遵从保险经纪系统期望的数据结构。这样完全复用了保险经纪系统的ACORD XML request结构和ACORD XML response结构,保险经纪系统无需编写新的代码来适配保费计算引擎的数据格式,也无需编写代码来做数据校验和数据转化。保险经纪系统只需要增加一个 用于与目标配置文件进行数据交互的触发逻辑,例如将ACORD XML request传给目标配置文件所对应的任务流为保险经纪系统所暴露的singular API,并接收ACORD XML response格式的返回。由此,应用目标配置文件实现系统间对接可以有效避免对对接双方系统的其他程序处理的影响。It can be seen that the data structure returned by the premium calculation engine received by the insurance brokerage system also complies with the data structure expected by the insurance brokerage system. In this way, the ACORD XML request structure and ACORD XML response structure of the insurance brokerage system are fully reused. The insurance brokerage system does not need to write new code to adapt to the data format of the premium calculation engine, nor does it need to write code to do data verification and data conversion. The insurance brokerage system only needs to add a The trigger logic for data interaction with the target configuration file, for example, sends the ACORD XML request to the task flow corresponding to the target configuration file, which is the singular API exposed by the insurance brokerage system, and receives the return in the ACORD XML response format. Therefore, the application of the target configuration file to achieve inter-system docking can effectively avoid the impact on other program processing of the docking systems.
图7根据本申请实施例示出了一种服务器203的框图。在一些实施例中,服务器203可以包括一个或多个处理器804,与处理器804中的至少一个连接的系统控制逻辑808,与系统控制逻辑808连接的系统内存812,与系统控制逻辑808连接的非易失性存储器(NVM)816,以及与系统控制逻辑808连接的网络接口820。FIG7 shows a block diagram of a server 203 according to an embodiment of the present application. In some embodiments, the server 203 may include one or more processors 804, a system control logic 808 connected to at least one of the processors 804, a system memory 812 connected to the system control logic 808, a non-volatile memory (NVM) 816 connected to the system control logic 808, and a network interface 820 connected to the system control logic 808.
在一些实施例中,处理器804可以包括一个或多个单核或多核处理器。在一些实施例中,处理器804可以包括通用处理器和专用处理器(例如,图形处理器,应用处理器,基带处理器等)的任意组合。在服务器203采用增强型基站(evolved node b,eNB)101或无线接入网(radio access network,RAN)控制器102的实施例中,处理器804可以被配置为执行各种符合的实施例。In some embodiments, the processor 804 may include one or more single-core or multi-core processors. In some embodiments, the processor 804 may include any combination of general-purpose processors and special-purpose processors (e.g., graphics processors, application processors, baseband processors, etc.). In an embodiment where the server 203 uses an enhanced base station (evolved node b, eNB) 101 or a radio access network (radio access network, RAN) controller 102, the processor 804 may be configured to execute various embodiments that comply with the present invention.
在一些实施例中,系统控制逻辑808可以包括任意合适的接口控制器,以向处理器804中的至少一个和/或与系统控制逻辑808通信的任意合适的设备或组件提供任意合适的接口。In some embodiments, system control logic 808 may include any suitable interface controller to provide any suitable interface to at least one of processors 804 and/or any suitable device or component in communication with system control logic 808 .
在一些实施例中,系统控制逻辑808可以包括一个或多个存储器控制器,以提供连接到系统内存812的接口。系统内存812可以用于加载以及存储数据和/或指令。在一些实施例中服务器203的内存812可以包括任意合适的易失性存储器,例如合适的动态随机存取存储器(DRAM)。In some embodiments, the system control logic 808 may include one or more memory controllers to provide an interface to the system memory 812. The system memory 812 may be used to load and store data and/or instructions. In some embodiments, the memory 812 of the server 203 may include any suitable volatile memory, such as a suitable dynamic random access memory (DRAM).
NVM/存储器816可以包括用于存储数据和/或指令的一个或多个有形的、非暂时性的计算机可读介质。在一些实施例中,NVM/存储器816可以包括闪存等任意合适的非易失性存储器和/或任意合适的非易失性存储设备,例如硬盘驱动器(hard disk drive,HDD),光盘(compact disc,CD)驱动器,数字通用光盘(digital versatiledisc,DVD)驱动器中的至少一个。NVM/memory 816 may include one or more tangible, non-transitory computer-readable media for storing data and/or instructions. In some embodiments, NVM/memory 816 may include any suitable non-volatile memory such as flash memory and/or any suitable non-volatile storage device, such as at least one of a hard disk drive (HDD), a compact disc (CD) drive, and a digital versatile disc (DVD) drive.
NVM/存储器816可以包括安装服务器203的装置上的一部分存储资源,或者它可以由设备访问,但不一定是设备的一部分。例如,可以经由网络接口820通过网络访问NVM/存储816。NVM/storage 816 may include a portion of storage resources on the device on which server 203 is installed, or it may be accessible by the device but not necessarily a portion of the device. For example, NVM/storage 816 may be accessed over a network via network interface 820 .
特别地,系统内存812和NVM/存储器816可以分别包括:指令824的暂时副本和永久副本。指令824可以包括:由处理器804中的至少一个执行时导致服务器203实施上述构建方法的指令。在一些实施例中,指令824、硬件、固件和/或其软件组件可另外地/替代地置于系统控制逻辑808,网络接口820和/或处理器804中。In particular, system memory 812 and NVM/storage 816 may include, respectively, a temporary copy and a permanent copy of instructions 824. Instructions 824 may include instructions that, when executed by at least one of processors 804, cause server 203 to implement the above-described construction method. In some embodiments, instructions 824, hardware, firmware, and/or software components thereof may be additionally/alternatively placed in system control logic 808, network interface 820, and/or processor 804.
网络接口820可以包括收发器,用于为服务器203提供无线电接口,进而通过一个或多个网络与任意其他合适的设备(如前端模块,天线等)进行通信。在一些实施例中,网络接口820可以集成于服务器203的其他组件。例如,网络接口820可以集成于处理器804,系统内存812,NVM/存储器816,和具有指令的固件设备(图中未示出)中的至少一种,当处理器804中的至少一个执行指令时,服务器203实现上述对接方法。The network interface 820 may include a transceiver for providing a radio interface for the server 203, and then communicating with any other suitable device (such as a front-end module, an antenna, etc.) through one or more networks. In some embodiments, the network interface 820 may be integrated with other components of the server 203. For example, the network interface 820 may be integrated with at least one of the processor 804, the system memory 812, the NVM/storage 816, and a firmware device with instructions (not shown in the figure), and when at least one of the processors 804 executes the instructions, the server 203 implements the above-mentioned docking method.
网络接口820可以进一步包括任意合适的硬件和/或固件,以提供多输入多输出无 线电接口。例如,网络接口820可以是网络适配器,无线网络适配器,电话调制解调器和/或无线调制解调器。The network interface 820 may further include any suitable hardware and/or firmware to provide multiple-input multiple-output wireless For example, network interface 820 may be a network adapter, a wireless network adapter, a telephone modem, and/or a wireless modem.
在一个实施例中,处理器804中的至少一个可以与用于系统控制逻辑808的一个或多个控制器的逻辑封装在一起,以形成系统封装(SiP)。在一个实施例中,处理器804中的至少一个可以与用于系统控制逻辑808的一个或多个控制器的逻辑集成在同一管芯上,以形成片上系统(SoC)。In one embodiment, at least one of the processors 804 may be packaged together with logic for one or more controllers of the system control logic 808 to form a system in package (SiP). In one embodiment, at least one of the processors 804 may be integrated on the same die with logic for one or more controllers of the system control logic 808 to form a system on chip (SoC).
服务器203可以进一步包括:输入/输出(I/O)设备832。I/O设备832可以包括用户界面,使得用户能够与服务器203进行交互;外围组件接口的设计使得外围组件也能够与服务器203交互。在一些实施例中,服务器203还包括传感器,用于确定与服务器203相关的环境条件和位置信息的至少一种。The server 203 may further include an input/output (I/O) device 832. The I/O device 832 may include a user interface to enable a user to interact with the server 203; and a peripheral component interface design to enable peripheral components to interact with the server 203. In some embodiments, the server 203 further includes a sensor for determining at least one of an environmental condition and location information related to the server 203.
在一些实施例中,用户界面可包括但不限于显示器(例如,液晶显示器,触摸屏显示器等),扬声器,麦克风,一个或多个相机(例如,静止图像照相机和/或摄像机),手电筒(例如,发光二极管闪光灯)和键盘。In some embodiments, the user interface may include, but is not limited to, a display (e.g., an LCD display, a touch screen display, etc.), a speaker, a microphone, one or more cameras (e.g., a still image camera and/or a video camera), a flashlight (e.g., an LED flash), and a keyboard.
在一些实施例中,外围组件接口可以包括但不限于非易失性存储器端口、音频插孔和电源接口。In some embodiments, the peripheral component interface may include, but is not limited to, a non-volatile memory port, an audio jack, and a power interface.
在一些实施例中,传感器可包括但不限于陀螺仪传感器,加速度计,近程传感器,环境光线传感器和定位单元。定位单元还可以是网络接口820的一部分或与网络接口820交互,以与定位网络的组件(例如,全球定位系统(GPS)卫星)进行通信。In some embodiments, the sensors may include, but are not limited to, gyroscope sensors, accelerometers, proximity sensors, ambient light sensors, and positioning units. The positioning unit may also be part of or interact with the network interface 820 to communicate with components of a positioning network (e.g., global positioning system (GPS) satellites).
本申请公开的各实施例可以被实现在硬件、软件、固件或这些实现方法的组合中。本申请的实施例可实现为在可编程系统上执行的计算机程序或程序代码,该可编程系统包括至少一个处理器、存储系统(包括易失性和非易失性存储器和/或存储元件)、至少一个输入设备以及至少一个输出设备。The various embodiments disclosed in the present application may be implemented in hardware, software, firmware, or a combination of these implementation methods. The embodiments of the present application may be implemented as a computer program or program code executed on a programmable system, the programmable system including at least one processor, a storage system (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device.
可将程序代码应用于输入指令,以执行本申请描述的各功能并生成输出信息。可以按已知方式将输出信息应用于一个或多个输出设备。为了本申请的目的,处理系统包括具有诸如例如数字信号处理器(DSP)、微控制器、专用集成电路(ASIC)或微处理器之类的处理器的任何系统。Program code can be applied to input instructions to perform the functions described in this application and generate output information. The output information can be applied to one or more output devices in a known manner. For the purposes of this application, a processing system includes any system having a processor such as, for example, a digital signal processor (DSP), a microcontroller, an application specific integrated circuit (ASIC), or a microprocessor.
程序代码可以用高级程序化语言或面向对象的编程语言来实现,以便与处理系统通信。在需要时,也可用汇编语言或机器语言来实现程序代码。事实上,本申请中描述的机制不限于任何特定编程语言的范围。在任一情形下,该语言可以是编译语言或解释语言。Program code can be implemented with high-level programming language or object-oriented programming language to communicate with the processing system. When necessary, program code can also be implemented with assembly language or machine language. In fact, the mechanism described in this application is not limited to the scope of any specific programming language. In either case, the language can be a compiled language or an interpreted language.
在一些情况下,所公开的实施例可以以硬件、固件、软件或其任何组合来实现。所公开的实施例还可以被实现为由一个或多个暂时或非暂时性机器可读(例如,计算机可读)存储介质承载或存储在其上的指令,其可以由一个或多个处理器读取和执行。例如,指令可以通过网络或通过其他计算机可读介质分发。因此,机器可读介质可以包括用于以机器(例如,计算机)可读的形式存储或传输信息的任何机制,包括但不限于,软盘、光盘、光碟、只读存储器(CD-ROMs)、磁光盘、只读存储器(ROM)、随机存取存储器(RAM)、可擦除可编程只读存储器(EPROM)、电可擦除可编程只读存储器(EEPROM)、磁卡或光卡、闪存、或用于利用因特网以电、光、声或其他形式的传播信号来传输信息(例如,载波、红外信号数字信号等)的有形的机器可读存储器。 因此,机器可读介质包括适合于以机器(例如,计算机)可读的形式存储或传输电子指令或信息的任何类型的机器可读介质。In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions carried or stored on one or more temporary or non-temporary machine-readable (e.g., computer-readable) storage media, which may be read and executed by one or more processors. For example, instructions may be distributed over a network or through other computer-readable media. Therefore, machine-readable media may include any mechanism for storing or transmitting information in a machine (e.g., computer) readable form, including, but not limited to, floppy disks, optical disks, optical disks, read-only memories (CD-ROMs), magneto-optical disks, read-only memories (ROMs), random access memories (RAMs), erasable programmable read-only memories (EPROMs), electrically erasable programmable read-only memories (EEPROMs), magnetic or optical cards, flash memory, or a tangible machine-readable memory for transmitting information (e.g., carrier waves, infrared signals, digital signals, etc.) using the Internet in electrical, optical, acoustic, or other forms of propagation signals. Accordingly, machine-readable media include any type of machine-readable media suitable for storing or transmitting electronic instructions or information in a form readable by a machine (eg, a computer).
在附图中,可以以特定布置和/或顺序示出一些结构或方法特征。然而,应该理解,可能不需要这样的特定布置和/或排序。而是,在一些实施例中,这些特征可以以不同于说明性附图中所示的方式和/或顺序来布置。另外,在特定图中包括结构或方法特征并不意味着暗示在所有实施例中都需要这样的特征,并且在一些实施例中,可以不包括这些特征或者可以与其他特征组合。In the accompanying drawings, some structural or method features may be shown in a specific arrangement and/or order. However, it should be understood that such a specific arrangement and/or order may not be required. Instead, in some embodiments, these features may be arranged in a manner and/or order different from that shown in the illustrative drawings. In addition, the inclusion of structural or method features in a particular figure does not mean that such features are required in all embodiments, and in some embodiments, these features may not be included or may be combined with other features.
需要说明的是,本申请各设备实施例中提到的各单元/模块都是逻辑单元/模块,在物理上,一个逻辑单元/模块可以是一个物理单元/模块,也可以是一个物理单元/模块的一部分,还可以以多个物理单元/模块的组合实现,这些逻辑单元/模块本身的物理实现方式并不是最重要的,这些逻辑单元/模块所实现的功能的组合才是解决本申请所提出的技术问题的关键。此外,为了突出本申请的创新部分,本申请上述各设备实施例并没有将与解决本申请所提出的技术问题关系不太密切的单元/模块引入,这并不表明上述设备实施例并不存在其它的单元/模块。It should be noted that the units/modules mentioned in the various device embodiments of the present application are all logical units/modules. Physically, a logical unit/module can be a physical unit/module, or a part of a physical unit/module, or can be implemented as a combination of multiple physical units/modules. The physical implementation method of these logical units/modules themselves is not the most important. The combination of functions implemented by these logical units/modules is the key to solving the technical problems proposed by the present application. In addition, in order to highlight the innovative part of the present application, the above-mentioned device embodiments of the present application do not introduce units/modules that are not closely related to solving the technical problems proposed by the present application, which does not mean that there are no other units/modules in the above-mentioned device embodiments.
需要说明的是,在本专利的示例和说明书中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个”限定的要素,并不排除在包括要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that in the examples and description of this patent, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article 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, article or device. In the absence of further restrictions, the elements defined by the sentence "including one" do not exclude the existence of other identical elements in the process, method, article or device including the elements.
虽然通过参照本申请的某些实施例,已经对本申请进行了图示和描述,但本领域的普通技术人员应该明白,可以在形式上和细节上对其作各种改变,而不偏离本申请的范围。 Although the present application has been illustrated and described with reference to certain embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the scope of the present application.
Claims (10)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202311436165.9A CN117407041B (en) | 2023-10-31 | 2023-10-31 | Interconnection methods, electronic devices and storage media |
| CN202311436165.9 | 2023-10-31 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2025091762A1 true WO2025091762A1 (en) | 2025-05-08 |
Family
ID=89497767
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2024/084116 Pending WO2025091762A1 (en) | 2023-10-31 | 2024-03-27 | Interconnection method, electronic device and storage medium |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN117407041B (en) |
| WO (1) | WO2025091762A1 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117407041B (en) * | 2023-10-31 | 2025-11-14 | 易保网络技术(上海)有限公司 | Interconnection methods, electronic devices and storage media |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112714148A (en) * | 2020-11-10 | 2021-04-27 | 海尔数字科技(青岛)有限公司 | Interface configuration method, device, equipment and medium |
| CN115378996A (en) * | 2022-08-25 | 2022-11-22 | 北京分贝通科技有限公司 | Method, device, equipment and storage medium for intersystem data transmission |
| CN116301830A (en) * | 2023-03-10 | 2023-06-23 | 北京沃东天骏信息技术有限公司 | Business code generation method and device, electronic device, storage medium |
| CN116781552A (en) * | 2022-09-16 | 2023-09-19 | 中移(苏州)软件技术有限公司 | Network detection methods, devices, electronic equipment and computer storage media |
| CN117407041A (en) * | 2023-10-31 | 2024-01-16 | 易保网络技术(上海)有限公司 | Docking methods, electronic devices and storage media |
Family Cites Families (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPWO2011099590A1 (en) * | 2010-02-12 | 2013-06-17 | 日本電気株式会社 | Ad hoc service provision system |
| CN112579313A (en) * | 2019-09-30 | 2021-03-30 | 北京国双科技有限公司 | Method and device for docking system, storage medium and electronic equipment |
| CN112799714A (en) * | 2021-01-22 | 2021-05-14 | 平安养老保险股份有限公司 | Business data docking method, device, computer equipment and storage medium |
| CN114115841A (en) * | 2021-04-02 | 2022-03-01 | 北京沃东天骏信息技术有限公司 | Method, apparatus, device, medium and program product for dynamically arranging data stream interface |
| CN115576706A (en) * | 2021-06-21 | 2023-01-06 | 中兴通讯股份有限公司 | Method and device for interfacing with third-party system, electronic equipment and readable medium |
| CN113988665B (en) * | 2021-11-01 | 2025-03-21 | 中国建设银行股份有限公司 | Method, device, equipment, medium and program product for generating standard business process based on atomic service |
| CN116149747A (en) * | 2022-10-25 | 2023-05-23 | 马上消费金融股份有限公司 | Interface arrangement method, device, electronic equipment and computer readable storage medium |
| CN116400954A (en) * | 2023-04-10 | 2023-07-07 | 平安国际融资租赁有限公司 | Interface configuration method, device, computer equipment and computer readable storage medium |
| CN116684301B (en) * | 2023-06-26 | 2024-01-30 | 北京永信至诚科技股份有限公司 | A method, system, equipment and storage medium for realizing cross-range task collaboration |
-
2023
- 2023-10-31 CN CN202311436165.9A patent/CN117407041B/en active Active
-
2024
- 2024-03-27 WO PCT/CN2024/084116 patent/WO2025091762A1/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112714148A (en) * | 2020-11-10 | 2021-04-27 | 海尔数字科技(青岛)有限公司 | Interface configuration method, device, equipment and medium |
| CN115378996A (en) * | 2022-08-25 | 2022-11-22 | 北京分贝通科技有限公司 | Method, device, equipment and storage medium for intersystem data transmission |
| CN116781552A (en) * | 2022-09-16 | 2023-09-19 | 中移(苏州)软件技术有限公司 | Network detection methods, devices, electronic equipment and computer storage media |
| CN116301830A (en) * | 2023-03-10 | 2023-06-23 | 北京沃东天骏信息技术有限公司 | Business code generation method and device, electronic device, storage medium |
| CN117407041A (en) * | 2023-10-31 | 2024-01-16 | 易保网络技术(上海)有限公司 | Docking methods, electronic devices and storage media |
Also Published As
| Publication number | Publication date |
|---|---|
| CN117407041B (en) | 2025-11-14 |
| CN117407041A (en) | 2024-01-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN100559771C (en) | Method and apparatus for converting web service policies from logical to physical models | |
| CN101847100B (en) | Method for expanding software application and device | |
| CN101930370B (en) | System structure for realizing data conversion in service integration of SOA (Service Oriented Architecture) application system and method thereof | |
| US20100070553A1 (en) | Dynamic service invocation and service adaptation in bpel soa process | |
| CN104317591B (en) | A kind of web interface frame system and web method for processing business based on OSGi | |
| CN102882934A (en) | Web service realizing method based on enterprise service bus (ESB), ESB and service center | |
| JP2007157149A (en) | Ubiquitous computing application assembly model and assembly verification algorithm | |
| JP2004519757A (en) | Service access to data stored in intermediaries | |
| CN114205342A (en) | Routing method, electronic device, medium, and program product for service debugging | |
| CN103092602B (en) | software development kit | |
| CN113301116A (en) | Cross-network communication method, device, system and equipment for microservice application | |
| CN108696381A (en) | A kind of protocol configuration method and device | |
| CN103942055A (en) | Development system and method for fusion network mixing service process programming language | |
| CN112035090B (en) | Intelligent contract intelligent management system and method based on containerization technology | |
| WO2025091762A1 (en) | Interconnection method, electronic device and storage medium | |
| US10979515B1 (en) | Resource discovery agent computing device, software application, and method | |
| CN115426411A (en) | Cloud resource creation method, device, storage medium and electronic device | |
| CN116048517B (en) | Method, system and device for generating API interface based on B/S architecture application system | |
| US12086141B1 (en) | Coordination of services using PartiQL queries | |
| CN116909563A (en) | Page generation method, terminal device and storage medium | |
| CN117234523A (en) | Method, device, computer equipment and storage medium for configuring reactor platform functions | |
| CN113626644B (en) | Format conversion method and device for business process data | |
| CN113726855B (en) | Service aggregation method, device, electronic equipment and computer-readable storage medium | |
| CN114371839A (en) | Interface arrangement method and device based on graphic data | |
| van Gurp et al. | Service grid variability realization |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 24883777 Country of ref document: EP Kind code of ref document: A1 |