Data backup method based on departure system and related device
By filtering, packetizing and splitting the data backup method of the departure system, a fine-grained restoreable data set is formed, which solves the problems of large data range and coarse granularity in the existing technology, and realizes an efficient data backup process .
Patent Information
- Application Number
- CN202411731430.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-28
- Publication Date
- 2024-12-31
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
During the data backup process of existing outbound systems, the data range is too large, the granularity is coarse, and the process of manual data preparation is cumbersome and inefficient.
By receiving the original departure message sent by the original departure cluster, filtering based on the preset message filtering conditions to remove redundant information; then packets are packetized based on the preset message packet conditions to form multiple independent The processed departure packets are packaged and split or aggregated to form a restoreable minimum set, and finally the restoreable minimum set that meets the preset restore conditions is transmitted to the disaster recovery departure cluster for backup.
Reduce the data range, improve the meticulousness of data granularity, realize automated processing, reduce manual participation, and improve backup efficiency.
Smart Images

Figure CN119226046A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of civil aviation technology, and in particular to a data backup method based on a departure system and related devices. Background Art
[0002] The departure system is a support system that provides full-process departure check-in services for airlines, airports, and passengers. The original departure cluster and the disaster recovery departure cluster are two inseparable parts of the departure system, which together ensure the stable and efficient operation of the departure system. The original departure cluster is the core of the departure system and is responsible for handling daily business operations; the disaster recovery departure cluster is the security guarantee of the original departure cluster and can take over the business of the original departure cluster when an abnormal situation occurs in the original departure cluster. In the process of the disaster recovery departure cluster taking over the business of the original departure cluster, the data backup process based on the departure system is particularly important.
[0003] At present, the original departure cluster and the disaster recovery departure cluster are generally switched directly at the physical layer and network link level. All data of the original departure cluster are backed up to the disaster recovery departure cluster, and then the required data is obtained through manual review, downloading, analysis and organization.
[0004] However, backing up all the data of the original outbound cluster to the disaster recovery outbound cluster involves a large data range and coarse granularity, and the process of manually preparing data is cumbersome and inefficient. Summary of the invention
[0005] In view of the above problems, the present application provides a data backup method and related devices based on the departure system to solve the problems of too large a data range, coarse granularity, and cumbersome and inefficient manual data preparation process. The specific scheme is as follows:
[0006] The first aspect of the present application provides a data backup method based on a departure system, comprising:
[0007] Receive the original departure message sent by the original departure cluster;
[0008] Based on a preset message filtering condition, the original departure message is filtered to obtain a filtered departure message;
[0009] Based on a preset message encapsulation condition, encapsulating the filtered outbound messages to obtain a plurality of outbound message encapsulation packages;
[0010] Splitting and / or aggregating the plurality of outbound message encapsulation packets to obtain a plurality of restorable minimum sets;
[0011] A restorable minimum set that meets a preset restoration condition among the multiple restorable minimum sets is determined as a target restorable minimum set, and the target restorable minimum set is transmitted to the disaster recovery departure cluster for backup.
[0012] A second aspect of the present application provides a data backup system based on a departure system, comprising:
[0013] A receiving module, used for receiving the original departure message sent by the original departure cluster;
[0014] A filtering module, used for filtering the original departure message based on a preset message filtering condition to obtain a filtered departure message;
[0015] A packaging module, used for packaging the filtered outbound messages based on a preset message packaging condition to obtain a plurality of outbound message packaging packages;
[0016] A processing module, used for performing splitting processing and / or aggregation processing on the plurality of outbound message encapsulation packets to obtain a plurality of restorable minimum sets;
[0017] The transmission module is used to determine the restorable minimum set that meets the preset restoration condition among the multiple restorable minimum sets as the target restorable minimum set, and transmit the target restorable minimum set to the disaster recovery departure cluster for backup.
[0018] A third aspect of the present application provides a computer program product, comprising computer-readable instructions, which, when executed on an electronic device, enables the electronic device to implement the data backup method based on the departure system of the first aspect or any implementation of the first aspect.
[0019] A fourth aspect of the present application provides an electronic device, comprising at least one processor and a memory connected to the processor, wherein:
[0020] The memory is used to store computer programs;
[0021] The processor is used to execute the computer program so that the electronic device can implement the data backup method based on the departure system of the above-mentioned first aspect or any implementation manner of the first aspect.
[0022] A fifth aspect of the present application provides a computer storage medium, which carries one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can implement the data backup method based on the departure system according to the first aspect or any implementation of the first aspect.
[0023] By means of the above technical scheme, the present application provides a data backup method and related device based on a departure system, which first receives the original departure message sent by the original departure cluster. Then, based on the preset message filtering conditions, the original departure message is filtered to remove redundant or unnecessary message information, thereby greatly reducing the data range. Then, based on the preset message packetization conditions, the filtered departure message is packetized to obtain multiple departure message encapsulation packages. Each departure message encapsulation package obtained according to actual needs can be processed independently with fine granularity. Multiple departure message encapsulation packages can also be split and / or aggregated to obtain multiple restorable minimum sets, which is convenient for accurate division according to data characteristics. Finally, the restorable minimum set that meets the preset restoration conditions in the multiple restorable minimum sets is determined as the target restorable minimum set, and the target restorable minimum set is transmitted to the disaster recovery departure cluster for backup. The entire processing flow can be implemented in an automated manner, reducing manual participation and improving processing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.
[0025] Figure 1 A flowchart of a data backup method based on a departure system provided in this application;
[0026] Figure 2 A pseudo code diagram of a preset message filtering condition provided for this application;
[0027] Figure 3 A pseudo code diagram of a preset message packaging condition provided by the present application;
[0028] Figure 4 A schematic diagram of the message filtering and message packaging process provided by this application;
[0029] Figure 5 A schematic diagram of the process of generating a restorable minimum set of a business type dimension and a restorable minimum set of a time period dimension provided in the present application;
[0030] Figure 6 A pseudo code diagram of a business type dimension limitation and a time period dimension limitation provided in this application;
[0031] Figure 7 A schematic diagram of the structure of a data backup system based on a departure system provided for this application;
[0032] Figure 8A schematic diagram of the hardware structure of a data backup device based on a departure system provided in this application. DETAILED DESCRIPTION
[0033] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0034] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0035] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0036] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0037] In order to solve the problems involving a large data range, coarse granularity, and cumbersome and inefficient manual data preparation process, the present application provides a data backup method based on a departure system. The data backup method based on a departure system provided by the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0038] Please see attached Figure 1 , Figure 1 A flowchart of a data backup method based on a departure system provided in an embodiment of the present application. The method may include the following steps:
[0039] Step S101: receiving an original departure message sent by an original departure cluster.
[0040] It should be noted that the original departure cluster consists of the original departure host and the original departure open software cluster, which is responsible for handling departure-related operations. The original departure message is a data communication format generated by the original departure cluster, which contains detailed information about the departing aircraft. This information includes flight information, business information, etc.
[0041] Among them, departure messages are usually encoded in a specific data format (such as XML, JSON, EDIFACT, etc.) to facilitate data exchange and parsing between different software.
[0042] In the present application, the departure system may monitor messages from the original departure cluster on a specific network port.
[0043] Step S102: filtering the original departure message based on the preset message filtering condition to obtain a filtered departure message.
[0044] It should be noted that the message filtering condition includes a flight information filtering condition, and the original departure message includes multiple first departure data, each of which includes flight information. The flight information may be a flight number, a flight date, an airline code, a cabin class, etc., and the flight information filtering condition may be at least one flight information filtering condition.
[0045] In the present application, the departure system can use a message filtering engine or related software to parse and filter the original departure message. That is, each first departure data whose flight information meets the flight information filtering condition among the multiple first departure data is determined as the filtered departure message, and the first departure data whose flight information does not meet the flight information filtering condition among the multiple first departure data is discarded. Messages that do not meet specific requirements or are not needed are removed to ensure that only messages that meet specific conditions will be further processed.
[0046] For easier understanding, please refer to Figure 2 , Figure 2 This is a pseudocode diagram of a preset message filtering condition disclosed in an embodiment of the present application. The pseudocode in the figure is designed using json parsing, and the message filtering condition represented is that the airline code is CA or MU, and the flight date is May 24, 2024.
[0047] The value range of filterType can be a flight information field and a flight information regular expression; the value range of filterKey can be an obtainable flight information field name; and the value range of filterVal can be any string value.
[0048] Step S103: based on the preset message encapsulation condition, encapsulate the filtered outbound messages to obtain a plurality of outbound message encapsulation packages.
[0049] It should be noted that the message packetizing conditions include multiple business information packetizing conditions, and the filtered departure message includes multiple second departure data, each second departure data includes business information, wherein the business information may be business type, packet type, packet rule item, and packet end condition, etc., and the business information packetizing condition may be at least one business information packetizing condition.
[0050] In the present application, the departure system can use a message encapsulation engine or related software to parse each business information encapsulation condition and then encapsulate it. That is, for at least one business information encapsulation condition: encapsulate each second departure data whose business information meets the business information encapsulation condition in the plurality of second departure data into a departure message encapsulation package. The data in each departure message encapsulation package is designed as a complete and independently processable unit, which facilitates storage, transmission, and further analysis and processing.
[0051] For easier understanding, please refer to Figure 3 , Figure 3 A pseudo code diagram of a preset message packet condition disclosed in an embodiment of the present application is shown in the figure. The pseudo code is designed using json parsing. The message packet condition represented is that the business type is ADL or BKO, the packet type is flight day, the packet rule item is that the number of message lines for ADL cannot be less than 20 lines; the number of message lines for BKO cannot be less than 15 lines, and the packet end condition is that the end message type is ADL or the end message regular expression is .
[0052] Among them, the value range of packageType can be a business information field and a business information regular expression; the value range of dataType can be a business information field and a business information regular expression; the value range of packageRule can be a restricted string of the business information field name; the value range of whenEnd can be any one of end-msg-type (end message type), end-msg-exp (end message regular expression), and end-msg-mark (end message mark).
[0053] For easier understanding, you can also refer to Figure 4 , Figure 4 A schematic diagram of a message filtering and message packaging process disclosed in an embodiment of the present application.
[0054] Step S104: splitting and / or aggregating the multiple outbound message encapsulation packets to obtain multiple restorable minimum sets.
[0055] It should be noted that each outbound message encapsulation package includes a plurality of third outbound data, and each third outbound data includes a service type and a data timestamp;
[0056] In the present application, as an implementable method, the departure system can use a message splitting engine or related software to parse, split and aggregate each departure message encapsulation package to obtain a restorable minimum set of the business type dimension. That is, for at least one business type: each third departure data including the business type is determined as a restorable minimum set. Each restorable minimum set can be independently processed or transmitted according to the business type requirements, thereby improving the flexibility of the system.
[0057] As another possible implementation method, the departure system can use a message splitting and aggregation engine or related software to parse and split and aggregate multiple departure message encapsulation packages in each preset time period to obtain a restorable minimum set in the time period dimension. That is, for at least one preset time period: each third departure data whose data timestamp meets the preset time period is determined as a restorable minimum set. Each restorable minimum set can be processed or transmitted independently according to the time period requirements, thereby improving the flexibility of the system.
[0058] The above two possible implementation methods can be used in one of the two ways to split and aggregate, or they can be used simultaneously.
[0059] For easier understanding, please refer to Figure 5 and Figure 6 .in, Figure 5 A schematic diagram of a process for generating a restorable minimum set of a business type dimension and a restorable minimum set of a time period dimension disclosed in an embodiment of the present application; Figure 6 This is a pseudocode diagram of a business type dimension limitation and a time period dimension limitation disclosed in an embodiment of the present application, in which the pseudocode is designed using json parsing.
[0060] For a departure message encapsulation package CA123, the third departure data with the business type ADL is determined as the restorable minimum set CA123 / ADL of the business type dimension; the third departure data with the business type BKO is determined as the restorable minimum set CA123 / BKO of the business type dimension. For the preset time period from 2024-01-01 to 2024-01-02, the third departure data in the departure message encapsulation package CA123 and the departure message encapsulation package CA234 that meets the requirements from 2024-01-01 to 2024-01-02 is split out and aggregated to obtain the restorable minimum set A of the time period dimension; for the preset time period from 2024-01-03 to 2024-01-04, the third departure data in all departure message encapsulation packages that meets the requirements from 2024-01-03 to 2024-01-04 is split out and aggregated to obtain the restorable minimum set B of the time period dimension.
[0061] Step S105: Determine a restorable minimum set that satisfies a preset restoration condition among the multiple restorable minimum sets as a target restorable minimum set, and transmit the target restorable minimum set to the disaster recovery departure cluster for backup.
[0062] It should be noted that the disaster recovery off-port cluster consists of a disaster recovery off-port host and a disaster recovery off-port open software cluster. The data security of the original off-port cluster is guaranteed by backing up the original off-port cluster. For data of certain key business types, the preset restoration condition can be the business type; for data of certain key time periods, the preset restoration condition can be the time period.
[0063] In the present application, transmitting the target restorable minimum set to the disaster recovery off-port cluster ensures that key data can be restored from the disaster recovery off-port cluster to the original off-port cluster when an abnormality occurs in the original off-port cluster.
[0064] In summary, the present application provides a data backup method based on a departure system, which first receives the original departure message sent by the original departure cluster. Then, based on the preset message filtering conditions, the original departure message is filtered to remove redundant or unnecessary message information, thereby greatly reducing the data range. Then, based on the preset message packetization conditions, the filtered departure message is packetized to obtain multiple departure message encapsulation packages. Each departure message encapsulation package obtained according to actual needs can be processed independently with fine granularity. The multiple departure message encapsulation packages can also be split and / or aggregated to obtain multiple restorable minimum sets, which is convenient for accurate division according to data characteristics. Finally, the restorable minimum set that meets the preset restoration conditions in the multiple restorable minimum sets is determined as the target restorable minimum set, and the target restorable minimum set is transmitted to the disaster recovery departure cluster for backup. The entire processing flow can be implemented in an automated manner, reducing manual participation and improving processing efficiency.
[0065] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0066] The names of the messages or information exchanged between the multiple methods in the embodiments of the present disclosure are only used for illustrative purposes, and are not used to limit the scope of these messages or information.
[0067] Although operations are depicted in a particular order, this should not be understood as requiring that the operations be performed in the particular order shown or in a sequential order.Multitasking and parallel processing may be advantageous under certain circumstances.
[0068] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0069] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0070] The method is described in detail in the embodiments disclosed in the above application. The method of the application can be implemented by various forms of devices. Therefore, the application also discloses a data backup system based on the departure system. The following is a specific embodiment for detailed description.
[0071] Please see attached Figure 7 , Figure 7 This is a structural diagram of a data backup system based on a departure system disclosed in an embodiment of the present application, the system comprising:
[0072] The receiving module 11 is used to receive the original departure message sent by the original departure cluster.
[0073] The filtering module 12 is used to filter the original departure message based on a preset message filtering condition to obtain a filtered departure message.
[0074] The packaging module 13 is used to package the filtered outbound messages based on a preset message packaging condition to obtain a plurality of outbound message packaging packages.
[0075] The processing module 14 is used to perform splitting processing and / or aggregation processing on the multiple outbound message encapsulation packets to obtain multiple restorable minimum sets.
[0076] The transmission module 15 is used to determine the restorable minimum set that meets the preset restoration condition among the multiple restorable minimum sets as the target restorable minimum set, and transmit the target restorable minimum set to the disaster recovery departure cluster for backup. As an implementable method, the message filtering condition includes a flight information filtering condition, and the original departure message includes multiple first departure data, each of which includes flight information.
[0077] The filtering module 12 comprises:
[0078] The first determining submodule is used to determine each first departure data whose flight information satisfies the flight information filtering condition among the plurality of first departure data as the filtered departure message.
[0079] As an implementable method, the message packaging condition includes a plurality of service information packaging conditions, the filtered departure message includes a plurality of second departure data, and each of the second departure data includes service information.
[0080] The packaging module 13 includes:
[0081] The encapsulation submodule is used for encapsulating each of the second outbound data whose business information satisfies the business information encapsulation condition into one outbound message encapsulation package according to at least one of the business information encapsulation conditions.
[0082] As an implementable embodiment, each of the outbound message encapsulation packages includes a plurality of third outbound data, and each of the third outbound data includes a service type and a data timestamp.
[0083] The processing module 14 includes:
[0084] The second determining submodule is configured to determine, for at least one of the business types, each of the third departure data including the business type as a restorable minimum set.
[0085] and / or,
[0086] The third determining submodule is configured to determine, for at least one preset time period, each of the third departure data including the data timestamps satisfying the preset time period as a restorable minimum set.
[0087] The present application also provides an electronic device in an embodiment. Figure 8 As shown, it shows a schematic diagram of the structure of an electronic device suitable for implementing the embodiment of the present application. The electronic device in the embodiment of the present application may include but is not limited to fixed terminals such as mobile phones, laptops, PDAs (personal digital assistants), PADs (tablet computers), desktop computers, etc. Figure 8 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0088] like Figure 8 As shown, the electronic device may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage device 808 to a random access memory (RAM) 803. When the electronic device is powered on, various programs and data required for the operation of the electronic device are also stored in the RAM 803. The processing device 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0089] Typically, the following devices may be connected to the I / O interface 805: input devices 806 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 807 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 808 including, for example, a memory card, a hard disk, etc.; and communication devices 809. The communication device 809 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although Figure 8 An electronic device having various devices is shown, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0090] An embodiment of the present application also provides a computer program product including computer-readable instructions. When the computer-readable instructions are executed on an electronic device, the electronic device implements any of the departure system-based data backup methods provided in the embodiments of the present application.
[0091] A computer-readable storage medium is also provided in an embodiment of the present application. The storage medium carries one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can implement any of the data backup methods based on the departure system provided in the embodiment of the present application.
[0092] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0093] According to one or more embodiments of the present disclosure, Example 1 provides a data backup method based on a departure system, including:
[0094] Receive the original departure message sent by the original departure cluster;
[0095] Based on a preset message filtering condition, the original departure message is filtered to obtain a filtered departure message;
[0096] Based on a preset message encapsulation condition, encapsulating the filtered outbound messages to obtain a plurality of outbound message encapsulation packages;
[0097] Splitting and / or aggregating the plurality of outbound message encapsulation packets to obtain a plurality of restorable minimum sets;
[0098] A restorable minimum set that meets a preset restoration condition among the multiple restorable minimum sets is determined as a target restorable minimum set, and the target restorable minimum set is transmitted to the disaster recovery departure cluster for backup.
[0099] According to one or more embodiments of the present disclosure, Example 2 is based on the data backup method based on the departure system described in Example 1, wherein the message filtering condition includes a flight information filtering condition, and the original departure message includes a plurality of first departure data, each of which includes flight information;
[0100] The filtering of the original departure message based on the preset message filtering condition to obtain the filtered departure message includes:
[0101] Each first departure data whose flight information satisfies the flight information filtering condition among the plurality of first departure data is determined as the filtered departure message.
[0102] According to one or more embodiments of the present disclosure, Example 3 is based on the data backup method based on the departure system described in Example 1, wherein the message packaging condition includes multiple business information packaging conditions, the filtered departure message includes multiple second departure data, and each of the second departure data includes business information;
[0103] The filtered outbound messages are packaged based on the preset message packaging conditions to obtain a plurality of outbound message packaging packages, including:
[0104] For at least one of the service information encapsulation conditions: encapsulate each of the plurality of second outbound data whose service information meets the service information encapsulation condition into one outbound message encapsulation package.
[0105] According to one or more embodiments of the present disclosure, Example 4 is based on the data backup method based on the departure system described in Example 1, each of the departure message encapsulation packets includes a plurality of third departure data, and each of the third departure data includes a service type and a data timestamp;
[0106] The splitting and / or aggregating of the plurality of outbound message encapsulation packets to obtain a plurality of restorable minimum sets includes:
[0107] For at least one of the business types: determining each of the third departure data including the business type as a restorable minimum set;
[0108] and / or,
[0109] For at least one preset time period: each third departure data including the data timestamp that satisfies the preset time period is determined as a restorable minimum set.
[0110] According to one or more embodiments of the present disclosure, Example 5 provides a data backup system based on a departure system, including:
[0111] A receiving module, used for receiving the original departure message sent by the original departure cluster;
[0112] A filtering module, used for filtering the original departure message based on a preset message filtering condition to obtain a filtered departure message;
[0113] A packaging module, used for packaging the filtered outbound messages based on a preset message packaging condition to obtain a plurality of outbound message packaging packages;
[0114] A processing module, used for performing splitting processing and / or aggregation processing on the plurality of outbound message encapsulation packets to obtain a plurality of restorable minimum sets;
[0115] A transmission module is used to determine the restorable minimum set that meets the preset restoration condition among the multiple restorable minimum sets as the target restorable minimum set, and transmit the target restorable minimum set to the disaster recovery departure cluster for backup. According to one or more embodiments of the present disclosure, Example 6 is a data backup system based on the departure system according to Example 5, wherein the message filtering condition includes a flight information filtering condition, and the original departure message includes multiple first departure data, each of which includes flight information;
[0116] The filtering module comprises:
[0117] The first determining submodule is used to determine each first departure data whose flight information satisfies the flight information filtering condition among the plurality of first departure data as the filtered departure message.
[0118] According to one or more embodiments of the present disclosure, Example 7 is a data backup system based on a departure system according to Example 5, wherein the message packaging condition includes a plurality of business information packaging conditions, the filtered departure message includes a plurality of second departure data, and each of the second departure data includes business information;
[0119] The packaging module comprises:
[0120] The encapsulation subunit is configured to encapsulate, for at least one of the service information encapsulation conditions, each of the plurality of second outbound data whose service information satisfies the service information encapsulation condition into one of the outbound message encapsulation packages.
[0121] According to one or more embodiments of the present disclosure, Example 8 provides a computer program product including computer-readable instructions, which, when executed on an electronic device, enables the electronic device to implement the data backup method based on the departure system of the above-mentioned first aspect or any implementation of the first aspect.
[0122] According to one or more embodiments of the present disclosure, Example 9 provides an electronic device, including at least one processor and a memory connected to the processor, wherein:
[0123] The memory is used to store computer programs;
[0124] The processor is used to execute the computer program so that the electronic device can implement the data backup method based on the departure system of the above-mentioned first aspect or any implementation manner of the first aspect.
[0125] According to one or more embodiments of the present disclosure, Example 10 provides a computer storage medium, which carries one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can implement the data backup method based on the departure system of the above-mentioned first aspect or any implementation of the first aspect.
[0126] It should also be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the accompanying drawings of the device embodiments provided by the present application, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art can understand and implement it without paying any creative work.
[0127] Through the description of the above implementation methods, the technicians in the relevant field can clearly understand that the present application can be implemented by means of software plus necessary general hardware, and of course it can also be implemented by special hardware including special integrated circuits, special CPUs, special memories, special components, etc. In general, all functions completed by computer programs can be easily implemented by corresponding hardware, and the specific hardware structures used to implement the same function can also be various, such as analog circuits, digital circuits or special circuits. However, for the present application, software program implementation is a better implementation method in more cases. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a readable storage medium, such as a computer floppy disk, a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a disk or an optical disk, etc., including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0128] In summary, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application is described in detail with reference to the above embodiments, a person of ordinary skill in the art should understand that the technical solutions described in the above embodiments can still be modified, or some of the technical features can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
[0129] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
[0130] Although several specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Certain features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination.
[0131] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
Claims
1. A data backup method based on a departure system, characterized in that: include: Receive the original departure message sent by the original departure cluster; Based on a preset message filtering condition, the original departure message is filtered to obtain a filtered departure message; Based on a preset message encapsulation condition, encapsulating the filtered outbound messages to obtain a plurality of outbound message encapsulation packages; Splitting and / or aggregating the plurality of outbound message encapsulation packets to obtain a plurality of restorable minimum sets; A restorable minimum set that meets a preset restoration condition among the multiple restorable minimum sets is determined as a target restorable minimum set, and the target restorable minimum set is transmitted to the disaster recovery departure cluster for backup.
2. The data backup method based on the departure system according to claim 1, characterized in that: The message filtering condition includes a flight information filtering condition, the original departure message includes a plurality of first departure data, each of the first departure data includes flight information; The filtering of the original departure message based on the preset message filtering condition to obtain the filtered departure message includes: Each first departure data whose flight information satisfies the flight information filtering condition among the plurality of first departure data is determined as the filtered departure message.
3. The data backup method based on the departure system according to claim 1, characterized in that: The message packaging condition includes a plurality of business information packaging conditions, the filtered departure message includes a plurality of second departure data, each of the second departure data includes business information; The filtered outbound messages are packaged based on the preset message packaging conditions to obtain a plurality of outbound message packaging packages, including: For at least one of the service information encapsulation conditions: encapsulate each of the plurality of second outbound data whose service information meets the service information encapsulation condition into one outbound message encapsulation package.
4. The data backup method based on the departure system according to claim 1, characterized in that: Each of the outbound message encapsulation packages includes a plurality of third outbound data, and each of the third outbound data includes a service type and a data timestamp; The splitting and / or aggregating of the plurality of outbound message encapsulation packets to obtain a plurality of restorable minimum sets includes: For at least one of the business types: determining each of the third departure data including the business type as a restorable minimum set; and / or, For at least one preset time period: each third departure data including the data timestamp that satisfies the preset time period is determined as a restorable minimum set.
5. A data backup system based on a departure system, characterized in that: include: A receiving module, used for receiving the original departure message sent by the original departure cluster; A filtering module, used for filtering the original departure message based on a preset message filtering condition to obtain a filtered departure message; A packaging module, used for packaging the filtered outbound messages based on a preset message packaging condition to obtain a plurality of outbound message packaging packages; A processing module, used for performing splitting processing and / or aggregation processing on the plurality of outbound message encapsulation packets to obtain a plurality of restorable minimum sets; The transmission module is used to determine the restorable minimum set that meets the preset restoration condition among the multiple restorable minimum sets as the target restorable minimum set, and transmit the target restorable minimum set to the disaster recovery departure cluster for backup.
6. The data backup system based on the departure system according to claim 5, characterized in that: The message filtering condition includes a flight information filtering condition, the original departure message includes a plurality of first departure data, each of the first departure data includes flight information; The filtering module comprises: The first determining submodule is used to determine each first departure data whose flight information satisfies the flight information filtering condition among the plurality of first departure data as the filtered departure message.
7. The data backup system based on the departure system according to claim 5, characterized in that: The message packaging condition includes a plurality of business information packaging conditions, the filtered departure message includes a plurality of second departure data, each of the second departure data includes business information; The packaging module comprises: The encapsulation subunit is configured to encapsulate, for at least one of the service information encapsulation conditions, each of the plurality of second outbound data whose service information satisfies the service information encapsulation condition into one of the outbound message encapsulation packages.
8. A computer program product, characterized in that It comprises computer-readable instructions, and when the computer-readable instructions are executed on an electronic device, the electronic device implements the data backup method based on the departure system as claimed in any one of claims 1 to 4.
9. An electronic device, characterized in that: The method comprises at least one processor and a memory connected to the processor, wherein: The memory is used to store computer programs; The processor is used to execute the computer program so that the electronic device can implement the data backup method based on the departure system as described in any one of claims 1 to 4.
10. A computer storage medium, characterized in that: The storage medium carries one or more computer programs, and when the one or more computer programs are executed by an electronic device, the electronic device can implement the data backup method based on the departure system as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Departure flight data updating method and related equipment
CN113486031A
Message aggregation method and device, network adapter and readable storage medium
CN113542148A
Data processing method and related device
CN115134372A
Harbor departure management system
CN116721004A
Autonomous mesh network packet corresponding correction method
CN117978690A
