CN110262903B - Middleware framework and method based on aviation reservation system - Google Patents

Middleware framework and method based on aviation reservation system Download PDF

Info

Publication number
CN110262903B
CN110262903B CN201910412811.5A CN201910412811A CN110262903B CN 110262903 B CN110262903 B CN 110262903B CN 201910412811 A CN201910412811 A CN 201910412811A CN 110262903 B CN110262903 B CN 110262903B
Authority
CN
China
Prior art keywords
service
request
request instruction
middleware
layer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910412811.5A
Other languages
Chinese (zh)
Other versions
CN110262903A (en
Inventor
胡中岳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sanying Weiye Technology Co ltd
Beijing Wintelia Technology Co ltd
Original Assignee
Beijing Sanying Weiye Technology Co ltd
Beijing Wintelia Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sanying Weiye Technology Co ltd, Beijing Wintelia Technology Co ltd filed Critical Beijing Sanying Weiye Technology Co ltd
Priority to CN201910412811.5A priority Critical patent/CN110262903B/en
Publication of CN110262903A publication Critical patent/CN110262903A/en
Application granted granted Critical
Publication of CN110262903B publication Critical patent/CN110262903B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q50/40
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/547Messaging middleware

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Engineering & Computer Science (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Development Economics (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a middleware framework based on an aviation seat booking system, which comprises an external seat booking system application, a middleware and an aviation mail system; the middleware comprises a service protocol layer, a service node layer, a service classification layer and a service distribution layer; the service protocol layer is composed of a service request interface and a request processing module. The invention provides uniform middleware service, so that two modes of E-build interface communication and PID account number communication for interacting with the navigation message host can coexist in the middleware framework, and meanwhile, the PID account number and the navigation message host are interacted in a configuration simulation mode, so that the navigation message system can support all services by using one set of middleware. The invention solves the problems of complex operation and high cost of the existing communication mode of the navigation driver and the navigation message host for booking business operations, and ensures that the downstream business system uses navigation message resources and data more conveniently, safely and controllably.

Description

Middleware framework and method based on aviation reservation system
Technical Field
The invention relates to the technical field of civil aviation service, in particular to a middleware framework and a middleware method based on an aviation reservation system.
Background
The PID account (namely booking configuration) is an interactive account opened to the outside by the China civil aviation host and used for communicating with the civil aviation host, a holder of the account can perform login authentication by using data packet client software obtained by packaging and encrypting, and after the authentication is passed, instruction operation can be performed on the client, so that related business operations such as booking, ticket drawing, ticket returning, time change, seat control and the like are realized. However, the PID account must perform command operation through data packet client software obtained by encrypting the packet, and needs to be subjected to security authentication twice through account security authentication and job number security authentication. The data packet client-side operation interface obtained by packaging and encryption is displayed based on native non-relational text typesetting, the instruction operation is complicated, errors are easy to occur, and extremely high requirements are provided for operators.
Therefore, the E-build product line (hereinafter referred to as E-build) is opened by the navigation officer to meet the function of using the navigation host system on the web site, but the E-build only realizes part of general services such as seat booking, on-line check-in and freight rate, more instructions can be completely met only by relying on background workers to perform off-line operation, and meanwhile, the charging is carried out according to the flow, the cost is high, and all service requirements of a general navigation call center, a large client, a B2B system and off-port distribution are difficult to realize.
In summary, the existing way of the navigation department communicating with the navigation letter host to perform business operations such as seat booking and the like has the problems of complex operation, high cost and the like.
Disclosure of Invention
The invention provides a middleware framework and a middleware method based on an aviation seat booking system, aiming at solving the problems of complex operation and high cost of the existing mode of carrying out seat booking and other business operations by communication between a navigation driver and a navigation letter host.
In order to achieve the above purpose, the technical means adopted is as follows:
a middleware framework based on an aviation reservation system comprises an external reservation system application, middleware and a navigation system;
the middleware comprises a service protocol layer, a service node layer, a service classification layer and a service distribution layer;
the service protocol layer consists of a service request interface and a request processing module;
the service request interface provides a communication interface for a service request sent by an external booking system application;
the request processing module analyzes the service request into request instructions in the same format and sends the request instructions to a service distribution layer;
the service node layer comprises a plurality of service nodes;
the service classification layer performs service classification for the request instruction, wherein the service classification service class is classified at a subscription level according to the service existing in the airline credit system; the service classification is performed to make the service request of the system more convenient to search and use, and to manage the common service request.
The service distribution layer carries out protocol analysis on the request instructions converted into the same format to obtain the request category of the request instructions, and transmits the request instructions to the service classification layer for service classification; the request type of the request instruction comprises E-build interface communication and PID account number communication;
A. if the request type of the request instruction is E-build interface communication, the request instruction is sent to a navigation information system for processing through the E-build interface corresponding to the service type of the request instruction, then a result returned by the navigation information system is received, and the result is sent to an external booking system through a service distribution layer;
B. if the request type of the request instruction is PID account number communication, a service node is allocated for the request instruction according to the service type of the request instruction and a load balancing algorithm, the service node sends the request instruction to a navigation information system for processing through an interface of a data packet client side which corresponds to the service type and is obtained by packaging and encrypting, then receives a result returned by the navigation information system, and sends the result to an external seat booking system through a service distribution layer.
In the scheme, two interaction modes of E-build interface communication and PID account number communication and the aircraft letter host can coexist in the middleware framework by providing uniform middleware service, and meanwhile, the interaction between the PID account number and the aircraft letter host is realized by configuring a simulation mode, so that the aircraft letter system can support all services by using one set of middleware.
Preferably, the middleware further includes a configuration management module, and the configuration management module is configured to manage configuration information of service requests of different request categories in the middleware.
Preferably, a plurality of service nodes of the service node layer are built based on a dubbo framework, the service nodes are registered and managed through a zookeeper, and service types corresponding to the service nodes are managed through a node management tool.
A method for middleware architecture based on an airline reservation system, comprising the steps of:
s1, receiving a service request sent by an external booking system application through a service request interface; the service request is converted into a request instruction with the same format by a request processing module and then is sent to a service distribution layer;
s2, carrying out protocol analysis on the request instructions converted into the same format through a service distribution layer to obtain the request type of the request instructions, and sending the request to a service classification layer; the request type comprises E-build interface communication and PID account number communication;
s3, performing service classification on the request instruction through a service classification layer to obtain the service class of the request instruction, wherein the service class of the service classification is classified at a seat level according to the service existing in the airline credit system;
s4.a, if the request type of the request instruction obtained in the step S2 is E-build interface communication, sending the request instruction to a navigation information system for processing through the E-build interface corresponding to the service type of the request instruction, and then receiving a result returned by the navigation information system and sending the result to an external booking system through a service distribution layer;
b. if the request type of the request instruction is PID account number communication, a service node is allocated for the request instruction according to the service type of the request instruction and a load balancing algorithm, the service node sends the request instruction to a navigation information system for processing through an interface of a data packet client side which corresponds to the service type and is obtained by packaging and encrypting, and then receives a result returned by the navigation information system and sends the result to an external seat booking system through a service allocation layer.
Preferably, the step b specifically comprises the following steps:
b1. the service node encapsulates the request instruction according to the service type obtained by the request instruction;
b2. packaging and encrypting the packaged request instruction in a communication requirement mode of the client and the aviation communication system;
b3. sending the request instruction to the air message system for processing through an interface of a data packet client side corresponding to the service type and obtained by packaging and encrypting the data packet;
b4. receiving a result returned by the processing of the navigation system, and receiving and storing a log of a data result in the result in an original state; analyzing and objectifying the text result in the result line by line through a regular expression technology;
b5. and sending the obtained objectification result to an external booking system through a service distribution layer.
Preferably, the service classes of the request instruction include flight service, ticket service, booking service, check-in service, stowage service, flight control and log service.
Preferably, the service node is connected with the airline trust system in a connection pool manner through an interface of a data packet client which is obtained by packaging and encrypting and corresponds to the service type, so as to send a request instruction to the airline trust system or receive a result returned by the airline trust system.
Compared with the prior art, the technical scheme of the invention has the beneficial effects that:
the middleware realizes the interaction of the PID account with the navigation message host through the middleware in a configuration simulation mode; meanwhile, the middleware is in butt joint with the E-build, and the service request sent by the external seat booking system application is converted into an interactive mode conforming to the middleware so as to communicate with the airline credit host. The invention provides uniform middleware service, so that two modes of E-build interface communication and PID account number communication and interaction with the avionic host can coexist in the middleware framework, namely, the avionic system can support all services by using one set of middleware of the invention.
The method of the invention not only reduces the complexity of instruction operation when the services such as booking and the like are processed; meanwhile, the cost is reduced, the navigation department with small volume does not need to use expensive E-built service, and the problems of complex operation, high cost and the like in the existing mode of communication between the navigation department and the navigation letter host to perform services such as seat booking and the like are solved.
Adopting a middleware and simulating PID, and realizing communication with a data packet host which is obtained by packaging and encrypting the navigation message in a PID simulation mode; meanwhile, the middleware is in butt joint with the E-build, and the instruction of the middleware is converted into an interactive mode of the middleware, so that the communication with the navigation message host is realized; the middleware in the invention not only supports the E-build interface communication mode, but also supports the PID simulation communication mode, thereby realizing that the navigation department service system can support all services of PID and E-build by using one set of API.
Because the instruction operation is not needed to be used when the business operation is carried out, the invention reduces the complexity of the instruction operation when the business such as a booking class is processed; meanwhile, the cost is reduced, the navigation department with small volume does not need to use expensive E-built service, and the problems of complex operation, high cost and the like in the existing mode of communication between the navigation department and the navigation letter host to perform services such as seat booking and the like are solved.
Drawings
Fig. 1 is an overall architecture diagram of the present invention.
Fig. 2 is a schematic diagram of the implementation of the middleware of the present invention.
FIG. 3 is an architecture diagram of an external reservation system integration middleware.
Fig. 4 is an interaction diagram of the middleware and the navigation communication system.
FIG. 5 is a business flow diagram of the customer service center system invoking middleware.
FIG. 6 is a logical relationship diagram of the customer service center system integration middleware.
Detailed Description
The drawings are for illustrative purposes only and are not to be construed as limiting the patent;
for the purpose of better illustrating the embodiments, certain features of the drawings may be omitted, enlarged or reduced, and do not represent the size of an actual product;
it will be understood by those skilled in the art that certain well-known structures in the drawings and descriptions thereof may be omitted.
The technical solution of the present invention is further described below with reference to the accompanying drawings and examples.
Example 1
A middleware framework based on an aviation reservation system comprises an external reservation system application, a middleware, a navigation message system ICS, a CRS and a DCS, wherein as shown in figure 1, the external reservation system application can simultaneously transmit information with an E-build product line and a data packet client obtained by packaging and encrypting through the middleware, so that the external reservation system application interacts with the navigation message system.
As shown in fig. 2, the middleware includes a service protocol layer, a service node layer, a service classification layer, and a service distribution layer;
the service protocol layer consists of a service request interface and a request processing module;
the service request interface provides a communication interface for a service request sent by an external booking system application;
the request processing module analyzes the service request into request instructions in the same format and sends the request instructions to a service distribution layer;
the service node layer comprises a plurality of service nodes; the service node management method comprises the steps that a plurality of service nodes of the service node layer are built on the basis of a dubbo framework, the service nodes are registered and managed through a zookeeper, and service types corresponding to the service nodes are managed through a node management tool. Dubbo is a high-performance, lightweight, open-source Java RPC framework that provides three core capabilities: interface-oriented remote method invocation, intelligent fault tolerance and load balancing, and automatic registration and discovery of services.
The service classification layer performs service classification for the request instruction, wherein the service classification service class is classified at a subscription level according to the service existing in the airline credit system;
the service distribution layer carries out protocol analysis on the request instructions converted into the same format to obtain the request category of the request instructions, and transmits the request instructions to the service classification layer for service classification; the request type of the request instruction comprises E-build interface communication and PID account number communication;
A. if the request type of the request instruction is E-build interface communication, the request instruction is sent to a navigation information system for processing through the E-build interface corresponding to the service type of the request instruction, then a result returned by the navigation information system is received, and the result is sent to an external booking system through a service distribution layer;
B. if the request type of the request instruction is PID account number communication, a service node is allocated for the request instruction according to the service type of the request instruction and a load balancing algorithm, the service node sends the request instruction to a navigation information system for processing through an interface of a data packet client side which corresponds to the service type and is obtained by packaging and encrypting, then receives a result returned by the navigation information system, and sends the result to an external seat booking system through a service distribution layer.
The middleware also comprises a configuration management module, wherein the configuration management module is used for managing configuration information of service requests of different request types in the middleware, and the configuration information is encrypted to prevent information leakage. The embodiment 1 further provides a middleware framework method based on an airline reservation system, including the following steps:
s1, receiving a service request sent by an external booking system application through a service request interface; the service request is converted into a request instruction with the same format by a request processing module and then is sent to a service distribution layer;
s2, carrying out protocol analysis on the request instructions converted into the same format through a service distribution layer to obtain the request type of the request instructions, and sending the request to a service classification layer; the request type comprises E-build interface communication and PID account number communication;
s3, performing service classification on the request instruction through a service classification layer to obtain the service class of the request instruction, wherein the service class of the service classification is classified at a seat level according to the service existing in the airline credit system; the service categories comprise flight service, passenger ticket service, seat booking service, check-in service, stowage service, flight control and log service; the flight service in this embodiment 1 includes a request for inquiring flight, flight time, flight information, manifest information, stop and go information, seat map, and low-price calendar; the booking service comprises a booking inquiring request, a booking request, a separation request, a booking canceling request, an information adding request, a time limit modifying request, a flight time changing request, an information deleting request and a K-bit operation request; the passenger ticket service comprises the requests of inquiring ticket surfaces, passenger ticket history, passenger information, passenger ticket lists, opening operation, ticket outlet operation, hanging and releasing, cancelling passenger tickets, adding remarks and returning tickets; the log service comprises log query and log storage request;
s4.a, if the request type of the request instruction obtained in the step S2 is E-build interface communication, sending the request instruction to a navigation information system for processing through the E-build interface corresponding to the service type of the request instruction, and then receiving a result returned by the navigation information system and sending the result to an external booking system through a service distribution layer;
b. if the request type of the request instruction is PID account number communication, a service node is allocated for the request instruction according to the service type of the request instruction and a load balancing algorithm, the service node sends the request instruction to a navigation information system for processing through an interface of a data packet client end which corresponds to the service type and is obtained by packaging and encrypting, then receives a result returned by the navigation information system and sends the result to an external seat booking system through a service allocation layer, namely:
b1. the service node encapsulates the request instruction according to the service type obtained by the request instruction;
b2. packaging and encrypting the packaged request instruction in a communication requirement mode of the client and the aviation communication system;
b3. sending the request instruction to the air message system for processing through an interface of a data packet client side corresponding to the service type and obtained by packaging and encrypting the data packet;
b4. receiving a result returned by the processing of the navigation system, and receiving and storing a log of a data result in the result in an original state; analyzing and objectifying the text result in the result line by line through a regular expression technology;
b5. and sending the obtained objectification result to an external booking system through a service distribution layer.
The service node is connected with the avionic system in a connection pool mode through interfaces of the data packet client sides which correspond to the service types and are obtained by packaging and encrypting, namely the service node sends heartbeat detection to all connection links in the connection pool through the interfaces of the data packet client sides which correspond to the service types and are obtained by packaging and encrypting; if the heartbeat detection is successful, acquiring an available connection link from the connection pool to connect with the navigation information system; thereby sending a request instruction to the navigation information system or receiving a result returned by the navigation information system.
In addition, the operation of log management may be added to step S2 in this embodiment 1, that is, after the request command is obtained through conversion, the information record is received and fed back, and an analysis and statistics report is created.
Through the middleware of embodiment 1, a data packet terminal of a web version obtained by packaging and encrypting can be realized through the middleware service at a webpage end.
Example 2
As shown in fig. 3, the middleware framework of this embodiment 2 is applied to a certain airline driver service center system, and the framework sequentially includes, from top to bottom, a telephone control system, a service center service system interface layer, a service processing layer composed of a ticket service module and a front line service processing module, a management background layer, and a middleware layer, where the middleware is located at the bottommost layer of the airline driver service center system and serves as a main component of the airline driver service center system. The function related to the ticket business module in the airline department service center system, the ticket booking function related to the member service in the first-line business processing module and the black screen/log related to the auxiliary function in the management background layer are all realized by the function opened by the middleware, namely, the category of the request instruction processed in the middleware is adopted: flight service, ticket service, booking service, check-in service, stowage service, flight control and log service, and the open functions are realized.
In the airline hostess service center system of this embodiment 2, the structure of the middleware interacting with the airline trust system is shown in fig. 4;
firstly, when the task processed by the navigation service center system is any one of the tasks which need to be realized through the function opened by the middleware, the service request sent by the navigation service center system is received through a service request interface in the middleware; the service request is converted into a request instruction with the same format by a request processing module in the middleware and then is sent to a service distribution layer in the middleware;
carrying out protocol analysis on the request instructions converted into the same format through a service distribution layer to obtain that the request type of the request instructions is E-build interface communication or PID account number communication; in this embodiment 2, if the request type is E-build interface communication, the IBE part in fig. 4 is used for communication; if the request type is PID account number communication, the PID part in the figure 4 is used for communication;
this embodiment 2 uses the IBE part to process the ticket query function in the ticket service with the service class as the ticket service to describe the communication process of the IBE part: after receiving a request for inquiring passenger tickets by a request instruction, the service distribution layer judges whether the request is a certificate or a passenger ticket number according to the data transmitted by the interface, and discriminately calls a DERTN (digital enhanced time network) or DETR NI interface according to the judgment result; and if the DETR TN interface is called, the findticketInfo interface of the navigation information system interface is called, and if the DETR NI interface is called, the f indiTicketList interface of the navigation information system interface is called, interface data is packaged, and the interface data is fed back to the navigation service center system through the service distribution layer.
This embodiment 2 uses the PID part to process the function of inquiring detailed seat information in the service class-subscription service to explain the communication process of the PID part: after receiving a request for inquiring seat detailed information by a request instruction, the service distribution layer converts and encapsulates the transmitted parameters into an instruction RO flight number/date, packages and encrypts the instruction in a communication requirement mode of a client and a navigation information system, then links the navigation information system through a connection pool, and sends a DA instruction to confirm that the connection is effective; if the connection is effective, the RO instruction is executed, otherwise, error information is fed back; the middleware receives the data result of the RO instruction directly and stores the log, and analyzes and objectifies the text result of the RO instruction line by line through a regular expression technology; and finally, feeding back the obtained object RO data result to the airline operator service center system through a service distribution layer.
The overall flow of implementing ticketing services using the middleware framework of the present invention is shown in fig. 5 and 6, wherein the portions of the airline are not shown in fig. 5 and 6. Firstly, a airline driver customer service center system sends a shopping request to a middleware, the shopping request is received by a service protocol layer in the middleware and converted into a request instruction of 'confirming the air ticket freight rate and stock', then the request instruction is communicated in the process of interaction between the middleware and the airline letter system, the ticket price and product information obtained from the airline letter system are fed back to the customer service center system, a user selects corresponding commodities and prices through the customer service center system, information input and order creation are carried out through the customer service center system, and the order payment and ticket drawing are carried out, wherein the function of ordering is realized by the function of opening the middleware, so that the seat ordering request is sent to the middleware again, and after the middleware is communicated in the process of interaction between the middleware and the airline letter system, the ticket drawing is finished and the ticket drawing result is fed back to the customer service center system, so that the ticket selling is realized.
The terms describing positional relationships in the drawings are for illustrative purposes only and are not to be construed as limiting the patent;
it should be understood that the above-described embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the claims of the present invention.

Claims (6)

1. A middleware framework based on an aviation reservation system is characterized by comprising an external reservation system application, middleware and an aviation communication system;
the middleware system comprises a service protocol layer, a service node layer, a service classification layer and a service distribution layer; the service distribution layer of the middleware also comprises a configuration management module, and the configuration management module is used for managing configuration information of service requests of different request types in the middleware;
the service protocol layer consists of a service request interface and a request processing module;
A. the service request interface module provides a uniform communication interface for a request sent by an external booking system application;
B. the request processing module analyzes the service request into a request instruction with a uniform format and sends the request instruction to a service distribution layer;
the service node layer comprises a plurality of service nodes, the plurality of nodes of the service nodes are built based on a DUBBO framework, the service nodes are registered and managed through zookeeper, and service categories corresponding to the service nodes are managed through a node management tool;
the service classification layer performs service classification for the request instruction, wherein the service classification service class is classified at a subscription level according to the service existing in the airline credit system;
the service distribution layer is composed of a load balancing and configuration management module, carries out protocol analysis on the request instructions converted into the same format to obtain the request category of the request instructions, and transmits the request instructions to the service classification layer for service classification; the request type of the request instruction comprises E-build interface communication and PID account number communication;
A. if the request type of the request instruction is PID account number communication, allocating a service node for the request instruction according to the service type of the request instruction and a load balancing algorithm, wherein the service node sends the request instruction to a navigation message system for processing through an interface of a data packet client end which corresponds to the service type and is obtained by packaging and encrypting, then receives a result returned by the navigation message system, and sends the result to an external seat booking system through a service distribution layer;
B. if the request type of the request instruction is PID account number communication, a service node is allocated for the request instruction according to the service type of the request instruction and a load balancing algorithm, the service node sends the request instruction to a navigation information system for processing through an interface of a data packet client side which corresponds to the service type and is obtained by packaging and encrypting, then receives a result returned by the navigation information system, and sends the result to an external seat booking system through a service distribution layer.
2. A middleware framework method based on an airline reservation system is characterized by comprising the following steps:
s1, receiving a service request sent by an external booking system application through a service request interface; the service request is converted into a request instruction with the same format by a request processing module and then is sent to a service distribution layer;
s2, carrying out protocol analysis on the request instructions converted into the same format through a service distribution layer to obtain the request type of the request instructions, and sending the request to a service classification layer; the request type comprises E-build interface communication and PID account number communication;
s3, performing service classification on the request instruction through a service classification layer to obtain the service class of the request instruction, wherein the service class of the service classification is classified at a seat level according to the service existing in the airline credit system;
s4.a, if the request type of the request instruction obtained in the step S2 is E-build interface communication, sending the request instruction to a navigation information system for processing through the E-build interface corresponding to the service type of the request instruction, and then receiving a result returned by the navigation information system and sending the result to an external booking system through a service distribution layer;
b. if the request type of the request instruction is PID account number communication, a service node is allocated for the request instruction according to the service type of the request instruction and a load balancing algorithm, the service node sends the request instruction to a navigation information system for processing through an interface of a data packet client side which corresponds to the service type and is obtained by packaging and encrypting, and then receives a result returned by the navigation information system and sends the result to an external seat booking system through a service allocation layer.
3. The method according to claim 2, wherein step b comprises in particular the steps of:
b1. the service node encapsulates the request instruction according to the service type obtained by the request instruction;
b2. packaging and encrypting the packaged request command in a communication requirement mode of a data packet client and a navigation message system obtained by packaging and encrypting;
b3. sending the request instruction to the air message system for processing through an interface of a data packet client side corresponding to the service type and obtained by packaging and encrypting the data packet;
b4. receiving a result returned by the processing of the navigation system, and receiving and storing a log of a data result in the result in an original state; analyzing and objectifying the text result in the result line by line through a regular expression technology;
b5. and sending the obtained objectification result to an external booking system through a service distribution layer.
4. The method of claim 2, wherein the service classes of the request instruction include flight services, ticket services, booking services, check-in services, stowage services, flight control and log services.
5. The method according to claim 2, wherein the service node is connected with the avionics system in a connection pool manner through an interface of a data packet client which is obtained by packaging and encrypting and corresponds to the service class, so as to send a request instruction to the avionics system or receive a result returned by the avionics system.
6. The method according to claim 5, wherein the service node sends heartbeat detection to all connection links in the connection pool through interfaces of the data packet clients obtained by packaging and encrypting corresponding to the service classes; and if the heartbeat detection is successful, acquiring an available connection link from the connection pool to connect with the navigation information system.
CN201910412811.5A 2019-05-17 2019-05-17 Middleware framework and method based on aviation reservation system Active CN110262903B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910412811.5A CN110262903B (en) 2019-05-17 2019-05-17 Middleware framework and method based on aviation reservation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910412811.5A CN110262903B (en) 2019-05-17 2019-05-17 Middleware framework and method based on aviation reservation system

Publications (2)

Publication Number Publication Date
CN110262903A CN110262903A (en) 2019-09-20
CN110262903B true CN110262903B (en) 2021-09-03

Family

ID=67913298

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910412811.5A Active CN110262903B (en) 2019-05-17 2019-05-17 Middleware framework and method based on aviation reservation system

Country Status (1)

Country Link
CN (1) CN110262903B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113450600A (en) * 2021-06-18 2021-09-28 成都民航空管科技发展有限公司 System for joint operation of ATC system and iTWR system
CN114281518A (en) * 2021-11-10 2022-04-05 同程网络科技股份有限公司 Navigation driver data processing method and system based on NDC

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873318A (en) * 2012-12-18 2014-06-18 阿里巴巴集团控股有限公司 Website automated testing method and automated testing system
US9560123B2 (en) * 2007-04-10 2017-01-31 International Business Machines Corporation Using a same program on a local system and a remote system
CN108093070A (en) * 2017-12-27 2018-05-29 复旦大学 A kind of Internet of Things data service middleware system
CN108319513A (en) * 2018-01-23 2018-07-24 北京东土科技股份有限公司 Message delivery method and device in a kind of multi partition operating system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9560123B2 (en) * 2007-04-10 2017-01-31 International Business Machines Corporation Using a same program on a local system and a remote system
CN103873318A (en) * 2012-12-18 2014-06-18 阿里巴巴集团控股有限公司 Website automated testing method and automated testing system
CN108093070A (en) * 2017-12-27 2018-05-29 复旦大学 A kind of Internet of Things data service middleware system
CN108319513A (en) * 2018-01-23 2018-07-24 北京东土科技股份有限公司 Message delivery method and device in a kind of multi partition operating system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于双通道技术的机票分销系统设计与实现;张文祥;《中国优秀硕士学位论文全文数据库 信息科技辑》;20150315;第3-4章 *

Also Published As

Publication number Publication date
CN110262903A (en) 2019-09-20

Similar Documents

Publication Publication Date Title
CN105024865B (en) Cloud joint services
JP5656358B2 (en) Fault data management
CN104052540B (en) Aircraft communication exchange system
US20130094060A1 (en) Dynamic print job routing in a distributed printing environment
US20020138625A1 (en) Method and apparatus for inflight electronic commerce
CN110262903B (en) Middleware framework and method based on aviation reservation system
US20030139135A1 (en) Method for selecting applications that can be activated via a civil aeronautical communication network
US20150334050A1 (en) Partitionable router to facilitate communication between systems
CN110266815B (en) Micro service network system based on block chain
US8214102B2 (en) Methods and apparatus for providing access to vehicle electronic systems
EP2596617A2 (en) Secure mobile information system
US7809673B2 (en) Methods and apparatus for interfacing external systems with vehicle electronic systems
US9350816B2 (en) External device interface abstraction
EP2897344B1 (en) Content integration framework
CN103001962A (en) Business support method and system
CN112561110B (en) Link operator data processing system based on block chain
US20110182259A1 (en) Partitionable router to facilitate communication between systems
US9268514B2 (en) Formatting data
CN112202806B (en) NDC (named data networking) standard-oriented aggregated message processing method and device
CN108111513A (en) Applied to the data managing method of front device, device, medium and electronic equipment
CN111080049B (en) Airport ground guarantee electronic ticket management method
US8239575B2 (en) Method, system, apparatus, and program to facilitate communication between systems
CN117273406B (en) Civil aviation airport operation command scheduling system, method and device based on Gantt chart
KR20210026946A (en) Method for processing of cargo receipt based on blockchain and transport management server
WO2013054961A1 (en) Dynamic workflow-linked it service management apparatus and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A middleware architecture and method based on aviation reservation system

Granted publication date: 20210903

Pledgee: Zhongguancun Branch of Bank of Beijing Co.,Ltd.

Pledgor: BEIJING WINTELIA TECHNOLOGY Co.,Ltd.

Registration number: Y2024110000099