A method and device for file loading

A file and parameter file technology, applied in the direction of program control device, program loading/starting, program control design, etc., can solve problems such as troublesome repair, high error probability, and high format requirements, so as to shorten the effective time, improve service quality and The effect of abnormal recovery ability

CN102750159BActive Publication Date: 2017-08-25CHINA UNIONPAY
5 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2017-08-25

Smart Images

  • Figure 1
    Figure 1
Patent Text Reader

Abstract

The present invention provides a file loading method. According to the number of records in the file, the file is divided into one or more segments, and two or more work units are used to process the one or more segments concurrently, wherein the two Or each of the more work units updates a work status each time after processing a predetermined number of records in the corresponding segment, the work status being used to provide information for exception handling.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present invention relates to concurrent processing of file loading and reloading at breakpoints, and in particular to a method and device for file loading. Background technique

[0002] In financial or telecommunications systems, inputting application parameters into the system, that is, file loading, is a prerequisite for maintaining the correct operation of the business. In particular, fast loading of parameters in the online system is a necessary prerequisite for timely and accurate response to services. In the prior art, common parameter input methods include manually inputting parameters one by one or using a database tool to import a parameter file that matches the format required by the database. These methods in the prior art have the following disadvantages: time-consuming, high requirements for parameter entry and parameter file format, high probability of error, and very troublesome repair after error.

[0003] Therefore, there is a nee...

Examples

Embodiment Construction

[0033] The specific implementation manners of the present invention will be described in further detail below with reference to the accompanying drawings.

[0034] like figure 1 As shown, the file loading device may include a preprocessing module, a work unit module, an exception handling module, a control module and a file feedback processing module.

[0035] Preprocessing module The module is the entry point for file loading, responsible for receiving call instructions from external systems, and parsing and preprocessing call instructions. It loads the records of the file or parameter file according to the call instruction, and divides the file into one or more segments according to the number of records in the file.

[0036] In one embodiment, the preprocessing module may distribute segment information corresponding to one or more segments to two or more work units, and each work unit processes a corresponding segment according to the assigned segment information.

[0037...