A method and device for creating a connector
By displaying the connector configuration page, the interface parameters and error code information configured by the user are obtained, and the target connector is generated, which solves the problem of low efficiency in generating connectors in the existing technology, realizes efficient external network access to internal network applications, and reduces the cost of User programming difficulty.
Patent Information
- Application Number
- CN202210720120.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-23
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2042-06-23
AI Technical Summary
The efficiency of generating connectors in the existing technology is low, and users need to write software codes to implement external network access to internal network applications, resulting in low efficiency.
Provide a method and device for creating a connector. By displaying the connector configuration page, the interface parameters and error code information configured by the user are obtained, and a target connector is generated based on this information for converting the message encapsulated by the first data protocol into For messages encapsulated by the second data protocol, users do not need to write software code for the target connector.
It improves the efficiency of creating target connectors, reduces the difficulty of user programming, and improves the efficiency of external network access to internal network applications.
Smart Images

Figure CN115118587B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method and device for creating a connector. Background Art
[0002] In some scenarios, there may be a need to access applications running in the intranet environment from the extranet environment. For example, users access applications running in the intranet environment through an integration platform deployed on the extranet.
[0003] Currently, a connector can be used to access an application running in an intranet environment from an extranet environment. Specifically, a corresponding connector can be generated by a user writing software code. However, the efficiency of generating a connector in this way is low.
[0004] Therefore, a solution is urgently needed to solve the above problems. Summary of the invention
[0005] In order to solve or at least partially solve the above problems, an embodiment of the present application provides a method and device for creating a connector.
[0006] In a first aspect, an embodiment of the present application provides a method for creating a connector, the method comprising:
[0007] In response to a connector creation operation triggered by a user on the first page, displaying a second page, where the second page is a connector configuration page;
[0008] In response to an interface parameter configuration operation triggered by a user in the second page, acquiring interface parameters configured by the user;
[0009] Based on the interface parameters, a target connector is generated, and the target connector is used to convert a message encapsulated by a first data protocol into a message encapsulated by a second data protocol.
[0010] Optionally, in response to an interface parameter configuration operation triggered by the user on the second page, obtaining the interface parameters configured by the user includes:
[0011] In response to the interface configuration file upload operation triggered by the user in the second page, the interface configuration file is acquired, and the interface configuration file is parsed to obtain the interface parameters.
[0012] Optionally, in response to an interface parameter configuration operation triggered by the user on the second page, obtaining the interface parameters configured by the user includes:
[0013] In response to an interface parameter input operation triggered by the user in the second page, the interface parameters input by the user are acquired.
[0014] Optionally, the method further includes:
[0015] In response to an error code configuration operation triggered by the user in the second page, obtaining error code information configured by the user;
[0016] The generating a target connector based on the interface parameters comprises:
[0017] The target connector is generated based on the interface parameters and the error code information.
[0018] Optionally, the method further includes:
[0019] In response to a trigger configuration operation triggered by the user in the second page, acquiring trigger information configured by the user, the trigger information being used to indicate an application deployed in the intranet that interacts with the target connector;
[0020] The generating a target connector based on the interface parameters comprises:
[0021] Based on the interface parameters and the trigger information, the target connector is generated.
[0022] Optionally, generating a target connector based on the interface parameters includes:
[0023] The target connector is generated based on the interface parameters and a predetermined connector template.
[0024] Optionally, the first data protocol is a universal data protocol, and the second data protocol is a private data protocol; or, the first data protocol is a private data protocol, and the second data protocol is a universal data protocol.
[0025] Optionally, the target connector is used to enable a client deployed on a public network to access an application deployed on an intranet, the client deployed on the public network using the first data protocol to encapsulate messages, and the application using the second data protocol to encapsulate messages; or, the client deployed on the public network using the second data protocol to encapsulate messages, and the application using the first data protocol to encapsulate messages.
[0026] In a second aspect, an embodiment of the present application provides a device for creating a connector, the device comprising:
[0027] A display unit, configured to display a second page in response to a connector creation operation triggered by a user on the first page, wherein the second page is a connector configuration page;
[0028] A first acquisition unit, configured to acquire the interface parameters configured by the user in response to an interface parameter configuration operation triggered by the user in the second page;
[0029] The generating unit is used to generate a target connector based on the interface parameters, and the target connector is used to convert a message encapsulated by a first data protocol into a message encapsulated by a second data protocol.
[0030] Optionally, the first acquiring unit is used to:
[0031] In response to the interface configuration file upload operation triggered by the user in the second page, the interface configuration file is acquired, and the interface configuration file is parsed to obtain the interface parameters.
[0032] Optionally, the first acquiring unit is used to:
[0033] In response to an interface parameter input operation triggered by the user in the second page, the interface parameters input by the user are acquired.
[0034] Optionally, the device further comprises:
[0035] A second acquisition unit, configured to acquire error code information configured by the user in response to an error code configuration operation triggered by the user in the second page;
[0036] The generating unit is used for:
[0037] The target connector is generated based on the interface parameters and the error code information.
[0038] Optionally, the device further comprises:
[0039] A third acquisition unit, configured to acquire trigger information configured by the user in response to a trigger configuration operation triggered by the user in the second page, wherein the trigger information is used to indicate an application deployed in the intranet and interacting with the target connector;
[0040] The generating unit is used for:
[0041] Based on the interface parameters and the trigger information, the target connector is generated.
[0042] Optionally, the generating unit is used to:
[0043] The target connector is generated based on the interface parameters and a predetermined connector template.
[0044] Optionally, the first data protocol is a universal data protocol, and the second data protocol is a private data protocol; or, the first data protocol is a private data protocol, and the second data protocol is a universal data protocol.
[0045] Optionally, the target connector is used to enable a client deployed on a public network to access an application deployed on an intranet, the client deployed on the public network using the first data protocol to encapsulate messages, and the application using the second data protocol to encapsulate messages; or, the client deployed on the public network using the second data protocol to encapsulate messages, and the application using the first data protocol to encapsulate messages.
[0046] In a third aspect, an embodiment of the present application provides a device, the device comprising a processor and a memory;
[0047] The processor is used to execute instructions stored in the memory so that the device executes the method described in any one of the first aspects above.
[0048] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, comprising instructions, wherein the instructions instruct a device to execute any of the methods described in the first aspect above.
[0049] In a fifth aspect, an embodiment of the present application provides a computer program product, which, when executed on a computer, enables the computer to execute any of the methods described in the first aspect above.
[0050] Compared with the prior art, the embodiments of the present application have the following advantages:
[0051] In an embodiment of the present application, a method for creating a connector is provided. In one example, a user can trigger a connector creation operation in a first page. Accordingly, the client can display a second page in response to the connector creation operation, and the second page is a connector configuration page. After displaying the second page, the user can trigger an interface parameter configuration operation in the second page. Accordingly, the server can obtain the interface parameters configured by the user in response to the interface parameter configuration operation triggered by the user in the second page, and further generate a target connector based on the interface parameters. The target connector can be used to convert a message encapsulated using a first data protocol into a message encapsulated using the second data protocol. It can be seen that, using this solution, the user does not need to write the software code corresponding to the target connector to generate the target connector. The user can create the target connector by triggering the connector creation operation and the interface parameter configuration operation, thereby improving the efficiency of creating the target connector. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0053] Figure 1 A schematic diagram of a system architecture provided for an embodiment of the present application;
[0054] Figure 2 A flowchart of a method for creating a connector provided in an embodiment of the present application;
[0055] Figure 3 A schematic diagram of the structure of a device for creating a connector provided in an embodiment of the present application. DETAILED DESCRIPTION
[0056] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0057] The inventor of the present application has found through research that in some scenarios, users can access applications running on the intranet through an integrated platform deployed on the extranet. For example, a user queries application data of an application running in the intranet environment through an integrated platform deployed on the extranet.
[0058] Regarding the integrated platform, it should be noted that:
[0059] The integration platform is a platform formed by combining the integration of application systems with the integration architecture. It solves the problems of high enterprise integration cost and low efficiency through low construction cost and high integration capability. In this embodiment, the integration platform can integrate multiple systems corresponding to the enterprise and provide a unified operation portal, so that users can complete corresponding operations through the operation portal without having to enter each system separately to operate, thereby improving business processing efficiency.
[0060] In one example, the aforementioned unified operation portal may be an operation portal for accessing an application in the intranet, and a user may trigger a corresponding operation through the operation portal to access the application in the intranet.
[0061] The web page corresponding to the integration platform may include an access portal for accessing application A in the intranet. The user can trigger the operation for accessing the application A through the access portal. Accordingly, after the user triggers the operation to access the application A, the integration platform can display the associated page of the application A. The user can enter specific information about the data to be accessed (such as keywords) in the associated page. After the user enters the information and triggers a determination operation based on the information, the server corresponding to the integration platform can generate a corresponding data access request based on the information entered by the user, and send the data access request to the application A.
[0062] At present, the integration platform supports the universal data protocol. In one example, when a user triggers an operation on the integration platform to access an application (such as application A) deployed on the intranet, the integration platform can generate a data access request using the universal data protocol. The application deployed on the intranet may be developed using a private data protocol or a universal data protocol. If the application A is developed using a private data protocol, the protocol supported by the application A is the aforementioned private data protocol. Therefore, in this case, even if application A receives the data access request using the universal data protocol, it cannot correctly parse the data access request, and accordingly, access to the application A fails.
[0063] In this case, the connector deployed in the intranet can process the aforementioned data access request using the universal data protocol to obtain a data access request using the private data protocol, and further send the data access request using the private data protocol to application A, thereby achieving access to application A. In one example, the host agent deployed in the intranet can first receive the aforementioned data access request using the universal data protocol, and the host agent forwards the data access request using the universal data protocol to the connector.
[0064] In addition, in addition to sending requests using private data protocols to application A, the host agent can also enable users to access other applications (such as application B) deployed on the intranet that support common data protocols through the aforementioned integration platform.
[0065] For reference Figure 1 To understand, Figure 1 A schematic diagram of a system architecture provided for an embodiment of the present application.
[0066] In one example, the integration platform may include an access entry for application A to access the intranet and an access entry for application B to access the intranet. Accordingly, the server 100 corresponding to the integration platform deployed on the extranet may include a data processing module 101 corresponding to application A and a data processing module 102 corresponding to application B.
[0067] in:
[0068] The data processing module 101 is used to process data related to the application program A. In an example, the data processing module 101 may generate the request using the universal data protocol mentioned above.
[0069] The data processing module 102 is used to process data related to application B.
[0070] The data processing module 101 and the application A can communicate through the host agent 210 deployed in the intranet and the local connector 220 corresponding to the application A.
[0071] The data processing module 102 and the application B can communicate through the host agent 210.
[0072] It should be noted that Figure 1 It is only shown to facilitate understanding of the solution provided in the embodiments of the present application and does not constitute a limitation of the embodiments of the present application.
[0073] Currently, the aforementioned connector (eg, connector 220) can be generated by a user writing software code. However, the efficiency of generating the connector in this manner is low.
[0074] In order to solve the above problems, an embodiment of the present application provides a method and device for creating a connector.
[0075] Various non-limiting implementations of the present application are described in detail below in conjunction with the accompanying drawings.
[0076] Exemplary Methods
[0077] See also Figure 2 , which is a flow chart of a method for creating a connector provided in an embodiment of the present application. In this embodiment, the method can be applied to a client, for example, and the method can be used to create a target connector for a user. The target connector can be used to convert a message encapsulated using a first data protocol into a message encapsulated using a second data protocol.
[0078] In one example, the target connector can enable a client deployed on the public network to access an application (e.g., a first application) deployed on the intranet. For example, through the target connector, a user can trigger an operation for accessing the first application on the intranet on the integration platform, thereby accessing the first application. For this case:
[0079] In one example, the first data protocol may be a universal data protocol, and the second data protocol may be a private data protocol. For example, the first data protocol may be a universal data protocol supported by an integrated platform, and the second data protocol may be a private data protocol supported by the first application.
[0080] In another example, the first data protocol may be a private data protocol, and the second data protocol may be a universal data protocol. For example, the first data protocol may be a universal data protocol supported by the first application, and the second data protocol may be a private data protocol supported by the integration platform.
[0081] The method may include, for example, the following steps: S101 - S103 .
[0082] S101: In response to a connector creation operation triggered by a user in a first page, a second page is displayed, where the second page is a connector configuration page.
[0083] In one example, the first page may be a web page.
[0084] As an example, the first page may include a first control for triggering the connector creation operation, and the user may trigger the aforementioned connector creation operation through the first control. For example, the user may click the first control to trigger the connector creation operation. After the user triggers the connector creation operation, the client may display a second page as a connector configuration page in response to the connector creation operation. The user may configure the configuration information of the connector through the second page.
[0085] S102: In response to an interface parameter configuration operation triggered by a user in the second page, obtaining interface parameters configured by the user.
[0086] In one example, considering that for the first application in the intranet, it can receive data (such as data access requests) from the external network through the corresponding interface, and correspondingly, it can send data to the outside through the corresponding interface. Therefore, correspondingly, the target connector and the first application also communicate through the interface. Therefore, when configuring the target connector, it is particularly important to configure the interface parameters. In view of this, in one example, after the client displays the second page, the user can trigger an interface parameter configuration operation in the second page, and the interface parameter configuration operation is used to configure the interface parameters of the target connector, and the interface parameters can be the interface parameters corresponding to the aforementioned application in the intranet. Accordingly, the client can obtain the interface parameters configured by the user in response to the interface parameter configuration operation.
[0087] In one example, the aforementioned interface parameter configuration operation may be an interface configuration file upload operation. For example, if the aforementioned application in the intranet has a standard Open Application Programming Interface Specification (OAS) description file, the user may trigger the interface configuration file upload operation in the second page and upload the OAS description file. In this case, the client may obtain the interface configuration file uploaded by the user and parse the interface configuration file to obtain the interface parameters.
[0088] In another example, the aforementioned interface parameter configuration operation may be an interface parameter input operation. For example, the second page may include an interface parameter input area, and the user may input the corresponding interface parameters in the interface parameter input area. In this case, the client may obtain the interface parameters input by the user. In one example, if the first application does not include the standard OAS description file, the user may refer to the interface document of the first application to input the interface parameters.
[0089] S103: Generate a target connector based on the interface parameters, wherein the target connector is used to convert a message encapsulated by the first data protocol into a message encapsulated by the second data protocol.
[0090] After acquiring the interface parameters, the client may generate the target connector based on the acquired interface parameters. The generating the target connector mentioned here may, for example, generate software codes corresponding to the target connector.
[0091] In one example, during specific implementation of S103, the target connector may be generated according to the interface parameters and corresponding connector generation logic.
[0092] In another example, when S103 is specifically implemented, the target connector may be generated based on the interface parameters and a predetermined connector template. For example, the interface parameters may be added to the connector template to obtain the target connector. As an example, the connector template may be a software code template corresponding to a connector, and after adding the interface parameters to the software code template, the software code corresponding to the target connector may be obtained.
[0093] In one example, considering that the client deployed on the external network may have some abnormal situations when interacting with the first application. When an abnormal situation occurs, corresponding processing measures can be executed. Therefore, when configuring parameters for the target connector, error code information can be further configured, wherein the error code information can be information related to the error code, and one error code can correspond to one or a type of abnormal situation.
[0094] In view of this, in one example, the user can also trigger an error code configuration operation in the second page, and accordingly, after the user triggers the error code configuration operation, the client can obtain the error code information configured by the user. For example, the second page can include a second control, and the user can trigger an error code configuration operation through the second control, and accordingly, the client can display an error code configuration page, and the user can enter error code information in the error code configuration page, and accordingly, the client can obtain the error code information entered by the user.
[0095] For this case, when S103 is specifically implemented, the client may generate the target connector based on the interface parameters and the error code information. As an example, the client may generate the target connector based on the interface parameters, the error code information and a connector template. For example, the client may input the interface parameters and the error code information into the connector template to obtain the target connector.
[0096] As mentioned above, the target connector can be used to enable the client deployed on the public network to communicate with the first application deployed on the intranet.
[0097] In one example, the first application may be a default application deployed in an intranet.
[0098] In another example, the first application may be user-configured. As an example, the user may trigger a trigger configuration operation in the second page, and accordingly, the client may obtain the trigger information configured by the user in response to the trigger configuration operation triggered by the user in the second page. For example: the second page may include a third control, and the user may trigger a trigger configuration operation through the third control, and accordingly, the client may display a trigger configuration page, and the user may enter trigger information in the trigger configuration page, and accordingly, the client may obtain the trigger information entered by the user.
[0099] For this case, when S103 is specifically implemented, the client may generate the target connector based on the interface parameters and the trigger information. As an example, the client may generate the target connector based on the interface parameters, the trigger information and a connector template. For example, the client may input the interface parameters and the trigger information into the connector template to obtain the target connector.
[0100] In another example, if the user triggers both the error code configuration operation and the trigger configuration operation, then in the specific implementation of S103, the client may generate the target connector based on the interface parameters, the error code information, and the trigger information. As an example, the client may generate the target connector based on the interface parameters, the error code information, the trigger information, and a connector template. For example, the client may input the interface parameters, the error code information, and the trigger information into the connector template to obtain the target connector.
[0101] It can be seen that, by using the solution provided by the embodiment of the present application, the user does not need to write the software code corresponding to the target connector to generate the target connector. The user can create the target connector by triggering the corresponding operations (such as the aforementioned connector creation operation and interface parameter configuration operation, and also such as connector creation operation, interface parameter configuration operation, error code configuration operation and trigger configuration operation). Compared with the user writing the software code corresponding to the target connector, it is easier for the user to trigger the aforementioned operation, because writing the software code of the target connector requires certain programming skills, while the user triggering the aforementioned operation requires lower programming skills. Therefore, compared with the user writing the software code corresponding to the target connector, the user triggering the aforementioned operation to create the target connector is more efficient. Therefore, by using this solution, the efficiency of creating the target connector can be improved.
[0102] Exemplary Devices
[0103] Based on the method provided in the above embodiment, the embodiment of the present application further provides a device, which is described below in conjunction with the accompanying drawings.
[0104] See also Figure 3 , which is a schematic diagram of a structure of a device for creating a connector provided in an embodiment of the present application. The device 300 may specifically include: a display unit 301, a first acquisition unit 302 and a generation unit 303.
[0105] A display unit 301 is used to display a second page in response to a connector creation operation triggered by a user on the first page, where the second page is a connector configuration page;
[0106] A first acquisition unit 302, configured to acquire the interface parameters configured by the user in response to an interface parameter configuration operation triggered by the user in the second page;
[0107] The generating unit 303 is used to generate a target connector based on the interface parameters, and the target connector is used to convert the message encapsulated by the first data protocol into the message encapsulated by the second data protocol.
[0108] Optionally, the first acquiring unit 302 is configured to:
[0109] In response to the interface configuration file upload operation triggered by the user in the second page, the interface configuration file is acquired, and the interface configuration file is parsed to obtain the interface parameters.
[0110] Optionally, the first acquiring unit 302 is configured to:
[0111] In response to an interface parameter input operation triggered by the user in the second page, the interface parameters input by the user are acquired.
[0112] Optionally, the device further comprises:
[0113] A second acquisition unit, configured to acquire error code information configured by the user in response to an error code configuration operation triggered by the user in the second page;
[0114] The generating unit 303 is used for:
[0115] The target connector is generated based on the interface parameters and the error code information.
[0116] Optionally, the device further comprises:
[0117] A third acquisition unit, configured to acquire trigger information configured by the user in response to a trigger configuration operation triggered by the user in the second page, wherein the trigger information is used to indicate an application deployed in the intranet and interacting with the target connector;
[0118] The generating unit 303 is used for:
[0119] Based on the interface parameters and the trigger information, the target connector is generated.
[0120] Optionally, the generating unit 303 is used to:
[0121] The target connector is generated based on the interface parameters and a predetermined connector template.
[0122] Optionally, the first data protocol is a universal data protocol, and the second data protocol is a private data protocol; or, the first data protocol is a private data protocol, and the second data protocol is a universal data protocol.
[0123] Optionally, the target connector is used to enable a client deployed on a public network to access an application deployed on an intranet, the client deployed on the public network using the first data protocol to encapsulate messages, and the application using the second data protocol to encapsulate messages; or, the client deployed on the public network using the second data protocol to encapsulate messages, and the application using the first data protocol to encapsulate messages.
[0124] Since the device 300 is a device corresponding to the method provided in the above method embodiment, the specific implementation of each unit of the device 300 is based on the same concept as the above method embodiment. Therefore, for the specific implementation of each unit of the device 300, reference can be made to the description part of the above method embodiment, which will not be repeated here.
[0125] The embodiment of the present application also provides a device, the device comprising a processor and a memory;
[0126] The processor is used to execute the instructions stored in the memory, so that the device executes the method for creating a connector described in any one of the above method embodiments.
[0127] An embodiment of the present application provides a computer-readable storage medium, including instructions, wherein the instructions instruct a device to execute the method for creating a connector described in any one of the above method embodiments.
[0128] An embodiment of the present application provides a computer program product. When the computer program product is run on a computer, the computer executes the method for creating a connector as described in any one of the above method embodiments.
[0129] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0130] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
[0131] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims
1. A method for creating a connector, characterized in that: The method comprises: In response to a connector creation operation triggered by a user in the first page, displaying a second page, wherein the second page is a connector configuration page; In response to a trigger configuration operation triggered by the user in the second page, acquiring trigger information configured by the user, the trigger information being used to indicate an application deployed in the intranet that interacts with the target connector; In response to an interface configuration file upload operation triggered by the user in the second page, the interface configuration file is obtained, and the interface configuration file is parsed to obtain interface parameters corresponding to the application; or, in response to an interface parameter input operation triggered by the user in the second page, the interface parameters corresponding to the application input by the user are obtained; Based on the interface parameters and the trigger information, the target connector is generated, and the target connector is used to convert a message encapsulated using a first data protocol into a message encapsulated using a second data protocol. The target connector is used to enable a client deployed on a public network and an application deployed on an intranet to communicate with each other, and the client deployed on the public network encapsulates messages using the first data protocol, and the application encapsulates messages using the second data protocol; or, the client deployed on the public network encapsulates messages using the second data protocol, and the application encapsulates messages using the first data protocol.
2. The method according to claim 1, characterized in that The method further comprises: In response to an error code configuration operation triggered by the user in the second page, obtaining error code information configured by the user; The generating the target connector based on the interface parameter and the trigger information comprises: The target connector is generated based on the interface parameters, the trigger information and the error code information.
3. The method according to claim 1, characterized in that The generating the target connector based on the interface parameter and the trigger information comprises: The target connector is generated based on the interface parameters, the trigger information and a predetermined connector template.
4. The method according to claim 1, characterized in that: The first data protocol is a universal data protocol, and the second data protocol is a private data protocol; or, the first data protocol is a private data protocol, and the second data protocol is a universal data protocol.
5. A device for creating a connector, characterized in that: The device comprises: A display unit, configured to display a second page in response to a connector creation operation triggered by a user on the first page, wherein the second page is a connector configuration page; A third acquisition unit, configured to acquire trigger information configured by the user in response to a trigger configuration operation triggered by the user in the second page, wherein the trigger information is used to indicate an application deployed in the intranet and interacting with the target connector; a first acquisition unit, configured to, in response to an interface configuration file upload operation triggered by the user in the second page, acquire the interface configuration file, and parse the interface configuration file to obtain interface parameters corresponding to the application; or, in response to an interface parameter input operation triggered by the user in the second page, acquire interface parameters corresponding to the application input by the user; A generating unit is used to generate the target connector based on the interface parameters and the trigger information, the target connector is used to convert a message encapsulated by a first data protocol into a message encapsulated by a second data protocol, the target connector is used to enable a client deployed on a public network and an application deployed on an intranet to communicate with each other, the client deployed on the public network encapsulates the message by the first data protocol, and the application encapsulates the message by the second data protocol; or, the client deployed on the public network encapsulates the message by the second data protocol, and the application encapsulates the message by the first data protocol.
6. A device, characterized in that: The device comprises a processor and a memory; The processor is configured to execute instructions stored in the memory, so that the device performs the method according to any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that: The method comprises instructions for instructing a device to execute the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Techniques for providing connections to services in a network environment
US20060015353A1
