Heterogeneous software platform unified docking method based on OSGi framework

A software platform and framework technology, applied in the field of online travel, can solve problems such as business confusion and affect work development, and achieve the effect of eliminating differences and improving flexibility.

Pending Publication Date: 2019-11-19
广州市途讯科技有限公司
7 Cites 2 Cited by

AI-Extracted Technical Summary

Problems solved by technology

Affect the development of work, and ...
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Abstract

The invention discloses a heterogeneous software platform unified docking method based on an OSGi framework, which comprises the following steps: step 1, starting the OSGI framework, and loading and starting a custom module; step 2,enabling a platform interface module to register to a Web scheduler; step 3, judging whether an access request exists currently or not; step 4, enabling a Web bridge toreceive a HTTP request and transfers the HTTP request to the Web scheduler; step 5, enabling the Web scheduler to distribute the request to the platform interface module; step 6, executing an external platform interface docking module, and acquiring and analyzing data; and step 7, executing the data conversion module, and converting the data into a unified format. The method has the advantages that the difference between OTA platforms is eliminated in an integrated packaging mode, service data connection is achieved. Meanwhile, the method can effectively adapt to the service structure of thesystem, meanwhile, various heterogeneous systems can be flexibly connected in a butt joint mode, and the flexibility, the adaptability and the dynamics of the system are improved.

Application Domain

Technology Topic

Image

  • Heterogeneous software platform unified docking method based on OSGi framework
  • Heterogeneous software platform unified docking method based on OSGi framework

Examples

  • Experimental program(1)

Example Embodiment

[0032] The present invention will be further described below in conjunction with accompanying drawing:
[0033] like Figure 1-Figure 2 As shown, a unified docking method for heterogeneous software platforms based on the OSGi framework can eliminate the differences between OTA platforms through integration and packaging, and abstract them into a data middle layer that conforms to the system business structure; moreover, it is necessary to increase the OTA platform docking time. , without changing the business code of the existing system, it is only necessary to develop the code of the abstract interface of the OTA in the middle layer;
[0034] This docking method includes a platform-level interface set suitable for system business functions and a program-level interface and object entities suitable for system business functions.
[0035] The platform-level interface set refers to the set of interfaces that meet the functional requirements of the business system and are invoked by the business platform system through methods including but not limited to WEBAPI, WEBSERVICE, etc.
[0036] The program-level interface refers to the use of an interface-based programming framework during program development, which is used to formulate specifications so that subsequent programs can be implemented according to this specification. In this way, when multiple platforms are connected, it can effectively adapt to heterogeneous platforms. The difference in data and structure of the interface,
[0037] Interface-based programming is a mode of object-oriented programming in the field of software development. Its purpose is to enhance the low coupling between classes and modules, and make the software system easier to maintain and expand.
[0038] The object entity aims to standardize the necessary object information involved in the platform interface. In the OTA system, it covers the product entity (Product), order entity (Order), and product price entity (Price). The product entity includes product ID, product Key, Product name, product attribute, product grade, status, order entity includes order ID, order number, order price, order date, status, product price entity includes date, price, inventory, status;
[0039] Heterogeneous software platforms refer to the differences in the technical realization of the distribution business in each OTA platform, specifically manifested in different interface data structures, interface communication protocols,
[0040] The architecture of the heterogeneous software platform includes web applications, which can be directly deployed and run on application servers.
[0041] Web applications include platform enablers, Web bridges, and OSGi frameworks. Web applications are special web applications that have relevant default platform functions and can be directly deployed and run on application servers.
[0042] The OSGi framework includes a Web scheduler, platform interface module, data conversion module, and external platform interface docking module. The OSGi framework maintains the above modules, and the OSGi framework realizes the runtime dynamic module switching function of the platform.
[0043] The platform launcher runs in the Web application server software and is responsible for starting the OSGi framework and the Web bridge, indirectly triggering the startup and loading of the Web scheduler inside the OSGi framework,
[0044] The Web bridge runs in the Web application and is the core component of the Web application server software. It undertakes the bridging function between the Web application and the Web scheduler in the OSGi framework, and realizes the transmission of external requests from the Web application to the Web scheduler.
[0045] The OSGi framework is embedded in the web application, and internally manages the whole life cycle of the functional module from loading, starting to unloading,
[0046] The Web scheduler runs in the OSGi framework as an OSGi module to achieve request distribution. The global resource proxy object contained in the Web scheduler records the context description information of each module, and can be located in a specific module for request processing according to the URL address of the request. ,
[0047] The platform interface module is a functional module defined by the actual business system according to specific business requirements, so as to realize the external interface for data conversion with external systems and provide data support with a unified structure.
[0048] The data conversion module is a function module defined by the actual business system according to the specific business requirements, so as to realize the internal function realization module of the external system data conversion, and can convert the data structure of the heterogeneous system into the data structure required by the actual business system.
[0049] The external platform interface docking module is a functional module implemented according to the external platform interface, which can realize functions such as authority identification, interface request, and data analysis of the external platform system, and is the core component module in the unified docking method;
[0050] The method for unified docking of heterogeneous software platforms based on the OSGi framework includes the following steps:
[0051]Step 1: Start the OSGi framework, load and start the custom module, when the web application starts, start the OSGi framework through the platform launcher, thereby triggering its internal loading and starting including the platform interface module, data conversion module, and external platform interface docking module OSGi modules within;
[0052] Step 2: The platform interface module registers with the Web scheduler. After the Web scheduler monitors that the platform interface module is started, it creates the context description object of the corresponding module and registers it in the global resource proxy object of the Web scheduler for management;
[0053] Step 3: Determine whether there is an access request currently, if the current web application receives an HTTP request, then execute step 4, otherwise, the process ends;
[0054] Step 4: The Web bridge receives and forwards the HTTP request to the Web scheduler, and the Web bridge forwards the HTTP request received from the Web application to the Web scheduler running in the OSGi framework;
[0055] Step 5: The Web scheduler distributes the request to the platform interface module, and the Web scheduler queries the global resource proxy object to obtain the platform interface module, distributes the request to the module, selects the corresponding external platform docking module, and executes the external system data acquisition work;
[0056] Step 6: Execute the external platform interface docking module to obtain and analyze data. The external platform docking module is an interface docking program implemented according to the external platform technical specifications. This module implements the program-level interface and obtains external platform data through the platform interface module call. After analysis Handed over to the data conversion module for processing;
[0057] Step 7: Execute the data conversion module to convert the data into a unified format. The data conversion module processes the data entities acquired by the external platform interface docking module into entity data objects required by the business system, such as Product entities, Order entities, and Price entities etc. After conversion, return to the platform interface module for use;
[0058] The process ends.
[0059] As a preference, WEBAPI is a software architecture style for communication through HTTP protocol, WEBSERVICE is a program standard for communication through HTTP protocol and information exchange through SOAP protocol, and the platform-level interface set enables platform docking to be separated from specific technical requirements, including multi-platform Docking, multi-language implementation, and multi-protocol communication. Multi-platform docking means that the interface set allows business systems running on Windows, Linux, and Mac operating systems to be connected. Multi-language implementation means that when the business system realizes the docking interface through program development, it allows Use a variety of programming languages ​​to achieve docking development, including but not limited to Java, PHP, and Python. Multi-protocol communication refers to the use of protocols such as HTTP and SOAP for data exchange when the business platform is docked.
[0060] The basic principles, main features and advantages of the present invention have been shown and described above. Those skilled in the industry should understand that the present invention is not limited by the above-mentioned embodiments. What are described in the above-mentioned embodiments and the description only illustrate the principle of the present invention. Without departing from the spirit and scope of the present invention, the present invention will also have Variations and improvements are possible, which fall within the scope of the claimed invention. The protection scope of the present invention is defined by the appended claims and their effects.
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

no PUM

Description & Claims & Application Information

We can also present the details of the Description, Claims and Application information to help users get a comprehensive understanding of the technical details of the patent, such as background art, summary of invention, brief description of drawings, description of embodiments, and other original content. On the other hand, users can also determine the specific scope of protection of the technology through the list of claims; as well as understand the changes in the life cycle of the technology with the presentation of the patent timeline. Login to view more.
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Similar technology patents

Immunochromatography concentration detection method and system based on machine learning

PendingCN112071423AEliminate differencesLittle correlationImage analysisCharacter and pattern recognitionMachine learningImmunochromatographic test
Owner:SHANGHAI JIAO TONG UNIV

Classification and recommendation of technical efficacy words

  • Increase flexibility
  • Eliminate differences

Hybrid protocol transceiver for v2v communication

ActiveUS20130279491A1Highly efficient and reliable time slot based allocationIncrease flexibilityAnti-collision systemsConnection managementTransceiverData linking
Owner:ZETTA RES & DEV - FORC SERIES

Script compliance using speech recognition

InactiveUS7191133B1Improved script compliance verificationIncrease flexibilityHardware monitoringManual exchangesSpeech identificationSpeech sound
Owner:ALORICA

Alliance chain common recognition method and system thereof

ActiveCN106878000AIncrease flexibilityImprove high reliabilityEncryption apparatus with shift registers/memoriesManagement contractConsensus method
Owner:中钞信用卡产业发展有限公司杭州区块链技术研究院 +1

Method and system for estimating capacity of server

InactiveCN102411515AEliminate differencesAvoid overheadResource allocationSystem serviceRedundancy factor
Owner:STATE GRID CORP OF CHINA +1

Ultra-high resolution pixel electrode arrangement structure signal processing method

InactiveUS20070057190A1Eliminate differencesReduce sensitivity differenceTelevision system detailsTelevision system scanning detailsUltra high resolutionCapacitance
Owner:NAT UNIV SHIZUOKA UNIV

Display device and driving method

ActiveUS20110128259A1Suppressing display unevennessEliminate differencesCathode-ray tube indicatorsDigital storageDisplay deviceControl circuit
Owner:SATURN LICENSING LLC

Inductive coupling plasma device

ActiveCN102573258AEliminates discrepancies in resultsEliminate differencesPlasma techniqueDensity distributionEngineering
Owner:BEIJING NAURA MICROELECTRONICS EQUIP CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products