Data import and export method and device, storage medium and electronic equipment
By parsing the Excel file and using a depth-first search algorithm to determine the primary key of the data, the problem of high code complexity in PSR model data transmission is solved, improving program performance and maintainability.
CN117349353BActive Publication Date: 2026-06-09CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1
Patent Information
- Authority / Receiving Office
- CN Β· China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER
- Filing Date
- 2023-10-07
- Publication Date
- 2026-06-09
Smart Images

Figure CN117349353B_ABST
Abstract
The present disclosure provides a data import method, a data export method, a data import device, a data export device, a computer readable storage medium and an electronic device, and relates to the technical field of computers. The data import method comprises: obtaining an excel file, the excel file corresponding to node data of a product service resource (PSR) model; parsing the excel file to obtain an intermediate Java domain model; determining a primary key of data associated with the intermediate Java domain model from the PSR model, and determining a target Java domain model according to the intermediate Java domain model and the primary key of the associated data; and mapping the target Java domain model to a database entity class to perform a data warehousing operation. The present disclosure can improve program performance.
Need to check novelty before this filing date? Find Prior Art