Method and device for projecting bus codes to flight code space

By constructing a mapping algorithm and establishing a mapping library between bus information and flight information, the intercity bus code is converted into flight code, which solves the problem of bus information fusion into flight information database, and realizes efficient transportation code conversion and multimodal transport information sharing.

CN119782394APending Publication Date: 2025-04-08TRAVELSKY TECHNOLOGY LIMITED
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411793771.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-06
Publication Date
2025-04-08

AI Technical Summary

Technical Problem

It is difficult for the existing technology to effectively integrate intercity bus code into the flight information database, especially without changing the flight backend support system, how to convert 64-bit bus code to 7-bit flight code has become a difficult problem.

Method used

A method of projecting bus encoding to flight encoding space is proposed. A mapping library of bus information and flight information is established through a construction mapping algorithm, and a flight encoding of the market and carrier is found or constructed using the bus ID, departure and arrival information, and stored it in the mapping library to realize encoding conversion.

Benefits of technology

It realizes the lossless integration of intercity bus information into the flight query system, ensures the uniqueness and difference of bus codes, simplifies background computing, reduces system complexity, and supports information sharing of multimodal transport.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119782394A_ABST
    Figure CN119782394A_ABST
Patent Text Reader

Abstract

The invention relates to a method and device for projecting a bus code to a flight code space, and the method comprises the steps: constructing a mapping algorithm, and building a bus information and bus flight information mapping library; building a bus flight information table; receiving a bus list, traversing each piece of bus information in the list, searching a mapping relation record in the mapping library according to the information of the bus ID, the bus departure place and the bus arrival place, if not, constructing a market side flight code and a carrier side flight code, storing the constructed mapping relation into the mapping library, and if not, storing the mapping relation into the mapping library; the mapped bus information is stored as bus flight information; and establishing and constructing a connection by using the bus flight information, and storing the latest connection result containing the bus flight information in a database. The invention provides a simple and convenient code conversion mode, the bus information can be quickly converted into the bus flight information, and the method is very suitable for the practical application scene of the civil aviation passenger transportation field and is beneficial to improving the service quality of a civil aviation system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of traffic code conversion, and in particular relates to a method, device, computer-readable storage medium, electronic device and computer program product for projecting a bus code into a flight code space. Background Art

[0002] At present, the cooperation between civil aviation and other modes of transportation is constantly deepening, the brand building of air-rail transport has achieved initial results, the market scale has grown steadily, and service products are becoming increasingly optimized. Airlines are gradually connecting ticket information systems with railways, shipping, and buses; air-rail transport products have entered the market, which realizes the seamless connection of automated aviation and rail transport. Airports have launched "air-magnetic transport" and "air-rail transport" services. These explorations and practices have continuously improved the passenger experience, promoted the brand building of passenger intermodal transport, and provided a strong guarantee for the realization of "people enjoy their travel". On the other hand, civil aviation business has also transformed from single transportation to comprehensive transportation. Through cooperation with railways, an intermodal transport information platform has been created to promote the sharing and integration of intermodal transport information and emergency communication, strengthen the coordination and linkage between different modes of transportation, and break the "information island" situation of transportation information systems in various industries. In this industrial context, how to integrate ground transportation information into the flight information system has become an urgent problem to be solved.

[0003] Although the industry has also taken some measures to solve the above problems, they all have obvious shortcomings. For example, redefining the underlying data and expanding the underlying data structure can make the underlying data compatible with bus information and ordinary flight information, but this modification method poses a major challenge to the entire flight backend support, with high implementation risks and a long implementation cycle, which is not conducive to a smooth transition; new processing logic can also be developed specifically for bus information, which will not harm the original flight query system, but the development cycle is long, implementation is difficult, and the system complexity is increased, making it difficult to maintain. So far, the industry has not yet found a satisfactory solution. Summary of the invention

[0004] In order to address the above-mentioned problems and provide passengers with more efficient and convenient query services, this application proposes a new method and device for projecting bus codes into flight code space.

[0005] This application provides a method for projecting bus codes to flight codes, aiming to solve the problem of integrating bus information into the flight information database. At present, the code of intercity buses in the domestic market is a 64-bit alphanumeric string, such as: JCAS86259123456789. According to the standards issued by CCCC, the maximum length of intercity bus codes is 64 bits. At the same time, the flight query system has only focused on the presentation and management of civil aviation information since its creation, resulting in the current flight system flight number code being only 7 bits at most, and the coding structure is as follows:

[0006] 2-digit 4-digit 1st Airline Code Flight code Flight suffix

[0007] Since flight information is the most basic information in the flight query system, the modification of the underlying data structure needs to be carried out cautiously, so the integration of intercity buses into the flight query system requires a gradual process and cannot be achieved overnight. Changes to the underlying data structure of flights will involve collaboration in all aspects, including query systems, connecting trip construction systems, booking systems, terminal display systems, etc. Although the cooperation between civil aviation and other modes of transportation has developed rapidly, in the face of a huge flight backend support system, a transition period is needed for the backend support system. During this transition period, it is necessary to temporarily convert the intercity bus code to a code that can be supported by the flight query system backend, and how to ensure that the intercity bus can be displayed normally in the flight query system, and convert the 64-bit string code to a 7-bit code without affecting the original flight code, this is exactly the problem to be solved by this application. To this end, this application proposes a highly feasible code conversion method, which not only ensures the uniqueness of the intercity bus code but also ensures the difference between the intercity bus code and the ordinary flight code. This application is very suitable for the actual application scenarios in the field of civil aviation passenger transport, and helps to improve the service quality of the civil aviation system.

[0008] In order to achieve the above objectives, this application provides the following technical solutions:

[0009] A first aspect of the present application provides a method for projecting a bus code into a flight code space, comprising:

[0010] Constructing a mapping algorithm to establish a bus information and bus flight information mapping library; the structural information of the mapping library includes: bus ID, bus departure point, bus arrival point, market flight code, carrier flight code;

[0011] Construct a bus flight information table, in which the market airline two-letter code and the carrier airline two-letter code are constructed for the bus;

[0012] Receive the bus list, traverse each bus information in the list, and search for the mapping relationship record in the mapping library according to the bus ID + bus departure place + bus arrival place information. If there is a record, directly use the mapped market flight code and carrier flight code to construct the bus flight information; if there is no record, construct a new market flight code and carrier flight code according to the year-month-day control variables, store the constructed mapping relationship in the mapping library, and store the mapped bus information as bus flight information;

[0013] Use bus and flight information to build connections and store the latest connection results containing bus and flight information in the database.

[0014] Optionally, in the method of the present application, the mapping algorithm includes:

[0015] The market flight code + the carrier flight code, which is an 8-digit incrementing number;

[0016] The carrier airline code, a total of 2 digits, the first digit is a letter and the second digit is a number;

[0017] The marketing flight suffix + the carrier flight suffix, a total of 2 digits, both of which can be in the range of A to Z. When the nth day of the year is converted into two hexadecimal letters, 0 is for A, 1 is for B, and so on.

[0018] Optionally, in the present application method, the structural information of the bus flight information table includes: the two-letter code of the market airline, the market flight code, the market flight suffix, the two-letter code of the carrier airline, the carrier flight code, the carrier flight suffix, the bus departure airport, and the bus arrival airport.

[0019] Optionally, the application method also includes: obtaining direct flights and connecting flights that meet the query requirements based on the flight query request sent by the user. If the returned results contain bus flight information, the original bus ID is sent to the flight query front end, and the query front end determines how to present it to the user.

[0020] Optionally, the application method also includes: when the bus information is fully updated, the historical bus flight information is deleted, the new bus flight information table is stored in the underlying data structure of the flight query system, and then flight query, connecting flight query, and connecting flight establishment are performed in the same manner as ordinary flights.

[0021] A second aspect of the present application provides a device for projecting a bus code into a flight code space, comprising:

[0022] Flight query module: used to receive flight query requests sent by users, query flight information according to user requests, and return query results to users;

[0023] Information receiving module: used to receive flight information sent by airlines and intercity bus information sent by CCCC, complete data format legality verification and analysis, and store the analysis results in the flight data set;

[0024] Information management module: used to store the original flight and bus information sent by the information receiving module; send the original bus information to the intercity bus standardization module for processing, and receive the bus conversion information obtained after processing by the intercity bus standardization module; provide the required flight information to the flight query module according to the query requirements;

[0025] Intercity bus standardization module: converts and fills the original bus information according to the flight information format, so that the intercity bus information can be stored in the data structure of the flight query system.

[0026] When the device is running, it implements the steps of the aforementioned method for projecting the bus code into the flight code space.

[0027] Optionally, in the device of the present application, the user sends the flight query request to the flight query module through the airline's official website, airline APP, or OTA channel;

[0028] After the query is completed, the flight query module returns the query results to the user in the form of a connecting flight list.

[0029] A third aspect of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the aforementioned method of projecting bus codes into flight code space are implemented.

[0030] A fourth aspect of the present application provides an electronic device, comprising: a memory and a processor;

[0031] Memory: used to store computer programs;

[0032] Processor: used to execute the computer program to implement the steps of the aforementioned method of projecting the bus code to the flight code space.

[0033] Finally, the present application also provides a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the aforementioned method of projecting bus codes into flight code space.

[0034] In summary, this application proposes a method for projecting bus codes into flight code space. As a simple and easy way to convert traffic codes, this method can quickly convert bus information into bus flight information. This application has the following advantages:

[0035] (1) This method is simple to implement, accurate in operation, and has high conversion efficiency. It can also reduce the amount of calculation and alleviate the background calculation pressure.

[0036] (2) Through this application method, other traffic information can be quickly integrated into the flight management system, breaking down the information barriers between various traffic systems and accelerating the development of multimodal transport.

[0037] (3) This application method does not involve changes to the main backend business modules, ensuring system stability and maximizing safety production during the transformation phase of the aviation industry.

[0038] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the techniques indicated in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction is given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0040] Figure 1 A structural diagram of a device for projecting bus codes into flight code space provided in one embodiment of the present application.

[0041] Figure 2 A schematic diagram of the cooperation mode and working process of each module in an apparatus provided in an embodiment of the present application.

[0042] Figure 3 This is an overall implementation flow chart of a method for projecting bus codes into flight code space provided in one embodiment of the present application. DETAILED DESCRIPTION

[0043] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme 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 making creative work are within the scope of protection of this application.

[0044] The term "including" and its variations used in this document 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 "some embodiments" means "at least some embodiments".

[0045] 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 the context clearly indicates otherwise, it should be understood as "one or more".

[0046] The system involved in this embodiment is a flight query system. Traditionally, domestic flight information is released by airlines to OAG (Official Aviation Guide), and intercity bus information is provided to OAG by CCIT. This embodiment adds a conversion process from intercity bus code to flight code (flight number) to the original process, which enables intercity bus information to be integrated into the flight query system without loss.

[0047] Figure 1 The figure shows a projection device for bus code to flight code space proposed in the present application. Figure 2 The figure shows the cooperation mode and working process of each module in the device. Specifically, the device includes:

[0048] Flight query module: responsible for receiving flight query requests (query instructions) sent by users (or flight query front-end) through airline official websites, airline apps, OTAs and other channels, querying flight information according to user requests, and returning query results to users in the form of connecting flight lists.

[0049] Information receiving module: responsible for receiving flight information sent by airlines and intercity bus information sent by CCCC, completing data format legality verification and parsing, and storing the parsed results in the flight data set.

[0050] Information management module: responsible for storing the original flight / bus information sent by the information receiving module; sending the original bus information to the intercity bus standardization module for processing, and receiving the bus conversion information obtained after processing by the intercity bus standardization module; providing the required flight information to the flight query module according to the query requirements.

[0051] Intercity bus standardization module: convert and fill the original intercity bus information according to the common flight information format to ensure that the intercity bus information can be stored in the data structure of the flight query system.

[0052] The device composed of the above modules implements the method of projecting bus code to flight code space disclosed in this application when running.

[0053] Figure 3 The figure shows a method for projecting bus codes to flight code space provided by the present application, comprising the following steps:

[0054] Step 1: Establish a mapping library for bus information and bus flight information. Based on the analysis of bus characteristics, it is concluded that bus ID + departure place + arrival place can uniquely identify a bus information, and ordinary flight information includes the carrier flight code (agent operator) and the market flight code (actual operator). The mapping library structure information is as follows:

[0055]

[0056] Step 2: In order to distinguish buses from ordinary flights, a bus flight information table is constructed. A special airline two-letter code "1X" is constructed for buses (this code is not currently available in the market and can be changed). The main information structure of the bus flight information table is as follows:

[0057] Information Name Example Market side airline two-letter code 1X Market flight code 1002 Market flight suffix A Two-letter code of the carrier airline 1X Carrier flight code 2001 Carrier Flight Suffix B Departure Airport KWE Arrival at the Airport SHA

[0058] Step 3. Receive the bus list sent by CCCC, traverse each bus information in the list, and search for mapping relationship records in the mapping library according to the bus ID + departure place + arrival place information. If there is a record, directly use the mapped market flight code and carrier flight code to construct the bus flight information; if there is no record, construct a new market flight code and carrier flight code according to the year-month-day control variables, store the constructed mapping relationship in the mapping library as a new mapping record, and store the mapped bus information as bus flight information.

[0059] Step 4: Use bus and flight information to build a connection, and store the latest connection results containing bus and flight information in the database.

[0060] Step 5: Obtain direct flights and connecting flights that meet the query requirements based on the user's query request; if there is bus flight information in the returned results, send the original bus ID to the flight query front end, and the query front end determines how to present it to the user.

[0061] In order to better understand the technical solution of the present application, the key steps in the implementation process of the method of the present application are further described in detail with examples of the following business scenarios.

[0062] 1. Constructing mapping algorithm

[0063] The market flight code + the carrier flight code is 8 digits in total, all of which are numbers, starting from 10001000 and increasing by 1 (because the flight number cannot be 0). The carrier airline code is 2 digits in total, the first digit ranges from uppercase letters A to Z, a total of 26 letters, and the second digit ranges from numbers 0 to 9, a total of 10 numbers, so 26*10=260, theoretically supporting up to 260 years of chronology.

[0064] for example:

[0065] The year 2000 is the year 000, or A0.

[0066] 2024 is the year 024, which is C4.

[0067] 2259 is the 259th year, which is Z4.

[0068] The year 2260 is the 260th year, which is A0.

[0069] And so on.

[0070] Taking 2024 as an example, the calculation formula is as follows:

[0071] The first digit from right to left of the two digits ((((2024%1000)%260)%10)+48)=52=4, ASSIC code 0=48;

[0072] The second digit from right to left of the two digits (((((2024%1000)%260) / 10)%26)+65)=76=C, ASSI code A=65.

[0073] The flight suffix of the market party + the flight suffix of the carrier party, a total of 2 digits, both of which can be in the range of A to Z. Theoretically, 26*26=676 numbers are supported. There are 365 days in a year, and the values ​​can be fully covered.

[0074] So convert the day of the year into two hexadecimal letters, with 0 for A, 1 for B, and so on.

[0075] The first letter is the market flight suffix, and the second letter is the carrier flight suffix.

[0076] January 1st is day 001, which is AB.

[0077] December 31 is the 365th day, which is OL.

[0078] Taking 0819 as the 232nd day of 2024 as an example, the calculation formula is as follows:

[0079] The first digit from right to left of the two digits is ((232%26)+65)=89=Y, ASSI code A=65;

[0080] The second digit from right to left of the two digits (((232 / 26)%26)+65)=73=I, ASSI code A=65.

[0081] Example: The first virtual flight number of 20240819

[0082] 2024 corresponds to C4;

[0083] 0819 is 232, corresponding to IY;

[0084] The auto-increment number is 10001000;

[0085] That is, the first number that will not repeat on that day is:

[0086] C4 IY 1000 1000;

[0087] That is, the market side flight code: 1X1000I;

[0088] Carrier flight code: C41000Y.

[0089] 2. Process the first bus raw data

[0090] Assume that the original bus record obtained on August 19 is as follows:

[0091] Bus code (Bus ID) Departure Airport (Place of Departure) Arrival Airport (Destination) JCAS86249 KWE SHA

[0092] The above records were not found in the mapping library. The mapping algorithm was used to calculate the market flight code: 1X1000I, the carrier flight code: C41000Y, and the mapping relationship was stored in a mapping relationship table. The mapping relationship is as follows:

[0093] Bus Code Departure Airport Arrival at the Airport Market flight code Carrier flight code JCAS86249 KWE SHA 1X1000I C41000Y

[0094] Get a bus flight information record as follows:

[0095]

[0096]

[0097] 3. Process the second bus raw data

[0098] Assume that the original bus record obtained on August 19 is as follows:

[0099] Bus Code Departure Airport Arrival at the Airport JCAS86248 SHA KWE

[0100] The above record is not found in the mapping library. You only need to add 1 to the auto-increment number. The mapping algorithm is used to calculate the market flight code: 1X1000I, the carrier flight code: C41001Y, and store them in a mapping relationship table. The mapping relationship is as follows:

[0101] Bus Code Departure Airport Arrival at the Airport Market flight code Carrier flight code JCAS86248 SHA KWE 1X1000I C41001Y

[0102] Get a bus flight information record as follows:

[0103] Market side airline two-letter code 1X Market flight code 1000 Market flight suffix I Two-letter code of the carrier airline C4 Carrier flight code 1001 Carrier Flight Suffix Y Departure Airport SHA Arrival at the Airport KWE

[0104] 4. Process the original data of the nth bus

[0105] The original record of bus No. n is as follows:

[0106]

[0107]

[0108] The mapping relationship in the mapping library is as follows:

[0109] Bus Code Departure Airport Arrival at the Airport Market flight code Carrier flight code JCBS86333 PEK TSN 1X1012I C41000A

[0110] Get a bus flight information record as follows:

[0111] Market side airline two-letter code 1X Market flight code 1012 Market flight suffix I Two-letter code of the carrier airline C4 Carrier flight code 1000 Carrier Flight Suffix A Departure Airport PEK Arrival at the Airport TSN

[0112] 5. Fully update bus information

[0113] Assuming that the bus information only has the three records shown above, after a series of transformations, the following bus list is obtained, which is exactly the same format as ordinary flight information and can be processed using all the logic of the original flight query system:

[0114]

[0115] The bus information is fully updated. You only need to delete the historical bus flight information and store the above table in the underlying data structure of the flight query system. That is, you can perform flight queries, connecting flight queries, connecting flight building, etc. according to ordinary flights.

[0116] The flow charts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the apparatus, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the module, program segment, or a part of a code contains one or more executable instructions for implementing the specified logical functions. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0117] The names of messages or data exchanged between multiple modules 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 data.

[0118] Furthermore, an embodiment of the present application also discloses an electronic device, including: a memory and a processor;

[0119] The memory is used to store a computer program, and the processor is used to run the computer program to implement the steps of the above-mentioned method for projecting the bus code to the flight code space.

[0120] It is understandable that, in addition to the memory and the processor, the electronic device may also include an input device such as a keyboard, an output device such as a display, and a communication module. The input device, the output device, and the communication module communicate with the processor via an I / O interface (i.e., an input / output interface).

[0121] 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., through the Internet using an Internet service provider).

[0122] Furthermore, the present application also discloses a computer-readable storage medium. When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can execute the various steps of the method for projecting bus codes into flight code space disclosed in the present application.

[0123] In the context of the present disclosure, a computer-readable storage medium may be a tangible medium, more specific examples of which would include a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0124] In particular, according to an embodiment of the present disclosure, the process described in the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device, or installed from a ROM. When the computer program is executed by a processing device, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0125] Although several specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. 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-mentioned technical features, but should also cover other technical solutions formed by any combination of the above-mentioned technical features or their equivalent features without departing from the above-mentioned public concept.

[0126] Those skilled in the art should also understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.

Claims

1. A method for projecting bus codes into flight code space, characterized in that: The method comprises: Constructing a mapping algorithm to establish a bus information and bus flight information mapping library; the structural information of the mapping library includes: bus ID, bus departure point, bus arrival point, market flight code, carrier flight code; Construct a bus flight information table, in which the market airline two-letter code and the carrier airline two-letter code are constructed for the bus; Receive the bus list, traverse each bus information in the list, and search for the mapping relationship record in the mapping library according to the bus ID + bus departure place + bus arrival place information. If there is a record, directly use the mapped market flight code and carrier flight code to construct the bus flight information; if there is no record, construct a new market flight code and carrier flight code according to the year-month-day control variables, store the constructed mapping relationship in the mapping library, and store the mapped bus information as bus flight information; Use bus and flight information to build connections and store the latest connection results containing bus and flight information in the database.

2. The method according to claim 1, characterized in that The mapping algorithm includes: The market flight code + the carrier flight code, which is an 8-digit incrementing number; The carrier airline code, a total of 2 digits, the first digit is a letter and the second digit is a number; The marketing flight suffix + the carrier flight suffix, a total of 2 digits, both of which can be in the range of A to Z. When the nth day of the year is converted into two hexadecimal letters, 0 is for A, 1 is for B, and so on.

3. The method according to claim 1, characterized in that The structural information of the bus flight information table includes: the two-letter code of the market airline, the market flight code, the market flight suffix, the two-letter code of the carrier airline, the carrier flight code, the carrier flight suffix, the bus departure airport, and the bus arrival airport.

4. The method according to claim 1, characterized in that: The method also includes: obtaining direct flights and connecting flights that meet the query requirements according to the flight query request sent by the user, and if the returned results contain bus flight information, sending the original bus ID to the flight query front end, and the query front end determines how to present it to the user.

5. The method according to claim 1, characterized in that The method also includes: when the bus information is fully updated, the historical bus flight information is deleted, the new bus flight information table is stored in the underlying data structure of the flight query system, and then the flight query, connecting flight query, and connecting flight construction are performed in the same way as ordinary flights.

6. A device for projecting bus codes into flight code space, characterized in that: The device comprises: Flight query module: used to receive flight query requests sent by users, query flight information according to user requests, and return query results to users; Information receiving module: used to receive flight information sent by airlines and intercity bus information sent by CCCC, complete data format legality verification and analysis, and store the analysis results in the flight data set; Information management module: used to store the original flight and bus information sent by the information receiving module; send the original bus information to the intercity bus standardization module for processing, and receive the bus conversion information obtained after processing by the intercity bus standardization module; provide the required flight information to the flight query module according to the query requirements; Intercity bus standardization module: converts and fills the original bus information according to the flight information format, so that the intercity bus information can be stored in the data structure of the flight query system.

7. The device according to claim 6, characterized in that The user sends the flight query request to the flight query module through the airline's official website, airline APP, or OTA channel; After the query is completed, the flight query module returns the query results to the user in the form of a connecting flight list.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method for projecting the bus code to the flight code space as described in any one of claims 1 to 5 are implemented.

9. An electronic device, characterized in that: include: Memory and processor; Memory: used to store computer programs; Processor: used to execute the computer program to implement the steps of the method for projecting the bus code to the flight code space as described in any one of claims 1-5.

10. A computer program product, characterized in that The computer program comprises a computer program carried on a non-transitory computer-readable medium, wherein the computer program comprises a program code for executing the method for projecting a bus code into a flight code space as claimed in any one of claims 1 to 5.