CN107689010A - Method, apparatus, computer equipment and the storage medium of batch processing declaration form task - Google Patents
Method, apparatus, computer equipment and the storage medium of batch processing declaration form task Download PDFInfo
- Publication number
- CN107689010A CN107689010A CN201710614396.2A CN201710614396A CN107689010A CN 107689010 A CN107689010 A CN 107689010A CN 201710614396 A CN201710614396 A CN 201710614396A CN 107689010 A CN107689010 A CN 107689010A
- Authority
- CN
- China
- Prior art keywords
- declaration form
- sub
- form task
- task
- declaration
- 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
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/2228—Indexing structures
- G06F16/2246—Trees, e.g. B+trees
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- General Physics & Mathematics (AREA)
- Development Economics (AREA)
- Technology Law (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Marketing (AREA)
- Economics (AREA)
- Software Systems (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The embodiment of the present invention provides a kind of method, apparatus, computer equipment and the storage medium of batch processing declaration form task.The method of the batch processing declaration form task includes:The pending declaration form task of identical category is extracted in the declaration form pending from several;Declaration form task is split into by sub- declaration form task according to the quantity of same category of declaration form task and default threshold range, and the quantity of the sub- declaration form task is in the default threshold range;Multiple subprocess are opened to handle the sub- declaration form task;When all sub- declaration form tasks are processed, the result of the sub- declaration form task is collected and shown.The present invention improves the treatment effeciency of large batch of insurance application.
Description
Technical field
The present invention relates to assurance technology field, method, apparatus, computer more particularly to batch processing declaration form task are set
Standby and storage medium.
Background technology
Insuring in this field, it is often necessary to be related to the examination to the insurance application of client, in order to reduce core guarantor
The workload of member, improve core and protect efficiency, examination for the declaration form with some general character can by computer equipment or
Server according to predetermined rule protect from kinetonucleus.
At present for being carried out by computer equipment or server in the operating process protected from kinetonucleus, when being related to group insurance
Core protect when, the very big situation of the declaration form amount of group insurance can be run into, individual declaration forms thousands of or even up to ten thousand can be reached, for every
The auditing rule of individual declaration form setting is often more than one, in this case if according to current processing method to each guarantor
Each and every one single long from the processing time required for core so that the treatment effeciency of computer equipment or server is than relatively low.
The content of the invention
The embodiment of the present invention provides method, apparatus, computer equipment and the storage medium of batch processing declaration form task, can be with
Improve the treatment effeciency of batch declaration form task.
A kind of method of batch processing declaration form task, this method include:
The pending declaration form task of identical category is extracted in the declaration form pending from several;
Declaration form task is split into by sub- guarantor according to the task quantity of same category of declaration form task and default threshold range
Single task, and the task quantity of the sub- declaration form task is in the default threshold range;
Multiple subprocess are opened to handle the sub- declaration form task;
When all sub- declaration form tasks are processed, the result of the sub- declaration form task is collected and shown.
Further, this according to the task quantity of same category of declaration form task and default threshold range by declaration form task
Split into sub- declaration form task, and step bag of the task quantity of the sub- declaration form task in the default threshold range
Include:
When the quantity of the declaration form task of acquisition is more than default threshold range, the declaration form task is defined as binary tree
Root node create the binary tree, and the declaration form task is split as sub- declaration form task;
Judge whether the quantity of the sub- declaration form task is more than default threshold range, if so, then making the sub- declaration form task
For the intermediate node of the binary tree, and the sub- declaration form task of the intermediate node is split as to the son of the next node of the intermediate node
Declaration form task, otherwise, the leaf node using the sub- declaration form task as the binary tree, then circulate this judgement and splitting step is straight
Extremely the quantity of all sub- declaration form tasks is in the default threshold range.
Further, the step of multiple subprocess of the unlatching are handled the sub- declaration form task includes:
Obtaining has the number of intermediate node and the number of leaf node of same depth in the binary tree;
According to the higher order of the deeper priority of depth, open multiple subprocess while handle the intermediate node of same depth
Sub- declaration form task and leaf node sub- declaration form task, the number of the subprocess be in corresponding depth the number of intermediate node with
The number sum of leaf node.
Further, the step of multiple subprocess of the unlatching are handled the sub- declaration form task also includes:
When the processing procedure of a sub- declaration form task needs the result of other sub- declaration form tasks as foundation, to institute
State other sub- declaration form task definition highest priority, priority treatment other sub- declaration form tasks.
Further, the step of multiple subprocess of the unlatching are handled the sub- declaration form task be further:
Multiple subprocess are opened to audit the sub- declaration form task automatically according to default rule.
A kind of device of batch processing declaration form task, the device include:
Extraction module, for extracting the pending declaration form task of identical category from several pending declaration forms;
Module is split, tears declaration form task open for the quantity according to same category of declaration form task and default threshold range
It is divided into sub- declaration form task, and the quantity of the sub- declaration form task is in the default threshold range;
Processing module, the sub- declaration form task is handled for opening multiple subprocess;
Display module, for when all sub- declaration form tasks are processed, the result of the sub- declaration form task to be collected
And show.
Further, the device includes:
Binary tree creation module, when the quantity for the declaration form task when acquisition is more than default threshold range, by this
The root node that declaration form task is defined as binary tree creates the binary tree, and the declaration form task is split as into sub- declaration form task;
Node determining module, for judging whether the quantity of the sub- declaration form task is more than default threshold range, if so, then
Intermediate node using the sub- declaration form task as the binary tree, and the sub- declaration form task of the intermediate node is split as the middle node
The sub- declaration form task of the next node of point, otherwise, the leaf node using the sub- declaration form task as the binary tree, then circulate this
Judge and splitting step is up to the quantity of all sub- declaration form tasks is in the default threshold range.
Further, the processing module is additionally operable to open multiple subprocess enters to the sub- declaration form task according to default rule
The automatic examination & verification of row.
A kind of computer equipment, including memory, processor and storage can be run on a memory and on a processor
Computer program, the method such as above-mentioned batch processing declaration form task is realized during the computing device program.
A kind of storage medium, the storage medium are arranged to the method that storage is used to perform above-mentioned batch processing declaration form task
In each step program code.
The present invention by by multiple pending declaration form tasks according to quantity number split, and ensure split most
The quantity of sub- declaration form task is in certain scope eventually, to allow system by multiple subprocess to multiple pending
Declaration form task is handled simultaneously, to adapt to being worked from core for large batch of insurance application, improves the processing of large batch of insurance application
Efficiency.
Brief description of the drawings
Fig. 1 is the flow chart according to the method for the batch processing declaration form task of one embodiment of the present of invention;
Fig. 2 is the flow chart according to the method for the batch processing declaration form task of another embodiment of the present invention;
Fig. 3 is the flow chart according to the method for the batch processing declaration form task of another embodiment of the present invention;
Fig. 4 is the schematic diagram according to the binary tree of the usage scenario of the present invention;
Fig. 5 is the schematic diagram according to the binary tree of another usage scenario of the present invention;
Fig. 6 is the exemplary block diagram according to the device of the batch processing declaration form task of one embodiment of the present of invention;
Fig. 7 is the internal structure schematic diagram according to the computer equipment of one embodiment of the present of invention.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
Fig. 1 be according to the flow chart of the method for the batch processing declaration form task of one embodiment of the present of invention, with reference to
Fig. 1 is described in detail the method for batch processing declaration form task according to an embodiment of the invention, as shown in figure 1, the batch
The method of processing declaration form task comprises the following steps S101, S102, S103, S104, S105 and S106.
S101, from several pending declaration forms extract identical category pending declaration form task.
According to the present embodiment example, the type of pending declaration form task includes but is not limited to the year of warrantee
Occupation that age, warrantee are engaged in etc., the pending declaration form task are that extraction is mutually similar from several pending declaration forms
Other declaration form task, using the declaration form task of extraction as pending declaration form task, the declaration form is added to each declaration form task and is appointed
The declaration form mark of declaration form belonging to business, wherein, the declaration form identifies number of policy, the identification card number of declaration form warrantee of such as declaration form
Etc., the pending declaration form task of the regular identical of different insurance application centers guarantor is extracted and is referred to together by the step,
The rule that computer equipment is audited automatically to same category of pending declaration form task setting, imitated with improving from core
Rate.
S102, the quantity for obtaining same category of pending declaration form task.
According to the present embodiment usage scenario, such as group's declaration form that the declaration form for treating to audit automatically is certain company, should
The quantity for the declaration form for treating to audit automatically has 1000, wherein having the age of warrantee, warrantee to be engaged in each declaration form
The amount of guarantee etc. of professional industry, the declaration form, then can extract the age of the warrantee of all declaration forms as wherein
A collection of pending declaration form task, the industry that the warrantee of all declaration forms is engaged in extract pending as another batch
Declaration form task, similar extraction can also be done for the amount of guarantee of the declaration form.
Then declaration form task is split into by sub- guarantor according to the quantity of same category of declaration form task and default threshold range
Single task, and the quantity of the sub- declaration form task is in the default threshold range.Wherein, specific splitting step includes
Following steps S103 and S104.
S103, when the quantity of acquisition is more than default threshold range, the declaration form task is split as sub- declaration form task.
According to the present embodiment example, the threshold range is the numerical value that user pre-sets, such as when default threshold
It is 0~200 to be worth scope, and when being 1000 according to the quantity that includes of pending declaration form task extracted of age of warrantee, is needed
The pending declaration form task is split.
Wherein, the foundation of fractionation can be split according to the quantity of declaration form task, the mode of fractionation can be according to
The form of binary tree successively splits or divided equally according to the quantity of acquisition, the quantity of the sub- declaration form task of fractionation
Can be identical with the maximum in the default threshold range, such as when default threshold range is 0~200, if according to two
The form of fork tree successively splits and this 1000 parts pending declaration form tasks can be split as into 200,800, if according to the shape divided equally
Formula, which split, to be split as 200,200,200,200 and 200 by this 1000 parts pending declaration form tasks.
S104, judge whether the quantity of the sub- declaration form task after splitting is more than default threshold range, if so, then by the son
Declaration form task is split as new sub- declaration form task and circulates this judgement and splitting step, until all sub- declaration form tasks after splitting
Quantity in the default threshold range.
The quantity for the final sub- declaration form task that this step is split by the circulation step of the judgement and fractionation is pre-
If threshold range in, the complexity of every sub- declaration form task is all controlled in certain degree so that computer equipment can
To be handled by opening multiple subprocess the pending declaration form task.
S105, the multiple subprocess of unlatching are handled the sub- declaration form task.
According to the present embodiment example, the multiple subprocess opened can be utilized to enter each sub- declaration form task simultaneously
Row is handled to accelerate the treatment effeciency of task.
S106, when all sub- declaration form tasks are processed, the result of the sub- declaration form task is collected and shown.
According to the present embodiment example, the mode collected can be the guarantor by being added to each declaration form task
The declaration form mark of the affiliated declaration form of single task establishes the corresponding relation of declaration form task and declaration form, will belong to the declaration form of same declaration form mark
The result of task is collected.
According to the continuous above-mentioned steps S102 and S103 of the present embodiment usage scenario, such as from 1000 parts of pending declaration forms
In the pending declaration form task that extracts be the age of 1000 warrantees, this, which is handled the sub- declaration form task, for example sentences
Whether the age of disconnected warrantee, which meets core, is protected regulation, judges whether the age of warrantee meets core and protect regulation such as group's declaration form
Core protect flow in, when exceeding preset value (such as 60 years old) at the age of warrantee, result be core guarantor not by, otherwise,
Result be core protect not by, then the age of 1000 warrantees to extracting do this kind of processing, judge to extract
Each warrantee age whether more than 60 years old, if being not above, judge that examination & approval pass through, otherwise, judge examination & approval do not pass through.
When the occupation for the warrantee that the pending declaration form task of extraction is extracted for examination & verification, according to above-mentioned usage scenario class
As, industry that pending declaration form task is engaged in by warrantee in 1000 parts of declaration forms of extraction, this enters to the sub- declaration form task
Row processing for example judges whether the occupation that warrantee is engaged in is hazardous occupation, and whether the occupation that warrantee is engaged in is dangerous duty
Industry can be realized by following steps:The occupation of the warrantee stored in electronic insurance policy is obtained, in the occupation for judging acquisition
Whether default keyword is included, if so, then judging that the warrantee pursues an occupation as hazardous occupation, result is protected for core
Not by the way that otherwise, result is that core guarantor passes through.Then pair of the declaration form according to belonging to each declaration form task and the declaration form task
It should be related to, the result of the declaration form task is aggregated into corresponding declaration form.
The present embodiment is different classes of pending by the way that several group's declaration forms are split as according to the difference of auditing rule
Declaration form task, then the pending declaration form task of every kind of classification is split according to the number of quantity, and ensure to split
Final sub- declaration form task quantity in certain scope, to allow system to wait to locate to multiple by multiple subprocess
The declaration form task of reason is handled simultaneously, is finally collected result, with adapt to large batch of insurance application from core work
Make, improve the treatment effeciency of large batch of insurance application.
Fig. 5 is according to the schematic diagram of the binary tree of another usage scenario of the present invention, according to the present embodiment use
Scene includes group's declaration form that warrantee is group's declaration form of Zhang San and warrantee is Li Si for example, needed core protects declaration form, when
So herein only to facilitate understanding that Jin Ju groups declaration form includes two personal considerations, during practical business operation, group
Declaration form may include the situation of thousands of individual declaration forms, reference picture 5, and regular A core protects age of the task for examination & verification warrantee, regular B
Core protect task to audit the occupation be engaged in of warrantee, the age of Zhang San is stored in the community electronic declaration form of warrantee Zhang San
With the occupation of Zhang San, the age of Li Si and the occupation of Li Si are stored in the community electronic declaration form of warrantee Li Si, is split
Pending declaration form task includes the first declaration form task --- age of warrantee, the second declaration form task ---, and warrantee is engaged in
Occupation, then whether the quantity included in the declaration form task is judged, split and is handled in units of declaration form task,
When all declaration form tasks are disposed, according to the declaration form belonging to each declaration form task, same declaration form is identified into corresponding declaration form
Result collect, such as the first declaration form task result for Zhang San age examination & verification pass through, the age of Li Si examination & verification
It is not that occupation that Zhang San is engaged in is that the occupation that hazardous occupation, Li Si are engaged in is not danger by the result of, the second declaration form task
Danger occupation, then it will belong to result of the warrantee for the declaration form task in the declaration form of Zhang San and Li Si respectively and collect, after collecting
The content of display is for example:
The occupation that the age examination & verification of Zhang San passes through, Zhang San is engaged in does not pass through for hazardous occupation examination & verification;
The age examination & verification of Li Si is by the way that the occupation that Li Si is engaged in does not pass through for hazardous occupation examination & verification.
The content being particularly shown can the output display parameter according to corresponding to the actual demand of user is default it is specific to determine
Which content shown.
The method of the batch processing declaration form task provided according to another embodiment of the present invention, this method also include:
When the quantity of the declaration form task of acquisition is more than default threshold range, the declaration form task is defined as binary tree
Root node create the binary tree, and the declaration form task is split as sub- declaration form task, Fig. 4 is a use according to the present invention
The schematic diagram of the binary tree of scene, usage scenario as shown in Figure 4, the quantity that task is protected when regular A core are more than default threshold
When being worth scope (be, for example, 200), regular A core is protected to the root node of task binary tree the most, by the core under regular A protect task with
The form of binary tree is split as sub- declaration form task task 1.1 and Task1.2;
Judge whether the quantity of the sub- declaration form task is more than default threshold range, if so, then making the sub- declaration form task
For the intermediate node of the binary tree, and the sub- declaration form task of the intermediate node is split as to the son of the next node of the intermediate node
Declaration form task, otherwise, the leaf node using the sub- declaration form task as the binary tree, then circulate this judgement and splitting step is straight
Extremely the quantity of all sub- declaration form tasks is in the default threshold range.
According to the present embodiment usage scenario reference picture 4, when regular A core protects the quantity of task more than default
Threshold range when, regular A core is protected into task and is split as sub- declaration form task task 1.1 and Task1.2, the foundation of fractionation can be with
It is successively to be split according to the form of the binary tree shown in Fig. 4, the quantity of the sub- declaration form task of fractionation can be with the default threshold value
Maximum in scope is identical, such as preset threshold range is 0~200, when the core under the regular A protects task including 550, then will
200 sub- declaration form tasks therein are split as Task1.1, and remaining sub- declaration form task 450 is split as into Task1.2, then sentenced
Whether the quantity of disconnected every sub- declaration form task exceedes default threshold range, and judged result is Task1.2 beyond default threshold
It is worth scope, and Task1.1 is without departing from default threshold range, then the leaf node using Task1.1 as the binary tree, will
Task1.2. the intermediate node as the binary tree continues to split to Task1.2, and Task1.2.1 is split as by therein 200, will
Remaining 150 are split as Task1.2.2, judge the Task1.2.1 and Task1.2.2 without departing from default threshold value model again
Enclose, then by the leaf node of Task1.2.1 and the Task1.2.2 binary tree the most, so far complete the establishment of the binary tree.
Further, the step of multiple subprocess of the unlatching are handled the sub- declaration form task includes:
Obtaining has the number of intermediate node and the number of leaf node of same depth in the binary tree;
According to the higher order of the deeper priority of depth, open multiple subprocess while handle the intermediate node of same depth
Sub- declaration form task and leaf node sub- declaration form task, the number of the subprocess be in corresponding depth the number of intermediate node with
The number sum of leaf node.
Wherein, above-mentioned depth refers to the number of plies of the intermediate node or leaf node in the binary tree, leaf as shown in Figure 4
Child node Task1.1 and intermediate node Task1.2 depth are 2, leaf node Task1.2.1 and leaf node Task1.2.2
Depth be 3.A usage scenario in combination Fig. 4 of the present embodiment, because the priority that depth is 3 is higher than depth
2 priority, then it is preferential to open two subprocess while handle in the leaf node Task1.2.1 and Task1.2.2 that depth is 3
Sub- declaration form task, then processing depth be 2 leaf node Task1.1 and intermediate node Task1.2 sub- declaration form task.
Fig. 2 is according to the flow chart of the method for the batch processing declaration form task of another embodiment of the present invention, as shown in Figure 2
Batch processing declaration form task method, this method on the basis of including above-mentioned steps S101, S102 and S106 also include with
Lower step S201 to S206.
S201, when the quantity of acquisition is more than default threshold range, the declaration form task is split as sub- declaration form task,
The root node that the declaration form task is defined as binary tree is created into the binary tree.
S202, judge whether the quantity of sub- declaration form task is more than default threshold range, if then jumping to step S203,
If it is not, then jump to step S204.
S203, the intermediate node using the sub- declaration form task as the binary tree, and by the sub- declaration form task of the intermediate node
It is split as the sub- declaration form task of the next node of the intermediate node.
S204, the leaf node using the sub- declaration form task as the binary tree.
S205, obtain the number of intermediate node and the number of leaf node in the binary tree with same depth.
S206, according to the higher order of the deeper priority of depth, open multiple subprocess while handle in same depth
The sub- declaration form task of intermediate node and the sub- declaration form task of leaf node, the number of the subprocess is intermediate node in corresponding depth
The number sum of number and leaf node.
Fig. 3 is according to the flow chart of the method for the batch processing declaration form task of another embodiment of the present invention, such as Fig. 3 institutes
Show, for this method on the basis of including above-mentioned steps S101 to S104 and S105, above-mentioned steps S105 is further step S301.
S301, the multiple subprocess of unlatching are audited automatically to the sub- declaration form task according to default rule.
According to the present embodiment example, the difference that the default rule protects task according to core does different default, examples
Such as when pending declaration form task is the age of warrantee, this can judge to be protected to the sub- declaration form task default rule
Whether the age of people, which meets core, is protected regulation, when exceeding preset value (such as 60 years old) at the age of warrantee, default result
Protected not for core by the way that otherwise, result is that core guarantor does not pass through.Again for example when pending declaration form task is engaged in by warrantee
Occupation when, judge whether the occupation that warrantee is engaged in is hazardous occupation, and whether the occupation that warrantee is engaged in is dangerous duty
Industry can be realized by following steps:The occupation of the warrantee stored in electronic insurance policy is obtained, in the occupation for judging acquisition
Whether default keyword is included, if so, then judge that the warrantee pursues an occupation as hazardous occupation, default result
Protected not for core by the way that otherwise, default result is that core guarantor passes through.
According to the present embodiment example, when the processing procedure of a sub- declaration form task needs other sub- declaration form tasks
When result is as foundation, to other sub- declaration form task definition highest priority, priority treatment other sub- declaration forms
Task.Wherein, " other sub- declaration form tasks " represents the declaration form task being relied on, to the priority of other sub- declaration form task definitions
Higher than the priority of the declaration form task defined according to depth.
In this step, if the processing procedure of a sub- declaration form task needs the result of other sub- declaration form tasks to make
According to the processing work that can just complete the sub- declaration form, to represent that the sub- declaration form task exists to rely on other sub- declaration form tasks and closing
System, the handling process that priority treatment other sub- declaration form tasks are advantageous to the sub- declaration form task are smoothed out.
According to the present embodiment example, above-mentioned steps S101~S301 label is not used to limit in the present embodiment
The sequencing of each step, the numbering of each step are intended merely to so that can be with general reference step when describing each step
Label easily referred to, as long as each step perform order do not influence the present embodiment logical relation be all considered as this
Within the protection domain of application.
Fig. 6 be according to the exemplary block diagram of the device of the batch processing declaration form task of one embodiment of the present of invention,
The device of batch processing declaration form task according to an embodiment of the invention is described in detail with reference to Fig. 6, such as Fig. 6 institutes
Show, the device 10 of the batch processing declaration form task includes:
Extraction module 11, for extracting the declaration form task of identical category from several pending declaration forms, by extraction
Declaration form task is as pending declaration form task.
Module is split, tears declaration form task open for the quantity according to same category of declaration form task and default threshold range
It is divided into sub- declaration form task, and the quantity of the sub- declaration form task is in the default threshold range.
Further, the fractionation module also includes:
Split cells 12, the quantity for the same category of pending declaration form task when extraction are more than default threshold
When being worth scope, the declaration form task is split as sub- declaration form task;
Cycling element 13, for judging whether the quantity of the sub- declaration form task after splitting is more than default threshold range, if
It is that the sub- declaration form task is then split as new sub- declaration form task and circulates this judgement and splitting step, until the institute after splitting
There is the quantity of sub- declaration form task in the default threshold range.
Processing module 14, the sub- declaration form task is handled for opening multiple subprocess.
Display module 15, for when all sub- declaration form tasks are processed, the result of the sub- declaration form task to be converged
Always and show.
Wherein, above-mentioned display module 15 is specifically used for pair of the declaration form according to belonging to each declaration form task and the declaration form task
It should be related to, the result of the declaration form task is aggregated into corresponding declaration form, show that each declaration form is appointed in the declaration form after collecting
The result of business.
Further, the device 10 of the batch processing declaration form task also includes:
Quantity acquisition module, for obtaining the quantity of same category of pending declaration form task.
Further, the device also includes:
Add module is identified, the declaration form for adding the affiliated declaration form of declaration form task to each declaration form task identifies, will
Each declaration form task establishes corresponding relation with the declaration form belonging to the declaration form task, is easy to collect after splitting, wherein, the declaration form mark
The number of policy of the knowledge such as declaration form, identification card number of declaration form warrantee etc..
Further, the device 10 of the batch processing declaration form task also includes:
Binary tree creation module, when the quantity for the declaration form task when acquisition is more than default threshold range, by this
The root node that declaration form task is defined as binary tree creates the binary tree, and the declaration form task is split as into sub- declaration form task;
Node determining module, for judging whether the quantity of the sub- declaration form task is more than default threshold range, if so, then
Intermediate node using the sub- declaration form task as the binary tree, and the sub- declaration form task of the intermediate node is split as the middle node
The sub- declaration form task of the next node of point, otherwise, the leaf node using the sub- declaration form task as the binary tree, then circulate this
Judge and splitting step is up to the quantity of all sub- declaration form tasks is in the default threshold range.
According to the present embodiment example, the processing module 14 further comprises:
Number obtainment unit, for obtaining the number and leaf node of the intermediate node with same depth in the binary tree
Number;
Processing unit, for according to the higher order of the deeper priority of depth, opening multiple subprocess while handling same
The sub- declaration form task of the intermediate node of depth and the sub- declaration form task of leaf node, the number of the subprocess are in corresponding in depth
The number of intermediate node and the number sum of leaf node.
Further, when the processing procedure of sub- declaration form task need the result of other sub- declaration form tasks be used as according to
According to when, to other sub- declaration form task definition highest priority, the priority treatment of processing module 14 other sub- declaration forms are appointed
Business.
If the processing procedure of a sub- declaration form task needs the result of other sub- declaration form tasks to be used as foundation just may be used
The processing work of the sub- declaration form is completed, represents that the sub- declaration form task has dependence with other sub- declaration form tasks, the processing
The handling process that the priority treatment of module 14 other sub- declaration form tasks are advantageous to the sub- declaration form task is smoothed out.
Further, the processing module 14 is specifically used for opening multiple subprocess to the sub- declaration form task according to default rule
Then audited automatically.
Wherein it is possible to the different default Different Rules that task is protected according to core are stored in systems, such as when storage
When pending declaration form task is the age of warrantee, the processing module 14 is specifically used for judging whether the age of warrantee meets
Core protects regulation, and when exceeding preset value (such as 60 years old) at the age of warrantee, default result is that core is protected not by no
Then, result is that core guarantor does not pass through.Again for example when the occupation that the pending declaration form task of storage is engaged in by warrantee,
The processing module 14 is specifically used for judging whether the occupation that warrantee is engaged in is hazardous occupation, is protected not if result is core
By the way that otherwise, result is that core is protected not by the way that the processing module 14 is specifically used for further by realizing following steps sentencing
Whether the industry that disconnected warrantee is engaged in is dangerous industry:The occupation of the warrantee stored in electronic insurance policy is obtained, judges to obtain
Whether include default keyword in the occupation taken, if so, then judging that the warrantee pursues an occupation as hazardous occupation, preset
Result for core protect not by, otherwise, default result be core protect passes through.
Wherein, the modules that the device of the batch processing declaration form task includes can be fully or partially through software, hard
Part or its combination are realized.Further, the modules in the device of the batch processing declaration form task can be used to realize
The program segment of corresponding function.
The present embodiment also provides a kind of computer equipment, including memory, processor and storage are on a memory and can be
The computer program run on processor, the side such as above-mentioned batch processing declaration form task is realized during the computing device program
Method.
Fig. 7 is according to the internal structure schematic diagram of the computer equipment of one embodiment of the present of invention, the computer equipment
It can be server.Reference picture 7, the computer equipment include processor, non-volatile memories Jie connected by system bus
Matter, built-in storage, input unit and display screen.Wherein, the non-volatile memory medium of the computer equipment can store operation system
System and computer-readable instruction, when the computer-readable instruction is performed, may be such that each embodiment of computing device the application
A kind of method of batch processing declaration form task, the specific implementation process of this method refer to the specific interior of each embodiments of Fig. 1 to Fig. 5
Hold, will not be repeated here.The processor of the computer equipment is used to provide calculating and control ability, supports whole computer equipment
Operation.Computer-readable instruction can be stored in the built-in storage, when the computer-readable instruction is executed by processor, can be made
Obtain a kind of method of batch processing declaration form task of computing device.The input unit of computer equipment is used for the defeated of parameters
Enter, the display screen of computer equipment is used to be shown.It will be understood by those skilled in the art that the structure shown in Fig. 7, only
It is the block diagram of the part-structure related to application scheme, does not form the computer being applied thereon to application scheme and set
Standby restriction, specific computer equipment can be included than more or less parts shown in figure, or some parts of combination,
Or arranged with different parts.
The present embodiment also provides a kind of storage medium, and the storage medium is arranged to storage and is used to perform above-mentioned batch processing
The program code of each step in the method for declaration form task.
According to the present embodiment example, all or part of flow in above-described embodiment method, calculating can be passed through
Machine program instructs the hardware of correlation to complete, and described program can be stored in a computer read/write memory medium, such as this hair
In bright embodiment, the program can be stored in the storage medium of computer system, and by least one in the computer system
Computing device, to realize the flow for including the embodiment such as above-mentioned each method.The storage medium includes but is not limited to magnetic disc, excellent
Disk, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
The present embodiment is different classes of pending by the way that several group's declaration forms are split as according to the difference of auditing rule
Declaration form task, then the pending declaration form task of every kind of classification is split according to the number of quantity, and ensure to split
Final sub- declaration form task quantity in certain scope, to allow system to wait to locate to multiple by multiple subprocess
The declaration form task of reason is handled simultaneously, is finally collected result, with adapt to large batch of insurance application from core work
Make, improve the treatment effeciency of large batch of insurance application.
Each technical characteristic of embodiment described above can be combined arbitrarily, to make description succinct, not to above-mentioned reality
Apply 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 its description is more specific and detailed, but simultaneously
Can not therefore it be construed as limiting the scope of the patent.It should be pointed out that come for one of ordinary skill in the art
Say, 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)
- A kind of 1. method of batch processing declaration form task, it is characterised in that methods described includes:The pending declaration form task of identical category is extracted in the declaration form pending from several;Declaration form task is split into by sub- declaration form task according to the quantity of same category of declaration form task and default threshold range, and The quantity of the sub- declaration form task is in the default threshold range;Multiple subprocess are opened to handle the sub- declaration form task;When all sub- declaration form tasks are processed, the result of the sub- declaration form task is collected and shown.
- 2. according to the method for claim 1, it is characterised in that the quantity according to same category of declaration form task and pre- If threshold range declaration form task is split into sub- declaration form task, and the quantity of the sub- declaration form task is in the default threshold The step of in the range of value, includes:When the quantity of the declaration form task of acquisition is more than default threshold range, the declaration form task is defined as binary tree Root node create the binary tree, and the declaration form task is split as sub- declaration form task;Judge whether the quantity of the sub- declaration form task is more than default threshold range, if so, then making the sub- declaration form task For the intermediate node of the binary tree, and the sub- declaration form task of the intermediate node is split as to next section of the intermediate node Point sub- declaration form task, otherwise, the leaf node using the sub- declaration form task as the binary tree, then circulate this judgement and Splitting step is up to the quantity of all sub- declaration form tasks is in the default threshold range.
- 3. according to the method for claim 2, it is characterised in that the multiple subprocess of unlatching enter to the sub- declaration form task The step of row processing, includes:Obtaining has the number of intermediate node and the number of leaf node of same depth in the binary tree;According to the higher order of the deeper priority of depth, open multiple subprocess while handle the son of the intermediate node of same depth The sub- declaration form task of declaration form task and leaf node, the number of the subprocess are the number and leaf of intermediate node in corresponding depth The number sum of child node.
- 4. according to the method for claim 3, it is characterised in that the multiple subprocess of unlatching enter to the sub- declaration form task The step of row processing, also includes:When the processing procedure of sub- declaration form task needs the result of other sub- declaration form tasks as foundation, to it is described its Its sub- declaration form task definition highest priority, other sub- declaration form tasks described in priority treatment.
- 5. method according to any one of claim 1 to 4, it is characterised in that described to open multiple subprocess to described The step of sub- declaration form task is handled be further:Multiple subprocess are opened to audit the sub- declaration form task automatically according to default rule.
- 6. a kind of device of batch processing declaration form task, it is characterised in that described device includes:Extraction module, for extracting the pending declaration form task of identical category from several pending declaration forms;Module is split, splits into declaration form task for the quantity according to same category of declaration form task and default threshold range Sub- declaration form task, and the quantity of the sub- declaration form task is in the default threshold range;Processing module, the sub- declaration form task is handled for opening multiple subprocess;Display module, for when all sub- declaration form tasks are processed, the result of the sub- declaration form task to be collected simultaneously Display.
- 7. device according to claim 6, it is characterised in that described device includes:Binary tree creation module, when the quantity for the declaration form task when acquisition is more than default threshold range, by described in The root node that declaration form task is defined as binary tree creates the binary tree, and the declaration form task is split as into sub- declaration form task;Node determining module, for judging whether the quantity of the sub- declaration form task is more than default threshold range, if so, then will Intermediate node of the sub- declaration form task as the binary tree, and the sub- declaration form task of the intermediate node is split as described The sub- declaration form task of the next node of intermediate node, otherwise, the leaf node using the sub- declaration form task as the binary tree, Then this judgement and splitting step are circulated until the quantity of all sub- declaration form tasks is in the default threshold range.
- 8. the device according to claim 6 or 7, it is characterised in that the processing module is additionally operable to open multiple subprocess The sub- declaration form task is audited automatically according to default rule.
- 9. a kind of computer equipment, including memory, processor and storage are on a memory and the meter that can run on a processor Calculation machine program, it is characterised in that realized during the computing device described program such as the batch of any one of claim 1 to 5 The method for handling declaration form task.
- 10. a kind of storage medium, it is characterised in that the storage medium is arranged to storage and is used to perform the claims 1 The program code of each step into the method for batch processing declaration form task any one of 5.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710614396.2A CN107689010B (en) | 2017-07-25 | 2017-07-25 | Method and device for batch processing policy tasks, computer equipment and storage medium |
PCT/CN2017/104643 WO2019019381A1 (en) | 2017-07-25 | 2017-09-29 | Batch processing method and apparatus for insurance slip tasks, computer device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710614396.2A CN107689010B (en) | 2017-07-25 | 2017-07-25 | Method and device for batch processing policy tasks, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107689010A true CN107689010A (en) | 2018-02-13 |
CN107689010B CN107689010B (en) | 2022-04-29 |
Family
ID=61152988
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710614396.2A Active CN107689010B (en) | 2017-07-25 | 2017-07-25 | Method and device for batch processing policy tasks, computer equipment and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107689010B (en) |
WO (1) | WO2019019381A1 (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109064295A (en) * | 2018-09-05 | 2018-12-21 | 中国平安财产保险股份有限公司 | It insures calculation method, device, computer equipment and the storage medium of quotation |
CN109255569A (en) * | 2018-08-24 | 2019-01-22 | 北京极智嘉科技有限公司 | Tally method, apparatus, server and storage medium in library |
CN110351100A (en) * | 2019-05-31 | 2019-10-18 | 平安科技(深圳)有限公司 | Data transmission method, device, computer equipment and computer readable storage medium |
CN110674106A (en) * | 2019-08-30 | 2020-01-10 | 中国人民财产保险股份有限公司 | Storage method, device and equipment of policy data and computer readable storage medium |
CN111047277A (en) * | 2019-11-19 | 2020-04-21 | 泰康保险集团股份有限公司 | Underwriting system, method, apparatus, and computer-readable medium |
CN111045825A (en) * | 2019-12-12 | 2020-04-21 | 深圳前海环融联易信息科技服务有限公司 | Batch processing performance optimization method and device, computer equipment and storage medium |
CN111126935A (en) * | 2019-11-19 | 2020-05-08 | 泰康保险集团股份有限公司 | Processing method and device of security data, electronic equipment and storage medium |
CN111813515A (en) * | 2020-06-29 | 2020-10-23 | 中国平安人寿保险股份有限公司 | Multi-process-based task scheduling method and device, computer equipment and medium |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112668951A (en) * | 2019-10-16 | 2021-04-16 | 北京京东乾石科技有限公司 | Task processing method and device, server and storage medium |
CN111190703B (en) * | 2019-12-11 | 2023-02-07 | 深圳平安医疗健康科技服务有限公司 | Real-time data processing method and device, computer equipment and storage medium |
CN111222845A (en) * | 2019-12-27 | 2020-06-02 | 北京健康之家科技有限公司 | Resource transfer method, device, equipment and readable storage medium |
CN111507850A (en) * | 2020-03-25 | 2020-08-07 | 上海商汤智能科技有限公司 | Authority guaranteeing method and related device and equipment |
CN111626870B (en) * | 2020-05-25 | 2023-07-21 | 泰康保险集团股份有限公司 | Nuclear data processing method, device and equipment for cleaning physical examination piece |
CN111680974B (en) * | 2020-05-29 | 2023-09-22 | 泰康保险集团股份有限公司 | Method and device for positioning problems of electronic underwriting process |
CN112330472B (en) * | 2020-11-17 | 2023-10-27 | 中国平安财产保险股份有限公司 | Service data processing method, device, computer equipment and storage medium |
CN113065973B (en) * | 2021-04-22 | 2022-08-02 | 中国平安财产保险股份有限公司 | Big data-based agricultural insurance claim settlement processing method, device, equipment and storage medium |
CN113609178A (en) * | 2021-08-12 | 2021-11-05 | 深圳壹账通智能科技有限公司 | Data pushing method, device, equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102681902A (en) * | 2012-05-15 | 2012-09-19 | 浙江大学 | Load balancing method based on task distribution of multicore system |
CN102882981A (en) * | 2012-10-19 | 2013-01-16 | 南京邮电大学 | Load balancing method of node task under equivalence structural cloud platform |
US20130085789A1 (en) * | 2010-05-10 | 2013-04-04 | Ilan Tzroya | System and Method for Providing a Platform for the Trade of Financial Instruments |
CN106952163A (en) * | 2016-01-07 | 2017-07-14 | 平安科技(深圳)有限公司 | Insurance data processing method and system |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130346033A1 (en) * | 2012-06-21 | 2013-12-26 | Jianqiang Wang | Tree-based regression |
CN102790698B (en) * | 2012-08-14 | 2014-08-13 | 南京邮电大学 | Large-scale computing cluster task scheduling method based on energy-saving tree |
CN105117283A (en) * | 2015-08-26 | 2015-12-02 | 深圳市华验防伪科技有限公司 | Task splitting method and system |
CN106844018A (en) * | 2015-12-07 | 2017-06-13 | 阿里巴巴集团控股有限公司 | A kind of task processing method, apparatus and system |
CN105700958B (en) * | 2016-01-07 | 2019-05-03 | 北京京东尚科信息技术有限公司 | The method and its system that a kind of task is split automatically and subtask executes parallel |
-
2017
- 2017-07-25 CN CN201710614396.2A patent/CN107689010B/en active Active
- 2017-09-29 WO PCT/CN2017/104643 patent/WO2019019381A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130085789A1 (en) * | 2010-05-10 | 2013-04-04 | Ilan Tzroya | System and Method for Providing a Platform for the Trade of Financial Instruments |
CN102681902A (en) * | 2012-05-15 | 2012-09-19 | 浙江大学 | Load balancing method based on task distribution of multicore system |
CN102882981A (en) * | 2012-10-19 | 2013-01-16 | 南京邮电大学 | Load balancing method of node task under equivalence structural cloud platform |
CN106952163A (en) * | 2016-01-07 | 2017-07-14 | 平安科技(深圳)有限公司 | Insurance data processing method and system |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109255569A (en) * | 2018-08-24 | 2019-01-22 | 北京极智嘉科技有限公司 | Tally method, apparatus, server and storage medium in library |
CN109255569B (en) * | 2018-08-24 | 2021-03-12 | 北京极智嘉科技有限公司 | Warehouse goods sorting method, device, server and storage medium |
CN109064295A (en) * | 2018-09-05 | 2018-12-21 | 中国平安财产保险股份有限公司 | It insures calculation method, device, computer equipment and the storage medium of quotation |
CN110351100A (en) * | 2019-05-31 | 2019-10-18 | 平安科技(深圳)有限公司 | Data transmission method, device, computer equipment and computer readable storage medium |
CN110674106A (en) * | 2019-08-30 | 2020-01-10 | 中国人民财产保险股份有限公司 | Storage method, device and equipment of policy data and computer readable storage medium |
CN110674106B (en) * | 2019-08-30 | 2022-03-15 | 中国人民财产保险股份有限公司 | Storage method, device and equipment of policy data and computer readable storage medium |
CN111047277A (en) * | 2019-11-19 | 2020-04-21 | 泰康保险集团股份有限公司 | Underwriting system, method, apparatus, and computer-readable medium |
CN111126935A (en) * | 2019-11-19 | 2020-05-08 | 泰康保险集团股份有限公司 | Processing method and device of security data, electronic equipment and storage medium |
CN111045825A (en) * | 2019-12-12 | 2020-04-21 | 深圳前海环融联易信息科技服务有限公司 | Batch processing performance optimization method and device, computer equipment and storage medium |
CN111813515A (en) * | 2020-06-29 | 2020-10-23 | 中国平安人寿保险股份有限公司 | Multi-process-based task scheduling method and device, computer equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
CN107689010B (en) | 2022-04-29 |
WO2019019381A1 (en) | 2019-01-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107689010A (en) | Method, apparatus, computer equipment and the storage medium of batch processing declaration form task | |
CN109862394A (en) | Checking method, device, equipment and the storage medium of video content | |
CN107423613B (en) | Method and device for determining device fingerprint according to similarity and server | |
EP2983117A1 (en) | Event processing method in stream processing system and stream processing system | |
CN109189888A (en) | The method and storage medium that electronic device, infringement are analyzed | |
CN106845990B (en) | Rule processing method and equipment | |
CN105825232A (en) | Classification method and device for electromobile users | |
CN115344805A (en) | Material auditing method, computing equipment and storage medium | |
CN105354228B (en) | Similar diagram searching method and device | |
CN105677651A (en) | Permission tree generation method and device | |
CN114329022A (en) | Method for training erotic classification model, method for detecting image and related device | |
CN101520727A (en) | Method and system for protecting key knowledge in software system design | |
CN105207831B (en) | The detection method and device of Action Events | |
CN106844743B (en) | Emotion classification method and device for Uygur language text | |
CN110990834B (en) | Static detection method, system and medium for android malicious software | |
CN112016317A (en) | Sensitive word recognition method and device based on artificial intelligence and computer equipment | |
CN112529543A (en) | Method, device and equipment for verifying mutual exclusion relationship of workflow and storage medium | |
CN107562542A (en) | distributed data processing system data partition method and device | |
KR102192196B1 (en) | An apparatus and method for detecting malicious codes using ai based machine running cross validation techniques | |
CN114863463A (en) | Intelligent auditing and checking method and device for same text | |
CN105786929A (en) | Information monitoring method and device | |
CN115617998A (en) | Text classification method and device based on intelligent marketing scene | |
CN115422522A (en) | Abnormal equipment judgment reference establishment method, abnormal equipment identification method, abnormal equipment judgment reference establishment device, abnormal equipment identification device and abnormal equipment identification device | |
CN107657584A (en) | A kind of image processing method, terminal and computer-readable recording medium | |
CN114879936A (en) | Method and system for acquiring safety requirement facing natural language requirement |
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 |