Disclosure of Invention
In order to solve the above problems, there is a need to provide a method for quickly docking a third-party APP platform that can accomplish the objective of docking with multiple APP open platforms.
The invention provides a method for quickly docking a third-party APP platform, which comprises the following steps:
extracting the commonality of each APP open platform to be butted with the third party, forming an interface according to the extracted commonality and packaging to form interface application;
the interface application provides a visual configuration interface based on web access, and is used for configuring interface parameters of each to-be-docked third-party APP open platform and access parameters of a system used by each user.
Preferably, the commonality of the third-party APP open platform to be docked comprises an organization user integration module, a user single sign-on integration module, a message push integration module and a native interface JAPI integration module.
Preferably, the organization user integration module performs the same encapsulation and extension on an organization user synchronization interface of the APP open platform of the third party to be docked, and provides different mechanisms to integrate the existing skill data of the organization personnel of the enterprise, so as to adapt to various scenes of different enterprises on the data synchronization requirements of the organization users.
Preferably, integrating existing organizational personnel data for the enterprise includes: the method comprises the steps of synchronizing organization user information of a mainstream business system to each APP open platform, expanding a timing synchronization interface to call an existing data interface of the business system or reading a database on a mobile integration platform to acquire organization user data for synchronization, and developing an interface actively calling the mobile integration platform by the business system to synchronize the organization user data to each APP open platform to be docked.
Preferably, the single sign-on integration module provides a plurality of SSO mechanisms for integrating with the APP open platform of the third party to be docked, including a CAS standard, an oauth2.0 standard, a single ticket, a user signature, and a custom extension interface.
Preferably, the message pushing integration module is provided with API interfaces corresponding to the to-be-docked third-party APPs respectively for the third-party systems to push messages of the business systems to the to-be-docked APP open platforms.
Preferably, the native interface JSAPI integration module encapsulates native interface objects provided by each third-party APP platform to be docked into a unified interface agent, so that the H5 page can be compatible with the native interfaces of each mobile APP at the same time as long as the page is developed according to a set of standards of the mobile integration platform.
The invention provides a method for quickly docking a third-party APP platform, which uniformly encapsulates and converts interfaces of various APP open platforms and provides a set of converted common interfaces for specific applications for docking, so that each specific application software can complete the docking target with a plurality of APP open platforms only by docking with a set of interfaces and a method, thereby achieving the following purposes:
1. the docking development cost is reduced: each application can share the interfaces of a plurality of cloud service platforms as long as the application is in butt joint with one platform;
2. the continuous maintenance cost is reduced: each application developer only needs to care about the interface change of one platform and continuously maintains the butt joint, and the adaptation and compatibility of the change of the cloud service platform are completely finished by the transfer platform;
3. and the expansibility is improved: once the cloud service platforms of the same type appear, as long as the platform is used for docking processing, each application docked with the platform can be directly docked with a new cloud service without separately adapting and being compatible.
The invention also provides a system for quickly docking the third-party APP platform, which comprises an interface packaging module and a display module,
the interface packaging module packages interface application formed according to the extracted commonality of the to-be-docked third-party APP open platform;
the display module is used for displaying a visual configuration interface based on web access provided by the interface application in the interface packaging module, and is used for configuring interface parameters of each to-be-docked third-party APP open platform and access parameters of a system used by each user.
The present invention also provides a storage medium having stored thereon a computer program, which when executed by a processor, implements the steps of the method for fast docking a third party APP platform as described in any one of the above.
DETAILED DESCRIPTION OF EMBODIMENT (S) OF INVENTION
The present invention is described in detail below with reference to specific examples:
the invention provides a method for quickly docking a third-party APP platform, which comprises the following steps:
extracting the commonality of each APP open platform to be butted with the third party, forming an interface according to the extracted commonality and packaging to form interface application;
the interface application provides a visual configuration interface based on web access, and is used for configuring interface parameters of each to-be-docked third-party APP open platform and access parameters of a system used by each user.
As shown in fig. 1: through analyzing and discovering the current mainstream mobile office APP (such as enterprise WeChat, nailing and the like), the core of the current mobile office platforms is that a development platform is provided to open the own basic capability to the enterprise application system for calling through an interface besides providing the basic IM function. The core content required by the enterprise application system docking provided by each APP open platform mainly comprises:
organizing user management capabilities, as shown in FIG. 2: an organization user management interface is provided, enterprises are allowed to maintain and manage organization structures and user account information in the mobile APP through the interface, and an address list of an existing system is synchronized to a mobile platform;
h5 application publishing capability: enterprises can release various H5 applications to a workbench of the mobile APP, and employees can access the mobile APP through a built-in browser (webview) of the mobile APP;
single sign-on capability, as shown in fig. 3: a unified user identity authentication interface is provided, so that the H5 application issued by an enterprise in the past can acquire the identity information of the current user through the interfaces, and the single sign-on of the H5 application is realized;
message push capability, as shown in fig. 4: the message pushing interface is provided, so that enterprises can push and remind various business messages through the message pushing interface, and the requirements of notice announcement issuing, flow approval reminding, conference schedule reminding and the like are met;
native capabilities of the handset, as shown in fig. 5: native capabilities of the mobile APP such as code scanning, photographing, positioning, payment and the like are provided for the H5 page calling in the JAPI mode, and the H5 application can use the native functions of the mobile phone to achieve the same functions and experiences as the native application.
Based on the above situation, the present disclosure mainly adopts the following technical solutions to reduce the docking cost and the maintenance cost of the enterprise application system and each APP open platform, and improve the expandability of the docking scheme:
1. and extracting the commonalities of the interfaces of the APP open platforms, and performing abstract packaging and further expansion on the interfaces. Providing an interface mode which is more in line with the actual needs of the enterprise for the integrated calling of each business system in the enterprise;
2. providing a visual configuration interface based on web access to configure interface parameters of each APP open platform;
3. providing a visual configuration interface based on web access to configure access parameters of various enterprise application systems;
4. active docking adaptation is carried out on some mainstream enterprise informatization systems, so that enterprises can realize the integrated docking of the business systems and the conventional requirements of each mobile office platform in a configuration mode;
5. the open interface standard for docking more APPs is provided, and enterprise developers are allowed to automatically extend docking of more third-party open platforms through a non-invasive mode.
Preferably, the commonality of the third-party APP open platform to be docked comprises an organization user integration module, a user single sign-on integration module, a message push integration module and a native interface JAPI integration module.
Preferably, the organization user integration module performs the same encapsulation and extension on an organization user synchronization interface of the APP open platform of the third party to be docked, and provides different mechanisms to integrate the existing skill data of the organization personnel of the enterprise, so as to adapt to various scenes of different enterprises on the data synchronization requirements of the organization users.
Preferably, integrating existing organizational personnel data for the enterprise includes: the method comprises the steps of synchronizing organization user information of a mainstream business system to each APP open platform, expanding a timing synchronization interface to call an existing data interface of the business system or reading a database on a mobile integration platform to acquire organization user data for synchronization, and developing an interface actively calling the mobile integration platform by the business system to synchronize the organization user data to each APP open platform to be docked.
Preferably, the single sign-on integration module provides a plurality of SSO mechanisms for integrating with the APP open platform of the third party to be docked, including a CAS standard, an oauth2.0 standard, a single ticket, a user signature, and a custom extension interface.
Preferably, the message pushing integration module is provided with API interfaces corresponding to the to-be-docked third-party APPs respectively for the third-party systems to push messages of the business systems to the to-be-docked APP open platforms.
Preferably, the native interface JSAPI integration module encapsulates native interface objects provided by each third-party APP platform to be docked into a unified interface agent, so that the H5 page can be compatible with the native interfaces of each mobile APP at the same time as long as the page is developed according to a set of standards of the mobile integration platform.
Each module is specifically as follows:
1. organizing user integrated designs
The module uniformly encapsulates and expands the organization user synchronization interface of each APP open platform, and then provides three mechanisms to integrate the existing organization personnel data of an enterprise so as to adapt to various scenes of different enterprises on the organization user data synchronization requirement:
organization user information of some mainstream business systems such as Microsoft AD, SAP, friend-using EHR, butterfly EAS, pan-micro OA and the like can be configured and realized to be synchronized to each APP open platform without additional development;
the timing synchronization interface can be expanded on the mobile integrated platform to call the existing data interface of the service system or read a database to acquire the organization user data for synchronization;
the business system can also synchronously organize the user data to each APP open platform by developing an interface (restfull API, web service) for actively calling the mobile integration platform.
2. Single sign-on integration design
Each APP open platform provides a login-free (single sign-on) interface for integrated use of the business system, but there are some differences in the mechanisms implemented by each platform, and there are also differences in the single sign-on modes that can be supported by each existing business system of an enterprise. In order to enable various service systems to be capable of being rapidly adapted to login-free interfaces of APP open platforms, the mobile integration platform uniformly packages the interfaces, SSO standard realization commonly used by enterprise information systems is provided, and enterprises can select SSO schemes according with the requirements. No matter which APP open platform is integrated, the system provides various SSO mechanisms for adaptation, including CAS standard, Oauth2.0 standard, single-point bill (delivering single-sign-on ticket or token), user signature (delivering user account and data signature to service system), and custom expansion interface (the user rewrites the single-sign-on interface adaptation).
3. Message push integration design
The module encapsulates the message pushing interface of each APP open platform, then various message templates can be defined through the mobile integration platform, and API interfaces of various modes are provided for a third-party system to call. Therefore, the information of each service system is pushed to each mobile APP. As shown in the figure, each service system can select a suitable interface mode to actively call an interface for message pushing, and can also extend a timing task interface on each APP open platform to call an existing data interface of the service system or read a database to obtain data to be pushed for pushing.
4. Native interface JSAPI integration design
The module packages native interface objects (such as wx objects of enterprise WeChat and dd objects of Ali nails) provided by each APP open platform into a uniform interface agent ebridge, so that the H5 page can be compatible with the native interfaces of each mobile APP at the same time only by developing according to a set of standards of the mobile integrated platform. Meanwhile, in order that a system which is integrated with an APP originally can be in smooth transition, the interface agent is compatible with the original calling mode. For example, a positioning interface enterprise wechat call is wx.getlocation, a nail call is dd.getlocation, and the enterprise H5 application can simultaneously be compatible with various APPs integrated with the APP open platforms only by calling ebridge.getlocation or calling according to one of the enterprise wechat and ali nail. The subsequent APP open platforms extend the support of new APPs, and the H5 applications can be directly compatible without any change.
The invention provides a method for quickly docking a third-party APP platform, which uniformly encapsulates and converts interfaces of various APP open platforms and provides a set of converted common interfaces for specific applications for docking, so that each specific application software can complete the docking target with a plurality of APP open platforms only by docking with a set of interfaces and a method, thereby achieving the following purposes:
1. the docking development cost is reduced: each application can share the interfaces of a plurality of cloud service platforms as long as the application is in butt joint with one platform;
2. the continuous maintenance cost is reduced: each application developer only needs to care about the interface change of one platform and continuously maintains the butt joint, and the adaptation and compatibility of the change of the cloud service platform are completely finished by the transfer platform;
3. and the expansibility is improved: once the cloud service platforms of the same type appear, as long as the platform is used for docking processing, each application docked with the platform can be directly docked with a new cloud service without separately adapting and being compatible.
The invention also provides a system for quickly docking the third-party APP platform, which comprises an interface packaging module and a display module,
the interface packaging module packages interface application formed according to the extracted commonality of the to-be-docked third-party APP open platform;
the display module is used for displaying a visual configuration interface based on web access provided by the interface application in the interface packaging module, and is used for configuring interface parameters of each to-be-docked third-party APP open platform and access parameters of a system used by each user.
The present invention also provides a storage medium having stored thereon a computer program, which when executed by a processor, implements the steps of the method for fast docking a third party APP platform as described in any one of the above.