CN107316176A - The control method and device of declaration form processing - Google Patents

The control method and device of declaration form processing Download PDF

Info

Publication number
CN107316176A
CN107316176A CN201610270091.XA CN201610270091A CN107316176A CN 107316176 A CN107316176 A CN 107316176A CN 201610270091 A CN201610270091 A CN 201610270091A CN 107316176 A CN107316176 A CN 107316176A
Authority
CN
China
Prior art keywords
declaration form
timestamp table
policy information
timestamp
correcting
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.)
Pending
Application number
CN201610270091.XA
Other languages
Chinese (zh)
Inventor
毕坚
肖泉海
辛朋
张帆
程春霞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201610270091.XA priority Critical patent/CN107316176A/en
Publication of CN107316176A publication Critical patent/CN107316176A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/08Insurance

Abstract

The present invention proposes a kind of control method of declaration form processing, and methods described includes:The declaration form for receiving the first system transmission corrects request, the corresponding timestamp table of the declaration form according to the declaration form corrects acquisition request, judge whether policy information of the declaration form in the first system is newest policy information according to the timestamp table, if, the first system is then allowed to correct the declaration form, receive the instruction of the preservation after the first system is corrected to the declaration form, the instruction renewal timestamp table is preserved according to described, judge whether that the timestamp table can be updated successfully, if so, then correcting generation according to corrects request slip.Said process realizes the parallel processing to declaration form, and corrects the validity that request slip ensure that declaration form modification by judging whether to be successfully generated.In addition, it is also proposed that a kind of control device of declaration form processing.

Description

The control method and device of declaration form processing
Technical field
The present invention relates to computer disposal field, the control method and device of more particularly to a kind of declaration form processing.
Background technology
With the development of insurance business, the declaration form of insurance company is more and more, is protected in order to processing faster Single, insurance company can typically set up multiple systems while handling numerous declaration forms.Traditional multiple systems Data between system are separate, i.e., the data of one declaration form can only often have a system to handle. If so causing to handle different declaration forms to also need to log in different systems, bother very much.If multiple Data between system can be mutually in step, then different declaration forms can be just handled by a system, but It is that multiple systems so often occur while handling the situation of a declaration form, causes to cause the dirty reading of data dirty Write, so that the validity that declaration form is corrected can not be ensured.
The content of the invention
Based on this, in order to solve the above problems, it is proposed that a kind of easy and ensure that what declaration form corrected has The method and apparatus of the declaration form processing of effect property.
A kind of control method of declaration form processing, the described method comprises the following steps:Receive what the first system was sent Declaration form corrects request;The corresponding timestamp table of the declaration form according to the declaration form corrects acquisition request;According to institute State timestamp table and judge whether policy information of the declaration form in the first system is newest policy information;If so, The first system is then allowed to correct the declaration form;The first system is received to carry out the declaration form Preservation instruction after correcting;The instruction renewal timestamp table is preserved according to described;Judging whether can be to institute Timestamp table is stated to be updated successfully;If so, then correcting generation according to corrects request slip.
In one of the embodiments, it is described to judge the declaration form in the first system according to the timestamp table Policy information include the step of whether be newest policy information:The declaration form is obtained according to the timestamp table Number of times is corrected in the first system and second system;When the number of times of correcting in the first system is more than In the second system when correcting number of times, then judge the policy information in the first system as newest policy information.
In one of the embodiments, it is described to be described first according to the timestamp table acquisition declaration form System and second system in the step of correcting number of times after also include:When correcting number of times in the first system It whether there is the declaration form in the second system equal to being checked in the second system when correcting number of times, then Correct request slip, if it is not, then judging the policy information in the first system as newest policy information;When described Number of times is corrected less than when correcting number of times, then judging in the first system in the second system in the first system Policy information be not newest policy information.
In one of the embodiments, when the declaration form according to the declaration form corrects acquisition request is corresponding Between stamp table the step of before also include:Judge that the corresponding timestamp table of the declaration form whether there is;If in the presence of, Then enter the step of corresponding timestamp table of acquisition request declaration form is corrected according to the declaration form;If being not present, New timestamp table is set up for the declaration form.
In one of the embodiments, it is described to judge whether the first system be to the timestamp table more Newly successful step includes:It is newest change once to judge the versioning timestamp in the timestamp table Time, if so, can be then updated successfully to the timestamp table, if it is not, then can not be to the timestamp table It is updated successfully.
A kind of control device of declaration form processing, described device includes:Request receiving module, for receiving first The declaration form that system is sent corrects request;Acquisition module, for protecting described in correcting acquisition request according to the declaration form Single corresponding timestamp table;First judge module, for judging the declaration form according to the timestamp table Whether the policy information in one system is newest policy information;Module is corrected, if for declaration form in the first system In policy information be newest policy information, then allow the first system to correct the declaration form;Refer to Receiving module is made, for receiving the instruction of the preservation after the first system is corrected to the declaration form;Update Module, for preserving the instruction renewal timestamp table according to described;Second judge module, be for judgement It is no the timestamp table to be updated successfully;Generation module, if for that can be updated to the timestamp table Success, then correct generation according to and correct request slip.
In one of the embodiments, first judge module includes:Number of times acquisition module, for basis The timestamp table obtains the declaration form and corrects number of times in the first system and second system;Judge mould Block, for correcting whether number of times is more than in the second system in the first system when the declaration form When correcting number of times, then judge the policy information in the first system as newest policy information.
In one of the embodiments, first judge module is additionally operable to work as correcting in the first system Number of times be equal in the second system when correcting number of times, then check in the second system with the presence or absence of described Declaration form corrects request slip, if it is not, then judge the policy information in the first system as newest policy information;When Number of times is corrected less than when correcting number of times, then judgement first is in the second system in the first system Policy information in system is not newest policy information.
In one of the embodiments, described device also includes:3rd judge module, for judging the guarantor Singly corresponding timestamp table whether there is, if in the presence of entrance notifies acquisition module to be corrected according to the declaration form The corresponding timestamp table of acquisition request declaration form, if being not present, new timestamp table is set up for the declaration form.
In one of the embodiments, second judge module is additionally operable to judge the version in the timestamp table This timestamp is the newest change time once, if so, the timestamp table can be then updated successfully, If it is not, can not be then updated successfully to the timestamp table.
The control method and device of above-mentioned declaration form processing, the declaration form sent by receiving the first system correct request, The corresponding timestamp table of the declaration form according to declaration form corrects acquisition request, declaration form is judged according to the timestamp table Whether the policy information in the first system is newest policy information, if so, then allowing the first system pair The declaration form is corrected, and receives the preservation instruction after the first system is corrected to the declaration form, root The instruction renewal timestamp table is preserved according to described, judges whether that the timestamp table can be updated successfully, If so, then correcting generation according to corrects request slip.First determine whether declaration form letter of the declaration form in the first system Whether breath is newest policy information, only when the policy information in the first system is newest policy information The first system is allowed to modify declaration form, it is ensured that multiple systems each system pair in parallel processing declaration form Declaration form, which is modified, to be carried out on the version of newest declaration form, further, by the way that judge whether can Timestamp table is updated successfully and corrects request slip to judge whether to be successfully generated, is only successfully generated and corrects Request slip just corrects success at last.Said process realizes the parallel processing to declaration form, and is by judgement No can be successfully generated corrects the validity that request slip ensure that declaration form modification.
Brief description of the drawings
Fig. 1 is the control method flow chart of declaration form processing in one embodiment;
Fig. 2 be judge in one embodiment policy information in the first system whether be newest policy information side Method flow chart;
Fig. 3 is to judge whether the method flow diagram that can be updated successfully to timestamp table in one embodiment;
Fig. 4 is the structured flowchart of the control device of declaration form processing in one embodiment;
Fig. 5 is the structured flowchart of the first judge module in one embodiment;
Fig. 6 is the structured flowchart of the control device of declaration form processing in another embodiment.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, below in conjunction with accompanying drawing and reality Example is applied, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only Only to explain the present invention, it is not intended to limit the present invention.
As shown in figure 1, in one embodiment it is proposed that a kind of control method of declaration form processing, this method Comprise the following steps:
Step 102, the declaration form for receiving the first system transmission corrects request.
Specifically, the declaration form that server receives the first system initiation corrects request, declaration form, which corrects request, to be included The number of policy of declaration form.Corresponding declaration form can be found according to number of policy, and then can be obtained and the declaration form phase The other information of pass, such as, obtain the corresponding timestamp table of declaration form.
Step 104, the corresponding timestamp table of acquisition request declaration form is corrected according to declaration form.
In the present embodiment, the declaration form for receiving the first system transmission corrects request, and declaration form is extracted from the request Number, timestamp table corresponding with the declaration form is searched according to the number of policy.Timestamp table is can for multiple systems Designed with being corrected to declaration form simultaneously, be the essential information contingency table of multiple systems.Remember in timestamp table Number of policy, historical record, versioning timestamp of declaration form modification of declaration form etc. have been carried, wherein, versioning timestamp Refer to the time that declaration form latest edition updates, that is, the declaration form current the last time changed.
Step 106, judge whether policy information of the declaration form in the first system is newest declaration form according to timestamp table Information, if so, then entering step 108, if it is not, then terminating.
In the present embodiment, correcting for declaration form must be for correcting that the up-to-date information of the declaration form is carried out, institute With before correcting, it is necessary to judge whether policy information of the declaration form in the first system is newest policy information.When Between the historical record of declaration form modification has been recorded in stamp table, declaration form can be obtained in each system according to the historical record It is corresponding in system to correct number of times.Specifically, declaration form can be obtained in the first system and according to the timestamp table Number of times is corrected in two system, wherein, second system refers to other systems in addition to the first system, it Can be a system or multiple systems.Data between the first system and second system are desirable Data syn-chronization is carried out, but if not real-time data synchronization between the first system and second system, but it is fixed When data syn-chronization when, then the policy information that some systems will occur is not newest policy information.Pass through Judge to correct number of times to determine whether the policy information in the first system is most in the first system and second system Policy information in fresh information, only the first system just allows to be corrected when being newest policy information.
Step 108, it is allowed to which the first system is modified to declaration form.
Specifically, when policy information of the definite policy in the first system is newest policy information, then permitting Perhaps the first system is corrected to the declaration form.Here modification refers to allow user to modify operation, still Specifically whether successfully modified can also need to further be judged.
Step 110, the preservation instruction after the first system is corrected to declaration form is received.
Specifically, after the first system corrects declaration form, selecting that the content of modification is preserved or reported Valency, server is received after the instruction of the preservation after the first system is corrected to declaration form, is instructed according to the preservation The time gone in renewal time stamp table.
Step 112, according to preservation instruction renewal time stamp table.
Specifically, server is received after the instruction of the preservation after the first system is corrected to declaration form, due to right Declaration form is corrected, so needing the time in timestamp table being updated, if can be successfully updated Between stab table, then the time in timestamp table is replaced with to the time currently preserved.
Step 114, judge whether that timestamp table can be updated successfully, if so, then enter step 116, if It is no, then terminate.
Specifically, judging that the time in timestamp table is the newest change time once, if so, explanation During this modification the declaration form not by other systems or other people correct, can be to the timestamp table Time be updated successfully, the time after timestamp table updates is that this corrects preservation successful time.If when Between time in stamp table be not the newest change time once, illustrate during this modification by it His system or other people update, so the time in timestamp has no longer been the newest change time once, Declaration form is also no longer newest declaration form, so can not be updated successfully to the timestamp table, returns and updates failure Information.
Step 116, request slip is corrected according to correcting generation.
If specifically, can be updated successfully to timestamp table, then the content generation corrected according to this is corrected Request slip.Generation is corrected to be controlled before request slip to declaration form, and generation is corrected after request slip, according to this Request slip is corrected to be controlled.Generation, which is corrected, submits core to protect application after request slip, after core guarantor's application passes through, If not producing premium change, batch list is directly generated, if producing premium change, such as needs to pay the fees or move back Take, then regenerate single in batch after the completion of payment or move back expense, and the information updating that this is corrected is on newest declaration form, The number of times of correcting for updating newest declaration form simultaneously plus 1.
In the present embodiment, the declaration form sent by receiving the first system corrects request, and being corrected according to declaration form please The corresponding timestamp table of acquisition declaration form is sought, policy information of the declaration form in the first system is judged according to timestamp table Whether it is newest policy information, if so, then allowing the first system to correct the declaration form, receiving first is Preservation after system is corrected to declaration form is instructed, and according to instruction renewal time stamp table is preserved, judging whether can Timestamp table is updated successfully, if so, then correcting request slip according to correcting generation.First determine whether declaration form Whether the policy information in one system is newest policy information, and the only policy information in the first system is most Just the first system is allowed to modify declaration form during new policy information, it is ensured that multiple systems are protected in parallel processing Each system is modified to declaration form when single is carried out on the version of newest declaration form, further, is led to Cross to judge whether that timestamp table can be updated successfully and correct request slip to judge whether to be successfully generated, only It is successfully generated and corrects request slip and just correct success at last.Said process realizes the parallel processing to declaration form, And correct the validity that request slip ensure that declaration form modification by judging whether to be successfully generated.
As described in Figure 2, in one embodiment, guarantor of the declaration form in the first system is judged according to timestamp table The step of whether single information is newest policy information includes:
Step 106a, obtains declaration form according to timestamp table and corrects number of times in the first system and second system.
Specifically, recorded in timestamp table declaration form modification historical record, including declaration form correct number of times, Time, content of modification for correcting every time etc..Further obtained according to the corresponding timestamp table of the declaration form of acquisition Declaration form corrects number of times in the first system and second system.Data between the first system and second system are Need to carry out data syn-chronization, but if not real-time data synchronization between the first system and second system, and When being that timing data is synchronous, then in the first system and second system correct number of times may occur it is inconsistent Situation.In another embodiment, the data in the first system and second system can also carry out unidirectional same Step, such as, the first system are new system, and second system is old system, is carrying out the mistake of new-old system handing-over It is that new system has been reached the standard grade in journey, when old system is not offline, new-old system can be with concurrent modification, in this process In, old system data has renewal, and meeting automatic synchronization is updated to new system, to ensure the accurate of new system data, Corrected but if being done in new system, then will not be again by data syn-chronization to old system, that is to say, that data are same Walk simply from old system to new system, but not from new system to old system, i.e. one-way synchronization.
Step 106b, when declaration form corrects whether number of times is more than correcting time in second system in the first system During number, then judge the policy information in the first system as newest policy information.
Specifically, it is all newest that either still declaration form, which is corrected, in second system in the first system That is done on the basis of declaration form corrects, and correcting every time can be single according to the content generation batch corrected after successfully examination & verification passes through, Then by the information updating corrected to newest declaration form, while update newest declaration form corrects number of times+1.First Data between system and second system need to carry out data syn-chronization, but the first system and second system it Between carry out data syn-chronization if not real-time, but timing data it is synchronous when, then the first system and second is Correcting number of times and inconsistent situation may occur in system, if the first system to correct number of times fewer, The declaration form for illustrating the first system is not newest declaration form, and now the declaration form can not be modified.If The first system corrects number of times correcting often than second system, illustrates that the declaration form one of the first system is set to most New declaration form, it is allowed to which the first system is corrected to declaration form.
As shown in Fig. 2 in one embodiment, declaration form is obtained in the first system and second according to timestamp table In system the step of correcting number of times after also include:When the number of times of correcting in the first system is equal to second system In number of times of correcting be, then into step 106c, when correcting number of times less than in second system in the first system When correcting number of times, then into step 106d.
Step 106c, checks in second system and to correct request slip with the presence or absence of declaration form, if it is not, then judging the Policy information in one system is newest policy information, if so, then entering step 106d.
Specifically, when correcting number of times equal in second system when correcting number of times in the first system, in addition it is also necessary to Further check in second system and to correct request slip with the presence or absence of declaration form, if in the presence of having illustrated the declaration form It is modified in second system, and generates and correct request slip, only this is correcting request slip In processing, batch list is not generated also, that is to say, that, although the number of times of correcting of second system does not update also, but this When the first system in the declaration form be not newest declaration form, so not allowing the first system to modify. If being not present, illustrate declaration form or newest declaration form in the first system, it is allowed to which the first system is to the declaration form Modify.
Step 106d, judges that the policy information in the first system is not newest policy information.
Specifically, when correcting number of times less than when correcting number of times, illustrating the in second system in the first system Declaration form in one system is not updated to also newest, and it is not newest declaration form letter to judge the policy information in the first system Breath.When correcting number of times equal in second system when correcting number of times in the first system, in addition it is also necessary to further inspection Survey with the presence or absence of the request slip corrected in second system, if so, the then same guarantor judged in the first system Single information is not newest policy information.
In one embodiment, also include before the step of obtaining declaration form corresponding timestamp table:Judge declaration form Corresponding timestamp table whether there is, if in the presence of corresponding into acquisition request declaration form is corrected according to declaration form The step of timestamp table, if being not present, new timestamp table is set up for declaration form.
Specifically, first having to judge that the corresponding timestamp table of the declaration form is before the timestamp table of declaration form is obtained It is no to exist, have in corresponding timestamp table, timestamp table and load if carrying out modification to declaration form before The number of policy of declaration form, historical record, the versioning timestamp of declaration form modification etc., versioning timestamp just refers to most The nearly time once corrected to declaration form.If not carrying out modification to declaration form before, just without declaration form correspondence Timestamp table, it is necessary to the versioning timestamp set up for declaration form in new timestamp table, and the timestamp table just It is at the time of setting up the new timestamp table.Time subsequently in the new timestamp table goes renewal time Stab table.
As shown in figure 3, in one embodiment, the step of judging whether that timestamp table can be updated successfully Including:
Step 114a, it is the last change time to judge the versioning timestamp in timestamp table, if It is that timestamp table can be then updated successfully, if it is not, can not be then updated successfully to timestamp table.
In the present embodiment, timestamp table mainly includes two fields of declaration form and timestamp, and versioning timestamp It is exactly the timestamp field in timestamp table.Versioning timestamp just refers to the renewal time of declaration form latest edition. Before correcting, it is that declaration form was most at that time to obtain the versioning timestamp in the corresponding timestamp table of declaration form, timestamp table The nearly time once changed., it is necessary to judge that the versioning timestamp in timestamp table is not again when correcting preservation It it is the last change time, because other systems are possible to the declaration form during this is corrected Corrected, and generate and correct request slip, while have updated timestamp table.By judging to obtain originally Versioning timestamp in the timestamp table taken is the last change time, if so, explanation is not by it His system update, then can be updated successfully to timestamp table.Conversely, explanation is corrected by other systems, This can not be updated successfully to timestamp table.Specifically, assume A and B two people respectively by X and Y systems are modified to declaration form 1, and the information of declaration form 1 is all newest policy information in X and Y systems, So A and B can now modify to declaration form 1, but be due to A modification speed ratio it is very fast, repair Change and clicked save button, versioning timestamp or the last change time due to now system X, So can be updated successfully to timestamp table, and generate and correct request slip.B goes to preserve to protecting again afterwards During single 1 modification, because A operation have updated again timestamp table i.e. versioning timestamp and enter Go renewal, so the versioning timestamp in Y systems has not been the last change time, therefore, this When timestamp table can not be updated successfully.
As shown in figure 4, in one embodiment it is proposed that a kind of control device of declaration form processing, the device Including:
Request receiving module 402, the declaration form for receiving the first system transmission corrects request.
Specifically, the declaration form that server receives the first system initiation corrects request, declaration form, which corrects request, to be included The number of policy of declaration form.Corresponding declaration form can be found according to number of policy, and then can be obtained and the declaration form phase The other information of pass, such as, obtain the corresponding timestamp table of declaration form.
Acquisition module 404, for correcting the corresponding timestamp table of acquisition request declaration form according to declaration form.
In the present embodiment, the declaration form for receiving the first system transmission corrects request, and declaration form is extracted from the request Number, timestamp table corresponding with the declaration form is searched according to the number of policy.Timestamp table is can for multiple systems Designed with being corrected to declaration form simultaneously, be the essential information contingency table of multiple systems.Remember in timestamp table Number of policy, historical record, versioning timestamp of declaration form modification of declaration form etc. have been carried, wherein, versioning timestamp Refer to the time that declaration form latest edition updates, that is, the declaration form current the last time changed.
First judge module 406, for judging that policy information of the declaration form in the first system is according to timestamp table No is newest policy information.
In the present embodiment, correcting for declaration form must be for correcting that the up-to-date information of the declaration form is carried out, institute With before correcting, it is necessary to judge whether policy information of the declaration form in the first system is newest policy information.When Between the historical record of declaration form modification has been recorded in stamp table, wherein the historical record changed includes declaration form each It is corresponding in system to correct number of times.Specifically, according to the timestamp table can obtain declaration form in the first system and Number of times is corrected in second system, wherein, second system refers to other systems in addition to the first system, It can be a system or multiple systems.Data between the first system and second system are to need Carry out if not real-time data synchronization between data syn-chronization, but the first system and second system, but When timing data is synchronous, so the policy information that some systems occur is not newest policy information.Pass through Judge to correct number of times to determine whether the policy information in the first system is most in the first system and second system Policy information in fresh information, only the first system just allows to be corrected when being newest policy information.
Module 408 is corrected, if being newest policy information for policy information of the declaration form in the first system, is permitted Perhaps the first system is corrected to the declaration form.
Specifically, when policy information of the definite policy in the first system is newest policy information, then permitting Perhaps the first system is corrected to the declaration form.Here modification refers to allow user to modify operation, still Specifically whether successfully modified can also need to further be judged.
Command reception module 410, for receiving the instruction of the preservation after the first system is corrected to declaration form.
Specifically, after the first system corrects declaration form, selecting that the content of modification is preserved or reported Valency, server is received after the instruction of the preservation after the first system is corrected to declaration form, is instructed according to the preservation The time gone using the versioning timestamp in timestamp table in renewal time stamp table.
Update module 412, for according to preservation instruction renewal time stamp table.
Specifically, server is received after the instruction of the preservation after the first system is corrected to declaration form, due to right Declaration form is corrected, so needing the time in timestamp table being updated, if can be successfully updated Between stab table, then the time in timestamp table is replaced with to the time currently preserved.
Second judge module 414, for judging whether that timestamp table can be updated successfully.
Specifically, judging that the time in timestamp table is the newest change time once, if so, explanation During this modification the declaration form not by other systems or other people correct, can be to the timestamp table Time be updated successfully, the time after timestamp table updates is time that this is updated successfully.If timestamp Time in table is not the newest change time once, illustrate be by other during this modification Unite or other people update, so the time in timestamp has no longer been newest change time once, declaration form Also no longer it is newest declaration form, so can not be updated successfully to the timestamp table, returns to the information for updating failure.
Generation module 416, if for that can be updated successfully to the timestamp table, generation is corrected according to Correct request slip.
If specifically, can be updated successfully to timestamp table, then the content generation corrected according to this is corrected Request slip.Generation is corrected to be controlled before request slip to declaration form, and generation is corrected after request slip, according to this Request slip is corrected to be controlled.Generation, which is corrected, submits core to protect application after request slip, after core guarantor's application passes through, If not producing premium change, batch list is directly generated, if producing premium change, such as needs to pay the fees or move back Take, then regenerate single in batch after the completion of payment or move back expense, and the information updating that this is corrected is on newest declaration form, Update newest declaration form simultaneously corrects number of times+1.
In the present embodiment, the declaration form sent by receiving the first system corrects request, and being corrected according to declaration form please The corresponding timestamp table of acquisition declaration form is sought, policy information of the declaration form in the first system is judged according to timestamp table Whether it is newest policy information, if so, then allowing the first system to correct the declaration form, receiving first is Preservation after system is corrected to declaration form is instructed, and according to instruction renewal time stamp table is preserved, judging whether can Timestamp table is updated successfully, if so, then correcting request slip according to correcting generation.First determine whether declaration form Whether the policy information in one system is newest policy information, and the only policy information in the first system is most Just the first system is allowed to modify declaration form during new policy information, it is ensured that multiple systems are protected in parallel processing Each system is modified to declaration form when single is carried out on the version of newest declaration form, further, is led to Cross to judge whether that timestamp table can be updated successfully and correct request slip to judge whether to be successfully generated, only It is successfully generated and corrects request slip and just correct success at last.Said process realizes the parallel processing to declaration form, And correct the validity that request slip ensure that declaration form modification by judging whether to be successfully generated.
As shown in figure 5, in one embodiment, the first judge module 406 includes:
Number of times acquisition module 406a, for obtaining declaration form in the first system and second system according to timestamp table Correct number of times.
Specifically, recorded in timestamp table declaration form modification historical record, including declaration form correct number of times, Time, content of modification for correcting every time etc..Further obtained according to the corresponding timestamp table of the declaration form of acquisition Declaration form corrects number of times in the first system and second system.Data between the first system and second system are Need to carry out data syn-chronization, but if not real-time data synchronization between the first system and second system, and When being that timing data is synchronous, then in the first system and second system correct number of times may occur it is inconsistent Situation.In another embodiment, the data in the first system and second system can also carry out unidirectional same Step, such as, the first system are new system, and second system is old system, is carrying out the mistake of new-old system handing-over It is that new system has been reached the standard grade in journey, when old system is not offline, new-old system can be with concurrent modification, in this process In, old system data has renewal, and meeting automatic synchronization is updated to new system, to ensure the accurate of new system data, Corrected but if being done in new system, then will not be again by data syn-chronization to old system, that is to say, that data are same Walk simply from old system to new system, but not from new system to old system, i.e. one-way synchronization.
Determination module 406b, for correcting whether number of times is more than institute in the first system when the declaration form State in second system when correcting number of times, then judge the policy information in the first system as newest policy information.
Specifically, it is all newest that either still declaration form, which is corrected, in second system in the first system That is done on the basis of declaration form corrects, and correcting every time can be single according to the content generation batch corrected after successfully examination & verification passes through, Then by the information updating corrected to newest declaration form, while update newest declaration form corrects number of times+1.First Data between system and second system need to carry out data syn-chronization, but the first system and second system it Between carry out data syn-chronization if not real-time, but timing data it is synchronous when, then the first system and second is Correcting number of times and inconsistent situation may occur in system, if the first system to correct number of times fewer, The declaration form for illustrating the first system is not newest declaration form, and now the declaration form can not be modified.If The first system corrects number of times correcting often than second system, illustrates that the declaration form one of the first system is set to most New declaration form, it is allowed to which the first system is corrected to declaration form.
In one embodiment, the number of times of correcting that the first judge module is additionally operable to work as in the first system is equal to In second system when correcting number of times, then check in second system and to correct request slip with the presence or absence of declaration form, if It is no, then judge the policy information in the first system as newest policy information;When correcting number of times in the first system It is not newest declaration form letter less than the policy information judged in second system when correcting number of times, then in the first system Breath.
In the present embodiment, when correcting number of times equal in second system when correcting number of times in the first system, Also need to further check in second system and to correct request slip with the presence or absence of declaration form, if in the presence of illustrating the guarantor It is single to be modified in second system, and generate and correct request slip, only this corrects application Single present, does not generate batch list also, that is to say, that, although the number of times of correcting of second system does not update also, But now the declaration form in the first system has not been newest declaration form, so not allowing the first system to be repaiied Change.If being not present, illustrate declaration form or newest declaration form in the first system, it is allowed to which the first system is to this Declaration form is modified.When correcting number of times less than in second system when correcting number of times in the first system, explanation Declaration form in the first system be not updated to also it is newest, judge the first system in policy information be not newest declaration form Information.
As shown in fig. 6, in one embodiment, the control device of above-mentioned declaration form processing also includes:
3rd judge module 403, for judging that the corresponding timestamp table of declaration form whether there is, if in the presence of entering Enter to notify acquisition module to correct the corresponding timestamp table of acquisition request declaration form according to declaration form, if being not present, for Declaration form sets up new timestamp table.
Specifically, first having to judge that the corresponding timestamp table of the declaration form is before the timestamp table of declaration form is obtained It is no to exist, have in corresponding timestamp table, timestamp table and load if carrying out modification to declaration form before The number of policy of declaration form, historical record, the versioning timestamp of declaration form modification etc., versioning timestamp just refers to most The nearly time once corrected to declaration form.If not carrying out modification to declaration form before, just without declaration form correspondence Timestamp table, it is necessary to the versioning timestamp set up for declaration form in new timestamp table, and the timestamp table just It is at the time of setting up the new timestamp table.Time subsequently in the new timestamp table goes renewal time Stab table.
In one embodiment, the second judge module is additionally operable to judge that the versioning timestamp in timestamp table is not It it is the newest change time once, if so, can be then updated successfully to timestamp table, if it is not, then can not be right Timestamp table is updated successfully.
In the present embodiment, timestamp table mainly includes two fields of declaration form and timestamp, and versioning timestamp It is exactly the timestamp field in timestamp table.Versioning timestamp just refers to the renewal time of declaration form latest edition. Before correcting, it is that declaration form was most at that time to obtain the versioning timestamp in the corresponding timestamp table of declaration form, timestamp table The nearly time once changed., it is necessary to judge that the versioning timestamp in timestamp table is not again when correcting preservation It it is the last change time, because other systems are possible to the declaration form during this is corrected Corrected, and generate and correct request slip, while have updated timestamp table.By judging to obtain originally Versioning timestamp in the timestamp table taken is the last change time, if so, explanation is not by it His system update, then can be updated successfully to timestamp table.Conversely, explanation is corrected by other systems, This can not be updated successfully to timestamp table.Specifically, assume A and B two people respectively by X and Y systems are modified to declaration form 1, and the information of declaration form 1 is all newest policy information in X and Y systems, So A and B can now modify to declaration form 1, but be due to A modification speed ratio it is very fast, repair Change and clicked save button, versioning timestamp or the last change time due to now system X, So can be updated successfully to timestamp table, and generate and correct request slip.B goes to preserve to protecting again afterwards During single 1 modification, because A operation have updated again timestamp table i.e. versioning timestamp and enter Go renewal, so the versioning timestamp in Y systems has not been the last change time, therefore, this When timestamp table can not be updated successfully.
Embodiment described above only expresses the several embodiments of the present invention, and it describes more specific and detailed, But therefore it can not be interpreted as the limitation to the scope of the claims of the present invention.It should be pointed out that for this area Those of ordinary skill for, without departing from the inventive concept of the premise, can also make it is some deformation and Improve, these belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be with appended Claim is defined.

Claims (10)

1. a kind of control method of declaration form processing, the described method comprises the following steps:
The declaration form for receiving the first system transmission corrects request;
The corresponding timestamp table of the declaration form according to the declaration form corrects acquisition request;
Judge whether policy information of the declaration form in the first system is newest declaration form according to the timestamp table Information;
If so, then allowing the first system to correct the declaration form;
Receive the instruction of the preservation after the first system is corrected to the declaration form;
The instruction renewal timestamp table is preserved according to described;
Judge whether that the timestamp table can be updated successfully;
If so, then correcting generation according to corrects request slip.
2. according to the method described in claim 1, it is characterised in that described to be judged according to the timestamp table The step of whether policy information of the declaration form in the first system is newest policy information includes:
The declaration form is obtained according to the timestamp table and corrects number of times in the first system and second system;
When correcting number of times more than when correcting number of times, then judging in the second system in the first system Policy information in the first system is newest policy information.
3. method according to claim 2, it is characterised in that described to be obtained according to the timestamp table The declaration form in the first system and second system the step of correcting number of times after also include:
When correcting number of times equal to when correcting number of times, then checking in the second system in the first system Request slip is corrected with the presence or absence of the declaration form in the second system, if it is not, then judging in the first system Policy information is newest policy information;
When correcting number of times less than when correcting number of times, then judging in the second system in the first system Policy information in the first system is not newest policy information.
4. according to the method described in claim 1, it is characterised in that described that request is corrected according to the declaration form Also include before the step of obtaining the declaration form corresponding timestamp table:
Judge that the corresponding timestamp table of the declaration form whether there is;
If in the presence of entering the step of correcting acquisition request declaration form corresponding timestamp table according to the declaration form;
If being not present, new timestamp table is set up for the declaration form.
5. according to the method described in claim 1, it is characterised in that described whether to judge the first system The step of being updated successfully to the timestamp table includes:
It is the newest change time once to judge the versioning timestamp in the timestamp table, if so, then The timestamp table can be updated successfully, if it is not, can not be then updated successfully to the timestamp table.
6. a kind of control device of declaration form processing, it is characterised in that described device includes:
Request receiving module, the declaration form for receiving the first system transmission corrects request;
Acquisition module, for the corresponding timestamp table of declaration form described in correcting acquisition request according to the declaration form;
First judge module, for judging declaration form of the declaration form in the first system according to the timestamp table Whether information is newest policy information;
Module is corrected, if being newest policy information for policy information of the declaration form in the first system, is allowed The first system is corrected to the declaration form;
Command reception module, for receiving the instruction of the preservation after the first system is corrected to the declaration form;
Update module, for preserving the instruction renewal timestamp table according to described;
Second judge module, for judging whether that the timestamp table can be updated successfully;
Generation module, if for that can be updated successfully to the timestamp table, generation batch is corrected according to Change request slip.
7. device according to claim 6, it is characterised in that first judge module includes:
Number of times acquisition module, for obtaining the declaration form in the first system and the according to the timestamp table Number of times is corrected in two system;
Determination module, for correcting whether number of times is more than described the in the first system when the declaration form In two system when correcting number of times, then judge the policy information in the first system as newest policy information.
8. device according to claim 7, it is characterised in that first judge module is additionally operable to work as Number of times is corrected equal to when correcting number of times, then checking described the in the second system in the first system Request slip is corrected with the presence or absence of the declaration form in two system, if it is not, then judging the declaration form letter in the first system Cease for newest policy information;When the number of times of correcting in the first system is less than correcting in the second system During number of times, then judge that the policy information in the first system is not newest policy information.
9. device according to claim 6, it is characterised in that described device also includes:
3rd judge module, for judging that the corresponding timestamp table of the declaration form whether there is, if in the presence of, The corresponding timestamp table of acquisition request declaration form is corrected according to the declaration form into notice acquisition module, if being not present, Then new timestamp table is set up for the declaration form.
10. device according to claim 6, it is characterised in that second judge module is additionally operable to It is the newest change time once to judge the versioning timestamp in the timestamp table, if so, then can The timestamp table is updated successfully, if it is not, can not be then updated successfully to the timestamp table.
CN201610270091.XA 2016-04-27 2016-04-27 The control method and device of declaration form processing Pending CN107316176A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610270091.XA CN107316176A (en) 2016-04-27 2016-04-27 The control method and device of declaration form processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610270091.XA CN107316176A (en) 2016-04-27 2016-04-27 The control method and device of declaration form processing

Publications (1)

Publication Number Publication Date
CN107316176A true CN107316176A (en) 2017-11-03

Family

ID=60185125

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610270091.XA Pending CN107316176A (en) 2016-04-27 2016-04-27 The control method and device of declaration form processing

Country Status (1)

Country Link
CN (1) CN107316176A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109285080A (en) * 2018-09-04 2019-01-29 中国平安财产保险股份有限公司 Policy information scroll processing method, device, computer equipment and storage medium
CN109727060A (en) * 2018-11-29 2019-05-07 平安科技(深圳)有限公司 Day exhibition expense processing method, device, equipment and readable storage medium storing program for executing
CN111179097A (en) * 2019-11-28 2020-05-19 泰康保险集团股份有限公司 Method and device for warranty correction, electronic equipment and storage medium
CN112132694A (en) * 2020-09-28 2020-12-25 平安养老保险股份有限公司 Policy and security case confirmation and verification method, device, equipment and storage medium
CN114399394A (en) * 2022-01-14 2022-04-26 长城人寿保险股份有限公司 Insurance contract data changing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1407475A (en) * 2001-08-24 2003-04-02 前锦网络信息技术(上海)有限公司 Synchronous updating personnel resume database method based on internet
CN1549130A (en) * 2003-05-06 2004-11-24 联想(北京)有限公司 Method of document synchronization
CN101339642A (en) * 2008-07-29 2009-01-07 李宝龙 Multi-party interactive automatized electronic business system
CN101410773A (en) * 2003-07-28 2009-04-15 索诺斯公司 System and method for synchronizing operations among a plurality of independently clocked digital data processing devices
US20150081633A1 (en) * 2012-05-28 2015-03-19 Tencent Technology (Shenzhen) Company Limited Data synchronization method and device
CN104462477A (en) * 2014-12-18 2015-03-25 深圳市科漫达智能管理科技有限公司 Data synchronizing method, device and system based on timestamp

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1407475A (en) * 2001-08-24 2003-04-02 前锦网络信息技术(上海)有限公司 Synchronous updating personnel resume database method based on internet
CN1549130A (en) * 2003-05-06 2004-11-24 联想(北京)有限公司 Method of document synchronization
CN101410773A (en) * 2003-07-28 2009-04-15 索诺斯公司 System and method for synchronizing operations among a plurality of independently clocked digital data processing devices
CN101339642A (en) * 2008-07-29 2009-01-07 李宝龙 Multi-party interactive automatized electronic business system
US20150081633A1 (en) * 2012-05-28 2015-03-19 Tencent Technology (Shenzhen) Company Limited Data synchronization method and device
CN104462477A (en) * 2014-12-18 2015-03-25 深圳市科漫达智能管理科技有限公司 Data synchronizing method, device and system based on timestamp

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109285080A (en) * 2018-09-04 2019-01-29 中国平安财产保险股份有限公司 Policy information scroll processing method, device, computer equipment and storage medium
CN109285080B (en) * 2018-09-04 2023-04-04 中国平安财产保险股份有限公司 Policy information rolling processing method and device, computer equipment and storage medium
CN109727060A (en) * 2018-11-29 2019-05-07 平安科技(深圳)有限公司 Day exhibition expense processing method, device, equipment and readable storage medium storing program for executing
CN109727060B (en) * 2018-11-29 2024-04-02 平安科技(深圳)有限公司 Day-to-day expense processing method, device, equipment and readable storage medium
CN111179097A (en) * 2019-11-28 2020-05-19 泰康保险集团股份有限公司 Method and device for warranty correction, electronic equipment and storage medium
CN112132694A (en) * 2020-09-28 2020-12-25 平安养老保险股份有限公司 Policy and security case confirmation and verification method, device, equipment and storage medium
CN112132694B (en) * 2020-09-28 2024-04-09 平安养老保险股份有限公司 Method, device, equipment and storage medium for confirming and checking policy and security case
CN114399394A (en) * 2022-01-14 2022-04-26 长城人寿保险股份有限公司 Insurance contract data changing method and device

Similar Documents

Publication Publication Date Title
CN107316176A (en) The control method and device of declaration form processing
US10621211B2 (en) Language tag management on international data storage
CN103514223B (en) A kind of data warehouse data synchronous method and system
EP2541413A1 (en) Systems and Methods for Data Integrity Checking
US11487714B2 (en) Data replication in a data analysis system
US20160092290A1 (en) Processing data errors for a data processing system
CN107609188B (en) Data synchronization verification method based on golden gate
CN109118358A (en) The synchronization based on component of digital asset
US10509639B2 (en) Automatic software-update framework
JP2021068470A (en) Remote data synchronization method and apparatus for database
CN104572976B (en) Website data update method and system
CN105787709A (en) Method of synchronizing multiple system accounts
CN108959374B (en) Data storage method and device and electronic equipment
CN105446909A (en) Caching management method and system
US9996576B2 (en) Updating progression of performing computer system maintenance
CN104090948A (en) Method, device and system for processing mass data of nuclear power station
CN104298761A (en) Implementation method for master data matching between heterogeneous software systems
US20160085659A1 (en) Base Line for Code Analysis
CN103684823A (en) Weblog recording method, network access path determining method and related devices
CN105630625A (en) Method and device for detecting consistency between data copies
US8498963B2 (en) Method and system for data synchronization
CN108024090A (en) A kind of abnormal localization method and device for video monitoring platform
CN116132625A (en) Supervision method and device for transaction flow
KR101415528B1 (en) Apparatus and Method for processing data error for distributed system
CN114371870A (en) Code scanning and submitting method, code scanning server, client and server

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171103