Traffic data routing method, device, computer program product and electronic device

By dividing multiple business areas in the data processing system and setting up routing rule tables, the problem of low processing efficiency of centralized servers is solved, and the improvement of business processing efficiency and the guarantee of system stability and reliability is achieved.

CN119324892BActive Publication Date: 2025-05-06TRAVELSKY TECHNOLOGY LIMITED
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411879685.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-19
Publication Date
2025-05-06
Estimated Expiration
2044-12-19

AI Technical Summary

Technical Problem

In the prior art, the routing of traffic data to a centralized server for unified processing results in low service processing efficiency, especially during international flight time difference and special events, the stability and reliability of the system cannot be effectively guaranteed.

Method used

By dividing the data processing system into multiple business areas, setting up a routing dynamic rule table and a routing static rule table, the business information extracted from the traffic data is matched with the routing dynamic rule table or the routing static rule table, thereby determining the service area matching the business information, and then routing the traffic data to the matching business area.

Benefits of technology

It realizes that when the data processing system is changed, it can change partitions to avoid impact on business, improves business processing efficiency, and has the ability to provide special guarantees for airport departures in some key cities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119324892B_ABST
    Figure CN119324892B_ABST
Patent Text Reader

Abstract

The present application discloses a method, device, computer program product and electronic device for routing traffic data. The method relates to the field of civil aviation passenger check-in, and comprises: receiving traffic data of a business system, extracting business information from the traffic data, and judging whether the business information contains flight information; when the business information contains flight information, determining the business area matching the flight information from the routing dynamic rule table, obtaining the first business area, and routing the traffic data to the first business area; when the business information does not contain flight information, judging whether the business information contains terminal information; when the business information contains terminal information, determining the business area matching the terminal information from the routing static rule table, obtaining the second business area, and routing the traffic data to the second business area. The present application solves the problem of low business processing efficiency in routing traffic data to a centralized server for unified processing in the related art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of civil aviation passenger check-in, and more specifically, to a method, device, computer program product and electronic device for routing traffic data. Background Art

[0002] The open departure system is a system built on an open cloud platform, featuring high efficiency, stability, reliability, and scalability. Due to the complexity of departure services, in related technologies, the software deployment method of the open departure system is a single-version centralized deployment method. In the centralized deployment mode, if a change or a problem occurs in the logic of the online service, the failure of the departure system will affect the entire departure system.

[0003] The departure system needs to support global flight operations and provide services all day every week. Although the impact on domestic flight operations has been reduced significantly in accordance with the requirement to change the departure system to go online at midnight, the time difference still has a certain impact on international flights at the same time. In special periods or special event contexts, the departure system may need to provide special support for the operations of certain city airports, or implement special functions to ensure its stability and reliability. The centralized deployment method in related technologies cannot guarantee this, which leads to low business processing efficiency of the open departure system.

[0004] Currently, no effective solution has been proposed to address the problem of low business processing efficiency in the related technology of routing traffic data to a centralized server for unified processing. Summary of the invention

[0005] The main purpose of the present application is to provide a method, device, computer program product and electronic device for routing traffic data to solve the problem in the related art that traffic data is routed to a centralized server for unified processing, resulting in low business processing efficiency.

[0006] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a method for routing traffic data is provided. The method comprises: receiving traffic data of a business system, extracting business information from the traffic data, and judging whether the business information contains flight information; when the business information contains flight information, determining the business area of ​​the data processing system matching the flight information from the routing dynamic rule table, obtaining a first business area, and routing the traffic data to the first business area, wherein the data processing system comprises multiple business areas, the business area is a server for processing traffic data, different types of traffic data are routed to different business areas for processing, the routing dynamic rule table comprises multiple routing dynamic rules, each routing dynamic rule comprises at least one matching relationship between flight information and a business area; when the business information does not contain flight information, judging whether the business information contains terminal information; when the business information contains terminal information, determining the business area of ​​the data processing system matching the terminal information from the routing static rule table, obtaining a second business area, and routing the traffic data to the second business area, wherein the routing static rule table comprises multiple routing static rules, each routing static rule comprises at least one matching relationship between terminal information and a business area.

[0007] Optionally, after determining the business area of ​​the data processing system that matches the flight information from the routing dynamic rule table, the method further includes: when there is no business area matching the flight information in the routing dynamic rule table, executing the step of determining whether the business information contains terminal information; after determining whether the business information contains terminal information, the method further includes: when the business information does not contain terminal information, or when the business information contains terminal information and there is no business area matching the terminal information in the routing static rule table, routing the traffic data to the default business area.

[0008] Optionally, the routing static rule table is determined in the following manner: obtain all airports where the data processing system needs to process data, and for each airport, determine the target business area for processing the data of the target airport; generate routing static rules based on the correspondence between each airport and the business area, and combine all routing static rules into a routing static rule table.

[0009] Optionally, the routing dynamic rule table is determined in the following manner: receiving a flight plan message, and extracting multiple flight information from the flight plan message; for each flight information, determining the starting airport and the via airport of the target flight corresponding to the flight information, and determining the first arrival date of the starting airport and the second arrival date of the via airport; determining the third business area matching the starting airport from the routing static rule table, and determining the fourth business area matching the via airport from the routing static rule table; generating the routing dynamic rules of the target flight according to the corresponding relationship between the starting airport, the first arrival date and the third business area, and the corresponding relationship between the via airport, the second arrival date and the fourth business area; and combining all the routing dynamic rules into a routing dynamic rule table.

[0010] Optionally, when the traffic data is a service access parameter, receiving the traffic data of the business system, and extracting business information from the traffic data includes: determining a synchronous service interface of the data processing system, receiving service access parameters from the synchronous service interface, and extracting business information from the service access parameters; after routing the traffic data to the first business area or the second business area, calling the target service corresponding to the traffic data through the first business area or the second business area.

[0011] Optionally, when the traffic data is a business message, receiving the traffic data of the business system, and extracting business information from the traffic data includes: receiving the business message through the asynchronous message queue of the data processing system, parsing the business message, and obtaining the business information; after routing the traffic data to the first business area or the second business area, determining the target message queue of the first business area or the second business area, and forwarding the traffic data to the target message queue.

[0012] Optionally, the data processing system further includes a grayscale release area, which is used to test newly developed business functions. When the business functions pass the test in the grayscale release area, the business functions are released to the business area of ​​the data processing system.

[0013] In order to achieve the above objective, according to another aspect of the present application, a traffic data routing device is provided. The device comprises: a receiving unit, which is used to receive traffic data of a business system, extract business information from the traffic data, and judge whether the business information contains flight information; a first determining unit, which is used to determine the business area of ​​the data processing system matching the flight information from the routing dynamic rule table when the business information contains flight information, obtain the first business area, and route the traffic data to the first business area, wherein the data processing system includes multiple business areas, the business area is a server for processing traffic data, different types of traffic data are routed to different business areas for processing, the routing dynamic rule table includes multiple routing dynamic rules, each routing dynamic rule includes at least one matching relationship between flight information and a business area; a judging unit, which is used to determine whether the business information contains terminal information when the business information does not contain flight information; a second determining unit, which is used to determine the business area of ​​the data processing system matching the terminal information from the routing static rule table when the business information contains terminal information, obtain the second business area, and route the traffic data to the second business area, wherein the routing static rule table includes multiple routing static rules, each routing static rule includes at least one matching relationship between terminal information and a business area.

[0014] In order to achieve the above-mentioned purpose, according to another aspect of the present application, a computer program product is provided, including a computer program, which, when executed by a processor, implements the steps of the traffic data routing method described in each embodiment of the present application.

[0015] Through the present application, the following steps are adopted: receiving traffic data of a business system, extracting business information from the traffic data, and judging whether the business information contains flight information; in the case where the business information contains flight information, determining the business area of ​​the data processing system matching the flight information from the routing dynamic rule table, obtaining the first business area, and routing the traffic data to the first business area, wherein the data processing system includes multiple business areas, the business area is a server for processing traffic data, different types of traffic data are routed to different business areas for processing, the routing dynamic rule table includes multiple routing dynamic rules, each routing dynamic rule includes at least one matching relationship between flight information and a business area; in the case where the business information does not include flight information, judging whether the business information includes terminal information; in the case where the business information includes terminal information, determining the business area of ​​the data processing system matching the terminal information from the routing static rule table, obtaining the second business area, and routing the traffic data to the second business area, wherein the routing static rule table includes multiple routing static rules, each routing static rule includes at least one matching relationship between terminal information and a business area, and solves the problem of low business processing efficiency in routing traffic data to a centralized server for unified processing in the related art. By dividing the data processing system into multiple business areas, setting up a routing dynamic rule table and a routing static rule table, matching the business information extracted from the traffic data with the routing dynamic rule table or the routing static rule table, thereby determining the business area that matches the business information, and then routing the traffic data to the matching business area, thereby achieving the effect of partitioning changes when the data processing system is changed, avoiding business impact, and improving business processing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0017] Figure 1 is a flow chart of a method for routing traffic data provided in an embodiment of the present application;

[0018] Figure 2 is a schematic diagram of a partition architecture of a departure system provided according to an embodiment of the present application;

[0019] Figure 3 It is a schematic diagram of generating dynamic routing rules according to an embodiment of the present application;

[0020] Figure 4 It is a schematic diagram of a service partition routing process provided according to an embodiment of the present application;

[0021] Figure 5It is a schematic diagram of a message queue message partition routing process provided according to an embodiment of the present application;

[0022] Figure 6 is a schematic diagram of a flow data routing device provided according to an embodiment of the present application;

[0023] Figure 7 is a schematic diagram of an electronic device provided according to an embodiment of the present application. DETAILED DESCRIPTION

[0024] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0025] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0026] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0027] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for display, data for analysis, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties.

[0028] It should be noted that the information collected is information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of relevant data comply with the relevant laws, regulations and standards of the relevant regions, take necessary confidentiality measures, do not violate public order and good customs, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0029] The present invention is described below in conjunction with preferred implementation steps. Figure 1 is a flow chart of a method for routing traffic data according to an embodiment of the present application. Figure 1 As shown, the method comprises the following steps:

[0030] Step S101, receiving traffic data from a business system, extracting business information from the traffic data, and determining whether the business information contains flight information.

[0031] Specifically, the business system can be an external system that needs to access the departure system to handle boarding services. The DCS (Departure Control System) is a computer real-time network system that handles boarding procedures for flight passengers, calculates aircraft loading, controls flights, and automatically processes telegrams. Traffic data can be synchronous service interface access traffic or asynchronous message queue message traffic. Business information can be information on civil aviation departure services. Civil aviation departure services refer to the process of airlines transferring passengers and cargo from airports to other airports. This process includes a series of processes such as airline ticket sales, passenger file creation, check-in, security checks, boarding, cargo loading and transportation.

[0032] When the traffic of the business system accesses the departure system, business information such as inbound and outbound flight data and terminal data is extracted from the traffic data. First, it is determined whether the business information contains flight information, and then the business area for the traffic data routing is determined based on whether the business information contains flight information.

[0033] Flight information includes airline, flight number, flight suffix and flight date. For example, the airline is MU, the flight number is 556, the flight suffix is ​​A, the date is 2023-11-12, and the terminal is PEK. Since the departure system provides thousands of service interfaces to the outside world, the input parameters of these interfaces are heterogeneous and do not necessarily contain flight or terminal information, so the flight and terminal information in the business information may be empty.

[0034] Step S102, when the business information includes flight information, determine the business area of ​​the data processing system that matches the flight information from the routing dynamic rule table, obtain the first business area, and route the traffic data to the first business area, wherein the data processing system includes multiple business areas, the business area is a server for processing traffic data, different types of traffic data are routed to different business areas for processing, the routing dynamic rule table includes multiple routing dynamic rules, each routing dynamic rule includes at least one matching relationship between flight information and a business area.

[0035] Specifically, the data processing system can be a DR (Departure Router, departure zone routing system). The data processing system routes departure service requests (i.e., traffic data) to different business areas based on flight airports and other dimensions. The data processing system supports multi-zone deployment of departures, divides different zones according to the geographical attributes of airports, and supports data authority control. In order to achieve zone routing of business traffic of the entire departure system, the data processing system is deployed between the departure front end and the departure back end.

[0036] in, Figure 2 is a schematic diagram of a partition architecture of a departure system provided according to an embodiment of the present application, such as Figure 2 As shown in the figure, the partition architecture of the entire departure system consists of DR software as a unified access portal, multiple departure business areas, a grayscale release area, and a database. Each departure business area provides DPR (Departure Passenger Recommendation, abnormal flight passenger protection), DE (Departure Control Extension, departure extension function), DI (Departure Integrity, departure access function), UBS (Universal Boarder Security, entry and exit passenger verification system), DC (Departure Control Base, departure core function system), DM (Departure Message Control, departure message control), FDC (Flight Data Control, flight data control), CST (Customer Service Tools, customer service tools), DET (Departure Electronic Ticket, departure electronic ticket system) and DEM (Departure Electronic Miscellaneous Document, departure electronic miscellaneous document system) and other service functions. The grayscale release area can also be used as a test area for new service functions. The partition architecture has the following characteristics: the departure software is open as a whole and interacts with external systems through DR software. Open Departure supports multiple business partitions, each of which provides complete departure business functions. Each business partition software uses a logically unified database. It supports the dynamic creation of grayscale release areas to verify the new functions before they are put into production. The DR software determines and routes the external system traffic by partition.

[0037] Dynamic routing rules refer to the rules for which partition the traffic accessing a certain flight should be routed to in the departure system. From a business perspective, when defining flight routing rules, the correspondence between flights and partitions is not directly defined, but when routing business traffic, part of the traffic is accessed for flights, so routing rules for the correspondence between flights and partitions are required. Dynamic routing rules are generated based on the flight's departure and transit airports, as well as the static routing rule table between airports and business areas, and stored in the table space of the dynamic routing rule table.

[0038] If the business information includes flight information, the partition information corresponding to the flight is queried in the routing dynamic rule table, such as the first business zone. For example, the routing dynamic rule table includes: MU556A 2023-11-12 as partition; MU556A 2023-11-13 eu partition; MU556B 2023-11-12 eu partition; MU556B 2023-11-13 grey partition.

[0039] When the flight information is MU556A and the date is 2023-11-12, the corresponding first business area is the as partition. When the reference flight is MU556B and the date is 2023-11-13, the corresponding first business area is the grey partition. When the reference flight is MU556B and the date is 2023-11-14, the corresponding partition cannot be obtained. If the reference does not obtain the flight information, the corresponding partition cannot be obtained either.

[0040] Step S103: When the service information does not include flight information, it is determined whether the service information includes terminal information.

[0041] Specifically, if the service information does not include flight information, it is determined whether it includes terminal information. The service area to which the traffic data needs to be routed can also be determined through the terminal information.

[0042] Step S104, when the business information includes terminal information, determine the business area of ​​the data processing system that matches the terminal information from the routing static rule table, obtain the second business area, and route the traffic data to the second business area, wherein the routing static rule table contains multiple routing static rules, and each routing static rule contains at least one matching relationship between terminal information and a business area.

[0043] Specifically, static routing rules refer to the rules in the departure system that determine which partition the traffic accessing a certain airport should be routed to. From a business perspective, when defining static routing rules, they are determined by defining the correspondence between airports and partitions. The matching relationship between terminal information and business areas is defined as static routing rules, and stored in the table space of the static routing rule table. Due to business characteristics, static routing rules are relatively stable. Only when the business changes, the static routing rules are changed by manual triggering.

[0044] If the business information contains terminal information, the partition information corresponding to the flight, that is, the second business area, is queried in the routing static rule table. If the partition information is queried, the traffic data is routed to the second business area. If the partition information is not queried, the default partition information is obtained; if the business information does not contain flight information and terminal information, the traffic data is routed to the default business area.

[0045] For example, the static routing rule table includes: HUZ as partition; PEK as partition; SHA grey partition; PAR eu partition. When the terminal information is SHA, the second business area is the as partition; when the terminal information is PAR, the second business area is the eu partition. If the terminal information is not obtained, the default grey partition is obtained and the traffic data is routed to the default business area.

[0046] The method for routing traffic data provided by the embodiment of the present application receives traffic data of a business system, extracts business information from the traffic data, and determines whether the business information contains flight information; when the business information contains flight information, determines the business area of ​​the data processing system matching the flight information from the routing dynamic rule table, obtains the first business area, and routes the traffic data to the first business area, wherein the data processing system includes multiple business areas, the business area is a server for processing traffic data, different types of traffic data are routed to different business areas for processing, the routing dynamic rule table includes multiple routing dynamic rules, each routing dynamic rule includes at least one matching relationship between flight information and a business area; when the business information does not include flight information, determines whether the business information includes terminal information; when the business information includes terminal information, determines the business area of ​​the data processing system matching the terminal information from the routing static rule table, obtains the second business area, and routes the traffic data to the second business area, wherein the routing static rule table includes multiple routing static rules, each routing static rule includes at least one matching relationship between terminal information and a business area, and solves the problem of low business processing efficiency in routing traffic data to a centralized server for unified processing in the related art. By dividing the data processing system into multiple business areas, setting up a routing dynamic rule table and a routing static rule table, matching the business information extracted from the traffic data with the routing dynamic rule table or the routing static rule table, thereby determining the business area that matches the business information, and then routing the traffic data to the matching business area, thereby achieving the effect of partitioning changes when the data processing system is changed, avoiding business impact, and improving business processing efficiency.

[0047] For traffic data that fails to match the static routing rules or the dynamic routing rules, it is routed to the default business area. Optionally, in the routing method for traffic data provided in the embodiment of the present application, after determining the business area of ​​the data processing system that matches the flight information from the dynamic routing rule table, the method also includes: when there is no business area matching the flight information in the dynamic routing rule table, executing the step of determining whether the business information contains terminal information; after determining whether the business information contains terminal information, the method also includes: when the business information does not contain terminal information, or when the business information contains terminal information and there is no business area matching the terminal information in the static routing rule table, routing the traffic data to the default business area.

[0048] Specifically, if the service information includes flight information, but the service area matching the flight information is not found in the routing dynamic rule table, it is determined whether the service information includes terminal information. If the service information does not include terminal information, the traffic data is routed to the default service area. If the service information includes terminal information, but there is no service area matching the terminal information in the routing static rule table, the traffic data is also routed to the default service area. The default service area may be a service area selected from all service areas based on expert experience, such as a grayscale service area.

[0049] This embodiment ensures the normal processing of services by routing traffic data that does not match dynamic routing rules or static routing rules to the default service area, avoiding the situation where services cannot be processed due to unassigned service areas. The default partitioning method ensures that routing does not cause logical blocking, ensuring the efficiency and availability of the system.

[0050] In order to determine the target business area for routing traffic data, a routing static rule table is configured in advance. Optionally, in the routing method for traffic data provided in an embodiment of the present application, the routing static rule table is determined in the following manner: all airports where the data processing system needs to process data are obtained, and for each airport, the target business area for processing the data of the target airport is determined; routing static rules are generated according to the correspondence between each airport and the business area, and all routing static rules are combined into a routing static rule table.

[0051] Specifically, the static routing rules are rules composed of the corresponding relationship between terminals and business areas. According to expert experience, they can be divided and set according to different regions, different airlines and other dimensions. For example, the business area corresponding to the terminal in region A is the first business area, the business area corresponding to the terminal in region B is the second business area, the business area corresponding to the terminal of airline M is the third business area, and the business area corresponding to airline N is the fourth business area. According to expert experience, the matching relationship between terminals and business areas in the static routing rules can be adjusted at any time. All static routing rules are combined and stored in the table space to obtain the static routing rule table.

[0052] This embodiment realizes high-granularity routing control of traffic data by configuring the routing static rule table, and realizes accurate routing of traffic in the departure system by establishing routing matching rules for terminals and business areas. Compared with general routing devices, this embodiment can perform accurate routing control on the smallest granularity of a single day and a single flight. The dynamic generation of the relationship configuration between terminals and partitions greatly reduces the workload of manual rule configuration while also meeting the flexible control of terminal partition rules. The pre-generation and pre-loading strategies for routing static rules make it unnecessary to generate additional input and output calculation overhead outside the system during the actual routing process, and the default partitioning method ensures that the routing does not cause logical blocking, ensuring the efficiency and availability of the system. The traffic accessing the departure system is routed to the corresponding business partition according to its content, static data, and rule configuration to improve the reliability and availability of the departure system and enable the system to have high concurrency and high performance capabilities.

[0053] In order to determine the target business area for traffic data routing, a routing dynamic rule table is configured in advance. Optionally, in the routing method for traffic data provided in an embodiment of the present application, the routing dynamic rule table is determined in the following manner: a flight plan message is received, and multiple flight information is extracted from the flight plan message; for each flight information, the starting airport and the passing airport of the target flight corresponding to the flight information are determined, and the first arrival date of the starting airport and the second arrival date of the passing airport are determined; the third business area matching the starting airport is determined from the routing static rule table, and the fourth business area matching the passing airport is determined from the routing static rule table; the routing dynamic rule of the target flight is generated according to the corresponding relationship between the starting airport, the first arrival date and the third business area, and the corresponding relationship between the passing airport, the second arrival date and the fourth business area; all routing dynamic rules are combined into a routing dynamic rule table.

[0054] Specifically, according to the data characteristics of civil aviation business, the dynamic routing rules are not directly configured, but are dynamically generated according to the flight's departure airport and the static routing rules when the flight is initialized. After receiving the flight plan message, multiple flight information is extracted from the flight plan message. For each flight information, when the flight corresponding to the flight information is initialized, the DR queries the static routing rule table according to the departure airport and the via airport of the initialized flight, obtains the partitions corresponding to the departure airport and the via airport, and then determines the arrival date at the departure airport and the via airport, thereby obtaining the corresponding relationship between the flight information and the business area, and then generates the flight routing dynamic rules based on the relationship and stores them in the table space. All dynamic routing rules are combined into a dynamic routing rule table.

[0055] For example, Figure 3 is a schematic diagram of generating dynamic routing rules according to an embodiment of the present application, such as Figure 3As shown in the figure, after the flight is initialized, the static rules of partition routing are queried according to the flight departure airport to obtain the corresponding partition of the airport, and the dynamic rules of flight routing are generated and stored according to the flight information and the corresponding airport. Among them, the static rules of partition routing are also the static rules table of routing, the partition is also the business area, and the storage refers to storing the dynamic rules of routing in the dynamic rules table of routing.

[0056] This embodiment configures the dynamic routing rule table and establishes routing matching rules for flights and business areas to achieve accurate routing of traffic in the departure system. Compared with general routing devices, this embodiment can perform accurate routing control on the smallest granularity of a single flight on a single day. The dynamic generation of flight and partition relationship configuration greatly reduces the workload of manual rule configuration while also meeting the flexible control of flight partition rules. The pre-generation and pre-loading strategies for dynamic routing rules eliminate the need for additional input and output calculation overhead outside the system during the actual routing process, and the default partitioning method ensures that routing does not cause logical blocking, thereby ensuring the efficiency and availability of the system. The traffic accessing the departure system is routed to the corresponding business partition according to its content, static data, and rule configuration to improve the reliability and availability of the departure system and enable the system to have high concurrency and high performance capabilities.

[0057] Optionally, in the traffic data routing method provided in an embodiment of the present application, when the traffic data is a service access parameter, receiving traffic data of a business system, and extracting business information from the traffic data include: determining a synchronous service interface of a data processing system, receiving service access parameters from the synchronous service interface, and extracting business information from the service access parameters; after routing the traffic data to the first business area or the second business area, calling the target service corresponding to the traffic data through the first business area or the second business area.

[0058] It should be noted that the partition routing process refers to the process of first accessing the data processing system when the external system traffic accesses the departure system, and routing the traffic data to the downstream software of each business partition according to the input parameters and the static and dynamic routing rules. Since the accessed traffic data is divided into two categories, one is the synchronous service interface access traffic and the other is the asynchronous message queue message traffic, the partition routing process is also divided into two sub-processes according to the different access traffic, namely the service partition routing process and the message queue message partition routing process.

[0059] If the traffic data is a service access parameter, the service access parameter is received through the synchronous service interface of the data processing system, and then the business information is extracted from the service access parameter, and then the business area of ​​the route is matched based on the business information. After determining the first business area or the second business area of ​​the traffic data route, the target service corresponding to the traffic data is called through the business area of ​​the route.

[0060] For example, Figure 4 is a schematic diagram of a service partition routing process provided according to an embodiment of the present application, such as Figure 4 As shown in the figure, the external software accesses the traffic of the departure system through the synchronous service interface, and is routed to each partition through the DR. The input flight information and terminal information are obtained through the synchronous service interface. The DR obtains the flight (including airline, flight number, flight suffix and flight date) and terminal information from the external request. For example, the airline is MU, the flight number is 556, the flight suffix is ​​A, the date is 2023-11-12, and the terminal is PEK. Since the departure system provides thousands of service interfaces to the outside world, the input parameters of these interfaces are heterogeneous and do not necessarily contain flight or terminal information, so the obtained flight terminal information may be empty;

[0061] Determine whether the input data contains flight information. If so, query the flight routing dynamic rules based on the input flight information to obtain the corresponding partition information. Determine whether the partition information is found. If so, query the partition information corresponding to the flight in the routing dynamic rules table. If the partition information is found, obtain the downstream service corresponding to the partition and call the downstream service. If the partition information is not found, determine whether the input data contains terminal information. If the input data does not contain terminal information, obtain the default partition information, obtain the downstream service corresponding to the partition based on the default partition information, and then call the downstream service.

[0062] If the input parameter contains terminal information, query the partition information corresponding to the terminal in the partition routing static rule and determine whether the partition information is found. If the partition information is found, obtain the downstream service corresponding to the partition and then call the downstream service. If the partition information is not found, obtain the default partition information; obtain the downstream service corresponding to the partition according to the default partition information and then call the downstream service. If the input parameter contains neither flight information nor terminal information, directly obtain the default partition information, obtain the downstream service corresponding to the partition according to the default partition information and then call the downstream service.

[0063] After obtaining the partition information, you can use the partition information to obtain the corresponding service information of the partition, and then obtain the corresponding service. For example, if the external request calls the Bmethod method (a software development method) of the AService service (a cloud service), and the partition is a grey partition, then the Bmethod method of the AService-grey service is finally called. To improve system performance, the client instance of AService-grey will be pre-initialized when DR is started and reused when called.

[0064] This embodiment routes the service request to the corresponding software business interface in the corresponding partition for processing through the service partition routing process, thereby realizing business logic partition processing. Due to the use of a multi-logical partition and multi-software version deployment solution, the scope of the fault caused by a certain online change or a certain version problem will only be limited to a single logical partition, thereby avoiding the global failure of departure, and making the troubleshooting more accurate and efficient. After adopting the multi-logical partition deployment solution, the departure system is changed in units of a single partition, which has a small impact on the return. In addition, the time period with small traffic in the partition can be selected according to the characteristics of the partition business to further reduce the impact of the change and increase the system availability. Through the multi-logical partition deployment solution, a separate key guarantee partition can be set, and the traffic of certain city airports can be routed to the partition through configuration rules, so as to have the ability to provide special guarantees for the departure business of certain key city airports. By setting different business logic partitions and deploying different software versions, different countries, different regions, and different flights are routed to these partitions according to business rules, thereby realizing differentiated business functions and meeting the differentiated business needs of different countries, different regions, and different flights.

[0065] Optionally, in the traffic data routing method provided in an embodiment of the present application, when the traffic data is a business message, receiving the traffic data of the business system, and extracting business information from the traffic data includes: receiving the business message through the asynchronous message queue of the data processing system, parsing the business message, and obtaining the business information; after routing the traffic data to the first business area or the second business area, determining the target message queue of the first business area or the second business area, and forwarding the traffic data to the target message queue.

[0066] Specifically, if the traffic data is a business message, the business message is received through the asynchronous message queue of the data processing system, and then the business information is parsed from the business message, and then the business area of ​​the route is matched based on the business information. After determining the first business area or the second business area of ​​the traffic data route, the target message queue of the first business area or the second business area is determined, and the traffic data is forwarded to the target message queue.

[0067] The message queue message partition routing process is a process that accesses the departure system traffic in the form of messages through asynchronous message queues and routes it to each partition through DR. For example, Figure 5 Schematic diagram of a message queue message partition routing process provided according to an embodiment of the present application, such as Figure 5As shown, receive external asynchronous message queue message access, parse the message to obtain flight information and terminal information: DR parses the message message to obtain flight information (including airline, flight number, flight suffix and flight date) and terminal information, such as the airline is MU, the flight number is 556, the flight suffix is ​​A, the date is 2023-11-12, and the terminal is PEK. Since the departure system provides multiple message queues to the outside world, and each message queue also has several different types of messages, these messages are heterogeneous and do not necessarily contain flight or terminal information, so the obtained flight terminal information may be empty;

[0068] Determine whether the message contains flight information. If so, query the flight routing dynamic rules based on the input flight information to obtain the corresponding partition information. Determine whether the partition information is found. If so, query the partition information corresponding to the flight in the routing dynamic rules table. If so, forward the message to the downstream message queue based on the partition information. If no partition information is found, determine whether the input data contains terminal information. If the input data does not contain terminal information, obtain the default partition information and forward the message to the downstream message queue based on the default partition information.

[0069] If the input parameter contains the terminal information, the partition information corresponding to the terminal is queried in the partition routing static rule, and it is determined whether the partition information is found. If the partition information is found, the message is forwarded to the downstream message queue according to the partition information. If the partition information is not found, the default partition information is obtained; the message is forwarded to the downstream message queue according to the default partition information. If the input parameter contains neither flight information nor terminal information, the default partition information is directly obtained, and the message is forwarded to the downstream message queue according to the default partition information.

[0070] DR has a local configuration of the correspondence between partitions and message queues. After obtaining the partition information, it can obtain the message queue information corresponding to the partition through the configuration and the partition information, and then forward the message message to the corresponding message queue. For example, the local configuration is: as TOPIC_AS; eu TOPIC_EU; grey TOPIC_GREY. When the partition is judged as as, the message message is forwarded to the message queue TOPIC_AS, and when the partition is judged as grey, the message message is forwarded to the message queue TOPIC_GREY.

[0071] This embodiment routes the message to the corresponding message queue in the corresponding partition for processing through the message queue message partition routing process, thereby realizing business logic partition processing. Due to the use of a multi-logical partition and multi-software version deployment solution, the scope of the fault caused by a certain online change or a certain version problem will only be limited to a single logical partition, thereby avoiding the global failure of departure, and making the troubleshooting more accurate and efficient. After adopting the multi-logical partition deployment solution, the departure system is changed in units of a single partition, which has a small impact on the return. In addition, the time period with small traffic in the partition can be selected according to the characteristics of the partition business to further reduce the impact of the change and increase the system availability. Through the multi-logical partition deployment solution, a separate key guarantee partition can be set, and the traffic of certain city airports can be routed to the partition through configuration rules, so as to have the ability to provide special guarantees for the departure business of certain key city airports. By setting different business logic partitions and deploying different software versions, different countries, different regions, and different flights are routed to these partitions according to business rules, thereby realizing differentiated business functions and meeting the differentiated business needs of different countries, different regions, and different flights. This embodiment is based on the microservice architecture design and message queue system independently developed by Ligang. There is no need to reconstruct or rewrite the open system of Ligang. It only needs to deploy a partition routing microservice module and routing rule database on the original system, which can be used as a second-party package to provide partition routing functions for all functional modules of the open Ligang system.

[0072] The business functions of the data processing system are tested through the grayscale release area. Optionally, in the routing method of traffic data provided in the embodiment of the present application, the data processing system also includes a grayscale release area, which is used to test newly developed business functions. When the business functions pass the test in the grayscale release area, the business functions are released to the business area of ​​the data processing system.

[0073] Specifically, the grayscale release area can be a business area configured according to expert experience. The grayscale release area is used to test newly developed business functions. If the newly developed business functions in the grayscale release area pass the test, the business functions can be released to other business areas of the data processing system.

[0074] This embodiment provides a function for testing newly developed business functions by setting up a grayscale release area, thereby improving the release efficiency of business functions.

[0075] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0076] The embodiment of the present application also provides a flow data routing device. It should be noted that the flow data routing device of the embodiment of the present application can be used to execute the flow data routing method provided by the embodiment of the present application. The flow data routing device provided by the embodiment of the present application is introduced below.

[0077] Figure 6 Schematic diagram of a flow data routing device provided according to an embodiment of the present application. Figure 6 As shown, the device comprises:

[0078] The receiving unit 601 is used to receive the traffic data of the business system, extract the business information from the traffic data, and determine whether the business information contains flight information;

[0079] The first determination unit 602 is used to determine the business area of ​​the data processing system that matches the flight information from the routing dynamic rule table when the business information includes flight information, obtain a first business area, and route the traffic data to the first business area, wherein the data processing system includes multiple business areas, the business area is a server for processing traffic data, different types of traffic data are routed to different business areas for processing, the routing dynamic rule table includes multiple routing dynamic rules, and each routing dynamic rule includes at least one matching relationship between flight information and a business area;

[0080] A determination unit 603, configured to determine whether the service information includes terminal information when the service information does not include flight information;

[0081] The second determination unit 604 is used to determine the business area of ​​the data processing system that matches the terminal information from the routing static rule table when the business information includes the terminal information, obtain the second business area, and route the traffic data to the second business area, wherein the routing static rule table includes multiple routing static rules, and each routing static rule includes at least one matching relationship between the terminal information and a business area.

[0082] The routing device for flow data provided in the embodiment of the present application receives flow data of a business system through a receiving unit 601, extracts business information from the flow data, and determines whether the business information contains flight information; the first determining unit 602 determines the business area of ​​the data processing system matching the flight information from the routing dynamic rule table when the business information contains flight information, obtains the first business area, and routes the flow data to the first business area, wherein the data processing system includes multiple business areas, the business area is a server for processing flow data, different types of flow data are routed to different business areas for processing, the routing dynamic rule table includes multiple routing dynamic rules, each routing dynamic rule includes at least one matching relationship between flight information and a business area; the determining unit 603 determines whether the business information contains terminal information when the business information does not contain flight information; the second determining unit 604 In the case where the business information includes terminal information, the business area of ​​the data processing system matching the terminal information is determined from the routing static rule table to obtain the second business area, and the traffic data is routed to the second business area, wherein the routing static rule table contains multiple routing static rules, each routing static rule contains at least one matching relationship between terminal information and a business area, which solves the problem of low business processing efficiency in routing traffic data to a centralized server for unified processing in the related technology. By dividing the data processing system into multiple business areas, and setting a routing dynamic rule table and a routing static rule table, matching the business information extracted from the traffic data with the routing dynamic rule table or the routing static rule table, thereby determining the business area matching the business information, and then routing the traffic data to the matching business area, thereby achieving the effect of partition change when the data processing system is changed, avoiding business impact, and improving business processing efficiency.

[0083] Optionally, in the routing device for traffic data provided in the embodiment of the present application, the device further includes: an execution unit, for executing the step of determining whether the business information contains terminal information when there is no business area matching the flight information in the routing dynamic rule table; the device further includes: a routing unit, for routing the traffic data to a default business area when the business information does not contain terminal information, or when the business information contains terminal information and there is no business area matching the terminal information in the routing static rule table.

[0084] Optionally, in the routing device for traffic data provided in an embodiment of the present application, the device also includes: an acquisition unit, used to acquire all airports where the data processing system needs to process data, and for each airport, determine a target business area for processing the data of the target airport; a first generation unit, used to generate routing static rules based on the correspondence between each airport and the business area, and combine all routing static rules into a routing static rule table.

[0085] Optionally, in the routing device for traffic data provided in the embodiment of the present application, the device also includes: an extraction unit, used to receive a flight plan message and extract multiple flight information from the flight plan message; a third determination unit, used to determine, for each flight information, the starting airport and the passing airport of the target flight corresponding to the flight information, and determine the first arrival date of the starting airport and the second arrival date of the passing airport; a fourth determination unit, used to determine the third business area matching the starting airport from the routing static rule table, and determine the fourth business area matching the passing airport from the routing static rule table; a second generation unit, used to generate a routing dynamic rule for the target flight based on the correspondence between the starting airport, the first arrival date and the third business area, and the correspondence between the passing airport, the second arrival date and the fourth business area; a combination unit, used to combine all routing dynamic rules into a routing dynamic rule table.

[0086] Optionally, in the routing device for traffic data provided in an embodiment of the present application, the receiving unit 601 includes: a first determination module, used to determine the synchronization service interface of the data processing system, receive service access parameters from the synchronization service interface, and extract business information from the service access parameters; a calling module, used to call the target service corresponding to the traffic data through the first business area or the second business area after routing the traffic data to the first business area or the second business area.

[0087] Optionally, in the routing device for traffic data provided in an embodiment of the present application, the receiving unit 601 includes: a parsing module, used to receive business messages through an asynchronous message queue of a data processing system, parse the business messages, and obtain business information; a forwarding module, used to determine a target message queue of the first business area or the second business area after routing the traffic data to the first business area or the second business area, and forward the traffic data to the target message queue.

[0088] Optionally, in the routing device for traffic data provided in the embodiment of the present application, the data processing system also includes a grayscale release area, which is used to test newly developed business functions. When the business function passes the test in the grayscale release area, the business function is released to the business area of ​​the data processing system.

[0089] The routing device for traffic data includes a processor and a memory. The above-mentioned receiving unit 601, first determination unit 602, judgment unit 603 and second determination unit 604 are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions.

[0090] The processor contains a kernel, which calls the corresponding program unit from the memory. One or more kernels can be set, and the business processing efficiency can be improved by adjusting the kernel parameters.

[0091] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0092] An embodiment of the present invention provides a computer-readable storage medium on which a program is stored. When the program is executed by a processor, a method for routing traffic data is implemented.

[0093] An embodiment of the present invention provides a processor, which is used to run a program, wherein a method for routing traffic data is executed when the program is running.

[0094] Figure 7 is a schematic diagram of an electronic device provided according to an embodiment of the present application. Figure 7 As shown, the electronic device 701 includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, the following steps are implemented: receiving traffic data of a business system, extracting business information from the traffic data, and determining whether the business information contains flight information; when the business information contains flight information, determining the business area of ​​the data processing system matching the flight information from the routing dynamic rule table, obtaining a first business area, and routing the traffic data to the first business area, wherein the data processing system includes multiple business areas, the business area is a server for processing traffic data, and different types of traffic data are routed to different business areas for processing, the routing dynamic rule table includes multiple routing dynamic rules, each routing dynamic rule includes at least one matching relationship between flight information and a business area; when the business information does not include flight information, determining whether the business information includes terminal information; when the business information includes terminal information, determining the business area of ​​the data processing system matching the terminal information from the routing static rule table, obtaining a second business area, and routing the traffic data to the second business area, wherein the routing static rule table includes multiple routing static rules, each routing static rule includes at least one matching relationship between terminal information and a business area. The devices in this article can be servers, PCs, PADs, mobile phones, etc.

[0095] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that is initialized with the following method steps: receiving traffic data of a business system, extracting business information from the traffic data, and determining whether the business information contains flight information; in the case where the business information contains flight information, determining the business area of ​​the data processing system that matches the flight information from a routing dynamic rule table, obtaining a first business area, and routing the traffic data to the first business area, wherein the data processing system includes multiple business areas, the business area is a server for processing traffic data, different types of traffic data are routed to different business areas for processing, the routing dynamic rule table includes multiple routing dynamic rules, each routing dynamic rule includes at least one matching relationship between flight information and a business area; in the case where the business information does not include flight information, determining whether the business information includes terminal information; in the case where the business information includes terminal information, determining the business area of ​​the data processing system that matches the terminal information from a routing static rule table, obtaining a second business area, and routing the traffic data to the second business area, wherein the routing static rule table includes multiple routing static rules, each routing static rule includes at least one matching relationship between terminal information and a business area.

[0096] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0097] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0098] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0099] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0100] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0101] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0102] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0103] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0104] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0105] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A method for routing traffic data, characterized in that: include: Receiving traffic data from a business system, extracting business information from the traffic data, and determining whether the business information includes flight information; In the case where the business information includes flight information, a business area of ​​a data processing system matching the flight information is determined from a routing dynamic rule table to obtain a first business area, and the traffic data is routed to the first business area, wherein the data processing system includes multiple business areas, the business areas are servers for processing traffic data, different types of traffic data are routed to different business areas for processing, the routing dynamic rule table includes multiple routing dynamic rules, and each routing dynamic rule includes at least one matching relationship between flight information and a business area; In the case that the business information does not include flight information, determining whether the business information includes terminal information; In the case where the service information includes the terminal information, determining the service area of ​​the data processing system matching the terminal information from the routing static rule table, obtaining a second service area, and routing the traffic data to the second service area, wherein the routing static rule table includes a plurality of routing static rules, each routing static rule includes at least one matching relationship between the terminal information and a service area; The routing static rule table is determined by: obtaining all the airports where the data processing system needs to process data, and for each airport, determining the target business area for processing the data of the target airport; generating routing static rules according to the corresponding relationship between each airport and the business area, and combining all routing static rules into the routing static rule table; The dynamic routing rule table is determined in the following manner: receiving a flight plan message, extracting multiple flight information from the flight plan message; for each flight information, determining the starting airport and the via airport of the target flight corresponding to the flight information, and determining the first arrival date of the starting airport and the second arrival date of the via airport; determining the third business area matching the starting airport from the routing static rule table, and determining the fourth business area matching the via airport from the routing static rule table; generating the dynamic routing rule of the target flight according to the corresponding relationship between the starting airport, the first arrival date and the third business area, and the corresponding relationship between the via airport, the second arrival date and the fourth business area; and combining all the dynamic routing rules into the dynamic routing rule table.

2. The method according to claim 1, characterized in that: After determining the business area of ​​the data processing system matching the flight information from the routing dynamic rule table, the method further includes: In the case that there is no service area matching the flight information in the routing dynamic rule table, executing the step of determining whether the service information contains terminal information; After determining whether the service information includes terminal information, the method further includes: When the service information does not include the terminal information, or when the service information includes the terminal information and there is no service area matching the terminal information in the routing static rule table, the traffic data is routed to a default service area.

3. The method according to claim 1, characterized in that In the case where the traffic data is a service access parameter, receiving traffic data of a business system, and extracting business information from the traffic data includes: Determining a synchronous service interface of the data processing system, receiving a service access parameter from the synchronous service interface, and extracting the business information from the service access parameter; After routing the traffic data to the first service area or the second service area, a target service corresponding to the traffic data is called through the first service area or the second service area.

4. The method according to claim 1, characterized in that: In the case where the traffic data is a service message, receiving the traffic data of the service system, and extracting the service information from the traffic data includes: Receiving a service message through an asynchronous message queue of the data processing system, parsing the service message, and obtaining the service information; After routing the traffic data to the first service area or the second service area, determining a target message queue of the first service area or the second service area, and forwarding the traffic data to the target message queue.

5. The method according to claim 1, characterized in that: The data processing system also includes a grayscale release area, which is used to test newly developed business functions. If the business function passes the test in the grayscale release area, the business function is released to the business area of ​​the data processing system.

6. A flow data routing device, characterized in that: include: A receiving unit, configured to receive traffic data from a business system, extract business information from the traffic data, and determine whether the business information contains flight information; a first determination unit, configured to determine, when the business information includes flight information, from a routing dynamic rule table a business area of ​​a data processing system that matches the flight information, obtain a first business area, and route the traffic data to the first business area, wherein the data processing system includes a plurality of business areas, the business areas are servers for processing traffic data, different types of traffic data are routed to different business areas for processing, the routing dynamic rule table includes a plurality of routing dynamic rules, each routing dynamic rule includes at least one matching relationship between flight information and a business area; A judging unit, configured to judge whether the service information includes terminal information when the service information does not include flight information; a second determination unit, configured to determine, when the service information includes the terminal information, from a routing static rule table a service area of ​​a data processing system that matches the terminal information, obtain a second service area, and route the traffic data to the second service area, wherein the routing static rule table includes a plurality of routing static rules, each routing static rule including a matching relationship between at least one terminal information and a service area; The device further comprises: an acquisition unit, configured to acquire all airports whose data the data processing system needs to process, and for each airport, determine a target business area for processing the data of the target airport; a first generation unit, configured to generate a routing static rule according to the corresponding relationship between each airport and the business area, and combine all the routing static rules into the routing static rule table; an extraction unit, for receiving a flight plan message, and extracting a plurality of flight information from the flight plan message; a third determination unit, for determining, for each piece of flight information, a starting airport and a via airport of a target flight corresponding to the flight information, and determining a first arrival date of the starting airport and a second arrival date of the via airport; a fourth determination unit, for determining a third business area matching the starting airport from the routing static rule table, and determining a fourth business area matching the via airport from the routing static rule table; a second generation unit, for generating a routing dynamic rule for the target flight according to a correspondence between the starting airport, the first arrival date and the third business area, and a correspondence between the via airport, the second arrival date and the fourth business area; a combination unit, for combining all routing dynamic rules into the routing dynamic rule table.

7. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method for routing traffic data as described in any one of claims 1 to 5 is implemented.

8. An electronic device, characterized in that: It includes one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the traffic data routing method described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Flight data release system, flight change method and message processing method

    CN109873873A

  • Information transmission method and device, storage medium and electronic equipment

    CN117649787A