Interface integration method, device, electronic device and storage medium
By operating the target hierarchy box and parameter configuration window in the interface configuration interface, the integration of multiple target interfaces is achieved, and the problem of modifying the underlying code during API replacement or access in the existing technology is solved, and the flexibility of interface integration is improved. efficiency.
Patent Information
- Application Number
- CN202011548080.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-23
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2040-12-23
AI Technical Summary
The existing technology requires modifying the underlying code when API replacement or access, and cannot flexibly operate the interface, resulting in inefficiency of users when adjusting the interface.
By adding target hierarchy boxes and parameter configuration windows to the interface configuration interface, users can operate the execution order and parameter configuration of the target interface on the interface, realize the integration of multiple target interfaces, form an integrated interface, and improve the flexibility and efficiency of interface integration. .
The interface can be flexibly adjusted without modifying the underlying code, which improves the flexibility and integration efficiency of interface integration, simplifies the interface integration process, and enhances the user experience.
Smart Images

Figure CN112612509B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of communication technology, and in particular to an interface integration method, device, electronic device and storage medium. Background Art
[0002] Nowadays, most software or hardware has multiple functions, some of which use internal data sources, while some functions involve calling some external data sources, such as real-name authentication of ID cards, vehicle violation query, etc.
[0003] Application Programming Interface (API) provides the ability for applications to access a data source based on certain software or hardware. The application of API is becoming more and more widespread with the development of the Internet. When setting the input and output of API, developers need to edit the underlying code. When API needs to be replaced or connected to a new API, developers need to modify the underlying code, which is not flexible. Therefore, there is an urgent need for a method that can flexibly operate the integration of interfaces. Summary of the invention
[0004] The present invention provides an interface integration method, device, electronic device and storage medium, so as to enable a user to integrate interfaces on a display interface without modifying underlying codes, thereby improving the user's flexibility in adjusting the interface.
[0005] In a first aspect, an embodiment of the present invention provides an interface integration method, the method comprising:
[0006] In response to receiving an operation of adding a target interface in a target level box of an interface configuration interface, displaying an interface identifier of the target interface in a parameter configuration window on the interface configuration interface, wherein the target level box is used to indicate an execution order of the target interface, and the parameter configuration window includes at least one parameter configuration item;
[0007] receiving a target input parameter of the target interface configured by a user based on the parameter configuration item, and configuring the target interface based on the target input parameter;
[0008] According to the configured target input parameters of the at least two target interfaces and the target level boxes where the at least two target interfaces are located, the at least two target interfaces are integrated to obtain an integrated interface.
[0009] In a second aspect, an embodiment of the present invention further provides an interface integration device, the device comprising:
[0010] An interface identification display module, configured to, in response to a received user operation of adding a target interface in a target hierarchy box of an interface configuration interface, display the interface identification of the target interface in a parameter configuration window on the interface configuration interface, wherein the target hierarchy box is used to indicate the execution order of the target interface, and the parameter configuration window includes at least one parameter configuration item;
[0011] A target interface configuration module, configured to receive target input parameters of the target interface configured by a user based on the parameter configuration items, and configure the target interface based on the target input parameters;
[0012] The interface integration module is used to integrate at least two target interfaces to obtain an integrated interface according to the configured target input parameters of the at least two target interfaces and the target level boxes where the at least two target interfaces are located.
[0013] In a third aspect, an embodiment of the present invention further provides an electronic device, the device comprising:
[0014] one or more processors;
[0015] a storage device for storing one or more programs,
[0016] When the one or more programs are executed by the one or more processors, the one or more processors implement the interface integration method as described in any one of the embodiments of the present invention.
[0017] In a fourth aspect, an embodiment of the present invention further provides a storage medium comprising computer executable instructions, wherein the computer executable instructions, when executed by a computer processor, are used to execute the interface integration method as described in any one of the embodiments of the present invention.
[0018] The technical solution of the embodiment of the present invention receives the operation of adding a target interface by a user in a target hierarchy box of an interface configuration interface, and displays the interface identifier of the target interface and a parameter configuration window for the target interface on the interface configuration interface. The target hierarchy box is used to indicate the execution order of the target interface. When the operation of adding a target interface by a user in the target hierarchy box is received, the execution order of the target interface is determined, which is convenient for the user to sort at least two target interfaces, and the parameter configuration items in the parameter configuration window are available for user selection, which is convenient for the user to configure the target input parameters of the target interface, and integrates at least two target interfaces with an execution order that have been configured, so that multiple target interfaces are linked through the target hierarchy box and the target input parameters to form an integrated interface, which is convenient for the user to operate the target interface in the interface configuration interface, improves the flexibility of interface integration, and improves the integration efficiency of the target interface as a whole. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, the following briefly introduces the drawings required to describe the embodiments. Obviously, the drawings introduced are only drawings of a part of the embodiments to be described in the present invention, rather than all the drawings. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0020] Figure 1 This is a flow chart of an interface integration method in Embodiment 1 of the present invention;
[0021] Figure 2 This is a schematic diagram of an interface configuration interface in Embodiment 1 of the present invention;
[0022] Figure 3 This is a flow chart of an interface integration method in Embodiment 2 of the present invention;
[0023] Figure 4 This is a schematic diagram of a parameter configuration window in Embodiment 2 of the present invention;
[0024] Figure 5 A schematic diagram of a data distribution structure of personal traffic violation information in Embodiment 3 of the present invention;
[0025] Figure 6 This is a schematic diagram of the structure of an interface integration device in Embodiment 4 of the present invention;
[0026] Figure 7 This is a schematic diagram of the structure of an electronic device in Embodiment 5 of the present invention. DETAILED DESCRIPTION
[0027] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0028] Embodiment 1
[0029] Figure 1 A flowchart of an interface management method provided in an embodiment of the present invention is provided. The embodiment of the present invention is applicable to the situation of managing multiple interfaces. The method can be executed by an interface management device, which can be implemented in the form of software and / or hardware.
[0030] like Figure 1 The method of the embodiment of the present invention comprises the following steps:
[0031] S110. In response to receiving an operation from a user to add a target interface in a target hierarchy box of an interface configuration interface, displaying the interface identifier of the target interface in a parameter configuration window on the interface configuration interface, wherein the target hierarchy box is used to indicate an execution order of the target interface, and the parameter configuration window includes at least one parameter configuration item.
[0032] Among them, the interface configuration interface refers to an interface for the user to view for interface configuration, the target level box is used to place the interface identifier of the target interface, and the placement of the target level box in the interface configuration interface can be arranged in a pre-set order, and the placement order includes but is not limited to top-to-bottom arrangement or left-to-right arrangement. The interface identifier includes but is not limited to interface icon, interface text, etc. The parameter configuration window refers to a window for configuring the parameters of the target interface, and the parameter configuration items include but are not limited to request parameter name, ID, incoming parameters, query range, etc. The target level box can represent the execution order of the target interface. When there are multiple target level boxes, according to the user's level setting operation on the target level box, the target level box has an execution order according to the level setting, and the execution order includes but is not limited to from left to right, from right to left, from top to bottom or from bottom to top. The target level box can be initially set with only one, and multiple target level boxes are added according to the user's setting of the execution order of the target interface. It can also be that multiple target level boxes have been set at the beginning, and the specific position and number of the target level boxes can be selected and set according to the actual situation.
[0033] Specifically, the operation of receiving a user to add a target interface in the target hierarchy box of the interface configuration interface includes but is not limited to an interface selection box showing all interfaces in the interface configuration interface, receiving a target interface selected by the user from the interface selection box, and adding the target interface to the target hierarchy box; or there is a search box on the interface configuration interface, receiving an operation of a user inputting a target interface in the search box, retrieving the target interface from the background server, and displaying it in the interface configuration interface, and then receiving an operation of the user adding the target interface to the target hierarchy box; or there is a general interface displayed on the interface configuration interface, receiving the user's initial configuration of the parameters of the general interface to determine that the general interface is the target interface, and then receiving an operation of the user adding the target interface to the target hierarchy box. After receiving the user's operation of adding the target interface in the target hierarchy box, the target interface is displayed in the target hierarchy box in the form of an interface identifier, and a parameter configuration window is displayed on the interface configuration interface. Optionally, the parameter configuration window can be fixedly displayed on the interface configuration interface, or after receiving the user's operation of adding the target interface in the target hierarchy box, a parameter configuration interface of the target interface pops up. When the parameter configuration window is fixedly displayed on the interface configuration interface. By receiving the user's operation of adding the target interface in the target hierarchy box, the execution order of the target interface can be determined, which is convenient for the user to operate the execution order of the target interface. By displaying the parameter configuration window of the target interface, the user's operation in the parameter configuration window can be received, which is convenient for the user to adjust the parameters of the target interface. The display position of the parameter configuration window on the interface configuration interface includes but is not limited to the top, left, right or top of the target interface. Optionally, all the target hierarchy boxes are on the left side of the interface configuration interface, and the right side of the interface configuration interface serves as the display area of the parameter configuration window of the target interface.
[0034] For example, Figure 2 As shown, on the left side of the interface configuration interface, various target level boxes are displayed. Figure 2 The interface configuration interface includes three target level boxes, target level box 1 to target level box 3, each target level box displays the interface identifier of different target interfaces, such as target level box 1 includes target interface 1 and target interface 2, target level box 2 includes target interface 3, target interface 4 and target interface 5, and target level box 3 includes target interface 6. A parameter configuration window is displayed on the right side of the interface configuration interface, and the parameter configuration window displays various parameter configuration items of the target input parameters corresponding to the target interface, such as name, ID, query range, input parameters, etc. At this time, the parameter configuration items need to be input by the user. Of course, the various options of each harness configuration item can also be set in the parameter configuration window for the user to choose, so as to improve the efficiency of the user's configuration of the target input parameters.
[0035] S120: Receive target input parameters of the target interface configured by the user based on the parameter configuration items, and configure the target interface based on the target input parameters.
[0036] Among them, the target input parameter refers to the input parameter corresponding to the target interface. The user's operation on the parameter configuration item in the parameter configuration window is received to determine the target input parameter of the target interface. Compared with receiving the operation of parameter configuration of the target interface in the background code, the above method receives the user's operation on the parameter configuration item in the window configuration window, which is more convenient for user operation and improves the efficiency of parameter configuration. It should be noted that the operation on the parameter configuration item can receive the user inputting the corresponding parameter in the input bar corresponding to the parameter configuration item, or it can display the various options of each parameter configuration item in the parameter configuration window and receive the user's selection operation on the parameter configuration item.
[0037] S130: Integrate the at least two target interfaces to obtain an integrated interface according to the configured target input parameters of the at least two target interfaces and the target level boxes where the at least two target interfaces are located.
[0038] It should be noted that the target level box where the at least two target interfaces are located is a first level box, and their inputs are set input parameters. The execution order of the at least two target interfaces can be determined by the target level box where the at least two target interfaces are located, and the inputs of the at least two target interfaces can be determined by the target input parameters of the at least two target interfaces. The target output parameters of the target interface can be known by the target input parameters of the known target interface, so as to integrate the at least two target interfaces and obtain an integrated interface. The integration of the target interface can be achieved through the target level box and the target input parameters, which improves the efficiency of the target interface integration and simplifies the steps of the target interface integration.
[0039] The technical solution of the embodiment of the present invention displays the interface identifier of the target interface and the parameter configuration window for the target interface on the interface configuration interface by receiving the operation of adding the target interface in the target hierarchy box of the interface configuration interface by the user. The target hierarchy box is used to indicate the execution order of the target interface. When the operation of adding the target interface in the target hierarchy box is received by the user, the execution order of the target interface is determined, which is convenient for the user to sort at least two target interfaces. The parameter configuration items in the parameter configuration window are available for user selection, which is convenient for the user to configure the target input parameters of the target interface. At least two target interfaces with execution order that have been configured are integrated, and multiple target interfaces are linked through the target hierarchy box and the target input parameters to form an integrated interface, which is convenient for the user to operate the target interface in the interface configuration interface, improves the flexibility of interface integration, and improves the integration efficiency of the target interface as a whole.
[0040] In one embodiment, after step 130, the method may further include: displaying the integrated at least two target interfaces in an interface display interface.
[0041] The interface display interface refers to an interface that displays the integrated interface. The at least two integrated target interfaces are displayed on the interface display interface so that the user can observe and query the integrated interface.
[0042] In one embodiment, after integrating the at least two target interfaces, the method further includes: receiving a change operation of the user on the at least two integrated target interfaces, and adjusting the at least two target interfaces based on the change operation.
[0043] After the integration of the interface is completed, the user's change operation on the target interface is received to adjust the target interface to improve the flexibility of the interface adjustment. For example, during the interface integration process, the user's change operation on the target interface is received, and the target interface is adjusted based on the change operation, so that when the user finds that the added target interface or the input parameters of the target interface are wrong, the target interface can be adjusted in time to improve the user experience.
[0044] Exemplarily, based on the optional scheme of the above embodiment, the receiving of the user's change operation on at least two of the integrated target interfaces includes at least one of the following: receiving the user's operation of adding a new interface in the target hierarchy box of the interface configuration interface; receiving the deletion operation of at least one of the integrated target interfaces; receiving the operation of adjusting the parameter configuration of at least one of the integrated target interfaces; receiving the operation of adjusting the target hierarchy box of at least one of the integrated target interfaces.
[0045] Among them, the user can add a new interface, delete any target interface, adjust the parameter configuration of any target interface, and adjust the target level box of any target interface on the interface configuration interface. The change operation of the target interface can be after the target interface is integrated, so that the integrated target interface can be changed at any time on the interface configuration interface, rather than changing the background code to achieve the change of the target interface in the prior art. Changing the target interface on the interface configuration interface improves the efficiency of the change, and because the changes are made on the interface configuration interface, the execution order and parameter configuration items of the interface are clear at a glance, not prone to errors, and the accuracy of the target interface change is improved. Of course, the change operation of the target interface can also be during the integration process of the target interface, and the target interface can be changed at any time to improve the user experience.
[0046] Embodiment 2
[0047] Figure 3 The flowchart of an interface integration method provided by an embodiment of the present invention is shown. The interface integration method provided by an embodiment of the present invention is based on the optional scheme of the above-mentioned embodiment, and optionally, is a refinement of step 120 and step 130, wherein receiving the target input parameters of the target interface configured by the user based on the parameter configuration item may include: receiving at least one target input source of the target interface configured by the user based on the parameter configuration item, and the target input parameters corresponding to the at least one target input source. Step 130 may include: determining the target dependency relationship of at least two target interfaces based on the target input parameters of at least two target interfaces that have been configured and the target hierarchical boxes where at least two target interfaces are located; integrating at least two target interfaces based on the target dependency relationship. Among them, technical terms that are the same or similar to those in the above-mentioned embodiment will not be repeated.
[0048] like Figure 3 As shown, the interface integration method of the embodiment of the present invention includes the following steps:
[0049] S310. In response to receiving an operation from a user to add a target interface in a target hierarchy box of an interface configuration interface, an interface identifier and a parameter configuration window of the target interface are displayed on the interface configuration interface, wherein the target hierarchy box is used to indicate an execution order of the target interface, and the parameter configuration window includes at least one parameter configuration item.
[0050] S320: Receive at least one target input source of the target interface configured by the user based on the parameter configuration item, and a target input parameter corresponding to the at least one target input source.
[0051] Among them, the parameter configuration item includes a target input source, and the parameter configuration window can be presented in the form of a target input source option, a search box or an input box. The target input source refers to the input source of the target interface, which can be one or more. The target input source can be other target interfaces or a pre-set input source. Specifically, receive at least one target input source selected by the user based on the target input source option in the parameter configuration item, at least one target input source searched in the search box, or at least one target input source entered in the input box, and a target input parameter corresponding to the at least one target input source, to determine the target input source and target input parameter of the target interface. It should be noted that when the target interface is located in the target level box of the first level, the target input source of the target interface is a pre-set input source, and the target input parameter is a pre-set input parameter. Exemplarily, such as Figure 4As shown, in the parameter configuration window, the parameter configuration items of the target interface 6 are displayed, including selecting the supplier of the target input source, selecting the target input source, such as the supplier is an aggregate data class, and then selecting the target input source as the SMS interface service, and then adjusting the target input parameters of the target input source in the parameter configuration items. There may be multiple target input sources for the target interface 6, so when inputting, it is necessary to determine the name of each target input source and the corresponding target input parameters, and number the target input sources. When one of the target input sources and the corresponding target input parameters are configured, then the other target input sources and the corresponding target input parameters are configured.
[0052] Exemplarily, original output parameters of the at least one target input source are adjusted to obtain the target input parameters of the target interface.
[0053] It should be noted that the target input source referred to here refers to the input source of the target interface, and the target input parameter refers to the target input parameter of the target interface, and relative to the target input source of the target interface, it corresponds to the output parameter of the target input source, therefore, the original output parameter of the target input source is adjusted accordingly to obtain the target input parameter of the target interface. The adjustment of the original output parameter of the target input source includes intercepting the required target input parameter from the original output parameter, adjusting the format of the original output parameter, etc., to obtain the target input parameter.
[0054] S330: Configure the target interface based on the target input parameter.
[0055] S340, determining a target dependency relationship between at least two target interfaces according to target input parameters of at least two target interfaces that have been configured and a target level box in which at least two target interfaces are located; and integrating at least two target interfaces based on the target dependency relationship to obtain an integrated interface.
[0056] Among them, the target dependency relationship refers to the connection relationship between the target interfaces, including the execution order between at least two target interfaces and the relationship between input parameters and output parameters. After determining the execution order of at least two target interfaces according to the target hierarchical boxes where the at least two target interfaces are located, the target input parameters of the at least two target interfaces are determined to determine the target dependency relationship between the at least two target interfaces, and then the at least two target interfaces are integrated according to the target dependency relationship to obtain an integrated interface.
[0057] The technical solution of the embodiment of the present invention, by receiving the operation of adding the target interface in the target level box in the interface configuration interface by the user, the interface identification and parameter configuration window of the target interface are displayed on the interface configuration interface, at least one target input source in the target interface configured by the user based on the parameter configuration item and the target input parameter corresponding to the at least one target input source are received, the target input parameter of the target interface can also be determined to know the target output parameter of the target interface, the target level box where at least two target interfaces are located can determine the execution order of the at least two target interfaces, so that the target dependency relationship between the at least two target interfaces can be determined, and the interface integration can be realized according to the target dependency relationship to form an integrated interface. Compared with the parameter adjustment of the target interface, the adjustment of the target input source and the execution order between at least two target interfaces in the background code, the technical solution of the embodiment of the present invention can simplify the steps of interface integration on the interface configuration interface, improve efficiency, and because the execution order of the interface is adjusted in the target level box on the interface configuration interface, the target input source and the target input parameter are adjusted in the parameter configuration window, so as to determine the target dependency relationship between at least two target interfaces, the integration process of the target interface is clear at a glance, not prone to errors, and the accuracy of interface integration is improved.
[0058] Embodiment 3
[0059] The interface integration method provided in the embodiment of the present invention is a preferred embodiment of any of the above embodiments. Taking personal traffic violation information as an example, when the target interface is an external interface related to personal traffic violation information, the method of the embodiment of the invention is used to integrate various external interfaces related to personal traffic violation information, wherein the specific situation of personal traffic violation information is as follows: Figure 5 As shown in the figure, each piece of information in the personal traffic violation information is a relatively complex tree structure, and the corresponding target interfaces also present a tree structure. Each target interface is responsible for one type of object. For example, personal information is one type, and car information is another type. Multiple target interfaces need to be connected to obtain the car information data. Moreover, there are dependencies between these target interfaces, such as the upper and lower relationships. For example, before obtaining the car data, the car violation data cannot be obtained; after obtaining the driver's license information, the driver's license violation information can be requested. When integrating multiple target interfaces, it is usually written in the form of code, according to Figure 5The interface calls are performed on each target interface corresponding to the data structure in the data structure, but if a new interface needs to be added or a certain interface needs to be deleted, the code needs to be changed and repackaged and released. The interface integration method of the embodiment of the present invention writes the required target interface into the interface configuration interface, converts the call of each target interface into the arrangement on the interface configuration interface, receives the user's operation of adding the target interface to the target hierarchy box on the interface configuration interface, and adjusts the target input parameters of the target interface to realize the adjustment of the dependency relationship of at least two target interfaces and the input and output relationship of the parameters, so as to realize the integration operation of the interface.
[0060] The technical solution of the embodiment of the present invention first receives the operation of connecting the external interface to the system, receives the user's configuration operation of the original input parameters and the original output parameters of the external interface, completes the initialization operation, and then adjusts the execution order of the target interface and the target input source and target input parameters of the target interface in the interface configuration interface to realize the arrangement of the target interface and complete the call of at least two target interfaces with logical dependencies, without the need for manual coding, and at the same time, has the technical effect of being able to be flexibly changed after the interface integration.
[0061] Embodiment 4
[0062] Figure 6 The figure shows a schematic diagram of the structure of an interface integration device provided by an embodiment of the present invention. The interface integration device provided by an embodiment of the present invention can execute the interface integration method provided by any of the above embodiments of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. The interface integration device of the embodiment of the present invention includes an interface identification display module 610, a target interface configuration module 620 and an interface integration module 630, wherein:
[0063] The interface identification display module 610 is used to display the interface identification and parameter configuration window of the target interface on the interface configuration interface in response to the received user operation of adding the target interface in the target hierarchy box of the interface configuration interface, wherein the target hierarchy box is used to indicate the execution order of the target interface, and the parameter configuration window includes at least one parameter configuration item;
[0064] A target interface configuration module 620, configured to receive a target input parameter of the target interface configured by a user based on the parameter configuration item, and configure the target interface based on the target input parameter;
[0065] The interface integration module 630 is used to integrate at least two target interfaces to obtain an integrated interface according to the configured target input parameters of the at least two target interfaces and the target level boxes where the at least two target interfaces are located.
[0066] Further, the target interface configuration module 620 includes:
[0067] The target input parameter configuration submodule is used to receive at least one target input source of the target interface configured by the user based on the parameter configuration item, and a target input parameter corresponding to the at least one target input source.
[0068] Furthermore, the device also includes:
[0069] The original output parameters of the at least one target input source are adjusted to obtain the target input parameters of the target interface.
[0070] Furthermore, the interface integration module 630 includes:
[0071] Determine the target dependency relationship of at least two target interfaces according to the target input parameters of at least two target interfaces that have been configured and the target level boxes in which at least two target interfaces are located; and integrate at least two target interfaces based on the target dependency relationship to obtain an integrated interface.
[0072] Furthermore, the device also includes:
[0073] The target interface display module is used to display the integrated at least two target interfaces in an interface display interface.
[0074] Furthermore, the device also includes:
[0075] The target interface adjustment module is used to receive a modification operation of the user on the at least two target interfaces after integration, and adjust the at least two target interfaces based on the modification operation.
[0076] Further, the target interface adjustment module includes any of the following units:
[0077] An interface adding unit, used for receiving an operation of the user to add a new interface in a target level box of an interface configuration interface;
[0078] An interface deletion unit, configured to receive a deletion operation on at least one of the integrated target interfaces;
[0079] A parameter adjustment unit, configured to receive an operation for adjusting a parameter configuration of at least one of the integrated target interfaces;
[0080] The target frame adjustment unit is used to receive an operation of adjusting a target level frame of at least one of the integrated target interfaces.
[0081] The technical solution of the embodiment of the present invention displays the interface identifier of the target interface and the parameter configuration window for the target interface on the interface configuration interface by receiving the operation of adding the target interface by the user in the target hierarchy box of the interface configuration interface. The target hierarchy box is used to indicate the execution order of the target interface. When the operation of adding the target interface by the user in the target hierarchy box is received, the execution order of the target interface is determined, which is convenient for the user to sort at least two target interfaces. The parameter configuration items in the parameter configuration window are available for user selection, which is convenient for the user to configure the target input parameters of the target interface. At least two target interfaces with execution order that have been configured are integrated, so that multiple target interfaces are linked through the target hierarchy box and the target input parameters to form an integrated interface, thereby improving the integration efficiency of the target interface as a whole.
[0082] It is worth noting that the various units and modules included in the above system are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present invention.
[0083] Embodiment 5
[0084] Figure 7 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. Figure 7 A block diagram of an exemplary apparatus 70 suitable for use in implementing exemplary embodiments of the present invention is shown. Figure 7 The device 70 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0085] like Figure 7 As shown, the device 70 is in the form of a general-purpose computing device. The components of the device 70 may include, but are not limited to: one or more processors or processing units 701, a system memory 702, and a bus 703 connecting different system components (including the system memory 702 and the processing unit 701).
[0086] Bus 703 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus structures. For example, these architectures include but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus and Peripheral Component Interconnect (PCI) bus.
[0087] Device 70 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by device 70, including volatile and non-volatile media, removable and non-removable media.
[0088] System memory 702 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 704 and / or cache memory 705. Device 70 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 706 may be used to read and write non-removable, non-volatile magnetic media ( Figure 7 not shown, usually called a "hard drive"). Although Figure 7 Not shown in the figure, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 703 via one or more data medium interfaces. The memory 702 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the embodiments of the present invention.
[0089] A program / utility 708 having a set (at least one) of program modules 707 may be stored, for example, in the memory 702, such program modules 707 including but not limited to an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 707 generally perform the functions and / or methods of the embodiments described herein.
[0090] The device 70 may also communicate with one or more external devices 709 (e.g., keyboards, pointing devices, displays 710, etc.), may communicate with one or more devices that enable a user to interact with the device 70, and / or may communicate with any device that enables the device 70 to communicate with one or more other computing devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface 711. Furthermore, the device 70 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 712. As shown, the network adapter 712 communicates with the other modules of the device 70 via the bus 703. It should be understood that although Figure 7Not shown, other hardware and / or software modules may be used in conjunction with device 70, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0091] The processing unit 701 executes various functional applications and data processing by running the programs stored in the system memory 702, such as implementing the interface integration method provided in the embodiment of the present invention.
[0092] Embodiment 6
[0093] An embodiment of the present invention further provides a storage medium comprising computer executable instructions, wherein the computer executable instructions are used to execute an interface integration method when executed by a computer processor.
[0094] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.
[0095] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0096] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0097] Computer program code for performing the operation of embodiments of the present invention may be written in one or more programming languages or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0098] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. An interface integration method, characterized in that: include: In response to receiving an operation of adding a target interface in a target hierarchy box of an interface configuration interface by a user, an interface identifier and a parameter configuration window of the target interface are displayed on the interface configuration interface, wherein the target hierarchy box is used to indicate an execution order of the target interface, the parameter configuration window includes at least one parameter configuration item, the interface identifier is displayed in the target hierarchy box, and the parameter configuration window is located in an area of the interface configuration interface other than the target hierarchy box; receiving a target input parameter of the target interface configured by a user based on the parameter configuration item, and configuring the target interface based on the target input parameter; Integrating at least two of the target interfaces to obtain an integrated interface according to the configured target input parameters of at least two of the target interfaces and the target level boxes where at least two of the target interfaces are located; The step of integrating the at least two target interfaces to obtain an integrated interface according to the configured target input parameters of the at least two target interfaces and the target level boxes where the at least two target interfaces are located comprises: Determine the target dependency of at least two target interfaces according to the target input parameters of at least two target interfaces that have been configured and the target hierarchical boxes in which at least two target interfaces are located; integrate at least two target interfaces based on the target dependency to obtain an integrated interface, wherein the target dependency includes the execution order between at least two target interfaces and the relationship between target input parameters and target output parameters.
2. The method according to claim 1, characterized in that The receiving the target input parameter of the target interface configured by the user based on the parameter configuration item includes: At least one target input source of the target interface configured by a user based on the parameter configuration item and a target input parameter corresponding to the at least one target input source are received.
3. The method according to claim 2, characterized in that Also includes: The original output parameters of the at least one target input source are adjusted to obtain the target input parameters of the target interface.
4. The method according to claim 1, characterized in that: Also includes: The integrated at least two target interfaces are displayed in an interface display interface.
5. The method according to claim 1, characterized in that After integrating at least two of the target interfaces, the method further includes: The modification operation of the user on the at least two integrated target interfaces is received, and the at least two target interfaces are adjusted based on the modification operation.
6. The method according to claim 5, characterized in that The receiving of the user's modification operation on the at least two integrated target interfaces comprises at least one of the following: Receive an operation by the user to add a new interface in a target level box of the interface configuration interface; receiving a deletion operation on at least one of the integrated target interfaces; receiving an operation to adjust a parameter configuration of at least one of the integrated target interfaces; An operation of adjusting a target level frame of at least one of the integrated target interfaces is received.
7. An interface integration device, characterized in that: include: An interface identification display module, used for displaying the interface identification and parameter configuration window of the target interface on the interface configuration interface in response to a received operation of adding a target interface in a target hierarchy box of the interface configuration interface by the user, wherein the target hierarchy box is used to indicate the execution order of the target interface, the parameter configuration window includes at least one parameter configuration item, the interface identification is displayed in the target hierarchy box, and the parameter configuration window is located in an area of the interface configuration interface other than the target hierarchy box; A target interface configuration module, configured to receive target input parameters of the target interface configured by a user based on the parameter configuration items, and configure the target interface based on the target input parameters; An interface integration module, configured to integrate at least two target interfaces to obtain an integrated interface according to the configured target input parameters of at least two target interfaces and the target level boxes where at least two target interfaces are located; The interface integration module is specifically used to determine the target dependency of at least two target interfaces based on the target input parameters of at least two target interfaces that have been configured and the target hierarchy boxes in which at least two target interfaces are located; and to integrate at least two target interfaces based on the target dependency to obtain an integrated interface, wherein the target dependency includes the execution order between at least two target interfaces and the relationship between target input parameters and target output parameters.
8. An electronic device, characterized in that: The device comprises: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the interface integration method as described in any one of claims 1-6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the interface integration method as described in any one of claims 1 to 6 is implemented.
