CN116545843B - Method, device, equipment and medium for switching between main and standby systems of flight ground service guarantee - Google Patents

Method, device, equipment and medium for switching between main and standby systems of flight ground service guarantee Download PDF

Info

Publication number
CN116545843B
CN116545843B CN202310745484.1A CN202310745484A CN116545843B CN 116545843 B CN116545843 B CN 116545843B CN 202310745484 A CN202310745484 A CN 202310745484A CN 116545843 B CN116545843 B CN 116545843B
Authority
CN
China
Prior art keywords
ground service
main
flight ground
flight
data
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
CN202310745484.1A
Other languages
Chinese (zh)
Other versions
CN116545843A (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.)
Minhang Chengdu Information Technology Co ltd
Original Assignee
Minhang Chengdu 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 Minhang Chengdu Information Technology Co ltd filed Critical Minhang Chengdu Information Technology Co ltd
Priority to CN202310745484.1A priority Critical patent/CN116545843B/en
Publication of CN116545843A publication Critical patent/CN116545843A/en
Application granted granted Critical
Publication of CN116545843B publication Critical patent/CN116545843B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application provides a method, a device, equipment and a medium for switching between main and standby systems of flight ground service guarantee, which comprise the following steps: acquiring domain name address information of a visiting flight ground service guarantee main system; detecting whether a main service platform and a main data platform in a flight ground service guarantee main system are normal or not; if the two types of the information are all the types, the domain name address information is resolved to a gateway of the flight ground service guarantee main system based on a DNS resolution method, so that a target user accesses the flight ground service guarantee main system to acquire flight ground service guarantee data information; if not, resolving the domain name address information to a gateway of the flight ground service support system based on the DNS resolving method, and switching the flight ground service support system to serve as a main system, so that a target user accesses the flight ground service support system to acquire flight ground service support data information. The method and the system realize the switching in a DNS mode, and can realize the rapid switching without changing codes or configuration, thereby ensuring the processing efficiency of the flight ground service guarantee data information.

Description

Method, device, equipment and medium for switching between main and standby systems of flight ground service guarantee
Technical Field
The application relates to the technical field of aviation, in particular to a method, a device, equipment and a medium for switching between main and standby systems of flight ground service guarantee.
Background
The development of civil aviation industry is normalized, and the service scale is continuously increased. The passenger traffic of airlines rapidly increases year by year, the guarantee pressure of the ground service of the flight gradually increases, the ground service of the flight relates to luggage mail, luggage trailer driving route, allocation of airplane stop positions and other guarantee links, the normal propulsion of each guarantee link is ensured, and then the flight normality is ensured, and the urgency and the necessity of the service quality are improved. At present, a large-scale airline company can generate machine room level faults in the aspect of flight security, and when the machine room fails, flight ground service security data cannot be provided for users, so that the processing efficiency of flight ground service security data information is affected. Therefore, when the machine room breaks down, how to continuously ensure the processing efficiency of the flight ground service guarantee data information becomes a technical problem which is not small.
Disclosure of Invention
In view of the above, the present application aims to provide a method, an apparatus, a device, and a medium for switching between a main system and a standby system of a flight ground service guarantee, in which only the main system of the flight ground service guarantee bears the whole platform service at the same time, when the main system of the flight ground service guarantee fails, the main system and the standby system are exchanged, the original main system of the flight ground service guarantee becomes the main system, and the quick switching can be realized without changing codes or configuration by DNS, thereby guaranteeing the processing efficiency of the data information of the flight ground service guarantee.
The embodiment of the application provides a method for switching between main systems and standby systems of a flight ground service guarantee, which comprises the following steps:
acquiring domain name address information of a visiting flight ground service guarantee main system input by a target user under a target airport;
detecting whether a main service platform and a main data platform in the flight ground service guarantee main system are normal or not;
if yes, resolving the domain name address information to a gateway of the flight ground service guarantee main system based on a DNS resolving method so that the target user accesses the flight ground service guarantee main system to acquire flight ground service guarantee data information;
if not, resolving the domain name address information to a gateway of a flight ground service support system based on the DNS resolving method, and switching the flight ground service support system to be used as a main system so that the target user accesses the flight ground service support system to acquire the flight ground service support data information; and the flight ground service guarantee main system and the flight ground service guarantee standby system are consistent in system architecture and perform data synchronization.
In one possible implementation manner, the resolving the domain name address information to the gateway of the flight ground service guarantee main system based on the DNS resolving method, so that the target user accesses the flight ground service guarantee main system to obtain flight ground service guarantee data information, includes:
And if the main data platform does not fail and the main service platform does not fail, resolving the domain name address information to a gateway of a flight ground service guarantee main system based on the DNS resolving method, and enabling the target user to access the main service platform so as to enable the target user to acquire the flight ground service guarantee data information of the main data platform received by the main service platform.
In one possible implementation manner, the resolving the domain name address information to a gateway of a flight ground service support system based on the DNS resolving method switches the flight ground service support system to be used as a main system, so that the target user accesses the flight ground service support system to obtain the flight ground service support data information, and the method includes:
and if the main data platform does not fail and the main service platform fails, resolving the domain name address information to a gateway of a flight ground service support system based on the DNS resolving method, and enabling the target user to access the standby service platform of the flight ground service support system so as to enable the target user to acquire the flight ground service support data information which is received by the standby service platform and is used for synchronizing the data of the main data platform to the standby data platform of the flight ground service support system.
In one possible implementation manner, the resolving the domain name address information to a gateway of a flight ground service support system based on the DNS resolving method switches the flight ground service support system to be used as a main system, so that the target user accesses the flight ground service support system to obtain the flight ground service support data information, and the method includes:
if the main data platform and the main service platform are both faulty, resolving the domain name address information to a gateway of a flight ground service support system based on the DNS resolving method, switching the flight ground service support system to serve as a main system, cutting off connection between an upstream system and the flight ground service support main system, and enabling a target user to access a standby service platform of the flight ground service support system so as to enable the target user to acquire the flight ground service support data information provided by the upstream system to the standby data platform of the flight ground service support system, wherein the standby service platform is received by the standby service platform.
In one possible implementation manner, on the gateway that resolves the domain name address information to a flight ground service support system based on the DNS resolution method, the flight ground service support system is switched to be used as a main system, so that after the target user accesses the flight ground service support system to obtain the flight ground service support data information, the flight ground service support main system switching method further includes:
Detecting whether the flight ground service guarantee main system is recovered to be normal or not;
if yes, carrying out data compensation on the flight ground service guarantee data information in the flight ground service guarantee main system;
if not, the flight ground service support system continues to serve as a main system.
In one possible implementation, the data synchronization is performed for the space between the primary data platform and the backup data platform by:
determining a target storage component of the data in the main data platform;
detecting whether data in the target storage component needs to be subjected to data synchronization or not;
if yes, determining a reference storage component which is consistent with the target storage component in the standby data platform, and synchronously storing the data into the reference storage component;
if not, the data in the target storage component is not subjected to data synchronization.
The embodiment of the application also provides a device for switching between the main and standby systems of the flight ground service guarantee, which comprises:
the acquisition module is used for acquiring domain name address information of the visiting flight ground service guarantee main system, which is input by a target user under a target aviation station;
The detection module is used for detecting whether the main service platform and the main data platform in the flight ground service guarantee main system are normal or not;
the main system access module is used for resolving the domain name address information to a gateway of the flight ground service guarantee main system based on a DNS resolution method if the domain name address information is the domain name address information, so that the target user accesses the flight ground service guarantee main system to acquire flight ground service guarantee data information;
the standby system access module is used for resolving the domain name address information to a gateway of a flight ground service standby system based on the DNS resolution method if any one of the domain name address information and the domain name address information is not the same, and switching the flight ground service standby system to serve as a main system so that the target user accesses the flight ground service standby system to acquire the flight ground service security data information; and the flight ground service guarantee main system and the flight ground service guarantee standby system are consistent in system architecture and perform data synchronization.
In one possible implementation manner, the main system access module is used for resolving the domain name address information to a gateway of the flight ground service guarantee main system based on the DNS resolution method, so that when the target user accesses the flight ground service guarantee main system to obtain flight ground service guarantee data information, the main system access module is specifically used for:
And if the main data platform does not fail and the main service platform does not fail, resolving the domain name address information to a gateway of a flight ground service guarantee main system based on the DNS resolving method, and enabling the target user to access the main service platform so as to enable the target user to acquire the flight ground service guarantee data information of the main data platform received by the main service platform.
The embodiment of the application also provides electronic equipment, which comprises: the system comprises a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, the processor and the memory are communicated through the bus when the electronic device runs, and the machine-readable instructions are executed by the processor to execute the steps of the flight ground service guarantee main and standby system switching method.
The embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium is stored with a computer program, and the computer program executes the steps of the flight ground service guarantee main and standby system switching method when being run by a processor.
The method, the device, the equipment and the medium for switching between the main and the standby systems of the flight ground service guarantee provided by the embodiment of the application comprise the following steps: acquiring domain name address information of a visiting flight ground service guarantee main system input by a target user under a target airport; detecting whether a main service platform and a main data platform in the flight ground service guarantee main system are normal or not; if yes, resolving the domain name address information to a gateway of the flight ground service guarantee main system based on a DNS resolving method so that the target user accesses the flight ground service guarantee main system to acquire flight ground service guarantee data information; if not, resolving the domain name address information to a gateway of a flight ground service support system based on the DNS resolving method, and switching the flight ground service support system to be used as a main system so that the target user accesses the flight ground service support system to acquire the flight ground service support data information; and the flight ground service guarantee main system and the flight ground service guarantee standby system are consistent in system architecture and perform data synchronization. The application has the beneficial effects that only the flight ground service guarantee main system bears the whole platform service at the same time, when the flight ground service guarantee main system fails, the main and standby systems are exchanged, the original flight ground service guarantee standby system is changed into the main system, and the quick switching can be realized by the DNS mode without changing codes or configuration, thereby guaranteeing the processing efficiency of the flight ground service guarantee data information.
In order to make the above objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for switching between primary and secondary systems of a flight ground service guarantee provided by an embodiment of the application;
FIG. 2 is a schematic diagram of a method for switching between primary and secondary systems of a flight ground service guarantee according to an embodiment of the present application;
FIG. 3 is a second schematic diagram of a method for switching between primary and secondary systems of a flight ground service guarantee according to an embodiment of the present application;
FIG. 4 is a third schematic diagram of a method for switching between primary and secondary systems of a flight ground service guarantee according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a switching device between primary and secondary systems for providing a flight ground service guarantee according to an embodiment of the present application;
FIG. 6 is a second schematic diagram of a switching device between primary and secondary systems for providing a ground service for a flight according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described with reference to the accompanying drawings in the embodiments of the present application, and it should be understood that the drawings in the present application are for the purpose of illustration and description only and are not intended to limit the scope of the present application. In addition, it should be understood that the schematic drawings are not drawn to scale. A flowchart, as used in this disclosure, illustrates operations implemented according to some embodiments of the present application. It should be appreciated that the operations of the flow diagrams may be implemented out of order and that steps without logical context may be performed in reverse order or concurrently. Moreover, one or more other operations may be added to or removed from the flow diagrams by those skilled in the art under the direction of the present disclosure.
In addition, the described embodiments are only some, but not all, embodiments of the application. The components of the embodiments of the present application generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the application, as presented in the figures, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by a person skilled in the art based on embodiments of the application without making any inventive effort, fall within the scope of the application.
In order to enable those skilled in the art to use the present disclosure, the following embodiments are provided in connection with a specific application scenario "switch between a flight ground suit security main system and a standby system", and it is possible for those skilled in the art to apply the general principles defined herein to other embodiments and application scenarios without departing from the spirit and scope of the present disclosure.
The method, the device, the electronic equipment or the computer readable storage medium can be applied to any scene where the switching between the main system and the standby system of the flight ground suit is required, the embodiment of the application does not limit the specific application scene, and any scheme using the method, the device, the equipment and the medium for switching between the main system and the standby system of the flight ground suit provided by the embodiment of the application is within the protection scope of the application.
First, an application scenario to which the present application is applicable will be described. The application can be applied to the technical field of aviation.
Through research, the development of civil aviation industry is normalized, and the service scale is continuously increased. The passenger traffic of airlines rapidly increases year by year, the guarantee pressure of the ground service of the flight gradually increases, the ground service of the flight relates to luggage mail, luggage trailer driving route, allocation of airplane stop positions and other guarantee links, the normal propulsion of each guarantee link is ensured, and then the flight normality is ensured, and the urgency and the necessity of the service quality are improved. At present, a large-scale airline company can generate machine room level faults in the aspect of flight security, and when the machine room fails, flight ground service security data cannot be provided for users, so that the processing efficiency of flight ground service security data information is affected. Therefore, when the machine room breaks down, how to continuously ensure the processing efficiency of the flight ground service guarantee data information becomes a technical problem which is not small.
Based on the above, the embodiment of the application provides a method for switching between the main and standby systems of the flight ground service guarantee, wherein only the main system of the flight ground service guarantee bears the whole platform service at the same time, when the main system of the flight ground service guarantee fails, the main and standby systems are exchanged, the original main system of the flight ground service guarantee becomes the main system, the switching is performed in a DNS mode, and the quick switching can be realized without changing codes or configuration, so that the processing efficiency of the data information of the flight ground service guarantee is guaranteed.
Referring to fig. 1, fig. 1 is a flowchart of a method for switching between main and standby systems of a flight ground service guarantee according to an embodiment of the present application. As shown in fig. 1, the method for switching between the main and standby systems of the flight ground service guarantee provided by the embodiment of the application includes:
s101: and acquiring domain name address information of the visited flight ground service guarantee main system, which is input by a target user under the target terminal.
In the step, domain name address information of a visiting flight ground service guarantee main system, which is input by a target user under a target aviation station, is acquired.
Here, the domain name address information may be web address information of the visiting flight ground service guarantee host system input by the target user.
The flight ground service guarantee main system is deployed on a national navigation global ground service flight guarantee platform, and only the main system bears the service of the whole platform at the same time.
S102: and detecting whether the main service platform and the main data platform in the flight ground service guarantee main system are normal or not.
In the step, whether a main service platform and a main data platform in a flight ground service guarantee main system are normal or not is detected.
The main service platform is used for realizing other services such as flight monitoring, intelligent scheduling of flights and the like, and the main data platform is used for receiving data sent by an upstream system and storing the data or sending the data to the main service platform when the main service platform needs the data.
S103: and if so, resolving the domain name address information to a gateway of the flight ground service guarantee main system based on a DNS resolving method so that the target user accesses the flight ground service guarantee main system to acquire flight ground service guarantee data information.
In the step, if the main service platform and the main data platform are normal, the domain name address information is resolved to a gateway of the flight ground service guarantee main system according to a DNS resolution method, so that a target user accesses the flight ground service guarantee main system to acquire flight ground service guarantee data information.
In one possible implementation manner, the resolving the domain name address information to the gateway of the flight ground service guarantee main system based on the DNS resolving method, so that the target user accesses the flight ground service guarantee main system to obtain flight ground service guarantee data information, includes:
and if the main data platform does not fail and the main service platform does not fail, resolving the domain name address information to a gateway of a flight ground service guarantee main system based on the DNS resolving method, and enabling the target user to access the main service platform so as to enable the target user to acquire the flight ground service guarantee data information of the main data platform received by the main service platform.
If the main data platform and the main service platform do not have faults, resolving the domain name address information to a gateway of the flight ground service guarantee main system according to a DNS resolving method, and enabling a target user to access the main service platform so as to enable the target user to acquire the flight ground service guarantee data information of the main data platform received by the main service platform.
When the main data platform and the main service platform have no faults, the flight module in the main data platform receives data provided by an upstream system and transmits the data to the Kafka module in the main data platform, and the Kafka module transmits the data to the main service platform, wherein the data can comprise flight ground service guarantee data information but not limited to only flight ground service guarantee data information, can also comprise flight information and the like and is required to be provided according to the service type of the main service platform.
S104: if not, resolving the domain name address information to a gateway of a flight ground service support system based on the DNS resolving method, and switching the flight ground service support system to serve as a main system so that the target user accesses the flight ground service support system to acquire the flight ground service support data information.
In the step, if one of the main service platform and the main data platform is abnormal, the domain name address information is resolved to a gateway of the flight ground service support system according to a DNS resolution method, and the flight ground service support system is switched to serve as the main system, so that a target user accesses the flight ground service support system to acquire flight ground service support data information.
And the flight ground service guarantee main system and the flight ground service guarantee standby system are consistent in system architecture and perform data synchronization.
Here, the flight ground service support system also comprises a support service platform and a support data platform.
In one possible implementation manner, the resolving the domain name address information to a gateway of a flight ground service support system based on the DNS resolving method switches the flight ground service support system to be used as a main system, so that the target user accesses the flight ground service support system to obtain the flight ground service support data information, and the method includes:
And if the main data platform does not fail and the main service platform fails, resolving the domain name address information to a gateway of a flight ground service support system based on the DNS resolving method, and enabling the target user to access the standby service platform of the flight ground service support system so as to enable the target user to acquire the flight ground service support data information which is received by the standby service platform and is used for synchronizing the data of the main data platform to the standby data platform of the flight ground service support system.
If the main data platform does not fail and the main service platform fails, resolving domain name address information to a gateway of the flight ground service support system according to a DNS resolving method, and enabling a target user to access a standby service platform of the flight ground service support system so as to enable the target user to acquire flight ground service support data information of the main data platform received by the standby service platform and synchronizing the standby data platform data of the flight ground service support system.
When the main data platform fails and the main service platform fails, the main data platform can further receive data sent by the upstream system, but because the main service platform fails, domain name address information needs to be resolved to a gateway of a flight ground service support system, a flight module in the main data platform receives the data provided by the upstream system and sends the data to a Kafka module in the main data platform, the Kafka module in the main data platform synchronizes the data to a Kafka module of the standby data platform, and the Kafka module of the standby data platform sends flight ground service support data information required by a target user to the standby service platform.
In one possible implementation, the data synchronization is performed for the space between the primary data platform and the backup data platform by:
a: and determining a target storage component of the data in the main data platform.
Here, the target storage components of the primary data platform have MySQL, elasticsearch, rabbitMQ, kafka and Redis.
b: and detecting whether the data in the target storage component needs to be subjected to data synchronization or not.
Here, it is detected whether data within the target storage component requires data synchronization.
According to preset requirements, mySQL, elasticsearch and Kafka in the main data platform are required to be synchronized, and RabbitMQ and Redis are not required to be synchronized; mySQL and elastic search in the monitoring system in the main service platform need to be synchronized, and Kafka, rabbitMQ and Redis do not need to be synchronized; mySQL in intelligent scheduling in the main service platform performs data synchronization, and no synchronization is needed for Elasticsearch, kafka, rabbitMQ and Redis.
c: if yes, determining a reference storage component which is consistent with the target storage component in the standby data platform, and synchronously storing the data into the reference storage component. If not, the data in the target storage component is not subjected to data synchronization.
If the synchronization is needed, determining a reference storage component which is consistent with the target storage component in the backup data platform, and storing the data synchronization into the reference storage component, and if the synchronization is not needed, not synchronizing the data in the target storage component.
For example, mySQL data in the primary data platform needs to be data synchronized with MySQL data in the backup data platform.
(1) MySQL synchronization scheme: the solution using the open source tool saves development time, is easy to implement, and has a certain degree of customization and flexibility. The double-center synchronization and the center-to-minimum emergency system use the same set of data synchronization schemes, and the difference is that the synchronous data ranges and frequencies are different.
(2) Elastic search synchronization scheme: in the synchronization program, a timing call reindex interface is adopted, the reindex is an API interface provided by the ES, and data can be imported from a source ES cluster to a current ES cluster to realize intra-cluster or cross-cluster synchronization of the data.
(3) Kafka synchronization scheme: mirrorMaker is a tool attached to Kafka for creating mirrored data between Kafka clusters that is consumed from source clusters and produced to target clusters. Essentially, mirrorMaker is a consumer + producer program. The consumer is responsible for consuming data from a Source Cluster (Source Cluster) and the producer is responsible for sending messages to a Target Cluster (Target Cluster).
In one possible implementation manner, the resolving the domain name address information to a gateway of a flight ground service support system based on the DNS resolving method switches the flight ground service support system to be used as a main system, so that the target user accesses the flight ground service support system to obtain the flight ground service support data information, and the method includes:
if the main data platform and the main service platform are both faulty, resolving the domain name address information to a gateway of a flight ground service support system based on the DNS resolving method, switching the flight ground service support system to serve as a main system, cutting off connection between an upstream system and the flight ground service support main system, and enabling a target user to access a standby service platform of the flight ground service support system so as to enable the target user to acquire the flight ground service support data information provided by the upstream system to the standby data platform of the flight ground service support system, wherein the standby service platform is received by the standby service platform.
If the main data platform and the main service platform are both faulty, resolving the domain name address information to a gateway of the flight ground service support system according to the DNS resolving method, switching the flight ground service support system to serve as the main system, cutting off the connection between the upstream system and the flight ground service support main system, and enabling the target user to access the standby service platform of the flight ground service support system so as to enable the target user to acquire the flight ground service support data information provided by the upstream system received by the standby service platform to the standby data platform of the flight ground service support system.
When the main data platform and the main service platform are both faulty, the flight ground service support system is used as the main system, the flight module in the standby data platform in the flight ground service support system receives the data provided by the upstream system and sends the data to the Kafka module in the standby data platform, and the Kafka module in the standby data platform sends the data to the standby service platform, wherein the data can comprise flight ground service support data information but not limited to only flight ground service support data information, can also comprise flight information and the like and is required to be provided according to the service type of the standby service platform.
In one possible implementation manner, on the gateway that resolves the domain name address information to a flight ground service support system based on the DNS resolution method, the flight ground service support system is switched to be used as a main system, so that after the target user accesses the flight ground service support system to obtain the flight ground service support data information, the flight ground service support main system switching method further includes:
a: and detecting whether the flight ground service guarantee main system is recovered to be normal.
Here, it is detected whether the flight ground service guarantee host system is restored to normal.
B: if yes, carrying out data compensation on the flight ground service guarantee data information in the flight ground service guarantee main system.
Here, if the normal state is restored, the data compensation is performed on the flight ground service guarantee data information in the flight ground service guarantee main system.
Besides the data compensation of the flight ground service guarantee data information, other data information can be compensated. Because of various main system fault reasons, some data may be lost in the switching process, and data compensation is selectively performed according to actual conditions after switching. The compensated data mainly comprises flight time, guarantee nodes, the number of passengers and other information.
C: if not, the flight ground service support system continues to serve as a main system.
If the system is not recovered to be normal, the flight ground service support system continues to serve as a main system, and when the flight ground service support main system is recovered to be normal, the system is switched from the flight ground service support system to the flight ground service support main system, and data compensation is carried out on flight ground service support data information in the flight ground service support main system.
Here, the data synchronization process between the main service platform and the standby service platform is consistent with the data synchronization process between the main data platform and the standby data platform, and this part will not be described in detail.
The execution main body in the scheme is a server, and the server controls the flight ground service to ensure the switching between the main system and the standby system.
Further, referring to fig. 2, fig. 2 is a schematic diagram of a method for switching between main and standby systems of a flight ground service guarantee according to an embodiment of the present application. As shown in fig. 2, the DNS resolution method resolves domain name address information input by a user to a gateway of a flight ground service support main system, a link module in a main data platform receives data provided by an upstream system and sends the data to a Kafka module in the main data platform, the Kafka module in the main data platform sends the data to a main service platform, and the Kafka module in the main data platform and the Kafka module in a standby data platform perform data synchronization.
Further, referring to fig. 3, fig. 3 is a second schematic diagram of a method for switching between main and standby systems of a flight ground service guarantee according to an embodiment of the present application. As shown in fig. 3, when the main data platform fails and the main service platform fails, the main data platform receives data sent by the upstream system, but because the main service platform fails, domain name address information input by a target user needs to be resolved to a gateway of a flight ground service support system, a link module in the main data platform receives data provided by the upstream system and sends the data to a Kafka module in the main data platform, the Kafka module in the main data platform synchronizes the data to a Kafka module of a standby data platform, and the Kafka module of the standby data platform sends data information required by the target user to the standby service platform.
Further, referring to fig. 4, fig. 4 is a third schematic diagram of a method for switching between main and standby systems of a flight ground service guarantee according to an embodiment of the present application. As shown in fig. 4, when both the main data platform and the main service platform fail, the domain name address information input by the target user is resolved to the gateway of the flight ground service support system according to the DNS resolution method, the flight ground service support system is switched to be used as the main system, the link module in the standby data platform in the flight ground service support system receives the data provided by the upstream system and sends the data to the Kafka module in the standby data platform, and the Kafka module in the standby data platform sends the data to the standby service platform.
The method for switching between the main and the auxiliary systems of the flight ground service guarantee provided by the embodiment of the application comprises the following steps: acquiring domain name address information of a visiting flight ground service guarantee main system input by a target user under a target airport; detecting whether a main service platform and a main data platform in the flight ground service guarantee main system are normal or not; if yes, resolving the domain name address information to a gateway of the flight ground service guarantee main system based on a DNS resolving method so that the target user accesses the flight ground service guarantee main system to acquire flight ground service guarantee data information; if not, resolving the domain name address information to a gateway of a flight ground service support system based on the DNS resolving method, and switching the flight ground service support system to be used as a main system so that the target user accesses the flight ground service support system to acquire the flight ground service support data information; and the flight ground service guarantee main system and the flight ground service guarantee standby system are consistent in system architecture and perform data synchronization. Only the flight ground service guarantee main system bears the whole platform service at the same moment, when the flight ground service guarantee main system fails, the main and standby systems are exchanged, the original flight ground service guarantee standby system is changed into the main system, and the quick switching can be realized without changing codes or configuration by the DNS mode, so that the processing efficiency of the flight ground service guarantee data information is guaranteed.
Referring to fig. 5 and 6, fig. 5 is a schematic structural diagram of a switching device between main and standby systems for providing a ground service for a flight according to an embodiment of the present application; fig. 6 is a second schematic structural diagram of a switching device between main and standby systems for a flight ground service guarantee according to an embodiment of the present application. As shown in fig. 5, the flight ground service support inter-system switching device 500 includes:
the acquiring module 510 is configured to acquire domain name address information of the visited flight ground service guarantee main system input by a target user at a target terminal;
the detection module 520 is configured to detect whether the main service platform and the main data platform in the flight ground service guarantee main system are normal;
the main system access module 530 is configured to parse the domain name address information to a gateway of the flight ground service support main system based on a DNS resolution method, so that the target user accesses the flight ground service support main system to obtain flight ground service support data information;
the backup system access module 540 is configured to, if any one of the two types of the target users is not the same, resolve the domain name address information to a gateway of a flight ground service backup system based on the DNS resolution method, and switch the flight ground service backup system to be used as a main system, so that the target user accesses the flight ground service backup system to obtain the flight ground service backup data information; and the flight ground service guarantee main system and the flight ground service guarantee standby system are consistent in system architecture and perform data synchronization.
Further, the main system access module 530 is configured to, when the DNS resolution method is used to resolve the domain name address information to a gateway of the flight ground service support main system, so that the target user accesses the flight ground service support main system to obtain flight ground service support data information, the main system access module 530 is specifically configured to:
and if the main data platform does not fail and the main service platform does not fail, resolving the domain name address information to a gateway of a flight ground service guarantee main system based on the DNS resolving method, and enabling the target user to access the main service platform so as to enable the target user to acquire the flight ground service guarantee data information of the main data platform received by the main service platform.
Further, the backup system access module 540 switches the flight ground service backup system to be used as a main system on a gateway for resolving the domain name address information to the flight ground service backup system based on the DNS resolution method, so that when the target user accesses the flight ground service backup system to acquire the flight ground service data information, the backup system access module 540 is specifically configured to:
And if the main data platform does not fail and the main service platform fails, resolving the domain name address information to a gateway of a flight ground service support system based on the DNS resolving method, and enabling the target user to access the standby service platform of the flight ground service support system so as to enable the target user to acquire the flight ground service support data information which is received by the standby service platform and is used for synchronizing the data of the main data platform to the standby data platform of the flight ground service support system.
Further, the backup system access module 540 switches the flight ground service backup system to be used as a main system on a gateway for resolving the domain name address information to the flight ground service backup system based on the DNS resolution method, so that when the target user accesses the flight ground service backup system to acquire the flight ground service data information, the backup system access module 540 is specifically configured to:
if the main data platform and the main service platform are both faulty, resolving the domain name address information to a gateway of a flight ground service support system based on the DNS resolving method, switching the flight ground service support system to serve as a main system, cutting off connection between an upstream system and the flight ground service support main system, and enabling a target user to access a standby service platform of the flight ground service support system so as to enable the target user to acquire the flight ground service support data information provided by the upstream system to the standby data platform of the flight ground service support system, wherein the standby service platform is received by the standby service platform.
Further, as shown in fig. 6, the flight ground service support inter-system switching device 500 further includes a data synchronization module 550, where the data synchronization module 550 is configured to:
detecting whether the flight ground service guarantee main system is recovered to be normal or not;
if yes, carrying out data compensation on the flight ground service guarantee data information in the flight ground service guarantee main system;
if not, the flight ground service support system continues to serve as a main system.
Further, the data synchronization module 550 performs the data synchronization between the primary data platform and the backup data platform by:
determining a target storage component of the data in the main data platform;
detecting whether data in the target storage component needs to be subjected to data synchronization or not;
if yes, determining a reference storage component which is consistent with the target storage component in the standby data platform, and synchronously storing the data into the reference storage component;
if not, the data in the target storage component is not subjected to data synchronization.
The embodiment of the application provides a switching device between main and standby systems of a flight ground service guarantee, which comprises the following components: the acquisition module is used for acquiring domain name address information of the visiting flight ground service guarantee main system, which is input by a target user under a target aviation station; the detection module is used for detecting whether the main service platform and the main data platform in the flight ground service guarantee main system are normal or not; the main system access module is used for resolving the domain name address information to a gateway of the flight ground service guarantee main system based on a DNS resolution method if the domain name address information is the domain name address information, so that the target user accesses the flight ground service guarantee main system to acquire flight ground service guarantee data information; the standby system access module is used for resolving the domain name address information to a gateway of a flight ground service standby system based on the DNS resolution method if any one of the domain name address information and the domain name address information is not the same, and switching the flight ground service standby system to serve as a main system so that the target user accesses the flight ground service standby system to acquire the flight ground service security data information; and the flight ground service guarantee main system and the flight ground service guarantee standby system are consistent in system architecture and perform data synchronization. Only the flight ground service guarantee main system bears the whole platform service at the same moment, when the flight ground service guarantee main system fails, the main and standby systems are exchanged, the original flight ground service guarantee standby system is changed into the main system, and the quick switching can be realized without changing codes or configuration by the DNS mode, so that the processing efficiency of the flight ground service guarantee data information is guaranteed.
Referring to fig. 7, fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the application. As shown in fig. 7, the electronic device 700 includes a processor 710, a memory 720, and a bus 730.
The memory 720 stores machine-readable instructions executable by the processor 710, when the electronic device 700 is running, the processor 710 communicates with the memory 720 through the bus 730, and when the machine-readable instructions are executed by the processor 710, the steps of the method for guaranteeing a handover between primary and secondary systems for a flight ground service in the method embodiment shown in fig. 1 can be executed, and the specific implementation can refer to the method embodiment and will not be repeated herein.
The embodiment of the present application further provides a computer readable storage medium, where a computer program is stored on the computer readable storage medium, and when the computer program is executed by a processor, the steps of the method for guaranteeing the handover between primary and secondary systems of a flight ground service in the method embodiment shown in fig. 1 can be executed, and the specific implementation manner can refer to the method embodiment and is not repeated herein.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be other manners of division in actual implementation, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown 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 may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer readable storage medium executable by a processor. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Finally, it should be noted that: the above examples are only specific embodiments of the present application, and are not intended to limit the scope of the present application, but it should be understood by those skilled in the art that the present application is not limited thereto, and that the present application is described in detail with reference to the foregoing examples: any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or perform equivalent substitution of some of the technical features, while remaining within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application. Therefore, the protection scope of the application is subject to the protection scope of the claims.

Claims (9)

1. The method for switching between the main and the auxiliary systems of the ground service of the flight is characterized by comprising the following steps of:
acquiring domain name address information of a visiting flight ground service guarantee main system input by a target user under a target airport;
detecting whether a main service platform and a main data platform in the flight ground service guarantee main system are normal or not;
if yes, resolving the domain name address information to a gateway of the flight ground service guarantee main system based on a DNS resolving method so that the target user accesses the flight ground service guarantee main system to acquire flight ground service guarantee data information;
if not, resolving the domain name address information to a gateway of a flight ground service support system based on the DNS resolving method, and switching the flight ground service support system to be used as a main system so that the target user accesses the flight ground service support system to acquire the flight ground service support data information; the flight ground service guarantee main system and the flight ground service guarantee standby system are consistent in system architecture and perform data synchronization;
the analyzing the domain name address information to a gateway of a flight ground service support system based on the DNS analyzing method, and switching the flight ground service support system to be used as a main system so that the target user accesses the flight ground service support system to acquire the flight ground service support data information, wherein the method comprises the following steps:
And if the main data platform does not fail and the main service platform fails, resolving the domain name address information to a gateway of a flight ground service support system based on the DNS resolving method, and enabling the target user to access the standby service platform of the flight ground service support system so as to enable the target user to acquire the flight ground service support data information which is received by the standby service platform and is used for synchronizing the data of the main data platform to the standby data platform of the flight ground service support system.
2. The method for switching between the main and auxiliary systems of the ground service guarantee for the flight according to claim 1, wherein the analyzing the domain name address information to the gateway of the main system of the ground service guarantee for the flight based on the DNS analyzing method, so that the target user accesses the main system of the ground service guarantee for the flight to obtain the data information of the ground service guarantee for the flight, comprises:
and if the main data platform does not fail and the main service platform does not fail, resolving the domain name address information to a gateway of a flight ground service guarantee main system based on the DNS resolving method, and enabling the target user to access the main service platform so as to enable the target user to acquire the flight ground service guarantee data information of the main data platform received by the main service platform.
3. The method for switching between the main and standby flight ground service systems according to claim 1, wherein the analyzing the domain name address information to the gateway of the flight ground service system based on the DNS analyzing method switches the flight ground service system as the main system, so that the target user accesses the flight ground service system to obtain the flight ground service data information, comprising:
if the main data platform and the main service platform are both faulty, resolving the domain name address information to a gateway of a flight ground service support system based on the DNS resolving method, switching the flight ground service support system to serve as a main system, cutting off connection between an upstream system and the flight ground service support main system, and enabling a target user to access a standby service platform of the flight ground service support system so as to enable the target user to acquire the flight ground service support data information provided by the upstream system to the standby data platform of the flight ground service support system, wherein the standby service platform is received by the standby service platform.
4. The method for switching between flight ground service guarantee systems according to claim 1, wherein the method for switching between the flight ground service guarantee systems as a main system on a gateway for resolving the domain name address information to the flight ground service guarantee systems based on the DNS resolving method, so that the target user accesses the flight ground service guarantee systems to acquire the flight ground service guarantee data information, further comprises:
Detecting whether the flight ground service guarantee main system is recovered to be normal or not;
if yes, carrying out data compensation on the flight ground service guarantee data information in the flight ground service guarantee main system;
if not, the flight ground service support system continues to serve as a main system.
5. The method for switching between main and standby systems of flight ground service guarantee according to claim 1, wherein the data synchronization is performed between the main data platform and the standby data platform by:
determining a target storage component of the data in the main data platform;
detecting whether data in the target storage component needs to be subjected to data synchronization or not;
if yes, determining a reference storage component which is consistent with the target storage component in the standby data platform, and synchronously storing the data into the reference storage component;
if not, the data in the target storage component is not subjected to data synchronization.
6. The switching device between the main and the standby systems of the flight ground service guarantee is characterized by comprising:
the acquisition module is used for acquiring domain name address information of the visiting flight ground service guarantee main system, which is input by a target user under a target aviation station;
The detection module is used for detecting whether the main service platform and the main data platform in the flight ground service guarantee main system are normal or not;
the main system access module is used for resolving the domain name address information to a gateway of the flight ground service guarantee main system based on a DNS resolution method if the domain name address information is the domain name address information, so that the target user accesses the flight ground service guarantee main system to acquire flight ground service guarantee data information;
the standby system access module is used for resolving the domain name address information to a gateway of a flight ground service standby system based on the DNS resolution method if any one of the domain name address information and the domain name address information is not the same, and switching the flight ground service standby system to serve as a main system so that the target user accesses the flight ground service standby system to acquire the flight ground service security data information; the flight ground service guarantee main system and the flight ground service guarantee standby system are consistent in system architecture and perform data synchronization;
the backup system access module is used for switching the flight ground service support system to be used as a main system on a gateway for resolving the domain name address information to the flight ground service support system based on the DNS resolving method, so that when the target user accesses the flight ground service support system to acquire the flight ground service support data information, the backup system access module is specifically used for:
And if the main data platform does not fail and the main service platform fails, resolving the domain name address information to a gateway of a flight ground service support system based on the DNS resolving method, and enabling the target user to access the standby service platform of the flight ground service support system so as to enable the target user to acquire the flight ground service support data information which is received by the standby service platform and is used for synchronizing the data of the main data platform to the standby data platform of the flight ground service support system.
7. The apparatus for switching between a main system and a standby system of a flight ground service support according to claim 6, wherein the main system access module is configured to, when the target user accesses the flight ground service support main system to obtain flight ground service support data information by resolving the domain name address information to a gateway of the flight ground service support main system based on the DNS resolution method, the main system access module is specifically configured to:
and if the main data platform does not fail and the main service platform does not fail, resolving the domain name address information to a gateway of a flight ground service guarantee main system based on the DNS resolving method, and enabling the target user to access the main service platform so as to enable the target user to acquire the flight ground service guarantee data information of the main data platform received by the main service platform.
8. An electronic device, comprising: a processor, a memory and a bus, said memory storing machine readable instructions executable by said processor, said processor and said memory communicating via said bus when the electronic device is running, said machine readable instructions when executed by said processor performing the steps of the flight ground clearance inter-primary and secondary system switching method of any one of claims 1 to 5.
9. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, performs the steps of the flight ground service assurance inter-primary and secondary system switching method of any one of claims 1 to 5.
CN202310745484.1A 2023-06-25 2023-06-25 Method, device, equipment and medium for switching between main and standby systems of flight ground service guarantee Active CN116545843B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310745484.1A CN116545843B (en) 2023-06-25 2023-06-25 Method, device, equipment and medium for switching between main and standby systems of flight ground service guarantee

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310745484.1A CN116545843B (en) 2023-06-25 2023-06-25 Method, device, equipment and medium for switching between main and standby systems of flight ground service guarantee

Publications (2)

Publication Number Publication Date
CN116545843A CN116545843A (en) 2023-08-04
CN116545843B true CN116545843B (en) 2023-09-12

Family

ID=87449038

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310745484.1A Active CN116545843B (en) 2023-06-25 2023-06-25 Method, device, equipment and medium for switching between main and standby systems of flight ground service guarantee

Country Status (1)

Country Link
CN (1) CN116545843B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107465556A (en) * 2017-09-07 2017-12-12 郑州云海信息技术有限公司 A kind of switching method of active/standby server, apparatus and system
CN112651673A (en) * 2021-01-18 2021-04-13 中国民航信息网络股份有限公司 Resource planning method and related equipment
CN113347020A (en) * 2021-04-29 2021-09-03 上海淇玥信息技术有限公司 Domain name service disaster recovery method, system, device and medium
CN114661807A (en) * 2022-04-02 2022-06-24 中国民航信息网络股份有限公司 Method, device, equipment and medium for processing abnormity of flight management system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11159909B2 (en) * 2008-02-05 2021-10-26 Victor Thomas Anderson Wireless location establishing device
US8315237B2 (en) * 2008-10-29 2012-11-20 Google Inc. Managing and monitoring emergency services sector resources

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107465556A (en) * 2017-09-07 2017-12-12 郑州云海信息技术有限公司 A kind of switching method of active/standby server, apparatus and system
CN112651673A (en) * 2021-01-18 2021-04-13 中国民航信息网络股份有限公司 Resource planning method and related equipment
CN113347020A (en) * 2021-04-29 2021-09-03 上海淇玥信息技术有限公司 Domain name service disaster recovery method, system, device and medium
CN114661807A (en) * 2022-04-02 2022-06-24 中国民航信息网络股份有限公司 Method, device, equipment and medium for processing abnormity of flight management system

Also Published As

Publication number Publication date
CN116545843A (en) 2023-08-04

Similar Documents

Publication Publication Date Title
US8503484B2 (en) System and method for a cross channel data link
EP2632081B1 (en) Path switch-back method and apparatus in transport network
WO2018023994A1 (en) Disaster-recovery switching method, node, and system
US20170308446A1 (en) System and method for disaster recovery of cloud applications
CN106970861A (en) A kind of virtual machine fault-tolerance approach and system
CN110581782A (en) Disaster tolerance data processing method, device and system
CN109656753A (en) A kind of Redundant backup system applied to track traffic synthetic monitoring system
CN111654384A (en) Main/standby switching method, BRAS (broadband remote Access Server) equipment and storage medium
CN116545843B (en) Method, device, equipment and medium for switching between main and standby systems of flight ground service guarantee
CN105959145B (en) A kind of method and system for the concurrent management server being applicable in high availability cluster
JP6012535B2 (en) Time information transmission device
CN110716828B (en) Database real-time backup method
CN111078463B (en) Data backup method, device and system
CN103414591A (en) Method and system for fast converging when port failure is recovered
CN113535484B (en) System and method for realizing RNP AR function through extended computer
CN101567804A (en) Method, equipment and system for realizing protection of system anomaly
CN104354723A (en) Integrated monitoring method and system for track traffic
JP2010231257A (en) High availability system and method for handling failure of high availability system
CN111666170B (en) Fault node processing method and device based on distributed framework
CN108011869A (en) The centralized rights management of track traffic synthetic monitoring and distributed authorization check method
Gohil et al. Redundancy management and synchronization in avionics communication products
CN112990867A (en) Method, system and equipment for realizing high availability of document platform service
CN113259044A (en) 5G extended pico-base station redundant time service synchronization device and control method thereof
CN112506459A (en) Data synchronization method and system for avionics system comprehensive display control unit
CN111857969A (en) Data disaster recovery reconstruction method, system, device and storage medium

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