CN113010915A - Method, system, electronic device and storage medium for unifying airport data interface - Google Patents

Method, system, electronic device and storage medium for unifying airport data interface Download PDF

Info

Publication number
CN113010915A
CN113010915A CN202110262662.6A CN202110262662A CN113010915A CN 113010915 A CN113010915 A CN 113010915A CN 202110262662 A CN202110262662 A CN 202110262662A CN 113010915 A CN113010915 A CN 113010915A
Authority
CN
China
Prior art keywords
data
airport
interface
message
unifying
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.)
Pending
Application number
CN202110262662.6A
Other languages
Chinese (zh)
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.)
Guangzhou Civil Aviation Information Technology Co Ltd
Original Assignee
Guangzhou Civil Aviation Information 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 Guangzhou Civil Aviation Information Technology Co Ltd filed Critical Guangzhou Civil Aviation Information Technology Co Ltd
Priority to CN202110262662.6A priority Critical patent/CN113010915A/en
Publication of CN113010915A publication Critical patent/CN113010915A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • 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/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0442Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0861Network architectures or network communication protocols for network security for authentication of entities using biometrical features, e.g. fingerprint, retina-scan

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Computing Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Bioethics (AREA)
  • Databases & Information Systems (AREA)
  • Biomedical Technology (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention relates to the technical field of airport service, and discloses a method, a system, electronic equipment and a storage medium for unifying airport data interfaces, wherein the method comprises the following steps: after receiving a data access request sent by an interface calling terminal, acquiring identity information and data demand information of the interface calling terminal; determining the access authority of the corresponding interface calling terminal according to the identity information; and after the access authority is determined, calling a data result fed back by the upstream data source system according to the data demand information, and returning the data result to the corresponding interface calling end through the external data interface module. According to the method for unifying airport data interfaces, the unified data interface is used, the underlying data source is rapidly switched according to the requirement of the intelligent terminal on data, and the data interaction process can be simplified; the airport service system is convenient for an airport to introduce more intelligent terminal services, and the airport service level is improved.

Description

Method, system, electronic device and storage medium for unifying airport data interface
Technical Field
The invention relates to the technical field of airport service, in particular to a method, a system, electronic equipment and a storage medium for unifying airport data interfaces.
Background
In the past, a large amount of research and development cost is often invested due to the need of docking or switching different underlying data source systems, such as adjustment caused by business protocols or policy reasons, when newly developed intelligent terminal systems or old systems of airports are upgraded. While airports continue to climb peaks in passenger flow, airports face significant challenges in promoting levels of passenger service. How to utilize innovation technique to promote passenger's trip to experience, promote airport flow simultaneously and optimize, improve current efficiency, reduce the human cost and become the airport service and wait for the technical problem who solves urgently.
Disclosure of Invention
Aiming at the defects, the embodiment of the invention discloses a method for unifying airport data interfaces, which shields the difference of data interaction between different data sources to a certain extent by providing a unified external interface, is convenient for an airport to introduce more intelligent terminal services and helps the airport to improve the self service level.
The first aspect of the embodiment of the invention discloses a method for unifying airport data interfaces, which comprises the following steps:
after a data access request sent by an interface calling terminal is received, acquiring identity information and data demand information of the interface calling terminal;
determining the access authority of the corresponding interface calling terminal according to the identity information;
and after the access authority is determined, calling a data result fed back by an upstream data source system according to the data demand information, and returning the data result to a corresponding interface calling end through an external data interface module.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, before the obtaining the identity information of the interface calling end, the method further includes:
receiving an identity login request sent by an interface calling end, configuring access authority and an access data range of the corresponding interface calling end according to the identity login request, and associating the access authority and the access data range with identity information of the interface calling end.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the upstream data source system includes one or more of a network authentication system, a flight dynamic system, a letter departure system, a letter service system, and an airport flight system.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the upstream data source system includes a flight dynamic system, and the invoking a data result fed back by the upstream data source system according to the data demand information and returning the data result to a corresponding interface invoking end through an external data interface module includes:
sending the data demand information to a flight dynamic system through a flight dynamic client to obtain a data result fed back by the flight dynamic system;
sending the data result to a data analysis module for analysis to obtain analysis data;
and providing the analyzed data to an external data interface module for a corresponding interface calling end to call the data.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the sending the data result to a data parsing module for parsing to obtain parsed data includes:
distributing the data result to a corresponding data analyzer through a data analysis module, and concurrently operating the data analyzers in a multithreading pool mode to analyze the data result to obtain analysis data;
the method for concurrently running the data resolvers in the multi-thread pool mode comprises the following steps:
detecting flow information of the data result sent by an upstream data source system;
and matching a corresponding number of data resolvers according to the flow information and a preset thread matching rule so as to concurrently operate the corresponding data resolvers.
As an optional implementation manner, in a first aspect of the embodiment of the present invention, the upstream data source system includes a navigation service system, and the invoking a data result fed back by the upstream data source system according to the data demand information and returning the data result to a corresponding interface invoking end through an external data interface module includes:
pulling a message of the aviation message service system according to the data demand information;
and sending the message to a data analyzer for analysis, and after the message is injected into the data analyzer, putting an analyzer instance into a thread pool queue to enable the thread pool to carry out scheduling operation according to a preset scheduling strategy.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the preset scheduling policy includes:
sending the injected message to a first thread, and configuring corresponding delay processing time;
when the system time reaches the delay processing time, the first thread analyzes and processes the message;
and when the message analysis fails, sending the message to a waiting queue of a second thread, and after a certain time, performing message analysis on the message in the second thread.
The second aspect of the embodiment of the invention discloses a system for unifying airport data interfaces, which comprises:
an acquisition module: the method comprises the steps that after a data access request sent by an interface calling end is received, identity information and data requirement information of the interface calling end are obtained;
a determination module: the access authority of the corresponding interface calling end is determined according to the identity information;
the data calling module: and after the access authority is determined, the data calling module is used for calling a data result fed back by an upstream data source system according to the data demand information and returning the data result to a corresponding interface calling end through an external data interface module.
A third aspect of an embodiment of the present invention discloses an electronic device, including: a memory storing executable program code; a processor coupled with the memory; the processor calls the executable program code stored in the memory for executing the method of unifying airport data interfaces disclosed in the first aspect of the embodiments of the present invention.
A fourth aspect of the embodiments of the present invention discloses a computer-readable storage medium storing a computer program, wherein the computer program enables a computer to execute the method for unifying airport data interfaces disclosed in the first aspect of the embodiments of the present invention.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
according to the method for unifying airport data interfaces, the unified data interface is used, the underlying data source is rapidly switched according to the requirement of the intelligent terminal on data, and the data interaction process can be simplified; the method of the invention encapsulates the data interaction with complex bottom layer into a more simplified data interface, reduces the research and development cost required for switching the bottom layer data source, and shields the difference of data interaction between different data sources; the airport service system is convenient for an airport to introduce more intelligent terminal services, and the airport service level is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a flow chart illustrating a method for unifying airport data interfaces as disclosed in an embodiment of the present invention;
FIG. 2 is a schematic flow chart of data interaction of a flight dynamics system according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a data source connection of a flight dynamics system according to an embodiment of the present invention;
FIG. 4 is a schematic flow chart of data traffic detection according to an embodiment of the present invention;
FIG. 5 is a schematic flow chart of data interaction of the navigation service system disclosed by the embodiment of the invention;
FIG. 6 is a schematic diagram of a data source connection of a telecommunications service system according to an embodiment of the present disclosure;
FIG. 7 is a flowchart illustrating a predetermined scheduling policy according to an embodiment of the present invention;
FIG. 8 is a schematic structural diagram of an apparatus for unifying airport data interfaces according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first", "second", "third", "fourth", and the like in the description and the claims of the present invention are used for distinguishing different objects, and are not used for describing a specific order. The terms "comprises," "comprising," and any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In the past, a large amount of research and development cost is often invested due to the need of docking or switching different underlying data source systems, such as adjustment caused by business protocols or policy reasons, when newly developed intelligent terminal systems or old systems of airports are upgraded. Based on the above, the embodiment of the invention discloses a method, a device, electronic equipment and a storage medium for unifying airport data interfaces, by using the unified data interface, the bottom layer data source can be quickly switched according to the requirement of an intelligent terminal on data, and the data interaction process can be simplified; the method of the invention encapsulates the data interaction with complex bottom layer into a more simplified data interface, reduces the research and development cost required for switching the bottom layer data source, and shields the difference of data interaction between different data sources; the airport service system is convenient for an airport to introduce more intelligent terminal services, and the airport service level is improved.
Example one
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for unifying airport data interfaces according to an embodiment of the present invention. The method is suitable for intelligent equipment such as mobile phones and tablet computers with processing functions and computing equipment such as computers and servers, and even can be used as an image acquisition device with processing functions. As shown in FIG. 1, the unified airport data interface based method comprises the following steps:
s101: and after receiving a data access request sent by an interface calling end, acquiring the identity information and the data demand information of the interface calling end.
In implementation, the interface calling end may be an intelligent terminal such as a mobile phone, a tablet computer, an all-in-one machine, and a computer, and specifically, the intelligent terminal initiates a request to request access to the system and submits data demand information, for example, when a traveler wants to access a flight system, the traveler can directly send a corresponding data request to interface data in the flight system through the system of the present invention. Different interface calling terminals have different access rights, such as data of a passenger system which cannot call a flight system, and data of a security check system which does not call the flight system, because the data of the flight system does not need to be processed, the data only needs the passenger data or the security check data, and how to distinguish and confirm the access rights needs to be registered and confirmed in a service registration center of the system in advance. In a specific use scenario, for example, a flight system, a passenger system, a face system and a security check system are required to be used by the VIP room system, the system of the invention can allocate the authorities of the subsystems to the VIP room system to carry out data access on the VIP room system; for example, the flight display screen system only needs to be used for a flight system, and the system of the invention can only allocate corresponding flight system data for the flight display screen system. Through the unification of the authority distribution setting and the data mechanism, more intelligent terminal services can be introduced into the airport conveniently, the travel experience of passengers is improved, the optimization of airport processes is promoted, and the airport terminal system is suitable for being used in different airports in China.
Specifically, before the obtaining the identity information of the interface calling terminal, the method further includes:
receiving an identity login request sent by an interface calling end, configuring access authority and an access data range of the corresponding interface calling end according to the identity login request, and associating the access authority and the access data range with identity information of the interface calling end.
The data access management service based on the account number password and the RSA asymmetric encryption certificate can be built in the data interface system of the invention or can be independently set; when the data access management service is independently set, a data interface system and an intelligent terminal interface calling party respectively apply for account passwords to an RTR (system service registration center) for registration, the data interface system submits registration information to the RTR when starting, the data interface system shows that a data service process is alive and in normal work, and submits a data interface inlet and a system real-time load to the RTR; before calling the data interface of the system, the intelligent terminal needs to log in the RTR by an account password, after verifying that the identity information of the RTR is legal, the RTR distributes a current real-time available data interface list and an RSA private key encryption access certificate to the RTR, and otherwise, the RTR does not give any legal access information to the system. The intelligent terminal initiates a data request to the data interface according to the acquired interface list and the access certificate, the data interface decrypts the access certificate according to the RSA public key provided by the RTR, and verifies the legal access identity of the calling party according to the decrypted clear text, if the legal access identity passes through, data interaction is performed, and if the legal access identity does not pass through, data service is refused to be provided. After the registration operation, the access authority and the access data range related to the interface calling end are associated with the identity information of the interface calling end, so that identity authentication can be performed subsequently.
S102: and determining the access authority of the corresponding interface calling terminal according to the identity information.
Since the identity information of the interface calling terminal is acquired in step S101 and is registered, the access right of the interface calling terminal can be determined according to the corresponding identity information, and different access rights match different upstream data source systems.
S103: and after the access authority is determined, calling a data result fed back by an upstream data source system according to the data demand information, and returning the data result to a corresponding interface calling end through an external data interface module.
The step is mainly to return data fed back by an upstream data source system to a corresponding interface calling end, for example, when a passenger inputs flight number information to inquire flight information, corresponding flight data such as takeoff time, delay time, a terminal point and the like are returned by an upstream flight system to perform data feedback; and finally, complete data interaction is realized. Specifically, in the method, the data analysis module is responsible for analyzing, integrating and persisting various airport departure data including airport flight data, passenger data, security inspection data, member data and oneID data, wherein the oneID data includes passenger identity information, biological feature information and travel information. The data analysis work comprises data uplink and data downlink, namely data can be obtained from an upstream data source, and business data can also be submitted to an upstream system by a downstream client. The external data interface module provides data interface service for the external airport intelligent terminal, and through the integration of the data analysis module, the system can provide a uniform data interface externally, the distinction of the intelligent terminal interface calling party on the data source is shielded, the intelligent terminal only needs to interface the uniform data interface of the system, and the system solves the problem of inconsistent data structures of all the data sources. By using the unified data interface of the system, the bottom layer data source can be quickly switched according to the requirement of the intelligent terminal on data, and the data interaction flow can be simplified, because the system can interactively package the complicated data at the bottom layer into a more simplified data interface; meanwhile, the research and development cost required by switching the bottom layer data source can be reduced, and the difference of data interaction among different data sources is shielded to a certain extent by the unified data interface. The method of the invention can be used for improving the airport more conveniently so as to improve the travel experience of passengers, promote the optimization of airport flow, improve the traffic efficiency, reduce the labor cost and the like; through the unified interface providing mode, the airport is more convenient to introduce intelligent terminal service in the future, so that the unified interface specification is carried out on airport data, and the airport data integration system is suitable for use of different airports in China.
More preferably, the upstream data source system comprises one or more of a network authentication system, a flight dynamic system, a letter departure system, a letter service system and an airport flight system. Specifically, the data interface module and the data analysis module divide a plurality of module applications according to data types, and the module applications respectively comprise flight data, passenger data, security check data, face biological characteristic data, member data and oneID data. And each data submodule application realizes the analysis, integration and persistence of the upstream data by using different technologies according to the data characteristics of the submodule application.
The optional access data sources of the flight data submodule comprise an oneID system, an international airport IMF flight dynamic system of Guangzhou white cloud, a Zhonghang Xin departure system, a Zhonghang AngelServer system, an ACDM system and a Zhuhai airport flight information system. The passenger data sub-module can be selectively accessed to a data source, and comprises a China airline letter departure system and a China airline letter AngelServer system; the security check data submodule can be selectively accessed to a Guangzhou aviation letter DMSP system; the face data submodule can optionally access a cloud slave, an open view and an oneID system. More specifically, the data interface module and the data analysis module adopt a low coupling design, and the data interface can configure a corresponding data source according to the data requirement of a calling party. The system consists of a uniform data structure interface, a data source analysis module, a data persistence strategy, a data source updating strategy and a data source interaction module; the data source interaction module adopts respective adaptive data interaction modes according to different data sources to be docked, wherein the data interaction modes comprise that data are pulled to a data source interface at regular time, and a data source providing client sdk continuously receives data pushing and message queues.
Specifically, data persistence is achieved through a first mode, after data are taken, an effective period is configured for corresponding data, so that whether the data are expired is judged each time the data are extracted locally, if the data are expired, the data are updated at a data source, the data are persisted locally, a new effective period is configured, and the process is repeated; in the second mode, data is actively pushed from an upstream data source, and the data is only required to be continuously persisted locally, but because the data has context, whether old data is overwritten or a specific value is determined according to the context; in the third mode, an upstream data source is a queue, data transmission is just carried out on the upstream data source by using the queue, and then messages are continuously taken from the upstream queue, converted according to a preset data format of the system and then sent to a message queue in the system; the data local persistence is realized through the method.
More preferably, fig. 2 is a schematic flow chart of data interaction of a flight dynamic system disclosed in the embodiment of the present invention, and as shown in fig. 2, an upstream data source system in the embodiment of the present invention includes a flight dynamic system, and the invoking a data result fed back by the upstream data source system according to the data demand information and returning the data result to a corresponding interface invoking end through an external data interface module includes:
s1031: sending the data demand information to a flight dynamic system through a flight dynamic client to obtain a data result fed back by the flight dynamic system;
s1032: sending the data result to a data analysis module for analysis to obtain analysis data;
s1033: and providing the analyzed data to an external data interface module for a corresponding interface calling end to call the data.
The flight dynamic system in this embodiment is also an IMF flight dynamic system, and specifically, fig. 3 is a schematic diagram of data source connection of the flight dynamic system disclosed in the embodiment of the present invention, and as shown in fig. 3, when the IMF flight dynamic system is selected as a data source, the system provides packet encapsulation and communication thread dynamic maintenance for data connection of the IMF flight dynamic system. After the system is started, a plurality of communication channels are established, a long-time communication mode is kept between the communication channels and the IMF flight dynamic system, and data interaction is carried out between the data updating strategy and the data service strategy through the established communication channels and the IMF system. Meanwhile, under the normal operation condition, the system can send heartbeat messages to the IMF regularly and continuously, which indicates that the system is alive to maintain the communication channel. And the data information acquired by the system and the IMF in an interactive manner is analyzed by the data analyzer of the system and is packaged.
More preferably, the sending the data result to a data analysis module for analysis to obtain analysis data includes:
distributing the data result to a corresponding data analyzer through a data analysis module, and concurrently operating the data analyzers in a multithreading pool mode to analyze the data result to obtain analysis data;
fig. 4 is a schematic flow chart of data traffic detection disclosed in an embodiment of the present invention, and as shown in fig. 4, the concurrently running the data parser in a multi-thread pool manner includes:
s1033 a: detecting flow information of the data result sent by an upstream data source system;
s1033 b: and matching a corresponding number of data resolvers according to the flow information and a preset thread matching rule so as to concurrently operate the corresponding data resolvers.
The IMF message analysis distributes the data message to the data analyzer according to the TYPE field (input field) of the message content, and the data analyzer is operated in a multithreading thread pool mode concurrently, so that the message processing performance of the system is improved. The system designs a series of updating strategies, so that the data flow of the production environment can be sensed in real time, system operation adjustment is properly made, when the data volume is too high, the capacity of a thread pool is improved, the concurrent operation number of data analyzers is increased, and the purpose of increasing the data throughput in a short time is achieved; when the data volume is too low, the system can reduce the number of concurrent threads until reaching a single thread, and increase the thread running time interval of the data parser so as to achieve the purposes of releasing hardware resources and lightening the burden of the server. Specifically, the data traffic of the production environment is sensed according to the accumulated length of the message queue pushed upstream, and when the queue is accumulated long, the data traffic becomes large, and the processing speed cannot keep pace, so the processing speed needs to be increased. The data analyzed by the data analyzer can adopt different strategies to carry out local persistence of the data according to the speed performance requirement, the real-time requirement and the integrity requirement of the data interface, or directly provide the data interface after conversion without adopting persistence.
More preferably, fig. 5 is a schematic flow chart of data interaction of a telecommunications service system disclosed in the embodiment of the present invention, and as shown in fig. 5, an upstream data source system provided in the embodiment of the present invention includes the telecommunications service system, and the method for calling a data result fed back by the upstream data source system according to the data demand information and returning the data result to a corresponding interface calling end through an external data interface module includes:
s103 a: pulling a message of the aviation message service system according to the data demand information;
s103 b: and sending the message to a data analyzer for analysis, and after the message is injected into the data analyzer, putting an analyzer instance into a thread pool queue to enable the thread pool to carry out scheduling operation according to a preset scheduling strategy.
The navigation message service system in the embodiment of the present invention is a guangzhou navigation message DMSP system, and specifically, fig. 6 is a schematic diagram of data source connection of the navigation message service system disclosed in the embodiment of the present invention, as shown in fig. 6, when the guangzhou navigation message DMSP system is selected as a data source, a message queue update policy is adopted, an upstream data source is used as a message producer, and a message should be continuously pushed to an intermediate message service, and the system is used as a message consumer and can continuously pull a message to the intermediate message service. After the message is pulled, the message is delivered to a data analyzer for analysis. After the data parser injects message, the parser instance is put into the thread pool queue, and the thread pool management program is responsible for scheduling and running.
When the China avionics system is selected as a data source, data analysis and processing, and updating strategies and persistence strategies are basically consistent with those when the China avionics AngelServer system data source is adopted, but particularly, personalized data analysis services can be provided according to the data requirements of an intelligent terminal data interface calling party, and the data requirements of the calling party are met as much as possible.
Specifically, during data analysis, data processing may be performed in a traffic peak clipping manner, and the first is to buffer a request in a message queue manner, that is, to control the sending of a request to perform traffic control; the second is to prolong the time of sending the request by answering the question, control when accepting the request after the request is sent, and finally filter the request which does not meet the condition; the third is to filter the requests hierarchically, one layer filters invalid requests, and makes the last valid requests less. In the implementation of the invention, a queue buffer mode is adopted for data processing. Fig. 7 is a schematic flowchart of a preset scheduling policy disclosed in the embodiment of the present invention, and as shown in fig. 7, the preset scheduling policy provided in the embodiment of the present invention includes:
s103b 1: sending the injected message to a first thread, and configuring corresponding delay processing time;
s103b 2: when the system time reaches the delay processing time, the first thread analyzes and processes the message;
s103b 3: and when the message analysis fails, sending the message to a waiting queue of a second thread, and after a certain time, performing message analysis on the message in the second thread.
The thread pool scheduling strategy in the embodiment of the invention is mainly divided into two types; one is a fast processing mode, each message is injected with a delay processing time when being injected into a data analyzer instance, when the system time reaches or is later than the delay processing time, a fast processing thread can analyze and process the message, and when the message analysis fails, the message is put into a waiting queue for slow processing; in another slow processing mode, after the message analysis fails, a certain time is waited, the message analysis is retried, and when the failure times reach more than 3 times, the message is regarded as an abnormal message, and the analysis processing of the message is abandoned. After the message is successfully analyzed, the analyzed data message is pushed to a message queue in the system, and a data interface of the system consumes the analyzed data in the message queue according to a request strategy and provides the data to an interface caller. In the embodiment of the invention, the first thread refers to a fast thread, and the second thread refers to a slow thread; the data processing efficiency can be well balanced by adopting the double-thread processing. In the embodiment of the invention, the data arriving in real time is processed by the fast thread, but when the comparison data at the fast thread does not meet the speed requirement, the data pushed to the fast thread is transmitted to the slow thread, and the data at the slow thread is updated every 10 s; and when the corresponding comparison data is not obtained after the plurality of times of cumulative updating, the comparison data is not updated. Data moved to the slow thread may be processed more than at the slow thread.
Besides the two upstream data source processing modes, when a Zhongxin AngelServer system, a Zhanjiang airport ACDM system, a Zhuhai airport flight information system, a cloud slave system, an open view system and an oneID system are selected as data sources, data can be provided for a data interface by adopting a timing update and local persistence strategy. When the data interface requests data, the local persistence equipment is inquired to see whether the cache is hit or not, and after the cache is read, whether the data is overdue or not is judged according to a data updating strategy. If the local cache data is not overdue, the local cache data is directly provided for the data interface, and the message is encapsulated and returned to the interface calling party. If the local cache is not hit or the cache data is overdue, the latest data is pulled to an upstream source, and is cached to the local persistence equipment after being analyzed by the data analyzer and then is provided for the data interface.
According to the method for unifying airport data interfaces, the unified data interface is used, the underlying data source is rapidly switched according to the requirement of the intelligent terminal on data, and the data interaction process can be simplified; the method of the invention encapsulates the data interaction with complex bottom layer into a more simplified data interface, reduces the research and development cost required for switching the bottom layer data source, and shields the difference of data interaction between different data sources; the airport service system is convenient for an airport to introduce more intelligent terminal services, and the airport service level is improved.
Example two
Referring to fig. 8, fig. 8 is a schematic structural diagram of an apparatus for unifying airport data interfaces according to an embodiment of the present invention. As shown in fig. 8, the means for unifying airport data interfaces may comprise:
the acquisition module 21: the method comprises the steps that after a data access request sent by an interface calling end is received, identity information and data requirement information of the interface calling end are obtained;
the determination module 22: the access authority of the corresponding interface calling end is determined according to the identity information;
the data retrieval module 23: and after the access authority is determined, the data calling module is used for calling a data result fed back by an upstream data source system according to the data demand information and returning the data result to a corresponding interface calling end through an external data interface module.
According to the method for unifying airport data interfaces, the unified data interface is used, the underlying data source is rapidly switched according to the requirement of the intelligent terminal on data, and the data interaction process can be simplified; the method of the invention encapsulates the data interaction with complex bottom layer into a more simplified data interface, reduces the research and development cost required for switching the bottom layer data source, and shields the difference of data interaction between different data sources; the airport service system is convenient for an airport to introduce more intelligent terminal services, and the airport service level is improved.
EXAMPLE III
Referring to fig. 9, fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure. The electronic device may be a computer, a server, or the like, and may also be an intelligent device such as a mobile phone, a tablet computer, a monitoring terminal, or the like, and an image acquisition device having a processing function. As shown in fig. 9, the electronic device may include:
a memory 510 storing executable program code;
a processor 520 coupled to the memory 510;
wherein the processor 520 calls the executable program code stored in the memory 510 to perform some or all of the steps of the method of unifying airport data interfaces of the first embodiment.
The embodiment of the invention discloses a computer-readable storage medium which stores a computer program, wherein the computer program enables a computer to execute part or all of the steps in the method for unifying airport data interfaces in the first embodiment.
The embodiment of the invention also discloses a computer program product, wherein when the computer program product runs on a computer, the computer is enabled to execute part or all of the steps in the method for unifying airport data interfaces in the first embodiment.
The embodiment of the invention also discloses an application publishing platform, wherein the application publishing platform is used for publishing the computer program product, and when the computer program product runs on a computer, the computer is enabled to execute part or all of the steps in the method for unifying airport data interfaces in the first embodiment.
In various embodiments of the present invention, it should be understood that the sequence numbers of the processes do not mean the execution sequence necessarily in order, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated units, if implemented as software functional units and sold or used as a stand-alone product, may be stored in a computer accessible memory. Based on such understanding, the technical solution of the present invention, which is a part of or contributes to the prior art in essence, or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several requests for causing a computer device (which may be a personal computer, a server, a network device, or the like, and may specifically be a processor in the computer device) to execute part or all of the steps of the method according to the embodiments of the present invention.
In the embodiments provided herein, it should be understood that "B corresponding to a" means that B is associated with a from which B can be determined. It should also be understood, however, that determining B from a does not mean determining B from a alone, but may also be determined from a and/or other information.
Those of ordinary skill in the art will appreciate that some or all of the steps of the methods of the embodiments may be implemented by hardware instructions associated with a program, which may be stored in a computer-readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a Programmable Read-Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), a One-time Programmable Read-Only Memory (OTPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM), or other Memory, a CD-ROM, or other disk, or a combination thereof, A tape memory, or any other medium readable by a computer that can be used to carry or store data.
The method, the device, the electronic device and the storage medium for unifying airport data interfaces disclosed in the embodiments of the present invention are introduced in detail, and a specific example is applied in the present document to explain the principle and the implementation of the present invention, and the description of the above embodiments is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A method of unifying airport data interfaces, comprising:
after a data access request sent by an interface calling terminal is received, acquiring identity information and data demand information of the interface calling terminal;
determining the access authority of the corresponding interface calling terminal according to the identity information;
and after the access authority is determined, calling a data result fed back by an upstream data source system according to the data demand information, and returning the data result to a corresponding interface calling end through an external data interface module.
2. The method of unifying airport data interfaces of claim 1, further comprising, prior to said obtaining identity information of said interface caller:
receiving an identity login request sent by an interface calling end, configuring access authority and an access data range of the corresponding interface calling end according to the identity login request, and associating the access authority and the access data range with identity information of the interface calling end.
3. The method of unifying airport data interfaces of claim 1, wherein the upstream data source system comprises one or more of a network identity verification system, a flight dynamics system, a letter departure system, a letter service system, and an airport flight system.
4. The method of unifying airport data interfaces of claim 1, wherein the upstream data source system comprises a flight dynamics system, and the retrieving the data result fed back by the upstream data source system according to the data demand information and returning the data result to the corresponding interface calling end through an external data interface module comprises:
sending the data demand information to a flight dynamic system through a flight dynamic client to obtain a data result fed back by the flight dynamic system;
sending the data result to a data analysis module for analysis to obtain analysis data;
and providing the analyzed data to an external data interface module for a corresponding interface calling end to call the data.
5. The method of unifying airport data interfaces of claim 4, wherein said sending said data results to a data parsing module for parsing to obtain parsed data comprises:
distributing the data result to a corresponding data analyzer through a data analysis module, and concurrently operating the data analyzers in a multithreading pool mode to analyze the data result to obtain analysis data;
the method for concurrently running the data resolvers in the multi-thread pool mode comprises the following steps:
detecting flow information of the data result sent by an upstream data source system;
and matching a corresponding number of data resolvers according to the flow information and a preset thread matching rule so as to concurrently operate the corresponding data resolvers.
6. The method of unifying airport data interfaces of claim 1, wherein the upstream data source system comprises a navigation service system, and the retrieving the data result fed back by the upstream data source system according to the data demand information and returning the data result to the corresponding interface invoking end through an external data interface module comprises:
pulling a message of the aviation message service system according to the data demand information;
and sending the message to a data analyzer for analysis, and after the message is injected into the data analyzer, putting an analyzer instance into a thread pool queue to enable the thread pool to carry out scheduling operation according to a preset scheduling strategy.
7. The method of unifying airport data interfaces of claim 6, wherein said pre-set scheduling policy comprises:
sending the injected message to a first thread, and configuring corresponding delay processing time;
when the system time reaches the delay processing time, the first thread analyzes and processes the message;
and when the message analysis fails, sending the message to a waiting queue of a second thread, and after a certain time, performing message analysis on the message in the second thread.
8. A system for unifying airport data interfaces, comprising:
an acquisition module: the method comprises the steps that after a data access request sent by an interface calling end is received, identity information and data requirement information of the interface calling end are obtained;
a determination module: the access authority of the corresponding interface calling end is determined according to the identity information;
the data calling module: and after the access authority is determined, the data calling module is used for calling a data result fed back by an upstream data source system according to the data demand information and returning the data result to a corresponding interface calling end through an external data interface module.
9. An electronic device, comprising: a memory storing executable program code; a processor coupled with the memory; the processor calls the executable program code stored in the memory for performing the method of unified airport data interface of any of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, wherein the computer program causes a computer to perform the method of unifying airport data interfaces of any of claims 1 to 7.
CN202110262662.6A 2021-03-10 2021-03-10 Method, system, electronic device and storage medium for unifying airport data interface Pending CN113010915A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110262662.6A CN113010915A (en) 2021-03-10 2021-03-10 Method, system, electronic device and storage medium for unifying airport data interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110262662.6A CN113010915A (en) 2021-03-10 2021-03-10 Method, system, electronic device and storage medium for unifying airport data interface

Publications (1)

Publication Number Publication Date
CN113010915A true CN113010915A (en) 2021-06-22

Family

ID=76404648

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110262662.6A Pending CN113010915A (en) 2021-03-10 2021-03-10 Method, system, electronic device and storage medium for unifying airport data interface

Country Status (1)

Country Link
CN (1) CN113010915A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107403018A (en) * 2017-08-10 2017-11-28 中国民航信息网络股份有限公司 The processing method and processing device of flight data and passenger data
CN109246078A (en) * 2018-08-02 2019-01-18 平安科技(深圳)有限公司 A kind of data interactive method and server
CN111752965A (en) * 2020-05-29 2020-10-09 南京南瑞继保电气有限公司 Real-time database data interaction method and system based on micro-service
CN111815295A (en) * 2020-07-22 2020-10-23 绍兴市侨陆智能科技有限公司 Airport intelligent service method and system based on user identity recognition

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107403018A (en) * 2017-08-10 2017-11-28 中国民航信息网络股份有限公司 The processing method and processing device of flight data and passenger data
CN109246078A (en) * 2018-08-02 2019-01-18 平安科技(深圳)有限公司 A kind of data interactive method and server
CN111752965A (en) * 2020-05-29 2020-10-09 南京南瑞继保电气有限公司 Real-time database data interaction method and system based on micro-service
CN111815295A (en) * 2020-07-22 2020-10-23 绍兴市侨陆智能科技有限公司 Airport intelligent service method and system based on user identity recognition

Similar Documents

Publication Publication Date Title
US10623476B2 (en) Endpoint management system providing an application programming interface proxy service
US9729557B1 (en) Dynamic throttling systems and services
US20190190995A1 (en) Internet cloud-hosted natural language interactive messaging system server collaboration
US10491547B2 (en) Internet cloud-hosted natural language interactive messaging system user resolver
US11010215B2 (en) Recommending applications based on call requests between applications
US11240291B2 (en) Content snip capture and sharing
CN107666525A (en) The method and apparatus of cluster container IP distribution
CN113037862B (en) Service request processing method, device, equipment and storage medium
WO2017171932A1 (en) Pre-formed instructions for a mobile cloud service
CN113094136A (en) Page display control method and device, storage medium and electronic equipment
CN113946425A (en) Service processing method and device, electronic equipment and computer readable storage medium
CN111698126A (en) Information monitoring method, system and computer readable storage medium
CN106709768B (en) Method and system for asynchronously downloading invoice
CN103207802B (en) Operation system of software and method
CN107948682B (en) Configuration method of service domain name, service server and terminal equipment
US20220114157A1 (en) Lock management for distributed application pods
US11379416B1 (en) Systems and methods for common data ingestion
CN113010915A (en) Method, system, electronic device and storage medium for unifying airport data interface
CN110933145A (en) Remote scheduling method, device, equipment and medium
US20230188620A1 (en) Method of notifying of business audit, gateway, electronic device, and readable medium
CN113472638A (en) Edge gateway control method, system, device, electronic equipment and storage medium
CN117642724A (en) Stream analysis using server-less computing system
CN112837156A (en) Transaction method and device with fixed execution sequence
CN109862107B (en) Multithreading scheduling designated upgrading method, server and client
CN116185607A (en) Resource control method and device for namespaces of multiple clusters

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