Unlock instant, AI-driven research and patent intelligence for your innovation.

International freight rate data storage method and system

A freight and data technology, applied in file systems, electronic digital data processing, digital data information retrieval, etc., can solve the problems of poor space utilization and slow data update speed, save space overhead, reduce service costs, guarantee Effect of Quote Accuracy

Active Publication Date: 2020-03-27
CTRIP TRAVEL NETWORK TECH SHANGHAI0
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The technical problem to be solved by the present invention is to provide a storage method and system for international freight rate data in order to overcome the shortcomings of poor space utilization, data access delay, and slow data update speed in OTA storage of international freight rates in the prior art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • International freight rate data storage method and system
  • International freight rate data storage method and system
  • International freight rate data storage method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0048] This embodiment provides a storage method for international freight rate data, such as Figure 1-2 shown, including:

[0049]Step 101, merging the newly issued FTP file of ATPTO;

[0050] That is, they are merged into the same batch of tasks. This FTP file contains international freight rate data.

[0051] Step 102, analyzing the merged FTP file;

[0052] Identify the operation type of data in the FTP file, and store the FTP file in a centralized relational database.

[0053] Step 103, generating an NSD file from the analyzed FTP file, and storing the NSD file in a distributed file system;

[0054] The distributed file system may be CEPH (a distributed storage system) or HDFS (a distributed file system).

[0055] NSD file is the file format used by ATPCO to distribute freight rate data, including file header, data area and index area. The NSD file format is defined in Table 1:

[0056] Table 1 NSD file format

[0057]

[0058]

[0059] The file header stor...

Embodiment 2

[0112] This embodiment provides a storage system for international freight rate data, such as figure 2 shown, including:

[0113] A merging module 1, used for merging the newly issued FTP files of ATPTO;

[0114] An analysis module 2, used to analyze the merged FTP file;

[0115] An NSD file generating module 3, for generating an NSD file from the analyzed FTP file, and storing the NSD file in a distributed file system;

[0116] A data distribution module 4, configured to receive a message describing the NSD file, and verify the consistency of the NSD file in the distributed file system with the message, and send the message when the current cluster version is not the latest version The NSD file is distributed to each node of a tariff service cluster;

[0117] An updating module 5 is used for judging whether the local memory data is up-to-date, and updating the NSD file into a memory database when the judging result is no.

[0118] The storage system of this embodiment ca...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an international freight rate data storage method and system. The storage method comprises the steps that FTP files newly sent by ATPTO are merged; the merged FTP file is analyzed; an NSD file is generated from the analyzed FTP file, and the NSD file is stored into a distributed file system; a message is sent to a data distribution module, the data distribution module verifies the consistency of the NSD file in the distributed file system and the message, and distributes the NSD file to each node of a freight rate service cluster when the current cluster version is notthe latest version; and each node judges whether the local memory data is latest or not, and updates the NSD file to a memory database when the judgment result is negative. According to the method, the space overhead is greatly saved, the defect of data access delay is overcome, and the freshness and quotation accuracy of the data are ensured on the premise of receiving data updating lag.

Description

technical field [0001] The invention relates to a storage method and system for international freight rate data. Background technique [0002] International freight rate calculations face three major challenges: how to provide competitive prices for all routes, how to ensure accurate and timely updates of international freight rate data, and how to provide high-performance and low-cost services. [0003] ATPCO (Airline Tariff Publishing Company) is one of the world's largest international freight rate service providers in the entire link of international air ticket prices, sales and searches. Different online travel agencies OTA (Online Travel Agency). With the passage of time, the volume of international freight rate data has grown rapidly year by year, which puts forward higher requirements for OTA's technical capabilities. At present, there are more than 100 million effective freight rates in the world. On average, hundreds of thousands of freight rates need to be updat...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/13G06F16/16G06F16/172G06F16/182
Inventor 王渠杜文龙李俊玲王树东刘名寓崔宇彤
Owner CTRIP TRAVEL NETWORK TECH SHANGHAI0