Fuzzy air ticket search result merging method, system and equipment and storage medium
By generating multiple structured freight data and serializing, combining and de-replicating, the problem of incomplete fuzzy air ticket search results is solved, and more comprehensive search results and efficient data processing is achieved.
Patent Information
- Application Number
- CN202510719519.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-30
- Publication Date
- 2025-09-02
AI Technical Summary
The existing fuzzy air ticket search method only simply merges the text results of the freight search system, which is difficult and cannot ensure the integrity of the results.
By receiving fuzzy query requests, multiple structured freight data are generated, serialized into byte streams, combined and deserialized into structured results, and de-repeat the same, to generate the final freight result.
It expands the search coverage, improves the comprehensiveness and accuracy of the results, enhances the compatibility of the system and data processing efficiency, and ensures the correctness and usability of the results.
Smart Images

Figure CN120578699A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of air ticket search, and in particular relates to a method, system, device and storage medium for merging results of fuzzy air ticket search. Background Art
[0002] As society continues to develop, more and more passengers are choosing to travel by air. Passengers need to search for airfares by specifying their itinerary information, such as the origin, destination, and departure date, in a fare search system. This traditional search method has many limitations. Especially for passengers without a specific destination, traditional search methods are inadequate. Passengers are forced to conduct multiple searches and then integrate the information themselves to determine their final itinerary.
[0003] To address the above issues, the existing technology provides a fuzzy search method based on a large language model. This method can use the large language model to obtain eligible destinations based on the fuzzy destination information entered by the passenger, such as a country, an island, etc., and the travel date range, and generate corresponding query requests with different destinations and travel dates, call the fare search system, and finally merge the query results returned by the system and display them to the passenger.
[0004] The existing technology has the following technical problems: The result of the fuzzy search method is simply to merge the text results of the freight rate search system, which is not only difficult but also cannot ensure the integrity of the final result. Summary of the Invention
[0005] The present invention provides a method, system, device and storage medium for merging the results of fuzzy air ticket search, aiming to solve the technical problem that the results of the fuzzy search method in the above-mentioned prior art are simply to merge the text results of the fare search system, which is not only difficult but also cannot ensure the integrity of the final result.
[0006] The present invention solves the above-mentioned technical problem with the following technical solution: a method for merging fuzzy air ticket search results, comprising: Receive a fuzzy query request from a user, and generate a plurality of structured freight rate data according to the fuzzy query request; Serialize structured freight rate data into byte stream format; Combine all the freight rate data in byte stream form according to the preset request format to obtain multiple sets of byte stream freight rate results; Deserialize the byte stream form of all byte stream freight rate results into structured form to obtain multiple sets of structured freight rate results; The public data and result data in all structured freight rate results are deduplicated and merged to obtain the final freight rate results.
[0007] Furthermore, the above-mentioned generation of a plurality of structured freight rate data according to the fuzzy query request specifically includes: Receive a fuzzy query request from a user, and generate multiple specific query conditions according to the fuzzy query request; Call multiple freight rate search systems to perform one-to-one queries on multiple specific query conditions to obtain multiple sets of structured freight rate data.
[0008] Furthermore, the above-mentioned serialization of the structured freight rate data into the freight rate data in the form of a byte stream specifically includes: Define the data type to be serialized and use the serialize method to obtain the actual value of the data type in the structured freight rate data; the data type includes: origin, destination, and departure date; Creating a FareResult instance including a data type, and assigning a value to the FareResult instance according to a real value of the data type to obtain a structured object; Use the BOOST serialization method to convert the structured object into a byte stream object to obtain the freight rate data in the form of a byte stream.
[0009] Furthermore, the above-mentioned multiple byte stream freight rate results specifically include: Obtain the number of bytes and byte content of each freight rate data in the form of byte streams, as well as the data quantity of all freight rate data in the form of byte streams; The data quantity of all freight rate data in byte stream form is taken as the first group of freight rate results, and the byte number and byte content of each freight rate data in byte stream form is taken as a byte stream freight rate result unit group; wherein, the multiple groups of byte stream freight rate results include the first group of freight rate results and all the byte stream freight rate result unit groups.
[0010] Furthermore, the above-mentioned multiple sets of structured freight rate results specifically include: Obtain the number of data in the first group of freight rate results, and read a corresponding number of byte stream freight rate result unit groups according to the number of data; The BOOST deserialization library is used to deserialize the byte content in each group of byte stream freight rate result units to obtain structured content, and correspondingly obtain multiple groups of structured freight rate result units; wherein the multiple groups of structured freight rate results include the first group of freight rate results and all the structured freight rate result unit groups.
[0011] Furthermore, the above-mentioned final freight rate results specifically include: Traversing each group of structured freight rate results to obtain common data and result data of each group of structured freight rate results, and performing keyword extraction on the common data and result data to obtain common keywords and result keywords; Determine in turn whether the common keywords of each set of structured freight rate results are stored in the new public dataset: If so, the number of the public keyword is obtained through the new public data set, and the public data number referenced by the result data is updated using the obtained number; If not, the public keyword is stored in a new public data set, and the stored public keywords are numbered; Determine in turn whether the result keywords of each set of structured freight rate results are stored in the new result dataset: If not, the result keyword is stored in a new result data set; If so, then end; When all the common keywords and result keywords of the structured freight rate results are judged, the new common data set, the new result data set and the common data number referenced by each result data are integrated to obtain the final freight rate result.
[0012] Furthermore, the public information mentioned above includes: flight information, airport information, flight segment information, ticket information and fare rules; the result data includes: the referenced public data number, total price, passenger type and cabin information.
[0013] In a second aspect, in order to solve the above technical problems, the present invention further provides a fuzzy air ticket search result merging system, comprising: A fuzzy query module, configured to receive a fuzzy query request from a user and generate a plurality of structured freight rate data according to the fuzzy query request; Serialization module, used to serialize structured freight rate data into freight rate data in the form of byte stream; The data integration module is used to combine all the freight rate data in the form of byte streams according to the preset request format to obtain multiple sets of byte stream freight rate results; The deserialization module is used to deserialize the byte stream form of all byte stream freight rate results into structured form to obtain multiple sets of structured freight rate results; The deduplication and merging module is used to deduplicate and merge the common data and result data in all structured freight rate results to obtain the final freight rate results.
[0014] In a third aspect, in order to solve the above-mentioned technical problems, the present invention also provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and runnable on the processor. When the processor executes the computer program, the result merging method of the fuzzy air ticket search of the present application is implemented.
[0015] In a fourth aspect, in order to solve the above technical problems, the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method for merging the results of the fuzzy air ticket search of the present application is implemented.
[0016] Compared with the prior art, the present invention has the following advantages: 1. The present invention converts the user's fuzzy query request into multiple specific query conditions and calls multiple freight rate search systems to obtain freight rate data in parallel, effectively expanding the search coverage, improving the comprehensiveness and accuracy of search results, and thus enhancing the user's search experience and satisfaction.
[0017] 2. This invention uses the BOOST serialization module to convert structured freight rate data into a byte stream format, enabling unified transmission and parsing of data from different sources and formats. This enhances system compatibility and scalability, making it particularly suitable for heterogeneous system communications within a distributed architecture. Multiple byte stream freight rate results are combined according to a pre-set format and then processed uniformly, avoiding repeated transmission and parsing operations, reducing system resource consumption, and improving data processing efficiency.
[0018] 3. During the results merging phase, this invention extracts keywords from both the public data and the result data, performs deduplication processing, and maintains new public and result data sets, effectively reducing redundant information and improving data management efficiency and system response speed. During the merging process, the reference numbers of the public data in the result data are dynamically updated, ensuring that all references always point to the latest data set, preventing data inconsistencies or invalid references and guaranteeing the accuracy and availability of the final freight rate results.
[0019] Other features and advantages of the present invention will be described in the following description, and in part will become apparent from the description, or will be understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces 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 invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0021] Figure 1 A schematic flow chart of a method for merging fuzzy air ticket search results according to an embodiment of the present invention is shown; Figure 2A schematic diagram showing the results of multiple byte stream rates according to an embodiment of the present invention is shown; Figure 3 A schematic diagram of a process for obtaining a final freight rate result according to an embodiment of the present invention is shown; Figure 4 A schematic structural diagram of a fuzzy air ticket search result merging system according to an embodiment of the present invention is shown; Figure 5 A schematic structural diagram of an electronic device according to an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0022] To make the objectives, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.
[0023] Figure 1 FIG. 1 shows a flow chart of a method for merging fuzzy air ticket search results according to an embodiment of the present invention. Figure 1 As shown, a method for merging fuzzy air ticket search results according to an embodiment of the present invention includes: Receive a fuzzy query request from a user, and generate a plurality of structured freight rate data according to the fuzzy query request; Serialize structured freight rate data into byte stream format; Combine all the freight rate data in byte stream form according to the preset request format to obtain multiple sets of byte stream freight rate results; Deserialize the byte stream form of all byte stream freight rate results into structured form to obtain multiple sets of structured freight rate results; The public data and result data in all structured freight rate results are deduplicated and merged to obtain the final freight rate results.
[0024] Optionally, generating a plurality of structured freight rate data according to the fuzzy query request specifically includes: Receive a fuzzy query request from a user, and generate multiple specific query conditions according to the fuzzy query request; Call multiple freight rate search systems to perform one-to-one queries on multiple specific query conditions to obtain multiple sets of structured freight rate data.
[0025] Optionally, the structured freight rate data is serialized into a byte stream format, specifically including: Define the data type to be serialized and use the serialize method to obtain the actual value of the data type in the structured freight rate data; the data type includes: origin, destination, and departure date; Creating a FareResult instance including a data type, and assigning a value to the FareResult instance according to a real value of the data type to obtain a structured object; Use the BOOST serialization method to convert the structured object into a byte stream object to obtain the freight rate data in the form of a byte stream.
[0026] Optionally, multiple byte stream rate results are obtained, including: Obtain the number of bytes and byte content of each freight rate data in the form of byte streams, as well as the data quantity of all freight rate data in the form of byte streams; The data quantity of all freight rate data in byte stream form is taken as the first group of freight rate results, and the byte number and byte content of each freight rate data in byte stream form is taken as a byte stream freight rate result unit group; wherein, the multiple groups of byte stream freight rate results include the first group of freight rate results and all the byte stream freight rate result unit groups.
[0027] like Figure 2 As shown, in this embodiment, N represents the number of data of the freight rate data, that is, the number of results, size represents the length of the byte stream, that is, the number of bytes, and bytes represents the content of the byte stream.
[0028] In this embodiment, if there are three byte stream rate result unit groups S1, S2, and S3, where S1 is "abcd", S2 is "12345", and S3 is "efg", the resulting multiple byte stream rate results are as follows:
[0029] Deserialization operation is performed on these three byte stream freight rate result unit groups to obtain three structured freight rate result unit groups D1, D2, and D3.
[0030] Optionally, multiple sets of structured freight rate results are obtained, including: Obtain the number of data in the first group of freight rate results, and read a corresponding number of byte stream freight rate result unit groups according to the number of data; The BOOST deserialization library is used to deserialize the byte content in each group of byte stream freight rate result units to obtain structured content, and correspondingly obtain multiple groups of structured freight rate result units; wherein the multiple groups of structured freight rate results include the first group of freight rate results and all the structured freight rate result unit groups.
[0031] Optional, the final freight rate result includes: Traversing each group of structured freight rate results to obtain common data and result data of each group of structured freight rate results, and performing keyword extraction on the common data and result data to obtain common keywords and result keywords; Determine in turn whether the common keywords of each set of structured freight rate results are stored in the new public dataset: If so, the number of the public keyword is obtained through the new public data set, and the public data number referenced by the result data is updated using the obtained number; If not, the public keyword is stored in a new public data set, and the stored public keywords are numbered; Determine in turn whether the result keywords of each set of structured freight rate results are stored in the new result dataset: If not, the result keyword is stored in a new result data set; If so, then end; When all the common keywords and result keywords of the structured freight rate results are judged, the new common data set, the new result data set and the common data number referenced by each result data are integrated to obtain the final freight rate result.
[0032] like Figure 3 As shown, in this embodiment, both the public data and the result data have keywords that can uniquely identify them. These keywords are extracted and the data is deduplicated based on the keywords. When merging public data, since the public data of different freight rate results will be stored in a new public data set and need to be renumbered, the public data numbers referenced in the result data need to be updated to the corresponding data numbers in the new public data set.
[0033] In this embodiment, assume that the data components of D1, D2, and D3 are as shown in the following table. D1's public data includes G1 and G2, numbered 0 and 1, respectively. The result data includes R1 and R2, which reference the public data G1 and G2, respectively. D2's public data includes G3, numbered 0. The result data includes R3 and R4, both of which reference the public data G3. D3's public data includes G4, numbered 0. The result data includes R5, which references the public data G4.
[0034]
[0035] First, merge the public data. Initially, the new public dataset is empty, that is, [], and public data are numbered starting at 0. When processing each public data point, duplicates are removed by keyword, and the public data references of the resulting data are updated. When processing G1 and G2, they have different keywords and are not duplicates. Both are added to the new public dataset, and their numbers remain unchanged, so the public data references of R1 and R2 remain unchanged. The new public dataset is now [G1, G2]. When processing G3, since it is a duplicate of G2, it is not added to the new public dataset. Its number in the new public dataset is 1, so the public data references of R3 and R4 are updated to 1. When processing G4, since its keyword is different from G1 and G2, it is added to the new public dataset. G4 is now numbered 2, and the public data reference of R5 is updated to 2. The final new public dataset is [G1, G2, G4], with the corresponding public data references of R1, R2, R3, R4, and R5 being 0, 1, 1, 1, 2.
[0036] Merge the result data. Initially, the new result dataset is empty, that is, []. Process R1, R2, R3, R4, and R5 in sequence, and remove duplicate data based on the keyword. The final new result dataset is [R1, R2, R3, R5].
[0037] Finally, the new public data set and the new result data set are integrated. The public data is [G1, G2, G4], and the result data is [R1, R2, R3, R5]. The corresponding public data references are 0, 1, 1, 2, that is, R1 references G1, R2 and R3 reference G2, and R5 references G4 to obtain the final freight rate result.
[0038] Optionally, the public information includes: flight information, airport information, flight segment information, ticket information and fare rules; the result data includes: referenced public data number, total price, passenger type and cabin information.
[0039] Based on Figure 1 Based on the same principle as the method shown in , the embodiment of the present invention also provides a fuzzy air ticket search result merging system, such as Figure 4 As shown in , including: A fuzzy query module, configured to receive a fuzzy query request from a user and generate a plurality of structured freight rate data according to the fuzzy query request; Serialization module, used to serialize structured freight rate data into freight rate data in the form of byte stream; The data integration module is used to combine all the freight rate data in the form of byte streams according to the preset request format to obtain multiple sets of byte stream freight rate results; The deserialization module is used to deserialize the byte stream form of all byte stream freight rate results into structured form to obtain multiple sets of structured freight rate results; The deduplication and merging module is used to deduplicate and merge the common data and result data in all structured freight rate results to obtain the final freight rate results.
[0040] The fuzzy air ticket search result merging system of the embodiment of the present invention can execute the fuzzy air ticket search result merging method provided by the embodiment of the present invention, and its implementation principle is similar. The actions performed by each module and unit in the fuzzy air ticket search result merging system in each embodiment of the present invention correspond to the steps in the fuzzy air ticket search result merging method in each embodiment of the present invention. For the detailed functional description of each module of the fuzzy air ticket search result merging system, please refer to the description of the corresponding fuzzy air ticket search result merging method shown in the previous text, and will not be repeated here.
[0041] Among them, the above-mentioned fuzzy air ticket search result merging system can be a computer program (including program code) running on a computer device, for example, the fuzzy air ticket search result merging system is an application software; the application software can be used to execute the corresponding steps in the method provided in the embodiment of the present invention.
[0042] In some embodiments, the fuzzy air ticket search result merging system provided in the embodiments of the present invention can be implemented by combining software and hardware. As an example, the fuzzy air ticket search result merging system provided in the embodiments of the present invention can be a processor in the form of a hardware decoding processor, which is programmed to execute the fuzzy air ticket search result merging method provided in the embodiments of the present invention. For example, the processor in the form of a hardware decoding processor can adopt one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic components.
[0043] The modules involved in the embodiments of the present invention may be implemented in software or hardware, wherein the name of a module does not necessarily limit the module itself.
[0044] Based on the same principle as the method shown in the embodiments of the present invention, an electronic device is also provided in the embodiments of the present invention, which may include but is not limited to: a processor and a memory; the memory is used to store computer programs; the processor is used to execute the method shown in any embodiment of the present invention by calling the computer program.
[0045] In an alternative embodiment, an electronic device is provided, such as Figure 5 As shown, Figure 5 The electronic device shown includes a processor and a memory. The processor and the memory are connected, for example, via a bus. Optionally, the electronic device may further include a transceiver, which can be used for data exchange between the electronic device and other electronic devices, such as data transmission and / or data reception. It should be noted that in actual applications, there is not limited to one transceiver, and the structure of the electronic device does not constitute a limitation on the embodiments of the present invention.
[0046] The processor may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the present disclosure. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
[0047] A bus may include a path for transmitting information between the above components. The bus may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one thick line is used in the diagram, but this does not mean that there is only one bus or one type of bus.
[0048] The memory may be a ROM (Read Only Memory) or other type of static storage device that can store static information and instructions, a RAM (Random Access Memory) or other type of dynamic storage device that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disc storage (including compact disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.
[0049] The memory is used to store application code (computer program) for executing the solution of the present invention, and the processor controls the execution of the application code. The processor is used to execute the application code stored in the memory to implement the content shown in the above method embodiment.
[0050] Among them, the electronic device can also be a terminal device, Figure 5 The electronic device shown is only an example and should not limit the functions and scope of use of the embodiments of the present invention.
[0051] An embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer-readable storage medium is run on a computer, the computer can execute the corresponding contents of the aforementioned method embodiment.
[0052] According to another aspect of the present invention, a computer program product or computer program is provided, comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in the various implementations described above.
[0053] Computer program code for performing the operations of the present invention may be written in one or more programming languages, or a combination thereof, including 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 stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the 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).
[0054] It should be understood that the flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the methods and computer program products according to various embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or can be implemented using a combination of dedicated hardware and computer instructions.
[0055] The computer-readable storage medium provided by the embodiments of the present invention may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or component, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection with one or more wires, 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), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device or device.
[0056] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device executes the method shown in the above embodiment.
[0057] The above description is merely a preferred embodiment of the present invention and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of disclosure involved in the present invention is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but also includes other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned disclosed concepts. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in the present invention.
Claims
1. A method for merging fuzzy air ticket search results, characterized in that: The method comprises: Receive a fuzzy query request from a user, and generate a plurality of structured freight rate data according to the fuzzy query request; Serialize structured freight rate data into byte stream format; Combine all the freight rate data in byte stream form according to the preset request format to obtain multiple sets of byte stream freight rate results; Deserialize the byte stream form of all byte stream freight rate results into structured form to obtain multiple sets of structured freight rate results; The public data and result data in all structured freight rate results are deduplicated and merged to obtain the final freight rate results.
2. A method for merging fuzzy air ticket search results according to claim 1, characterized in that: Generating a plurality of structured freight rate data according to the fuzzy query request specifically includes: Receive a fuzzy query request from a user, and generate multiple specific query conditions according to the fuzzy query request; Call multiple freight rate search systems to perform one-to-one queries on multiple specific query conditions to obtain multiple sets of structured freight rate data.
3. A method for merging fuzzy air ticket search results according to claim 1, characterized in that: Serializing structured freight rate data into byte stream format specifically includes: Define the data type to be serialized and use the serialize method to obtain the actual value of the data type in the structured freight rate data; the data type includes: origin, destination, and departure date; Creating a FareResult instance including a data type, and assigning a value to the FareResult instance according to a real value of the data type to obtain a structured object; Use the BOOST serialization method to convert the structured object into a byte stream object to obtain the freight rate data in the form of a byte stream.
4. A method for merging fuzzy air ticket search results according to claim 1, characterized in that: The freight rate results for multiple sets of byte streams include: Obtain the number of bytes and byte content of each freight rate data in the form of byte streams, as well as the data quantity of all freight rate data in the form of byte streams; The data quantity of all freight rate data in byte stream form is taken as the first group of freight rate results, and the byte number and byte content of each freight rate data in byte stream form is taken as a byte stream freight rate result unit group; wherein, the multiple groups of byte stream freight rate results include the first group of freight rate results and all the byte stream freight rate result unit groups.
5. A method for merging fuzzy air ticket search results according to claim 4, characterized in that: The results of obtaining multiple sets of structured freight rates specifically include: Obtain the number of data in the first group of freight rate results, and read a corresponding number of byte stream freight rate result unit groups according to the number of data; The BOOST deserialization library is used to deserialize the byte content in each group of byte stream freight rate result units to obtain structured content, and correspondingly obtain multiple groups of structured freight rate result units; wherein the multiple groups of structured freight rate results include the first group of freight rate results and all the structured freight rate result unit groups.
6. A method for merging fuzzy air ticket search results according to claim 1, characterized in that: The final freight rate results include: Traversing each group of structured freight rate results to obtain common data and result data of each group of structured freight rate results, and performing keyword extraction on the common data and result data to obtain common keywords and result keywords; Determine in turn whether the common keywords of each set of structured freight rate results are stored in the new public dataset: If so, the number of the public keyword is obtained through the new public data set, and the public data number referenced by the result data is updated using the obtained number; If not, the public keyword is stored in a new public data set, and the stored public keywords are numbered; Determine in turn whether the result keywords of each set of structured freight rate results are stored in the new result dataset: If not, the result keyword is stored in a new result data set; If so, then end; When all the common keywords and result keywords of the structured freight rate results are judged, the new common data set, the new result data set and the common data number referenced by each result data are integrated to obtain the final freight rate result.
7. A method for merging fuzzy air ticket search results according to claim 6, characterized in that: The public information includes: flight information, airport information, flight segment information, ticket information and fare rules; the result data includes: referenced public data number, total price, passenger type and cabin information.
8. A fuzzy air ticket search result merging system, characterized in that: include: A fuzzy query module, configured to receive a fuzzy query request from a user and generate a plurality of structured freight rate data according to the fuzzy query request; Serialization module, used to serialize structured freight rate data into freight rate data in the form of byte stream; The data integration module is used to combine all the freight rate data in the form of byte streams according to the preset request format to obtain multiple sets of byte stream freight rate results; The deserialization module is used to deserialize the byte stream form of all byte stream freight rate results into structured form to obtain multiple sets of structured freight rate results; The deduplication and merging module is used to deduplicate and merge the common data and result data in all structured freight rate results to obtain the final freight rate results.
9. An electronic device, characterized in that: The method comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 7 when executing the computer program.
10. A computer storage medium, characterized in that The computer storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.