Construction and Data Calling Method, Device, Medium and Equipment of Integrated Adapter
By using an integrated adapter based on COM components in the integration of application tool software and data management system, the problems of repeated business function coding and complex adaptation processes in the prior art are solved, and convenient changes and unified processing of business processes are achieved.
Patent Information
- Application Number
- CN202211041891.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-29
- Publication Date
- 2025-06-17
- Estimated Expiration
- 2042-08-29
AI Technical Summary
When the prior art realizes the integration of application tool software and data management system, it is necessary to add business modules to the external program, resulting in duplicate business function encoding and complex adaptation process.
Using an integrated adapter based on COM components, the business process of the application tool software corresponding to the to-process data is obtained, and the business logic code required for integration with the data management system is classified and abstracted into the application function interface of the COM component, and the business logic code required for integration with the data management system is realized in the adapter.
It realizes unified processing of the same type of business processes, avoids duplicate work of business function coding, improves the convenience of business processes, and simplifies the adaptation process.
Smart Images

Figure CN115421690B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of computer data management, and particularly to a construction method and data calling method, device, medium and equipment of an integrated adapter based on COM components. Background Art
[0002] In the process of integrating application tool software with a data management system, an add-in program needs to be added to the application tool software. In the current integration method, generally, a function extension module and a business module for the data management system are added to the add-in program of the application tool software. The business module generally includes functions such as business processing of data and access to system services. The add-in program calls the function extension module to obtain the source data in the application tool software, and then processes and uploads it through the business module to achieve the data transfer from the data source to the data management system; the add-in program calls the business module to obtain the data in the data management system, and then converts the data through the function extension module to meet the data model requirements of the application tool software, thereby realizing the write-back of data from the data management system to the application tool software. Summary of the Invention
[0003] In view of this, the present invention provides a construction method and data calling method, device, medium and equipment of an integrated adapter based on COM components. Based on the integrated adapter based on COM components, business functions are all implemented in the adapter, and the add-in program of the application tool software directly interacts with the adapter, without the need to additionally add a business module, thus being more suitable for practical use.
[0004] In order to achieve the first above-mentioned object, the technical solution of the construction method of the integrated adapter based on COM components provided by the present invention is as follows:
[0005] The construction method of the integrated adapter based on COM components provided by the present invention includes the following steps:
[0006] Obtain the business process corresponding to the application tool software corresponding to the data to be processed;
[0007] Classify the business process corresponding to the application tool software corresponding to the data to be processed to obtain at least one first type of COM component, wherein the business process involved in each first type of COM component is the same business process;
[0008] Abstract the same business processes involved in each first type of COM component into the application function interface of the first type of COM component;
[0009] Define the second type of COM components in the add-in to form a one-to-one mapping between each COM component in the first type of COM components and each COM component in the second type of COM components, so that each COM component in the second type of COM components inherits the application function interface of the COM component that forms a mapping pair with it;
[0010] Define a method for the application tool software to call the application function interface in the first type of COM components to obtain the COM component-based integration adapter. Among them, the method for the application tool software to call the application function interface includes methods for functions such as login, logout, upload, download, check-in, and check-out, and an interface method for receiving the interface pointer of the instantiated object.
[0011] The construction method of the COM component-based integration adapter provided by the present invention can also be further realized by adopting the following technical measures.
[0012] Preferably, classify the business processes corresponding to the application tool software corresponding to the data to be processed to obtain at least one first type of COM component. Among them, in the step process where the business process involved in each first type of COM component is the same business process, the business process includes one of extracting specified configurations, extracting specified data, and extracting specified files.
[0013] Preferably, classify the business processes corresponding to the application tool software corresponding to the data to be processed to obtain at least one first type of COM component. Among them, in the step process where the business process involved in each first type of COM component is the same business process, the first type of COM component meets one or several of the interface specifications and parameter specifications, so that the first type of COM component realizes all the extended functions of the application function interface of the first type of COM component.
[0014] In order to achieve the above second purpose, the technical solution of the construction device of the COM component-based integration adapter provided by the present invention is as follows:
[0015] The construction device of the COM component-based integration adapter provided by the present invention includes:
[0016] A business process acquisition module, used to acquire the business process corresponding to the application tool software corresponding to the data to be processed;
[0017] A business process classification module, used to classify the business process corresponding to the application tool software corresponding to the data to be processed to obtain at least one first type of COM component, where the business process involved in each first type of COM component is the same business process;
[0018] A business process abstraction module abstracts the same business processes involved in each of the first - type COM components into application function interfaces of the first - type COM components;
[0019] A mapping module defines second - type COM components in an add - in program, forming a one - to - one mapping between each COM component in the first - type COM components and each COM component in the second - type COM components, so that each COM component in the second - type COM components inherits the application function interfaces of the COM components that form mapping pairs with them;
[0020] An adapter construction module defines methods for an application tool software to call application function interfaces in the first - type COM components, obtaining the integrated adapter based on COM components, where the methods for the application tool software to call application function interfaces include methods for functions such as login, logout, upload, download, check - in, and check - out, as well as an interface method for receiving an interface pointer of an instantiated object.
[0021] To achieve the above - mentioned third objective, the technical solution of the data call method based on COM components provided by the present invention is as follows:
[0022] The data call method based on COM components provided by the present invention is implemented based on the data processing method based on COM components provided by the present invention. The data call method based on COM components includes the following steps:
[0023] Create an instantiated object of the second - type COM component in the add - in program;
[0024] Pass the interface pointer of the instantiated object of the second - type COM component to the application function interface of the first - type COM component in the form of an interface parameter;
[0025] The adapter records the interface parameter in the cache in the form of the interface pointer of the instantiated object of the second - type COM component;
[0026] Obtain the trigger for the add - in program to call the application function interface of the COM component provided by the application function interface of the first - type COM component;
[0027] The application function interface of the first - type COM component accesses the corresponding application function interface through the interface pointer of the instantiated object of the second - type COM component according to the needs of the application function.
[0028] To achieve the above - mentioned fourth objective, the technical solution of the data call device based on COM components provided by the present invention is as follows:
[0029] The data call device based on COM components provided by the present invention includes:
[0030] An instantiation object creation module, configured to create an instantiation object of the second type of COM component in the add-in;
[0031] An interface pointer passing module, configured to pass the interface pointer of the instantiation object of the second type of COM component to the adapter in the form of an interface parameter;
[0032] An interface parameter recording module, configured to record the interface parameter in a cache by the adapter in the form of the interface pointer of the instantiation object of the second type of COM component;
[0033] A trigger acquisition module, configured to acquire a trigger of an application function interface of a COM component provided by the add-in calling an application function interface of the first type of COM component;
[0034] An access module, configured to access a corresponding application function interface by the application function interface of the first type of COM component according to the needs of the application function through the interface pointer of the instantiation object of the second type of COM component.
[0035] To achieve the above fifth object, the technical solution of the computer-readable storage medium provided by the present invention is as follows:
[0036] A construction program of an integrated adapter based on COM components is stored on the computer-readable storage medium provided by the present invention. When the construction program of the integrated adapter based on COM components is executed by a processor, the steps of the construction method of the integrated adapter based on COM components provided by the present invention are implemented.
[0037] To achieve the above sixth object, the technical solution of the computer-readable storage medium provided by the present invention is as follows:
[0038] A data calling program based on COM components is stored on the computer-readable storage medium provided by the present invention. When the data calling program based on COM components is executed by a processor, the steps of the data calling method based on COM components provided by the present invention are implemented.
[0039] To achieve the above seventh object, the technical solution of the electronic device provided by the present invention is as follows:
[0040] The electronic device provided by the present invention includes a memory and a processor. A construction program of an integrated adapter based on COM components is stored on the memory. When the construction program of the integrated adapter based on COM components is executed by the processor, the steps of the construction method of the integrated adapter based on COM components provided by the present invention are implemented.
[0041] To achieve the above eighth object, the technical solution of the electronic device provided by the present invention is as follows:
[0042] The electronic device provided by the present invention includes a memory and a processor. A data calling program based on COM components is stored on the memory. When the data calling program based on COM components is executed by the processor, the steps of the data calling method based on COM components provided by the present invention are implemented.
[0043] In order to achieve the above ninth object, the technical solution of the electronic device provided by the present invention is as follows:
[0044] The electronic device provided by the present invention includes the integrated adapter based on COM components provided by the present invention.
[0045] The construction of the integrated adapter based on COM components of the present invention, the data calling method, device, medium and equipment implement the business logic code required for integration with the data management system in the adapter, and when executing a certain type of business function, it can call back to the add-in programs of different application tool software. This adapter design realizes the unified processing of the same type of business processes. In the development of the add-in program applying this adapter, only the function coding closely related to the application tool software needs to be completed, avoiding duplicate work in business function coding and improving the convenience of business process changes. Description of the Drawings
[0046] By reading the following detailed description of the preferred embodiments, various other advantages and benefits will become clear to those of ordinary skill in the art. The drawings are only for the purpose of showing the preferred embodiments and are not considered to be a limitation of the present invention. Moreover, throughout the drawings, the same reference numerals are used to represent the same components. In the drawings:
[0047] Figure 1 It is a flowchart of the steps of the construction method of the integrated adapter based on COM components provided by the embodiment of the present invention;
[0048] Figure 2 It is a schematic diagram of the signal flow relationship between the functional modules involved in the construction device of the integrated adapter based on COM components provided by the embodiment of the present invention;
[0049] Figure 3 It is a schematic diagram of the construction device of the integrated adapter based on COM components in the hardware operating environment involved in the embodiment of the present invention;
[0050] Figure 4 It is a flowchart of the steps of the data calling method based on COM components provided by the embodiment of the present invention;
[0051] Figure 5 It is a diagram of the signal flow relationship between the functional modules involved in the data calling device based on COM components provided by the embodiment of the present invention;
[0052] Figure 6 Schematic diagram of a data calling device based on COM components for the hardware operating environment involved in the embodiments of the present invention. Specific implementation manners
[0053] In order to solve the problems existing in the prior art, the present invention provides a method, device, medium and equipment for constructing an integrated adapter based on COM components and data calling. Based on the integrated adapter based on COM components, business functions are all implemented in the adapter, and the add-in programs of application tool software directly interact with the adapter, without the need to additionally add business modules, so it is more suitable for practical use.
[0054] In order to further elaborate on the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following combines the drawings and preferred embodiments to describe in detail the specific implementation manners, structures, features and effects of the method, device, medium and equipment for constructing an integrated adapter based on COM components and data calling proposed according to the present invention. In the following description, different "one embodiment" or "embodiment" do not necessarily refer to the same embodiment. In addition, the features, structures, or characteristics in one or more embodiments can be combined in any suitable form.
[0055] The term "and / or" in this article is merely a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B is specifically understood as: it can include both A and B at the same time, A can exist alone, or B can exist alone, and it can have any of the above three situations.
[0056] Construction Method of Integration Adapter Based on COM Component
[0057] The method for constructing an integrated adapter based on COM components provided by the present invention includes the following steps:
[0058] Obtain the business process corresponding to the application tool software corresponding to the data to be processed;
[0059] Classify the business process corresponding to the application tool software corresponding to the data to be processed to obtain at least one first type of COM component, where each first type of COM component involves the same business process;
[0060] Abstract the same business processes involved in each first type of COM component into the application function interfaces of the first type of COM components;
[0061] Define a second type of COM component in the add-in program to form a one-to-one mapping between each COM component in the first type of COM components and each COM component in the second type of COM components, so that each COM component in the second type of COM components inherits the application function interfaces of the COM components forming the mapping pairs with them;
[0062] Define a method for the application tool software to call the application function interface in the first type of COM component, and obtain an integrated adapter based on the COM component. Among them, the method for the application tool software to call the application function interface includes methods for functions such as login, logout, upload, download, check-in, and check-out, as well as an interface method for receiving the interface pointer of the instantiated object.
[0063] The construction method of the integrated adapter based on the COM component in the present invention implements the business logic code required for integration with the data management system in the adapter, and when executing a certain type of business function, it can call back to the add-in programs of different application tool software. This kind of adapter design realizes the unified processing of the same type of business processes. In the development of the add-in program applying this adapter, only the function coding closely related to the application tool software needs to be completed, avoiding duplicate work in business function coding and improving the convenience of business process changes.
[0064] Among them, classify the business processes corresponding to the application tool software corresponding to the data to be processed to obtain at least one first type of COM component. Among them, in the step process where the business processes involved in each first type of COM component are the same business processes, the business processes include one of extracting specified configurations, extracting specified data, and extracting specified files.
[0065] Among them, classify the business processes corresponding to the application tool software corresponding to the data to be processed to obtain at least one first type of COM component. Among them, in the step process where the business processes involved in each first type of COM component are the same business processes, the first type of COM component satisfies one or several of the interface specifications and parameter specifications, so that the first type of COM component realizes all the extended functions of the application function interface of the first type of COM component.
[0066] Construction Device of Integration Adapter Based on COM Component
[0067] The construction device of the integrated adapter based on the COM component provided by the present invention includes:
[0068] A business process acquisition module for acquiring the business process corresponding to the application tool software corresponding to the data to be processed;
[0069] A business process classification module for classifying the business process corresponding to the application tool software corresponding to the data to be processed to obtain at least one first type of COM component, where the business processes involved in each first type of COM component are the same business processes;
[0070] A business process abstraction module that abstracts each of the same business processes involved in each first type of COM component into the application function interface of the first type of COM component;
[0071] A mapping module defines a second type of COM component in an add-in program, forming a one-to-one mapping between each COM component in the first type of COM component and each COM component in the second type of COM component, so that each COM component in the second type of COM component inherits the application function interface of the COM component that forms a mapping pair with it;
[0072] An adapter construction module defines a method for an application tool software to call an application function interface in the first type of COM component, obtaining an integrated adapter based on the COM component. Among them, the method for the application tool software to call the application function interface includes methods for functions such as login, logout, upload, download, check-in, and check-out, and an interface method for receiving an interface pointer of an instantiated object.
[0073] The construction device of the integrated adapter based on COM components according to the present invention implements the business logic code required for integration with a data management system in the adapter, and when executing a certain type of business function, it can call back to the add-in programs of different application tool softwares. This type of adapter design realizes the unified processing of the same type of business processes. In the development of add-in programs applying this adapter, only the function coding closely related to the application tool software needs to be completed, avoiding duplicate work in business function coding and improving the convenience of business process changes.
[0074] Data Invocation Method Based on COM Component
[0075] The data call method based on COM components provided by the present invention is implemented based on the data processing method based on COM components provided by the present invention. The data call method based on COM components includes the following steps:
[0076] Create an instantiated object of the second type of COM component in an add-in program;
[0077] Pass the interface pointer of the instantiated object of the second type of COM component to the application function interface of the first type of COM component in the form of an interface parameter;
[0078] The adapter records the interface parameter in the cache in the form of the interface pointer of the instantiated object of the second type of COM component;
[0079] Obtain the trigger for the add-in program to call the application function interface of the COM component provided by the application function interface of the first type of COM component;
[0080] The application function interface of the first type of COM component accesses the corresponding application function interface through the interface pointer of the instantiated object of the second type of COM component according to the needs of the application function.
[0081] The data calling method based on COM components of the present invention implements the business logic code required for integration with the data management system in the adapter, and when executing a certain type of business function, it can call back to the add-in programs of different application tool software. This adapter design realizes the unified processing of the same type of business processes. In the development of the add-in program applying this adapter, only the function coding closely related to the application tool software needs to be completed, avoiding duplicate work in business function coding and improving the convenience of business processes.
[0082] Data Invocation Device Based on COM Component
[0083] The data calling device based on COM components provided by the present invention includes:
[0084] An instantiated object creation module, configured to create an instantiated object of a second type of COM component in the add-in program;
[0085] An interface pointer passing module, configured to pass the interface pointer of the instantiated object of the second type of COM component to the adapter in the form of an interface parameter;
[0086] An interface parameter recording module, configured to record the interface parameter in the cache by the adapter in the form of the interface pointer of the instantiated object of the second type of COM component;
[0087] A trigger acquisition module, configured to acquire the trigger of the application function interface of the COM component provided by the add-in program calling the application function interface of the first type of COM component;
[0088] An access module, configured to access the corresponding application function interface according to the needs of the application function through the interface pointer of the instantiated object of the second type of COM component by the application function interface of the first type of COM component.
[0089] The data calling device based on COM components of the present invention implements the business logic code required for integration with the data management system in the adapter, and when executing a certain type of business function, it can call back to the add-in programs of different application tool software. This adapter design realizes the unified processing of the same type of business processes. In the development of the add-in program applying this adapter, only the function coding closely related to the application tool software needs to be completed, avoiding duplicate work in business function coding and improving the convenience of business processes.
[0090] First Type of Computer Readable Storage Medium
[0091] A construction program of an integrated adapter based on COM components is stored on the computer-readable storage medium provided by the present invention. When the construction program of the integrated adapter based on COM components is executed by a processor, the steps of the construction method of the integrated adapter based on COM components provided by the present invention are implemented.
[0092] The computer-readable storage medium and device for constructing an integrated adapter based on COM components according to the present invention implement the business logic code required for integration with a data management system in the adapter, and when executing a certain type of business function, it can call back to the add-in programs of different application tool software. This adapter design realizes the unified processing of the same type of business processes. In the development of add-in programs applying this adapter, only the function coding closely related to the application tool software needs to be completed, avoiding duplicate work in business function coding and improving the convenience of business processes.
[0093] Second Type of Computer Readable Storage Medium
[0094] The computer-readable storage medium provided by the present invention stores a data calling program based on COM components. When the data calling program based on COM components is executed by a processor, the steps of the data calling method based on COM components provided by the present invention are implemented.
[0095] The computer-readable storage medium for data calling based on COM components according to the present invention implements the business logic code required for integration with a data management system in the adapter, and when executing a certain type of business function, it can call back to the add-in programs of different application tool software. This adapter design realizes the unified processing of the same type of business processes. In the development of add-in programs applying this adapter, only the function coding closely related to the application tool software needs to be completed, avoiding duplicate work in business function coding and improving the convenience of business processes.
[0096] First Type of Electronic Device
[0097] The electronic device provided by the present invention includes a memory and a processor. A construction program for an integrated adapter based on COM components is stored on the memory. When the construction program for the integrated adapter based on COM components is executed by the processor, the steps of the method for constructing an integrated adapter based on COM components provided by the present invention are implemented.
[0098] The electronic device for constructing an integrated adapter based on COM components according to the present invention implements the business logic code required for integration with a data management system in the adapter, and when executing a certain type of business function, it can call back to the add-in programs of different application tool software. This adapter design realizes the unified processing of the same type of business processes. In the development of add-in programs applying this adapter, only the function coding closely related to the application tool software needs to be completed, avoiding duplicate work in business function coding and improving the convenience of business processes.
[0099] Refer to Figure 3 , Figure 3 which is a schematic structural diagram of a device for constructing an integrated adapter based on COM components for the hardware operating environment involved in the solution of the embodiment of the present invention.
[0100] As shown Figure 3 , the construction device of the COM-component-based integrated adapter may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to implement connection communication between these components. The user interface 1003 may include a display screen and an input unit such as a keyboard. Optionally, the user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a Wireless-Fidelity (WI-FI) interface). The memory 1005 may be a high-speed Random Access Memory (RAM) or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0101] Those skilled in the art can understand that Figure 3 the structure shown in does not limit the construction device of the COM-component-based integrated adapter, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0102] As shown Figure 3 , in the memory 1005 as a storage medium, there may be included an operating system, a data storage module, a network communication module, a user interface module, and a construction program of the COM-component-based integrated adapter.
[0103] In Figure 3 the construction device of the COM-component-based integrated adapter shown, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the construction device of the COM-component-based integrated adapter of the present invention may be arranged in the construction device of the COM-component-based integrated adapter. The construction device of the COM-component-based integrated adapter calls, through the processor 1001, the construction program of the COM-component-based integrated adapter stored in the memory 1005, and executes the construction method of the COM-component-based integrated adapter provided by the embodiments of the present invention.
[0104] Second Type of Electronic Device
[0105] The electronic device provided by the present invention includes a memory and a processor. A data calling program based on COM components is stored on the memory. When the data calling program based on COM components is executed by the processor, the steps of the data calling method based on COM components provided by the present invention are implemented.
[0106] The data calling electronic device based on COM components of the present invention implements the business logic code required for integration with the data management system in the adapter, and when executing a certain type of business function, it can call back to the add-in programs of different application tool software. This adapter design realizes the unified processing of the same type of business processes. In the development of the add-in program applying this adapter, only the function coding closely related to the application tool software needs to be completed, avoiding duplicate work in business function coding and improving the convenience of business process changes.
[0107] Refer to Figure 6 , Figure 6 It is a schematic structural diagram of a data calling device based on COM components for the hardware operating environment involved in the solution of the embodiment of the present invention.
[0108] As Figure 6 shown, the data calling device based on COM components may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display) and an input unit such as a keyboard (Keyboard). Optionally, the user interface 1003 may further include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a Wireless-Fidelity (WI-FI) interface). The memory 1005 may be a high-speed Random Access Memory (RAM) memory or a stable Non-Volatile Memory (NVM), such as a disk memory. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0109] Those skilled in the art can understand that Figure 6 the structure shown in
[0110] As Figure 6As shown, the memory 1005 as a storage medium may include an operating system, a data storage module, a network communication module, a user interface module, and a data calling program based on COM components.
[0111] In Figure 6 In the data calling device based on COM components shown, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the data calling device based on COM components of the present invention may be disposed in the data calling device based on COM components. The data calling device based on COM components calls the data calling program based on COM components stored in the memory 1005 through the processor 1001 and executes the data calling method based on COM components provided by the embodiments of the present invention.
[0112] Third Type of Electronic Device
[0113] The electronic device provided by the present invention includes the integrated adapter based on COM components provided by the present invention.
[0114] Although the preferred embodiments of the present invention have been described, those skilled in the art can make additional changes and modifications once they learn the basic creative concepts. Therefore, the appended claims are intended to be construed to include the preferred embodiments and all changes and modifications falling within the scope of the present invention.
[0115] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention is also intended to include these modifications and variations.
Claims
1. A construction method of an integrated adapter based on COM components, characterized in that, Including the following steps: Obtain the business process corresponding to the application tool software corresponding to the data to be processed; Classify the business process corresponding to the application tool software corresponding to the data to be processed to obtain at least one first - type COM component, where the business process involved in each of the first - type COM components is the same business process; Abstract the same business processes involved in each of the first - type COM components into the application function interfaces of the first - type COM components; Define second - type COM components in the add - in program to form a one - to - one mapping between the COM components in the first - type COM components and the COM components in the second - type COM components, so that each of the COM components in the second - type COM components inherits the application function interfaces of the COM components that form mapping pairs with them; Define the method for the application tool software to call the application function interfaces in the first - type COM components to obtain the integration adapter based on COM components, where the method for the application tool software to call the application function interfaces includes methods for functions such as login, logout, upload, download, check - in, and check - out, as well as the interface method for receiving the interface pointer of the instantiated object.
2. The construction method of the integrated adapter based on COM components according to claim 1, characterized in that, In the step of classifying the business process corresponding to the application tool software corresponding to the data to be processed to obtain at least one first - type COM component, where the business process involved in each of the first - type COM components is the same business process, the business process includes one of extracting specified configurations, extracting specified data, and extracting specified files.
3. The construction method of the integrated adapter based on COM components according to claim 1, characterized in that, In the step of classifying the business process corresponding to the application tool software corresponding to the data to be processed to obtain at least one first - type COM component, where the business process involved in each of the first - type COM components is the same business process, the first - type COM component meets one or several of the interface specifications and parameter specifications, so that the first - type COM component realizes all the extended functions of the application function interfaces of the first - type COM components.
4. A construction device of an integrated adapter based on COM components, characterized in that, Including: A business process acquisition module for obtaining the business process corresponding to the application tool software corresponding to the data to be processed; A business process classification module for classifying the business process corresponding to the application tool software corresponding to the data to be processed to obtain at least one first - type COM component, where the business process involved in each of the first - type COM components is the same business process; A business process abstraction module for abstracting the same business processes involved in each of the first - type COM components into the application function interfaces of the first - type COM components; A mapping module for defining second - type COM components in the add - in program to form a one - to - one mapping between the COM components in the first - type COM components and the COM components in the second - type COM components, so that each of the COM components in the second - type COM components inherits the application function interfaces of the COM components that form mapping pairs with them; An adapter construction module defines a method for an application tool software to call an application function interface in the first type of COM component, and obtains the integrated adapter based on the COM component. The method for the application tool software to call the application function interface includes methods for functions such as login, logout, upload, download, check-in, and check-out, and an interface method for receiving an interface pointer of an instantiated object.
5. A data calling method based on COM components, characterized in that, The data calling method based on the COM component is implemented based on the data processing method based on the COM component described in claim 1. The data calling method based on the COM component includes the following steps: Create an instantiated object of the second type of COM component in the add-in program; Pass the interface pointer of the instantiated object of the second type of COM component to the application function interface of the first type of COM component in the form of an interface parameter; The adapter records the interface parameter in the cache in the form of the interface pointer of the instantiated object of the second type of COM component; Obtain the trigger for the add-in program to call the application function interface of the COM component provided by the application function interface of the first type of COM component; The application function interface of the first type of COM component accesses the corresponding application function interface through the interface pointer of the instantiated object of the second type of COM component according to the needs of the application function.
6. A data calling device based on COM components, characterized in that, The data calling method based on the COM component is implemented based on the data processing method based on the COM component described in claim 1. The data calling device based on the COM component includes: An instantiated object creation module for creating an instantiated object of the second type of COM component in the add-in program; An interface pointer transfer module for passing the interface pointer of the instantiated object of the second type of COM component to the adapter in the form of an interface parameter; An interface parameter recording module for the adapter to record the interface parameter in the cache in the form of the interface pointer of the instantiated object of the second type of COM component; A trigger acquisition module for obtaining the trigger for the add-in program to call the application function interface of the COM component provided by the application function interface of the first type of COM component; An access module for the application function interface of the first type of COM component to access the corresponding application function interface through the interface pointer of the instantiated object of the second type of COM component according to the needs of the application function.
7. A computer-readable storage medium, characterized in that, A construction program for an integrated adapter based on a COM component is stored on the computer-readable storage medium. When the construction program for the integrated adapter based on the COM component is executed by a processor, the steps of the construction method for the integrated adapter based on the COM component described in any one of claims 1-3 are implemented.
8. A computer-readable storage medium, characterized in that, A data calling program based on a COM component is stored on the computer-readable storage medium. When the data calling program based on the COM component is executed by a processor, the steps of the data calling method based on the COM component described in claim 5 are implemented.
9. An electronic device, characterized in that, It includes a memory and a processor. A construction program of an integrated adapter based on COM components is stored on the memory. When the construction program of the integrated adapter based on COM components is executed by the processor, the steps of the construction method of the integrated adapter based on COM components described in any one of claims 1-3 are implemented.
10. An electronic device, characterized in that, It includes a memory and a processor. A data calling program based on COM components is stored on the memory. When the data calling program based on COM components is executed by the processor, the steps of the data calling method based on COM components described in claim 5 are implemented.
11. An electronic device, characterized in that, It includes the integrated adapter based on COM components described in any one of claims 1-4.
Citation Information
Patent Citations
Task visualization processing method and device, electronic equipment and storage medium
CN113253991A
Data processing method and device, computer equipment and storage medium
CN114090124A