CN108062713A - Annuity data file acquisition methods, device, computer equipment and storage medium - Google Patents
Annuity data file acquisition methods, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN108062713A CN108062713A CN201711212939.4A CN201711212939A CN108062713A CN 108062713 A CN108062713 A CN 108062713A CN 201711212939 A CN201711212939 A CN 201711212939A CN 108062713 A CN108062713 A CN 108062713A
- Authority
- CN
- China
- Prior art keywords
- file
- data file
- annuity
- decryption
- annuity data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/08—Insurance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/17—Details of further file system functions
- G06F16/178—Techniques for file synchronisation in file systems
Abstract
The present invention relates to a kind of annuity data file acquisition methods, device, computer equipment and storage medium, this method to include:Annuity data file is obtained from social security center, and generates file decryption timed task;When file decryption timed task starts, then manner of decryption corresponding with the type at social security center and annuity data file is obtained;Annuity data file is decrypted by manner of decryption to obtain clear text file, and generates document analysis timed task;When document analysis timed task starts, then processing rule corresponding with social security center is obtained;By unified processing method processing rule is called to carry out being converted to field list and table of contents to clear text file.Above-mentioned annuity data file acquisition methods, device, computer equipment and storage medium, an annuity trusted systems are only needed to configure for multiple social security centers, annuity trusted systems are handled accessed annuity data file according to the difference at social security center and the difference of file type, cost-effective.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of annuity data file acquisition methods, device, calculating
Machine equipment and storage medium.
Background technology
Annuity is that a kind of insurance company sale is used for periodically to the financial product of purchaser's cash payment, is usually held
Cash is periodically got after people's retirement.The Individual Income Tax imposed to annuity is only just imposed getting swap-in, therefore all right
The taxation of annuity account all lags behind it and generates the time of income.
Annuity system needs to handle the payment that various regions social security mechanism of government sends in payment flow or other flows
Notice etc. files, traditionally an annuity system can only be adapted to a social security center, when need docked with multiple social security centers when,
It then needs to set multiple annuity systems, be improved so as to cause cost.
The content of the invention
Based on this, it is necessary to be set in view of the above-mentioned problems, providing a kind of annuity data file acquisition methods, device, computer
Standby and storage medium.
A kind of annuity data file acquisition methods, the described method includes:
Annuity data file is obtained from social security center, and generates file decryption timed task;
When the file decryption timed task starts, then obtain and the social security center and the annuity data file
The corresponding manner of decryption of type;
The annuity data file is decrypted to obtain clear text file by the manner of decryption, and generates document analysis
Timed task;
When the document analysis timed task starts, then processing rule corresponding with the social security center is obtained;
By unified processing method call the processing rule clear text file be converted to field list and
Table of contents.
In one of the embodiments, it is described to obtain annuity data file from social security center, and generate file decryption timing
The step of task, including:
Annuity data file is obtained from social security center and is stored to outer net memory block;
First storage information of the annuity data file in the outer net memory block is obtained, and generates file synchronization timing
Task;
It is when the file synchronization timed task starts, then same from the outer net memory block according to the described first storage information
The annuity data file is walked to Intranet memory block;
Second storage information of the annuity data file in the Intranet memory block is obtained, and generates file decryption timing
Task.
In one of the embodiments, it is described that the annuity data file is decrypted to obtain by the manner of decryption
Clear text file, and the step of generate document analysis timed task, including:
Factory mode is configured according to the manner of decryption;
Annuity data file is obtained from the Intranet memory block according to the described second storage information;
Acquired annuity data file is inputted and obtains clear text file into the factory mode;
The clear text file is stored to the Intranet memory block, generates document analysis timed task.
In one of the embodiments, it is described that the processing rule is called to plaintext text by unified processing method
The step of part carries out being converted to field list and table of contents, including:
The clear text file is obtained from the Intranet memory block;
By unified processing method the processing rule is called to carry out being converted to data model to the clear text file;
Field list is obtained according to the first trip data for the data model being converted to;
Table of contents is obtained according to the non-first trip data for the data model being converted to.
In one of the embodiments, it is described that the processing rule is called to plaintext text by unified processing method
After the step of part carries out being converted to field list and table of contents, further include:
Obtain the method for calibration corresponding with the social security center configured;
Physical verification is carried out to the field list and the table of contents by the method for calibration;
After the field list and the table of contents are by the physical verification, then by the method for calibration to described
Field list and the table of contents carry out business verification;
After the field list and the table of contents are verified by the business, then the field list and the content are preserved
Table;
When the field list and the table of contents is at least one do not verified by the physical verification or the business when, then
To the information of social security center feedback check failure.
A kind of annuity data file acquisition device, described device include:
Annuity data file acquisition module for obtaining annuity data file from social security center, and generates file decryption and determines
When task;
Manner of decryption acquisition module, for when the file decryption timed task starts, then obtain in the social security
The corresponding manner of decryption of type of the heart and the annuity data file;
Deciphering module, for being decrypted to obtain clear text file to the annuity data file by the manner of decryption,
And generate document analysis timed task;
Handle rule acquisition module, for when the document analysis timed task starts, then obtain and the social security in
The corresponding processing rule of the heart;
Parsing module, for by unified processing method the processing rule being called to convert the clear text file
Obtain field list and table of contents.
In one of the embodiments, the annuity data file acquisition module includes:
Storage unit, for obtaining annuity data file from social security center and storing to outer net memory block;
First storage information acquisition unit, is deposited for obtaining the annuity data file the first of the outer net memory block
Information is stored up, and generates file synchronization timed task;
Synchronization unit, for when the file synchronization timed task starts, then storing information from institute according to described first
State outer net memory block synchronously the annuity data file to Intranet memory block;
Second storage information acquisition unit, is deposited for obtaining the annuity data file the second of the Intranet memory block
Information is stored up, and generates file decryption timed task.
In one of the embodiments, the deciphering module includes:
Factory mode dispensing unit, for configuring factory mode according to the manner of decryption;
Annuity data file obtaining unit, for obtaining annuity from the Intranet memory block according to the described second storage information
Data file;
Decryption unit obtains clear text file for inputting acquired annuity data file into the factory mode;
Timed task generation unit for storing the clear text file to the Intranet memory block, generates file solution
Analyse timed task.
A kind of computer equipment can be run on a memory and on a processor including memory, processor and storage
Computer program, the processor realizes the step in above-mentioned any one the method when performing the computer program.
A kind of computer readable storage medium, is stored thereon with computer program, which is executed by processor
Step in Shi Shixian any of the above-described the methods.
Above-mentioned annuity data file acquisition methods, device, computer equipment and storage medium, for multiple social security centers only
An annuity trusted systems are needed to configure, annuity trusted systems are according to the difference at social security center and the difference of file type to being obtained
The annuity data file got is handled, and need not is that each social security center configures an annuity trusted systems, be saved into
This, and timed task and parsing timed task are decrypted to configure by way of timed task, take into full account the resource of system.
Description of the drawings
Fig. 1 is application scenario diagram of the embodiment middle age golden number according to file acquisition method;
Fig. 2 is that the network area in an embodiment divides schematic diagram;
Fig. 3 is the flow chart of the annuity data file acquisition methods in an embodiment;
Fig. 4 is the flow chart of the step S302 in embodiment illustrated in fig. 3;
Fig. 5 is the schematic diagram of the annuity data file acquisition device in an embodiment;
Fig. 6 is the structure diagram of the computer equipment in an embodiment.
Specific embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, it is right
The present invention is further elaborated.It should be appreciated that specific embodiment described herein is used only for explaining the present invention, and
It is not used in the restriction present invention.
Be described in detail according to an embodiment of the invention before, it should be noted that, the embodiment described essentially consist in
Annuity data file acquisition methods, device, computer equipment and the step of storage medium correlation and the combination of system component.Cause
This, said system component and method and step are showed in position by ordinary symbol in the accompanying drawings, and
The details related with understanding the embodiment of the present invention is merely illustrated, in order to avoid because of the ordinary skill for having benefited from the present invention
Those obvious details have obscured the disclosure for personnel.
Herein, such as left and right, upper and lower, front and rear, first and second etc relational terms are used merely to area
Divide an entity or action and another entity or action, and not necessarily require or imply and is between this entity or action any
Actual this relation or order.Term " comprising ", "comprising" or any other variant are intended to cover non-exclusive inclusion, by
This to include the process of a series of elements, method, article or equipment not only comprising these elements, but also comprising not bright
The other element really listed is elements inherent to such a process, method, article, or device.
Referring to Fig. 1, Fig. 1 is application scenario diagram of the embodiment middle age golden number according to file acquisition method, in the embodiment
In, including annuity trusted systems, more social security centers.Wherein annuity trusted systems again include can be with the public affairs of social security center to center communications
Common interface processing module, the common process module that can be communicated with common interface processing module can lead to common process module
The document processing module of letter and the database of data and the configuration file of storage configuration information etc. can be stored, wherein corresponding to
Common interface processing module is provided with common interface processing module network memory, is provided with corresponding to common process module public
Processing module network memory.Wherein in order to ensure the security of data transmission, referring to Fig. 2, Fig. 2 is the network in an embodiment
Region division schematic diagram, wherein internal special line area, internal public network area, external public network area and inside WEB areas can be divided into, wherein
Internal special line area can communicate with external public network, so common interface processing module is set here, and inside WEB areas are merely able to
It communicates with internal network, so common process module, document processing module, database and configuration file etc. are stored in
Inside WEB areas;And more social security centers are then in external public network area, can with the common process module in internal special line area into
Row communication.
Referring to Fig. 3, in one of the embodiments, provide a kind of annuity data file acquisition methods, the present embodiment with
Annuity trusted systems that this method is applied in above-mentioned Fig. 1 illustrate.Operation has annuity data on the annuity trusted systems
File acquisition program obtains program to implement annuity data file acquisition methods by the annuity data file.This method is specific
Include the following steps:
S302:Annuity data file is obtained from social security center, and generates file decryption timed task.
Specifically, when annuity trusted systems receive the annuity data file of social security center transmission or annuity is commissioned and is
When system actively gets annuity data file from social security center, it is necessary first to the annuity data file is decrypted, and in order to
Do not influence other processing tasks in annuity system, herein set file decryption timed task, decryption timed task be by annuity by
Support system sets and performs corresponding task of decryption in the predetermined time.Such as annuity trusted systems when can get system first
Between, the then treating capacity prediction in current annuity trusted systems performs the time of the decryption timed task, finally will prediction
Time be associated with the decryption timed task, the time to be predicted reach when, then annuity trusted systems then perform the decryption
Timed task.
S304:When file decryption timed task starts, then the type with social security center and annuity data file is obtained
Corresponding manner of decryption.
Specifically, due to the mode endorsed of file at different social security centers, there may be differences, it is therefore desirable to
Corresponding manner of decryption is obtained according to social security center, such as corresponding decryption side can be got according to social security center identification
Formula, the mark at the social security center can be configured or can be distributed by annuity trusted systems according to place name
It is unique to number or be combination between the two.Further, since the possibility between same social security center and annuity trusted systems
There are the type of a variety of annuity data files, for example there is payment circular document etc., the encryption of the type of different files and add
The mode of label is different, wherein the signature scheme difference referred to file of endorsing, such as the certificate and private key at different social security centers
It is different, social security endorses to file centrally through private key, so as to which annuity trusted systems can be by corresponding social security
The certificate of the heart carries out the file endorsed solution label, therefore can further be marked according to the type of annuity data from social security center
Know and suitable manner of decryption is chosen in corresponding manner of decryption so that the annuity data file to be decrypted exactly.
S306:Annuity data file is decrypted by manner of decryption to obtain clear text file, and generates document analysis and determines
When task.
Specifically, the document processing module of annuity trusted systems passes through accessed corresponding with the annuity data file
Annuity data file, which is decrypted, in manner of decryption can obtain clear text file, which can be stored first, with
During convenient for subsequently handling mistake to the clear text file, the clear text file can be re-read.And when after clear text file stores,
Parsing timed task is generated according to the clear text file, parsing timed task is to be set by annuity trusted systems and held in the predetermined time
The corresponding parsing task of row.Such as annuity trusted systems can get system time first, being then commissioned according to current annuity is
Treating capacity prediction in system performs the time of the parsing timed task, finally carries out the time of prediction and the parsing timed task
Association, when the time to be predicted reaches, then annuity trusted systems then perform the parsing timed task.
S308:When document analysis timed task starts, then processing rule corresponding with social security center is obtained.
Specifically, the file process rule at different social security centers is different, therefore after document analysis timed task starts, year
The document processing module of golden trusted systems gets processing rule corresponding with social security center.Further handling rule can be with
It is associated with file type, so as to annuity trusted systems document processing module can get it is a certain with a certain social security center
The relevant processing rule of particular file types.
S310:By unified processing method processing rule is called to carry out being converted to field list and content to clear text file
Table.
Specifically, the general character of the processing method of the clear text file at each social security center is extracted next life by annuity trusted systems
Into unified processing method, wherein the different place in each social security center then generates corresponding processing rule, so as to which this is unified
Processing method can obtain processing mode to the clear text file plus corresponding processing rule, therefore annuity trusted systems
Document processing module can be called by unified processing method processing rule clear text file be converted to field list and
Table of contents.Wherein field list is the content of the field in corresponding clear text file, such as name, gender, expense etc., table of contents be
Particular content under corresponding name, gender, details are not described herein.
In above-described embodiment, an annuity trusted systems, annuity trusted systems are only needed to configure for multiple social security centers
Accessed annuity data file is handled according to the difference of the difference at social security center and file type, need not be every
A social security center all configures an annuity trusted systems, cost-effective, and decrypts timing by way of timed task to configure
Task and parsing timed task, have taken into full account the resource of system.
In one of the embodiments, refering to Fig. 4, Fig. 4 is the flow chart of the step S302 in embodiment illustrated in fig. 3, should
Step S302 obtains annuity data file from social security center, and the step of generating file decryption timed task can include:
S402:Annuity data file is obtained from social security center and is stored to outer net memory block.
Specifically, the common interface processing module of social security trusted systems can get annuity data text from social security center
Part, such as the payment circular document for being stored in social security center can be got, since common interface processing module cannot be direct
Intranet storage is called to deposit, therefore common interface processing module stores accessed annuity data file to outer net memory block,
Such as be stored in the network storage area corresponding to the common interface processing module in Intranet memory block, so by original document into
Row preserves, and calls and lays the foundation after the inquiry that can be subsequent file.
S404:First storage information of the annuity data file in outer net memory block is obtained, and generates file synchronization timing and appoints
Business.
Specifically, common interface processing module can obtain first storage letter of the annuity data file in outer net memory block
Breath, and the first storage information is stored, such as common interface processing module can call common process module with should
First storage synchronizing information calls common process module synchronization to believe to being stored in the outer net file information table of Intranet memory block
Breath is recorded in file synchronization information table to establish file synchronization timed task, and file synchronization timed task is that have annuity to be commissioned to be
Task that system generates, that file synchronization is carried out in preset time, for example, it is in preset time that the annuity data of outer net memory block are literary
Part is synchronized in Intranet memory block.Wherein, which can refer to annuity data file depositing in outer net memory block
Store up size of address and memory space etc..
Further, common interface processing module can also call common process module synchronization information record same to file
After walking information table, judge whether above-mentioned processing procedure mistake occurs, if mistake occurs in above-mentioned processing procedure, at common interface
Reason module gets relevant error parameter, and the wrong parameter is back to corresponding social security center, in order to social security center and
When handle, wherein social security center can be divided into social security central processing system and social security hub file system, and annuity trusted systems are
Corresponding annuity data file is read from social security hub file system, and the wrong parameter etc. is then by social security center processing system
System is handled.When delete processing process does not occur mistake, then the common interface processing module in annuity trusted systems is got
The successful parameter of relevant treatment is back to social security center, to inform social security center, file acquisition success.
S406:When file synchronization timed task starts, then information is stored from outer net memory block synchronization annuity according to first
Data file is to Intranet memory block.
Specifically, file interface processing module can call common process module to judge that file synchronization information table whether there is
Newly-increased file synchronization timed task, when there are during file synchronization timed task, then judging whether to need according to the first storage information
Synchronous annuity data file, when there is no during annuity data file to be synchronized, then processing terminates, and terminates the timed task.When
During annuity data file to be synchronized, then annuity data file is synchronized to by common interface processing module from outer net memory block
Memory block is netted, that is, is synchronized in network storage area corresponding with document processing module.
S408:Second storage information of the annuity data file in Intranet memory block is obtained, and generates file decryption timing and appoints
Business.
Specifically, common interface processing module stores second storage information of the annuity data file in Intranet memory block
Into Intranet file information table, such as the Intranet fileinfo that the reading of common process module can be called to be stored in Intranet memory block
Table, and the second storage information is written in the Intranet file information table.It is after the second storage information writes successfully, then public
Interface processing module increases file decryption timed task newly according to the second storage information altogether, in order to be further processed.Its
In, which can be the annuity data file in the storage address of Intranet memory block and the size of memory space
Deng.
In above-described embodiment, Intranet memory block will be synchronized to by way of synchronization timing task in the data of outer net, and
According to the corresponding task of decryption of the file generated of Intranet memory block so that task of decryption is carried out in Intranet, be not related to
The interaction of outer net improves the security of file.
In one of the embodiments, annuity data file is decrypted by manner of decryption to obtain clear text file, and
The step of generating document analysis timed task, i.e., step S306 can include:Factory mode is configured according to manner of decryption;According to
Two storage information obtain annuity data file from Intranet memory block;Acquired annuity data file is inputted into factory mode
Obtain clear text file;Clear text file is stored to Intranet memory block, generates document analysis timed task.
Specifically, the document processing module in annuity trusted systems read decryption timed task after, can first from
The manner of decryption corresponding with current social security center configured is obtained in social security center configuration table in data, then according to the solution
Close mode allocation project pattern, wherein factory mode are to be responsible for specially instantiating the class for largely having common interface, and need not be real
Now know it is the pattern that instantiate which class every time, it defines one for creating the interface of object, is determined by subclass real
Which class of exampleization, the configuration in the social security center are considered as a subclass under factory mode, can be true by the subclass
Determine manner of decryption.Document processing module is obtained further according to the second storage information stored in Intranet file information table from Intranet memory block
Annuity data file is taken, and the annuity data file is inputted into the factory mode generated to obtain clear text file, wherein
Document processing module can store the clear text file to Intranet memory block after clear text file is got, such as be deposited with Intranet
The corresponding annuity data file of storage area storage is associated storage etc..And by the information parameter of the clear text file, such as store
Position, size etc. are stored into Intranet file information table, it is preferable that document processing module can join the information of the clear text file
Number is associated storage with the information parameter of corresponding annuity data file.
Further, after decryption obtains clear text file, can parsing timed task directly be generated according to the clear text file,
Parsing timed task is to be set by annuity trusted systems and perform corresponding parsing task in the predetermined time.Such as annuity trusted systems
System time can be got first, and the then treating capacity prediction in current annuity trusted systems performs parsing timing and appoints
The time of prediction and the parsing timed task are finally associated by the time of business, the time to be predicted reach when, then annuity by
Support system then performs the decryption timed task.It and further, can be with after document processing module is decrypted to obtain clear text file
Decrypting process whether there is mistake, if there is the content formation error message of mistake, then document processing module Organization Error Analysis, and
The error message is sent to common interface processing module, social security center is forwarded to by common interface processing module, in order to society
Guarantor center timely processing when not occurring mistake in decrypting process, then generates parsing timed task.
In above-described embodiment, annuity data file is decrypted by configuring factory mode so that processing procedure is more
Add simple, and entire decrypting process can improve the security of file in Intranet memory block.
In one of the embodiments, by unified processing method processing rule is called to clear text file convert
The step of to field list and table of contents, i.e. step S310, can include:Clear text file is obtained from Intranet memory block;Pass through unification
Processing method calls processing rule to carry out being converted to data model to clear text file;According to the data model being converted to
First trip data obtain field list;Table of contents is obtained according to the non-first trip data for the data model being converted to.
Specifically, document processing module can get corresponding processing according to the type at social security center or file first
Rule then according to the information parameter of the clear text file stored in Intranet file information table, is got bright from Intranet memory block
Then file calls processing rule to carry out being converted to data model to clear text file by unified processing method, according to
The first trip data for the data model being converted to obtain field list;According to the non-first trip data for the data model being converted to
Table of contents is obtained, wherein field list and table of contents is stored in Intranet memory block.
Further, after table of contents and field list is got, whether document processing module can also judge the above process
Error, if error, can obtain error message, and call file interface processing module that the error message is sent to social security
The processing system at center if do not malfunctioned, can add verification timed task.
In above-described embodiment, annuity trusted systems extract the general character of the processing method of the clear text file at each social security center
Out generate unified processing method, wherein each social security center it is different place then generate it is corresponding processing rule, so as to should
Unified processing method can obtain the processing mode to the clear text file plus corresponding processing rule, therefore annuity is commissioned
The document processing module of system can call processing rule to carry out being converted to word to clear text file by unified processing method
Segment table and table of contents, processing procedure are simple.
In one of the embodiments, by unified processing method processing rule is called to clear text file convert
The step of field list and table of contents after, i.e. can also include after step S310:Obtain configured with social security center pair
The method of calibration answered;Physical verification is carried out to field list and table of contents by method of calibration;When field list and table of contents pass through
After physical verification, then business verification is carried out to field list and table of contents by method of calibration;When field list and table of contents pass through industry
After business verification, then field list and table of contents are preserved;When field list and table of contents is at least one does not pass through physical verification or business school
When testing, then to the information of social security center feedback check failure.
Specifically, since the verification mode at different social security centers is different, the file process mould of annuity trusted systems
Block reads social security center configuration table first, and method of calibration corresponding with social security center is got from social security center configuration table,
Including physical verification method and business method of calibration, then document processing module is to being stored in the field list of internal storage region
Physical verification, such as form of the title of check field, the length of field and field etc. are carried out with table of contents, when physical verification leads to
Later, then business verification is carried out to the field list and table of contents;When business verification also by, then file form is preserved,
Such as when file is payment circular document, then payment advice note table is preserved to Intranet memory block, it is detailed to preserve payment advice note
Table organizes successful message to be back to social security center by file interface processing module to Intranet memory block.If but physics school
Test or business verification in know one there are mistake, then document processing module Organization Error Analysis information, and the error message is passed through
File interface processing module is back to social security center.
In above-described embodiment, after being parsed to acquired annuity data file, corresponding field list and industry are obtained
Business table, and the field list and traffic table are further verified, after only examining successfully, it just will be considered that annuity data file
It obtains successfully, otherwise to social security center feedback error information, is further processed by social security center.
Refering to Fig. 5, Fig. 5 is the schematic diagram of the annuity data file acquisition device in an embodiment, which includes:
Annuity data file acquisition module 100 for obtaining annuity data file from social security center, and generates file decryption
Timed task.
Manner of decryption acquisition module 200, for when file decryption timed task starts, then obtain with social security center and
The corresponding manner of decryption of type of annuity data file.
Deciphering module 300 is decrypted to obtain clear text file, and generates for passing through manner of decryption to annuity data file
Document analysis timed task.
Rule acquisition module 400 is handled, for when document analysis timed task starts, then obtaining corresponding with social security center
Processing rule.
Parsing module 500, for by unified processing method processing rule being called to be converted to clear text file
Field list and table of contents.
In one of the embodiments, annuity data file acquisition module 100 can include:
Storage unit, for obtaining annuity data file from social security center and storing to outer net memory block.
First storage information acquisition unit stores information for obtaining annuity data file the first of outer net memory block,
And generate file synchronization timed task.
Synchronization unit, for when file synchronization timed task starts, then storing information from outer net memory block according to first
Synchronous annuity data file is to Intranet memory block.
Second storage information acquisition unit stores information for obtaining annuity data file the second of Intranet memory block,
And generate file decryption timed task.
In one of the embodiments, deciphering module 300 can include:
Factory mode dispensing unit, for configuring factory mode according to manner of decryption.
Annuity data file obtaining unit, for obtaining annuity data text from Intranet memory block according to the second storage information
Part.
Decryption unit obtains clear text file into factory mode for inputting acquired annuity data file.
Timed task generation unit, for storing clear text file to Intranet memory block, generation document analysis timing is appointed
Business.
In one of the embodiments, parsing module 500 includes:
Clear text file acquiring unit, for obtaining clear text file from Intranet memory block.
Converting unit, for by unified processing method processing rule being called to carry out being converted to data to clear text file
Model.
Field list resolution unit obtains field list for the first trip data according to the data model being converted to.
Table of contents resolution unit obtains table of contents for the non-first trip data according to the data model being converted to.
In one of the embodiments, device further includes:
Method of calibration acquiring unit, for by unified processing method processing rule being called to turn clear text file
After getting field list and table of contents in return, the method for calibration corresponding with social security center configured is obtained.
Physical verification unit carries out physical verification for passing through method of calibration to field list and table of contents.
Business verification unit, after working as field list and table of contents by physical verification, then by method of calibration to word
Segment table and table of contents carry out business verification.
Storage unit, for working as field list and after table of contents verified by business, then preserving field list and table of contents.
Feedback unit, for when field list and table of contents is at least one do not verified by physical verification or business when, then to
The information of social security center feedback check failure.
Specific limit on annuity data file acquisition device may refer to obtain above for annuity data file
The restriction of method, details are not described herein.Modules in above-mentioned annuity data file acquisition device can be fully or partially through
Software, hardware and combinations thereof are realized.Above-mentioned each module can be embedded in or in the form of hardware independently of the place in computer equipment
It manages in device, can also in a software form be stored in the memory in computer equipment, in order to which processor calls more than execution
The corresponding operation of modules.The processor can be central processing unit (CPU), microprocessor, microcontroller etc..Above-mentioned annuity
Data file acquisition device can be implemented as a kind of form of computer program, and computer program can be in annuity as shown in Figure 1
It is run on trusted systems.
In one embodiment, a kind of computer equipment is provided, which is equivalent to above-mentioned annuity and is commissioned
System, the computer equipment can be server or mobile terminal.When the computer equipment is server, in
Portion's structure chart can be as shown in Figure 6.The computer equipment includes the processor connected by system bus, memory, operates
System and network interface.Wherein, the processor of the computer equipment is for offer calculating and control ability.The computer equipment
Memory includes non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system and computer
Program.The built-in storage provides environment for the operating system in non-volatile memory medium and the operation of computer program.The meter
The network interface for calculating machine equipment is used to communicate by network connection with external terminal.When the computer program is executed by processor
To realize a kind of annuity data file acquisition methods.It will be understood by those skilled in the art that structure shown in Fig. 6, is only
With the block diagram of the relevant part-structure of application scheme, the computer equipment being applied thereon to application scheme is not formed
Restriction, specific computer equipment can include than more or fewer components shown in figure or some components of combination or
There is person different components to arrange.
Wherein, following steps are realized when processor performs program:Annuity data file is obtained from social security center, and generates text
Part decrypts timed task;When file decryption timed task starts, then the class with social security center and annuity data file is obtained
The corresponding manner of decryption of type;Annuity data file is decrypted by manner of decryption to obtain clear text file, and generates file solution
Analyse timed task;When document analysis timed task starts, then processing rule corresponding with social security center is obtained;Pass through unification
Processing method calls processing rule to carry out being converted to field list and table of contents to clear text file.
In one of the embodiments, processor performs the slave social security center realized during program and obtains annuity data file,
And the step of generating file decryption timed task, can include:It obtains annuity data file from social security center and stores to outer net and deposit
Storage area;First storage information of the annuity data file in outer net memory block is obtained, and generates file synchronization timed task;Work as file
During synchronization timing task start, then stored according to the first storage information from outer net memory block synchronization annuity data file to Intranet
Area;Second storage information of the annuity data file in Intranet memory block is obtained, and generates file decryption timed task.
In one of the embodiments, processor perform program when realize by manner of decryption to annuity data file into
The step of going to decrypt and obtain clear text file, and generating document analysis timed task can include:Factory is configured according to manner of decryption
Pattern;Annuity data file is obtained from Intranet memory block according to the second storage information;Acquired annuity data file is inputted
Clear text file is obtained into factory mode;Clear text file is stored to Intranet memory block, generates document analysis timed task.
In one of the embodiments, that is realized during processor execution program calls processing rule by unified processing method
The step of then carrying out being converted to field list and table of contents to clear text file can include:Text in plain text is obtained from Intranet memory block
Part;By unified processing method processing rule is called to carry out being converted to data model to clear text file;According to converting
To the first trip data of data model obtain field list;Content is obtained according to the non-first trip data for the data model being converted to
Table.
In one of the embodiments, that is realized during processor execution program calls processing rule by unified processing method
After the step of then carrying out being converted to field list and table of contents to clear text file, it can also include:Obtain configured and society
The corresponding method of calibration in guarantor center;Physical verification is carried out to field list and table of contents by method of calibration;When field list and content
After table is by physical verification, then business verification is carried out to field list and table of contents by method of calibration;When field list and content
After table is verified by business, then field list and table of contents are preserved;When field list and table of contents is at least one does not pass through physical verification
Or during business verification, then to the information of social security center feedback check failure.
The above-mentioned restriction for computer equipment may refer to above for the specific of annuity data file acquisition methods
It limits, details are not described herein.
Please continue to refer to Fig. 6, a kind of computer readable storage medium is also provided, is stored thereon with computer program, such as Fig. 6
Shown in non-volatile memory medium, wherein, which realizes following steps when being executed by processor:It is obtained from social security center
Annuity data file, and generate file decryption timed task;When file decryption timed task starts, then obtain and social security center
And the corresponding manner of decryption of type of annuity data file;Annuity data file is decrypted to obtain by manner of decryption bright
File, and generate document analysis timed task;When document analysis timed task starts, then obtain corresponding with social security center
Processing rule;By unified processing method processing rule is called to carry out being converted to field list and table of contents to clear text file.
In one of the embodiments, the slave social security center realized when which is executed by processor obtains annuity data text
Part, and the step of generating file decryption timed task can include:Annuity data file is obtained from social security center and is stored to outer
Net memory block;First storage information of the annuity data file in outer net memory block is obtained, and generates file synchronization timed task;When
When file synchronization timed task starts, then deposited according to the first storage information from outer net memory block synchronization annuity data file to Intranet
Storage area;Second storage information of the annuity data file in Intranet memory block is obtained, and generates file decryption timed task.
In one of the embodiments, that is realized when which is executed by processor is literary to annuity data by manner of decryption
Part is decrypted to obtain clear text file, and the step of generating document analysis timed task can include:It is configured according to manner of decryption
Factory mode;Annuity data file is obtained from Intranet memory block according to the second storage information;By acquired annuity data file
Input obtains clear text file into factory mode;Clear text file is stored to Intranet memory block, generation document analysis timing is appointed
Business.
In one of the embodiments, realized when which is executed by processor by unified processing method calling at
The step of reason rule carries out being converted to field list and table of contents to clear text file can include:It is obtained in plain text from Intranet memory block
File;By unified processing method processing rule is called to carry out being converted to data model to clear text file;According to being converted
The first trip data of obtained data model obtain field list;In being obtained according to the non-first trip data for the data model being converted to
Hold table.
In one of the embodiments, realized when which is executed by processor by unified processing method calling at
After the step of reason rule carries out being converted to field list and table of contents to clear text file, it can also include:Obtain what is configured
Method of calibration corresponding with social security center;Physical verification is carried out to field list and table of contents by method of calibration;When field list and
After table of contents is by physical verification, then business verification is carried out to field list and table of contents by method of calibration;When field list and
After table of contents is verified by business, then field list and table of contents are preserved;When field list and table of contents is at least one does not pass through physics
When verification or business verify, then to the information of social security center feedback check failure.
The above-mentioned restriction for computer readable storage medium may refer to above for annuity data file acquisition side
The specific restriction of method, details are not described herein.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a non-volatile computer and can be read
In storage medium, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage is situated between
Matter can be magnetic disc, CD, read-only memory (Read-Only Memory, ROM) etc..
Each technical characteristic of embodiment described above can be combined arbitrarily, to make description succinct, not to above-mentioned reality
It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, the scope that this specification is recorded all is considered to be.
Embodiment described above only expresses the several embodiments of the present invention, and description is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that come for those of ordinary skill in the art
It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention
Scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.
Claims (10)
1. a kind of annuity data file acquisition methods, which is characterized in that the described method includes:
Annuity data file is obtained from social security center, and generates file decryption timed task;
When the file decryption timed task starts, then the class with the social security center and the annuity data file is obtained
The corresponding manner of decryption of type;
The annuity data file is decrypted to obtain clear text file by the manner of decryption, and generates document analysis timing
Task;
When the document analysis timed task starts, then processing rule corresponding with the social security center is obtained;
By unified processing method the processing rule is called to carry out being converted to field list and content to the clear text file
Table.
2. according to the method described in claim 1, it is characterized in that, described obtain annuity data file, and life from social security center
The step of into file decryption timed task, including:
Annuity data file is obtained from social security center and is stored to outer net memory block;
First storage information of the annuity data file in the outer net memory block is obtained, and generates file synchronization timing and appoints
Business;
When the file synchronization timed task starts, then information is stored from outer net memory block synchronization institute according to described first
Annuity data file is stated to Intranet memory block;
Second storage information of the annuity data file in the Intranet memory block is obtained, and generates file decryption timing and appoints
Business.
It is 3. according to the method described in claim 2, it is characterized in that, described literary to the annuity data by the manner of decryption
Part is decrypted to obtain clear text file, and the step of generate document analysis timed task, including:
Factory mode is configured according to the manner of decryption;
Annuity data file is obtained from the Intranet memory block according to the described second storage information;
Acquired annuity data file is inputted and obtains clear text file into the factory mode;
The clear text file is stored to the Intranet memory block, generates document analysis timed task.
4. according to the method described in claim 3, it is characterized in that, described call the processing to advise by unified processing method
The step of then carrying out being converted to field list and table of contents to the clear text file, including:
The clear text file is obtained from the Intranet memory block;
By unified processing method the processing rule is called to carry out being converted to data model to the clear text file;
Field list is obtained according to the first trip data for the data model being converted to;
Table of contents is obtained according to the non-first trip data for the data model being converted to.
5. according to the method described in claim 1, it is characterized in that, described call the processing to advise by unified processing method
After the step of then carrying out being converted to field list and table of contents to the clear text file, further include:
Obtain the method for calibration corresponding with the social security center configured;
Physical verification is carried out to the field list and the table of contents by the method for calibration;
After the field list and the table of contents are by the physical verification, then by the method for calibration to the field
Table and the table of contents carry out business verification;
After the field list and the table of contents are verified by the business, then the field list and the table of contents are preserved;
When the field list and the table of contents is at least one do not verified by the physical verification or the business when, then to institute
State the information of social security center feedback check failure.
6. a kind of annuity data file acquisition device, which is characterized in that described device includes:
Annuity data file acquisition module for obtaining annuity data file from social security center, and generates file decryption timing and appoints
Business;
Manner of decryption acquisition module, for when the file decryption timed task starts, then obtain with the social security center with
And the corresponding manner of decryption of type of the annuity data file;
Deciphering module, for the annuity data file to be decrypted by the manner of decryption to obtain clear text file, and it is raw
Into document analysis timed task;
Rule acquisition module is handled, for when the document analysis timed task starts, then obtaining and the social security center pair
The processing rule answered;
Parsing module, for by unified processing method the processing rule being called to be converted to the clear text file
Field list and table of contents.
7. device according to claim 6, which is characterized in that the annuity data file acquisition module includes:
Storage unit, for obtaining annuity data file from social security center and storing to outer net memory block;
First storage information acquisition unit, for obtaining first storage letter of the annuity data file in the outer net memory block
Breath, and generate file synchronization timed task;
Synchronization unit, for when the file synchronization timed task starts, then according to the described first storage information from described outer
Net memory block synchronously the annuity data file to Intranet memory block;
Second storage information acquisition unit, for obtaining second storage letter of the annuity data file in the Intranet memory block
Breath, and generate file decryption timed task.
8. device according to claim 7, which is characterized in that the deciphering module includes:
Factory mode dispensing unit, for configuring factory mode according to the manner of decryption;
Annuity data file obtaining unit, for obtaining annuity data from the Intranet memory block according to the described second storage information
File;
Decryption unit obtains clear text file for inputting acquired annuity data file into the factory mode;
Timed task generation unit, for storing the clear text file to the Intranet memory block, generation document analysis is determined
When task.
9. a kind of computer equipment, can run on a memory and on a processor including memory, processor and storage
Computer program, which is characterized in that the processor is realized any one in claim 1 to 5 when performing the computer program
Step in item the method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt
The step in any one of claim 1 to 5 the method is realized when processor performs.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711212939.4A CN108062713B (en) | 2017-11-28 | 2017-11-28 | Annuity data file obtaining method and device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711212939.4A CN108062713B (en) | 2017-11-28 | 2017-11-28 | Annuity data file obtaining method and device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108062713A true CN108062713A (en) | 2018-05-22 |
CN108062713B CN108062713B (en) | 2020-10-09 |
Family
ID=62135082
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711212939.4A Active CN108062713B (en) | 2017-11-28 | 2017-11-28 | Annuity data file obtaining method and device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108062713B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109189843A (en) * | 2018-08-02 | 2019-01-11 | 浪潮通用软件有限公司 | Take the method that button receives file request and resolution response based on supplementary pension system account pipe |
CN110111209A (en) * | 2019-05-05 | 2019-08-09 | 泰康保险集团股份有限公司 | Pay processing method, device and the readable storage medium storing program for executing of notice business |
CN113726781A (en) * | 2021-08-31 | 2021-11-30 | 平安养老保险股份有限公司 | Message information processing method and device, computer equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101753589A (en) * | 2008-12-15 | 2010-06-23 | 中国移动通信集团公司 | Method and device for decrypting data file and data broadcast system |
CN102231707A (en) * | 2011-06-27 | 2011-11-02 | 中国建设银行股份有限公司 | Method and system for reliably transmitting data message in bank outlets |
CN102571635A (en) * | 2012-01-18 | 2012-07-11 | 浪潮(北京)电子信息产业有限公司 | Message transmission method and equipment |
CN103595698A (en) * | 2012-08-16 | 2014-02-19 | 福州福昕软件开发有限公司北京分公司 | Management method for digital rights |
CN104391974A (en) * | 2014-12-05 | 2015-03-04 | 北京奇虎科技有限公司 | Browser and browser bookmark data processing method |
-
2017
- 2017-11-28 CN CN201711212939.4A patent/CN108062713B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101753589A (en) * | 2008-12-15 | 2010-06-23 | 中国移动通信集团公司 | Method and device for decrypting data file and data broadcast system |
CN102231707A (en) * | 2011-06-27 | 2011-11-02 | 中国建设银行股份有限公司 | Method and system for reliably transmitting data message in bank outlets |
CN102571635A (en) * | 2012-01-18 | 2012-07-11 | 浪潮(北京)电子信息产业有限公司 | Message transmission method and equipment |
CN103595698A (en) * | 2012-08-16 | 2014-02-19 | 福州福昕软件开发有限公司北京分公司 | Management method for digital rights |
CN104391974A (en) * | 2014-12-05 | 2015-03-04 | 北京奇虎科技有限公司 | Browser and browser bookmark data processing method |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109189843A (en) * | 2018-08-02 | 2019-01-11 | 浪潮通用软件有限公司 | Take the method that button receives file request and resolution response based on supplementary pension system account pipe |
CN110111209A (en) * | 2019-05-05 | 2019-08-09 | 泰康保险集团股份有限公司 | Pay processing method, device and the readable storage medium storing program for executing of notice business |
CN113726781A (en) * | 2021-08-31 | 2021-11-30 | 平安养老保险股份有限公司 | Message information processing method and device, computer equipment and storage medium |
CN113726781B (en) * | 2021-08-31 | 2023-05-16 | 平安养老保险股份有限公司 | Message information processing method, device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108062713B (en) | 2020-10-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108804336A (en) | Interactive system test method, device, computer equipment and storage medium | |
CN108268375A (en) | Applied program testing method, device, computer equipment and storage medium | |
CN110365670A (en) | Blacklist sharing method, device, computer equipment and storage medium | |
CN109325870A (en) | The method and system of shared private data | |
CN112912880A (en) | Container builder for personalized web services | |
CN110932859B (en) | User information processing method, device and equipment and readable storage medium | |
CN105099675A (en) | Method and device for generating authentication data for identity authentication and method and device for identity authentication | |
CN109670803A (en) | Method, apparatus, medium and the electronic equipment tested before online trading | |
US8473576B2 (en) | Communication system for process-oriented acquisition, storage, transmission, and provision of data | |
CN108537314A (en) | Product marketing system and method based on Quick Response Code | |
CN108062713A (en) | Annuity data file acquisition methods, device, computer equipment and storage medium | |
CN111415170A (en) | Block chain-based food tracing method and equipment and related storage medium | |
CN108347361A (en) | Applied program testing method, device, computer equipment and storage medium | |
US20230153447A1 (en) | Automatic generation of security labels to apply encryption | |
CN112787976A (en) | Data encryption, decryption and sharing method, device, system and storage medium | |
CN109559136B (en) | Information management system and method | |
CN109697370A (en) | Database data encipher-decipher method, device, computer equipment and storage medium | |
CN109272324A (en) | A kind of business function implementation method, system, equipment and computer storage medium | |
CN114186263A (en) | Data regression method based on longitudinal federal learning and electronic device | |
CN108052550A (en) | Annuity data receiver method, device, computer equipment and storage medium | |
CN108985040B (en) | Method and apparatus, storage medium and the processor logged in using cipher key | |
CN107943969B (en) | Annuity data file sending method and device, computer equipment and storage medium | |
CN110445757A (en) | Personnel information encryption method, device, computer equipment and storage medium | |
CN110083782A (en) | Inspection method, device, computer equipment and the storage medium of electronic insurance policy | |
CN109903055A (en) | Merchandise control method, apparatus, computer installation and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |