CN108961026A - Account calculates processing method, device and electronic equipment - Google Patents
Account calculates processing method, device and electronic equipment Download PDFInfo
- Publication number
- CN108961026A CN108961026A CN201810726136.9A CN201810726136A CN108961026A CN 108961026 A CN108961026 A CN 108961026A CN 201810726136 A CN201810726136 A CN 201810726136A CN 108961026 A CN108961026 A CN 108961026A
- Authority
- CN
- China
- Prior art keywords
- batch
- pending data
- processing
- data
- account
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/12—Accounting
- G06Q40/125—Finance or payroll
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Engineering & Computer Science (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Technology Law (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The present invention provides a kind of account and calculates processing method, device and electronic equipment, is related to computer digital animation calculating field.This method comprises: obtaining the pending data of currently processed batch;Determine that the pending data successfully completes data check;Accounting entry template corresponding with the type is determined according to the type of the pending data;According to default processing rule, the pending data is handled, and generated in the Accounting entry template and calculate result.By carrying out batch processing to data, Auto-matching Accounting entry template facilitates the operating procedure for simplifying business personnel, improves the efficiency of business processing this programme.
Description
Technical field
The present invention relates to computer data processing technology fields, calculate processing method, dress in particular to a kind of account
It sets and electronic equipment.
Background technique
With the development of internet technology, higher and higher to the requirement of data processing.For example, in trustship calculation business,
Trustship accounting is related to transaction business, fund business, CA (Certificate Authority) service certificate authorization center, TA
The Trade Agents such as (Transfer Agent) business, and the accounting data handled needed for different investment combination such as calculate the date,
Accounting criteria, flowing water detail, computation rule, records separately the differences such as template at transaction details.In the prior art, a business operation needs
It handles multiple assets and combines the calculation business on multiple account dates, and need support the calculation business to the history account date
Re-computation is carried out, the complex for operation step of business processing, the low efficiency of business processing are caused.
Summary of the invention
In order to overcome the deficiencies in the prior art described above, the present invention provides a kind of account and calculates processing method, device and electricity
Sub- equipment.
To achieve the goals above, technical solution provided by the embodiment of the present invention is as follows:
In a first aspect, the embodiment of the present invention provides a kind of account accounting processing method, comprising:
Obtain the pending data of currently processed batch;
Determine that the pending data successfully completes data check;
Accounting entry template corresponding with the type is determined according to the type of the pending data;
According to default processing rule, the pending data is handled, and is generated in the Accounting entry template
Calculate result.
Optionally, before the pending data for obtaining currently processed batch the step of, the method also includes:
Poll batch list, and the batch of highest priority is chosen as described currently processed batch from the batch list
It is secondary.
Optionally, before the pending data for obtaining currently processed batch the step of, the method also includes:
Processing request is received, and generates processing batch according to the processing request, and the processing batch is stored in institute
It states in batch list, wherein the processing batch includes at least one pending data.
Optionally, the above-mentioned the step of pending data is handled, comprising:
The pending data is grouped, multithreading handles the pending data after grouping.
Optionally, before above-mentioned the step of handling the pending data, the method also includes:
Judge whether the pending data is first treated, when the pending data is not first treated, removes
History corresponding with the pending data calculates result.
Optionally, pending data described in each group in above-mentioned currently processed batch is locked in advance;Described in the determination
Pending data successfully completes the step of data check, comprising:
When pending data processing status characterization is not the state in processing, and when the account of the pending data
When carving earlier than predetermined time, determine that the pending data successfully completes data check, and release pending data described in each group
Locking.
Second aspect, the embodiment of the present invention provide a kind of account accounting processing unit, comprising:
Data obtaining module, for obtaining the pending data of currently processed batch;
Data check module, for determining that the pending data successfully completes data check;
Template determining module, for determining Accounting entry corresponding with the type according to the type of the pending data
Template;
Calculate processing module, for handling the pending data according to default processing rule, and it is described with
Card, which is recorded separately to generate in template, calculates result.
Optionally, it further includes batch determining module that above-mentioned account, which calculates processing unit, is obtained in the data obtaining module
Before the pending data of currently processed batch, the batch determining module is used for poll batch list, and arranges from the batch
The batch of highest priority is chosen in table as the currently processed batch.
The third aspect, the embodiment of the present invention provide a kind of electronic equipment, comprising:
Storage unit;
Processing unit;And
Account calculates processing unit, including one or more is stored in the storage unit and is held by the processing unit
Capable software function module, the account calculate processing unit and include:
Data obtaining module, for obtaining the pending data of currently processed batch;
Data check module, for determining that the pending data successfully completes data check;
Template determining module, for determining Accounting entry corresponding with the type according to the type of the pending data
Template;
Calculate processing module, for handling the pending data according to default processing rule, and it is described with
Card, which is recorded separately to generate in template, calculates result.
Fourth aspect, the embodiment of the present invention provide a kind of computer readable storage medium, deposit in the readable storage medium storing program for executing
Computer program is contained, when the computer program is run on computers, so that the computer executes above-mentioned account
Calculate processing method.
In terms of existing technologies, account provided by the invention is calculated processing method, device and electronic equipment and is at least had
Have following the utility model has the advantages that this method comprises: obtaining the pending data of currently processed batch;Determine the pending data success
Complete data check;Accounting entry template corresponding with the type is determined according to the type of the pending data;According to pre-
If processing rule, handles the pending data, and generates in the Accounting entry template and calculate result.This programme
By carrying out batch processing to data, Auto-matching Accounting entry template facilitates the operating procedure for simplifying business personnel, improves industry
The efficiency of business processing.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, the embodiment of the present invention is cited below particularly, and match
Appended attached drawing is closed, is described in detail below.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached
Figure is briefly described.It should be appreciated that the following drawings illustrates only certain embodiments of the present invention, therefore it is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 is the block diagram of electronic equipment provided in an embodiment of the present invention.
Fig. 2 is the step flow diagram that account provided in an embodiment of the present invention calculates processing method.
Fig. 3 is the block flowsheet schematic diagram that account provided in an embodiment of the present invention calculates processing method.
Fig. 4 is the block diagram that account provided in an embodiment of the present invention calculates processing unit.
Icon: 10- electronic equipment;11- processing unit;12- communication unit;13- storage unit;100- account accounting processing
Device;110- data obtaining module;120- data check module;130- template determining module;140- calculates processing module.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description.Obviously, described embodiment is only a part of the embodiments of the present invention, instead of all the embodiments.It is logical
The component for the embodiment of the present invention being often described and illustrated herein in the accompanying drawings can be arranged and be designed with a variety of different configurations.
Therefore, the detailed description of the embodiment of the present invention provided in the accompanying drawings is not intended to limit below claimed
The scope of the present invention, but be merely representative of selected embodiment of the invention.Based on the embodiment of the present invention, those skilled in the art
Member's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.In addition, term " the
One ", " second " etc. is only used for distinguishing description, is not understood to indicate or imply relative importance.
With reference to the accompanying drawing, it elaborates to some embodiments of the present invention.In the absence of conflict, following
Feature in embodiment and embodiment can be combined with each other.
Fig. 1 is please referred to, is the block diagram of electronic equipment 10 provided in an embodiment of the present invention.The embodiment of the present invention provides
Electronic equipment 10 can be used for executing following account and calculate processing method, help to improve business processing efficiency.For example,
Bank cashier can improve the treatment effeciency that account is calculated by the electronic equipment 10.
In the present embodiment, electronic equipment 10 may be, but not limited to, smart phone, PC (personal
Computer, PC), tablet computer, personal digital assistant (personal digital assistant, PDA), mobile Internet access set
Standby (mobile Internet device, MID) etc..
In the present embodiment, electronic equipment 10 may include processing unit 11, communication unit 12, storage unit 13 and account
Processing unit 100 is calculated in business, and it is each that processing unit 11, communication unit 12, storage unit 13 and account calculate processing unit 100
It is directly or indirectly electrically connected between element, to realize the transmission or interaction of data.For example, these elements can lead between each other
It crosses one or more communication bus or signal wire is realized and is electrically connected.
Processing unit 11 can be processor.For example, the processor can be central processing unit (Central
Processing Unit, CPU), graphics processor (Graphics Processing Unit, GPU), network processing unit
(Network Processor, NP) etc.;It can also be digital signal processor (DSP), specific integrated circuit (ASIC), scene
Programmable gate array (FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware group
Part.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.
Communication unit 12 is used to establish the communication connection of electronic equipment 10 Yu network server by network, and passes through network
Sending and receiving data.Network may be, but not limited to, cable network or wireless network.
Storage unit 13 may be, but not limited to, random access memory, read-only memory, programmable read only memory,
Erasable Programmable Read Only Memory EPROM, electrically erasable programmable read-only memory etc..In the present embodiment, storage unit 13 can be with
For storing batch list, default processing rule etc..Certainly, storage unit 13 can be also used for storage program, processing unit 11
After receiving and executing instruction, the program is executed.
Further, account accounting processing unit 100 can be with the shape of software or firmware (firmware) including at least one
Formula is stored in storage unit 13 or is solidificated in the software function in 10 operating system of electronic equipment (operating system, OS)
It can module.Processing unit 11 is for executing the executable module stored in storage unit 13, such as account accounting processing unit 100
Included software function module and computer program etc..
It is understood that structure shown in FIG. 1 is only a kind of structural schematic diagram of electronic equipment 10, electronic equipment 10 is also
It may include than more or fewer components shown in Fig. 1.Each component shown in Fig. 1 can use hardware, software, or its combination
It realizes.
Referring to figure 2., the step flow diagram of processing method is calculated for account provided in an embodiment of the present invention.The present invention
The account that embodiment improves, which calculates processing method, can be applied to above-mentioned electronic equipment 10, realize account by the electronic equipment 10
Calculate each step of processing method.
Each step for calculating processing method to account shown in Fig. 2 is described in detail below, in the present embodiment,
Account is calculated processing method and be may comprise steps of:
Step S210 obtains the pending data of currently processed batch.
In the present embodiment, currently processed batch is a batch in the pre-stored batch list of processing unit 11,
And processing status is present.Wherein, it can be divided in advance with a batch of pending data.For example, can will locate
Reason rule is identical, data type is identical, the account time (can be regarded as the generation moment of pending data or when preset execution
Carve) pending data of identical pending data as the same batch.
Optionally, before step S210, account calculate processing method can also include: poll batch list, and from batch
The batch of highest priority is chosen in secondary list as currently processed batch.
In the present embodiment, priority can be arranged when generating in each batch in batch list, and priority can basis
Actual conditions are configured.For example, it may be priority is arranged at the time of generation according to batch, the moment is more early, and priority is higher,
Alternatively, priority is arranged at the time of needing to be implemented according to batch, more early at the time of needing to be implemented, priority is higher.Based on this,
It can avoid occurring occurring the case where omitting the batch of processing in batch list.
Step S220 determines that pending data successfully completes data check.
Optionally, each group pending data in currently processed batch is locked in advance.Step S220 may include: when to
Processing data processing state characterization is not the state in processing, and when the account moment of pending data is earlier than predetermined time, really
Determine pending data and successfully complete data check, and releases the locking of each group pending data.
Understandably, the data in can combining to currently processed batch lock.All combinations of the batch are carried out
It locks, is established toward account voucher processing combination lock middle table insertion record (batch number, asset portfolio ID), and to asset portfolio ID
Unique index.Wherein, asset portfolio refers to the set for one group of assets that investor holds.The investment combination of one asset diversification is logical
Stock, bond, money market assets, cash and physical assets such as gold etc. can often be included.
It optionally, include rejecting combination during data check.For example, judging combination in this batch in accounting processing table
In with the presence or absence of the accounting processing state on account date later be " in execution " or the automatic valuation of need and valuation state are " valuation
In " record.If it is present these combinations are rejected from present lot, the batch number of corresponding record is updated for sky, is corresponded to
Accounting processing state be " wait re-initiate ", be " in execution " and be " automatic valuation " if it is accounting processing state, then more
New valuation state is " non-valuation ", is " in valuation " if it is valuation state, then updating valuation state is " wait re-initiate ".It picks
After being unsatisfactory for the record of condition, continue with.
Optionally, ignore during data check including batch.For example, judging in the combination of this batch in accounting processing table
In with the presence or absence of account date earlier accounting processing state be " to be processed ", " in execution " or valuation state be " having been filed on ",
The record of " in valuation " (including automatic valuation and not automatic valuation).If it is present releasing all combined locks, start next
Secondary poll.It updates and calculates batch queue table and accounting processing table status.The batch processed state for updating batch queue table is "
Execute ", update execute server information and timestamp.The accounting processing state for updating the accounting processing table of this batch is " to execute
In ".
Step S230 determines Accounting entry template corresponding with type according to the type of pending data.
In the present embodiment, after successfully completing data check, step 230 can be executed.Wherein, different types of wait locate
Manage the settable corresponding Accounting entry template of data.In addition, Accounting entry template can be configured according to the actual situation, for remembering
Result is calculated in record.Based on this, the flexibility that account calculates processing can be improved, help to improve the efficiency of business processing.
Step S240 is handled pending data, and generate in Accounting entry template according to default processing rule
Calculate result.
In the present embodiment, presetting processing rule can be configured according to the actual situation.For example, calculation business type is to pay
Take income, if pending data may include payment amount of money, quantity of payment generation etc..Then proper account addition is accordingly paid
Take the amount of money or deducts corresponding payment amount of money.
It optionally, may include: to be grouped to pending data in step S240, multithreading is to be processed after grouping
Data are handled.
In the present embodiment, if the pending data in the same batch is more, pending data can be grouped, so
The pending data after grouping is handled by multithreading afterwards.For example, can be finely divided to the account time, can will preset
Data in period are as a group.Wherein, preset period of time can be configured according to the actual situation, not limited specifically here
It is fixed.Based on this, the efficiency of data processing can be improved.
Optionally, before the step of handling pending data, account calculates processing method further include: judges wait locate
It manages whether data are first treated, when pending data is not first treated, removes history core corresponding with pending data
Calculate result.
Incorporated by reference to referring to Fig. 2 and Fig. 3, wherein Fig. 3 is the box that account provided in an embodiment of the present invention calculates processing method
Flow diagram.In the present embodiment, it includes data preparation, data processing and data output that account, which calculates processing method,.Electronics
Equipment 10 also includes calculating batch generator, calculating batch scheduler, calculate batch actuator and calculation business process device, is used
In realization data handling procedure.
Optionally, in data preparation stage, accounting parameter initialization can be carried out, calculated in account initialization and preparation
Between data, such as CA data, transaction data, funds data, TA data.It is executed by batch creation, batch scheduling, batch, industry
After the processing such as business execution, generates corresponding business voucher, subject detail, subject balance etc. and calculate as a result, being calculated for progress generation
Report provides basic data.
Optionally, calculating parameter initialization may include the initialization of subject property, accounting criteria initialization, Accounting entry mould
Plate initialization, such initialization data substantially initialize once, e.g., subject property is all combine share substantially it is a set of,
Accounting criteria includes whether combination participates in calculating, and combination participates in calculating commencement date and deadline, combines the processing sequence of lower type of credentials, group
Close the processing sequence etc. of lower voucher type of service.Then calculate at account initialization generation accounting account according to accounting parameter
The initialization data for managing table, calculating voucher monitoring table, calculating monitoring detail list provides data to calculate foundation and the processing of batch
Basis.Wherein, subject property can be regarded as: the component part of conventional accounting subject (corresponding accounts format).It is calculated in this system
In processing, conventional accounting subject is split into subject property+auxiliary item form.Subject property is by primary and secondary entry+entry attributes
It constitutes, primary and secondary entry is made of the level-one subject required in accounting standard, and entry attributes are then by the section after subdivision two, three-level subject
Mesh attribute is constituted.To guarantee internal accounting section purpose uniformity, all combinations of system share a set of core subject property.
In the present embodiment, calculate batch generator can be used for through front-end interface or backstage scheduling scheme by hand or
It automatically initiates and calculates account request, generated according to the combination in request, voucher, account date information and calculate batch to calculating batch
Queue table, and corresponding accounting batch number is updated to accounting accounting processing table, accounting voucher monitoring table.
Understandably, generating the step of calculating batch includes: acquisition request object (pending data), is arranged asset portfolio
Sky is sentenced in table and type of credentials list;Object conversion is requested, obtains and corresponds to from compound object list and type of credentials list object
Assembly Listing and type of credentials list;Batch preposition verification recycles each account when from date is less than or equal to the deadline
The business processing date is verified, and removal is unsatisfactory for the combination of condition.The account of asset portfolio account date accounting processing record
Initialization time earlier than trustship accounting processing rule last audit time, restarts engine after please reinitializing account record;
It generates and calculates batch.First by same account date, accounting processing rule identical (type of credentials, voucher processing serial number and service class
Type, type of service processing serial number it is all identical) it is each combine be classified as same group.Then again by calculating parameter " batch greatest combined
Every group of the value N subdivision of number ", the control most number of combinations of every batch of are no more than N, generate accounting processing batch table data;It updates and criticizes
Secondary number and state.The corresponding accounting processing state for calculating accounting processing table of more new lot is " to be processed ", if it is estimating automatically
Value, then be set to " having been filed on " for valuation state.The account date corresponding accounting voucher processing monitoring is respectively combined under modification batch
Table is " to be processed ", and modifying and respectively combining the account date corresponding accounting voucher processing monitoring detail list under batch is " wait locate
Reason ".
Wherein, verification condition may include:
Queries asset combination whether there is, and asset portfolio has then verification and passes through;
Check that trustship is calculated in accounting processing table, the combination account date whether existing record, there is no then throw mistake.
Accounting processing state cannot be in executing, is to be processed or initializing;It should be in account state and do not seal account;Valuation state cannot
It is otherwise to verify and do not pass through in valuation;
There are the calculation business of the combination and account date during calculating starting and calculating cut-off is regular;
Verifying the combination whether there is the trustship Accounting entry rule for having audited and having enabled the date less than the current account date,
When to be, verification passes through.
In the present embodiment, calculate batch scheduler can be used for: poll calculate accounting processing batch queue table, according to batch
Next state and permission time obtain accounting batch to be processed, obtain thread resources from batch thread pool is calculated, instantiation is calculated
Batch actuator is completed to calculate accounting processing.Calculate the locking mutual exclusion between batch scheduler support each batch.
For example, calculating batch scheduler can be used for: clearing up the task of not completing;For example, obtaining local server correlation letter
Breath, the task that cleaning the machine is being handled;The accounting processing state for updating accounting processing table is " system mistake ", and valuation state is
" valuation failure ", updating voucher processing monitoring table voucher processing status is " system mistake ", updates batch of accounting processing queue table
Next state is " being completed ";Thread pool is calculated in creation, and batch thread pool size creation fixing line is calculated in parameter list according to calculating
Cheng Chi is uniformly controlled resource;Poll calculate batch queue, e.g., according to batch state and allow execute the time obtain to
Processing (batch state be initialization, and allow execute the time be less than or equal to current time or for sky) accounting processing batch queue
List is according to priority ranked up.Verification calculate batch execute condition can be with are as follows: judge to combine whether meet execution item under batch
Part, if conditions are not met, then being rejected from this batch.Calculate whether engine thread pond has expired, less than continuation otherwise waits for certain time
Continue poll;Batch actuator is calculated in instantiation.Meet if calculating batch and executing condition, and accounting engine thread pond is less than,
Then start and calculate batch actuator thread, carries out the calculation business process of the accounting batch.
In the present embodiment, calculating batch actuator can be used for: circulation successively handles each voucher class under this batch
Type, generates corresponding accounting task according to type of credentials, then instantiates the synchronous execution accounting task of task performer, according to
The relevant calculation business type monitoring detail list of more new lot is returned the result, type of credentials monitoring table is calculated, calculates accounting processing
The state of table.If it is automatic valuation, it is also necessary to corresponding valuation task be called to complete combination valuation, final updating batch state
Complete batch processed.
For example, then calling general voucher processor-history voucher cleaner if the account for doing the history account date again
Carry out the cleaning of history voucher, rollback subject balance.It is inquired according to batch number and calculates voucher monitoring table, obtained under the batch " wait locate
Reason " type of credentials list initiates voucher processing by voucher sequence one by one, and treatment process includes: to update the sheet for calculating accounting processing table
The accounting processing state of the corresponding record of batch number is " in execution " and accounting processing description information;Update voucher processing monitoring table
The type of credentials voucher processing status be " being carrying out ".
Task can be handled according to the corresponding event type creation voucher of type of credentials by calculating batch actuator, and create task
Actuator calls corresponding voucher processor to complete the processing of the type of credentials.If creation or execution mission failure, update pair
The voucher processing status of the accounting processing state and voucher processing monitoring table of answering accounting processing table is " system mistake ";If processing
Success, then the voucher processing status for updating voucher processing monitoring table is " handling successfully ".
Batch actuator is calculated after list the last one voucher handle successfully, then is unified according to the monitoring of calculation business type
The processing result of detail list updates the voucher processing status of voucher processing monitoring table: by voucher processing status be " to be processed " with
Card type resets back to " initialization ".The type of service processing status that detail list is monitored according to type of credentials, if the type of credentials
It is lower there are type of service processing status be " handling successfully ", " not generating voucher " record, then update the voucher of the type of credentials
Processing status is " handling successfully ";If under the type of credentials there are type of service processing status be " processing failure ", " part lose
Lose " record, then update the type of credentials voucher processing status be " processing failure ".
Batch actuator is calculated after voucher processing is called, updates accounting processing table status.It is handled and is supervised according to voucher
The state for controlling table updates accounting processing table status, if voucher processing status has " handling successfully ", updates corresponding account
The accounting processing state of business processing table record then updates corresponding account if there is " processing failure " for " handling successfully "
The accounting processing state for handling table record is " processing error ".By handle wrong type of credentials be recorded accounting processing table into
In degree description.After voucher processing failure, it is " non-valuation " that updating, which needs the valuation state of the record of automatic valuation,.
Batch actuator is calculated after the completion of voucher processing, if necessary to automatic valuation, then valuation table is initiated and generates task.
Inquiry can carry out the accounting processing information list that automatic valuation table generates, and taking account processing status under batch number is " handling successfully "
And automatic valuation mark is the record of "Yes", generates valuation table and generates task and synchronization call, and updates and calculate batch processed shape
State.
In the present embodiment, calculation business process device may include calculating history voucher cleaner and calculating voucher to generate
Device.It calculates voucher generator to be configured according to actual credential type, each type of credentials configures corresponding calculation business process
Device completes specific calculation business process.Advanced row data check generally is thought highly of in calculation business process, then voucher basis number
According to preparation, basic data includes calculation business type, is obtaining corresponding accounting Accounting entry template according to calculation business type,
Corresponding accounting voucher is generated, subject balance is updated.
Optionally, calculating voucher generator can be used for:
Obtain relevant parameter, the parameter informations such as the available combination that carry out the type of credentials processing, account date;
Voucher handles data check processing, can inherit base class and realize specific verification, get parms object, rewrites check ()
Method carries out data validation verification;
Prepare middle table data, and processing is grouped to the intermediate data of preparation, base class can be inherited and realize specific data
Preparation;If middle table data have been prepared in advance, can skip in the step.Otherwise following flow processing is generally pressed:
The value V for calculating parameter " intermediate data packet count " is first obtained, prepares middle table data, middle table data is grouped, V is divided into
A group: the number of data of each asset portfolio is obtained from middle table, and descending arrangement then is carried out to combination by number of data size,
That most combination of each selector bar number, is put into V grouping in that the smallest group of the sum of number of data of subassembly.
According to group result update middle table grouping serial number, data are finally distributed into V group, so as to following step according to
" intermediate data packet count " carries out concurrent processing;
Accounting voucher is generated, it can concurrent processing;Acquisition initiation parameter, including batch number, the account date, type of credentials,
Number of concurrent, current thread serial number etc..Intermediate data to be processed is subjected to paging (for example, every page is defaulted 1000), is then followed
Ring handles every page of every data (assuming that the entitled TempDO of data in EMS memory object): examining the data legitimacy;Judge the number
It is that voucher or customized specific process generation voucher are generated by common procedure according to corresponding type of service;If it is common
Process then obtains voucher templates, obtains parameter MAP needed for generating voucher, generates voucher and records separately detail to caching, processing is pricked
Difference, last component invoking save credential information, generate accounting voucher, generate subject balance detailed data, generate or update subject
Balance sheet data SBJ_BAL, if data processing error, skips the data, continue with next;Every page data
After having handled, is obtained according to voucher batch number and record separately detail update subject balance variation table;
Directly can be by following configuration it is achieved that such as relatively simple accounting voucher, first configuration credentials industry
The debt-credit section of the service type corresponding formula ID of each field now, then configures corresponding calculation formula, formula in the table of formula library
The factor specifically fetches rule configuration in voucher access allocation list, and the value of corresponding attribute field is obtained by reflection mode, from
And calculate this formula as a result, obtain the actual value of each debt-credit section each field now, generate corresponding accounting item voucher.
Optionally, calculating history voucher cleaner can be used for:
Acquisition relevant parameter, such as batch No., type of credentials (Clear), voucher title (Clear), are at accounting processing day
It unites working day, vocational work day etc.;
Summarize the data that remaining sum changes middle table from subject balance detail list.According to batch number and account date more than the subject
Volume detail list (similar flowing water) association accounting voucher table, subject property list, voucher processing monitoring table press asset portfolio, account day
Phase, type of credentials, subject property, auxiliary item, debt-credit direction, remaining sum direction, which are grouped to summarize, obtains the conjunction of standard coin amount incurred
Meter, former coin occur the amount of money and add up to, Volume Composition occurs;
More new balance changes the field datas such as middle table standard coin debit amount incurred, standard coin credit amount.According to borrowing
Credit side is to standard coin, the former coin debit generation amount of money, credit side's generation amount of money is updated, and quantity occurs for debit, quantity occurs for credit side;According to
It borrows or lends money direction and the relationship in remaining sum direction updates standard coin, former coin remaining sum occurs total, quantity and total field occurs;
Summarize remaining sum and change middle table, changes in middle table from remaining sum by asset portfolio, the account date, subject property, auxiliary
It helps item to summarize the data such as the standard coin debit amount incurred of the batch, standard coin credit amount to remaining sum and changes interim table;
Rollback subject balance changes table, obtains the maximum account date combined under this batch from calculating in accounting processing table,
If the current account date is less than maximum accounting processing day, table is changed by interim table data-backoff subject balance;
Original subject balance detail list is removed, removes the number in original subject balance detail list by batch number, account date
According to;
Original accounting voucher table is removed, removes the data in original accounting voucher table by batch number, account date;
Subject balance table is updated, table is changed from subject balance according to the remaining sum date and updates this batch in current subject balance table
All combined balance informations.
Incorporated by reference to referring to Fig. 4, the block diagram of processing unit 100 is calculated for account provided in an embodiment of the present invention.This
The account that inventive embodiments provide, which calculates processing unit 100, can be applied to above-mentioned electronic equipment 10, for executing account core
Calculate each step of processing method.It may include data obtaining module 110, data check module that the account, which calculates processing unit 100,
120, template determining module 130 and accounting processing module 140.
Data obtaining module 110, for obtaining the pending data of currently processed batch.
Data check module 120, for determining that pending data successfully completes data check.
Template determining module 130, for determining Accounting entry template corresponding with type according to the type of pending data.
Processing module 140 is calculated, for handling pending data, and in voucher point according to default processing rule
It records to generate in template and calculates result.
Optionally, it further includes batch determining module that account, which calculates processing unit 100,.Worked as in data obtaining module 110
Before the pending data of pre-treatment batch, batch determining module is used for poll batch list, and chooses from batch list excellent
The first highest batch of grade is as currently processed batch.
Optionally, it further includes batch generation module that account, which calculates processing unit 100,.Data obtaining module 110 obtains currently
Before the pending data for handling batch, batch generation module is requested for receiving processing, and according to processing request generation processing
Batch, and processing batch is stored in batch list, wherein processing batch includes at least one pending data.
Optionally, data check module 120 is also used to, and judges whether pending data is first treated, when number to be processed
When according to not being first treated, removing history corresponding with pending data and calculating result.
It is apparent to those skilled in the art that for convenience and simplicity of description, the account of foregoing description
The specific work process of processing unit 100 is calculated, no longer can excessively be repeated herein with reference to the corresponding process in preceding method.
The embodiment of the present invention also provides a kind of computer readable storage medium.Computer journey is stored in readable storage medium storing program for executing
Sequence, when computer program is run on computers, so that computer executes the account in above-described embodiment such as and calculates processing side
Method.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can lead to
Hardware realization is crossed, the mode of necessary general hardware platform can also be added to realize by software, based on this understanding, this hair
Bright technical solution can be embodied in the form of software products, which can store in a non-volatile memories
In medium (can be CD-ROM, USB flash disk, mobile hard disk etc.), including some instructions are used so that a computer equipment (can be
Personal computer, server or network equipment etc.) execute method described in each implement scene of the present invention.
In conclusion the present invention, which provides a kind of account, calculates processing method, device and electronic equipment.This method comprises: obtaining
Obtain the pending data of currently processed batch;Determine that the pending data successfully completes data check;According to described to be processed
The type of data determines Accounting entry template corresponding with the type;According to default processing rule, to the pending data
It is handled, and is generated in the Accounting entry template and calculate result.This programme is by carrying out batch processing to data, automatically
Accounting entry template is matched, facilitates the operating procedure for simplifying business personnel, improves the efficiency of business processing.
In embodiment provided by the present invention, it should be understood that disclosed devices, systems, and methods can also lead to
Other modes are crossed to realize.Devices, systems, and methods embodiment described above is only schematical, for example, in attached drawing
Flow chart and block diagram show that the system of multiple embodiments according to the present invention, the possibility of method and computer program product are real
Existing architecture, function and operation.In this regard, each box in flowchart or block diagram can represent module, a journey
A part of sequence section or code, a part of the module, section or code include one or more for realizing defined
The executable instruction of logic function.It should also be noted that in some implementations as replacement, function marked in the box
It can also occur in a different order than that indicated in the drawings.For example, two continuous boxes can actually be substantially in parallel
It executes, they can also be executed in the opposite order sometimes, and this depends on the function involved.It is also noted that block diagram and/
Or the combination of each box in flow chart and the box in block diagram and or flow chart, can with execute as defined in function or
The dedicated hardware based system of movement is realized, or can be realized using a combination of dedicated hardware and computer instructions.
In addition, each functional module in each embodiment of the present invention can integrate one independent part of formation together, it can also be with
It is modules individualism, an independent part can also be integrated to form with two or more modules.
It can replace, can be realized wholly or partly by software, hardware, firmware or any combination thereof.When
When using software realization, can entirely or partly it realize in the form of a computer program product.The computer program product
Including one or more computer instructions.It is all or part of when loading on computers and executing the computer program instructions
Ground is generated according to process or function described in the embodiment of the present invention.The computer can be general purpose computer, special purpose computer,
Computer network or other programmable devices.The computer instruction may be stored in a computer readable storage medium, or
Person is transmitted from a computer readable storage medium to another computer readable storage medium, for example, the computer instruction
Wired (such as coaxial cable, optical fiber, digital subscriber can be passed through from a web-site, computer, server or data center
Line (DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another web-site, computer, server or data
It is transmitted at center.The computer readable storage medium can be any usable medium that computer can access and either wrap
The data storage devices such as server, the data center integrated containing one or more usable mediums.The usable medium can be magnetic
Property medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state hard disk
Solid State Disk (SSD)) etc..
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.
Claims (10)
1. a kind of account calculates processing method characterized by comprising
Obtain the pending data of currently processed batch;
Determine that the pending data successfully completes data check;
Accounting entry template corresponding with the type is determined according to the type of the pending data;
According to default processing rule, the pending data is handled, and generate and calculate in the Accounting entry template
As a result.
2. the method according to claim 1, wherein in the pending data for obtaining currently processed batch
Before step, the method also includes:
Poll batch list, and the batch of highest priority is chosen as the currently processed batch from the batch list.
3. according to the method described in claim 2, it is characterized in that, in the pending data for obtaining currently processed batch
Before step, the method also includes:
Processing request is received, and generates processing batch according to the processing request, and the processing batch is stored in described batch
In secondary list, wherein the processing batch includes at least one pending data.
4. the method according to claim 1, wherein described the step of handling the pending data,
Include:
The pending data is grouped, multithreading handles the pending data after grouping.
5. the method according to claim 1, wherein the described the step of pending data is handled it
Before, the method also includes:
Judge whether the pending data is first treated, when the pending data is not first treated, removing and institute
It states the corresponding history of pending data and calculates result.
6. method described in any one of -5 according to claim 1, which is characterized in that each group in the currently processed batch
The pending data is locked in advance;The step of determination pending data successfully completes data check, comprising:
When pending data processing status characterization is not the state in processing, and the account moment of the pending data is early
When predetermined time, determine that the pending data successfully completes data check, and release the lock of pending data described in each group
It is fixed.
7. a kind of account calculates processing unit characterized by comprising
Data obtaining module, for obtaining the pending data of currently processed batch;
Data check module, for determining that the pending data successfully completes data check;
Template determining module, for determining Accounting entry mould corresponding with the type according to the type of the pending data
Plate;
Processing module is calculated, for handling the pending data, and in the voucher point according to default processing rule
It records to generate in template and calculates result.
8. account according to claim 7 calculates processing unit, which is characterized in that the account is calculated processing unit and also wrapped
Batch determining module is included, before the pending data that the data obtaining module obtains currently processed batch, the batch is true
Cover half block is used for poll batch list, and chooses the batch of highest priority as described currently processed from the batch list
Batch.
9. a kind of electronic equipment characterized by comprising
Storage unit;
Processing unit;And
Account calculates processing unit, is stored in the storage unit including one or more and is executed by the processing unit
Software function module, the account calculate processing unit and include:
Data obtaining module, for obtaining the pending data of currently processed batch;
Data check module, for determining that the pending data successfully completes data check;
Template determining module, for determining Accounting entry mould corresponding with the type according to the type of the pending data
Plate;
Processing module is calculated, for handling the pending data, and in the voucher point according to default processing rule
It records to generate in template and calculates result.
10. a kind of computer readable storage medium, which is characterized in that it is stored with computer program in the readable storage medium storing program for executing,
When the computer program is run on computers, so that the computer is executed such as any one of claim 1-6 institute
The account stated calculates processing method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810726136.9A CN108961026A (en) | 2018-07-04 | 2018-07-04 | Account calculates processing method, device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810726136.9A CN108961026A (en) | 2018-07-04 | 2018-07-04 | Account calculates processing method, device and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108961026A true CN108961026A (en) | 2018-12-07 |
Family
ID=64485523
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810726136.9A Pending CN108961026A (en) | 2018-07-04 | 2018-07-04 | Account calculates processing method, device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108961026A (en) |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109785093A (en) * | 2018-12-11 | 2019-05-21 | 平安科技(深圳)有限公司 | Accreditation method, apparatus, computer equipment and storage medium based on valuation system |
CN110246014A (en) * | 2019-05-06 | 2019-09-17 | 阿里巴巴集团控股有限公司 | Bill checks and writes off dispatching method, device and server |
CN110349023A (en) * | 2019-06-29 | 2019-10-18 | 上海淇馥信息技术有限公司 | A kind of independent accounting method, apparatus and electronic equipment based on subdivision time granularity |
CN110413428A (en) * | 2019-08-06 | 2019-11-05 | 中国联合网络通信集团有限公司 | Processing method, electronic equipment and the storage medium of reconciliation data |
CN110706093A (en) * | 2019-09-25 | 2020-01-17 | 中国建设银行股份有限公司 | Accounting processing method and device |
CN111222972A (en) * | 2019-12-31 | 2020-06-02 | 网联清算有限公司 | Account checking and clearing method and device |
CN112163941A (en) * | 2020-09-23 | 2021-01-01 | 深圳市富途网络科技有限公司 | Data processing method, device and storage medium |
CN112199371A (en) * | 2020-09-18 | 2021-01-08 | 中国建设银行股份有限公司 | Data migration method and device, computer equipment and storage medium |
CN112330431A (en) * | 2020-10-30 | 2021-02-05 | 中国建设银行股份有限公司 | Transaction data processing method and device, computer equipment and storage medium |
CN112506902A (en) * | 2020-11-30 | 2021-03-16 | 派衍信息科技(苏州)有限公司 | Intelligent fund net value processing system |
CN113408446A (en) * | 2021-06-24 | 2021-09-17 | 成都新希望金融信息有限公司 | Bill accounting method and device, electronic equipment and storage medium |
CN113554498A (en) * | 2020-04-08 | 2021-10-26 | 中国移动通信集团广东有限公司 | Processing method and device for user account request |
CN114418559A (en) * | 2022-01-18 | 2022-04-29 | 北京融威众邦电子技术有限公司 | Automatic payment clearing method and system |
US11734625B2 (en) | 2020-08-18 | 2023-08-22 | Asana, Inc. | Systems and methods to characterize units of work based on business objectives |
US11803814B1 (en) * | 2021-05-07 | 2023-10-31 | Asana, Inc. | Systems and methods to facilitate nesting of portfolios within a collaboration environment |
US12124997B2 (en) * | 2023-08-22 | 2024-10-22 | Asana, Inc. | Systems and methods to facilitate nesting of portfolios within a collaboration environment |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105243519A (en) * | 2015-11-13 | 2016-01-13 | 广州市社会保险基金管理中心 | Social security finance and accounting management and control system |
CN105279613A (en) * | 2015-11-11 | 2016-01-27 | 中国建设银行股份有限公司 | Accounting affair processing method and system |
CN105488720A (en) * | 2015-11-27 | 2016-04-13 | 国网北京市电力公司 | Accounting data processing method and device |
CN107274162A (en) * | 2017-05-31 | 2017-10-20 | 深圳市长亮科技股份有限公司 | A kind of processing method of high transaction concurrency |
CN107392744A (en) * | 2017-07-11 | 2017-11-24 | 北京欣欣苹果网络科技有限公司 | Bookkeeping methods and device based on business scenario |
CN107767255A (en) * | 2017-10-18 | 2018-03-06 | 中国民生银行股份有限公司 | Method and device for business processing |
CN108038776A (en) * | 2017-12-19 | 2018-05-15 | 深圳市买买提乐购金融服务有限公司 | A kind of data processing method and data processing terminal |
CN108228736A (en) * | 2017-12-12 | 2018-06-29 | 深圳市买买提信息科技有限公司 | Data processing method, data processing system and computer readable storage medium |
-
2018
- 2018-07-04 CN CN201810726136.9A patent/CN108961026A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105279613A (en) * | 2015-11-11 | 2016-01-27 | 中国建设银行股份有限公司 | Accounting affair processing method and system |
CN105243519A (en) * | 2015-11-13 | 2016-01-13 | 广州市社会保险基金管理中心 | Social security finance and accounting management and control system |
CN105488720A (en) * | 2015-11-27 | 2016-04-13 | 国网北京市电力公司 | Accounting data processing method and device |
CN107274162A (en) * | 2017-05-31 | 2017-10-20 | 深圳市长亮科技股份有限公司 | A kind of processing method of high transaction concurrency |
CN107392744A (en) * | 2017-07-11 | 2017-11-24 | 北京欣欣苹果网络科技有限公司 | Bookkeeping methods and device based on business scenario |
CN107767255A (en) * | 2017-10-18 | 2018-03-06 | 中国民生银行股份有限公司 | Method and device for business processing |
CN108228736A (en) * | 2017-12-12 | 2018-06-29 | 深圳市买买提信息科技有限公司 | Data processing method, data processing system and computer readable storage medium |
CN108038776A (en) * | 2017-12-19 | 2018-05-15 | 深圳市买买提乐购金融服务有限公司 | A kind of data processing method and data processing terminal |
Cited By (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109785093A (en) * | 2018-12-11 | 2019-05-21 | 平安科技(深圳)有限公司 | Accreditation method, apparatus, computer equipment and storage medium based on valuation system |
CN110246014A (en) * | 2019-05-06 | 2019-09-17 | 阿里巴巴集团控股有限公司 | Bill checks and writes off dispatching method, device and server |
CN110246014B (en) * | 2019-05-06 | 2023-04-07 | 创新先进技术有限公司 | Bill verification and cancellation scheduling method and device and server |
CN110349023A (en) * | 2019-06-29 | 2019-10-18 | 上海淇馥信息技术有限公司 | A kind of independent accounting method, apparatus and electronic equipment based on subdivision time granularity |
CN110413428A (en) * | 2019-08-06 | 2019-11-05 | 中国联合网络通信集团有限公司 | Processing method, electronic equipment and the storage medium of reconciliation data |
CN110706093A (en) * | 2019-09-25 | 2020-01-17 | 中国建设银行股份有限公司 | Accounting processing method and device |
CN111222972A (en) * | 2019-12-31 | 2020-06-02 | 网联清算有限公司 | Account checking and clearing method and device |
CN113554498A (en) * | 2020-04-08 | 2021-10-26 | 中国移动通信集团广东有限公司 | Processing method and device for user account request |
CN113554498B (en) * | 2020-04-08 | 2024-03-19 | 中国移动通信集团广东有限公司 | Processing method and device for user account request |
US12045750B2 (en) | 2020-08-18 | 2024-07-23 | Asana, Inc. | Systems and methods to characterize units of work based on business objectives |
US11734625B2 (en) | 2020-08-18 | 2023-08-22 | Asana, Inc. | Systems and methods to characterize units of work based on business objectives |
CN112199371B (en) * | 2020-09-18 | 2024-10-01 | 中国建设银行股份有限公司 | Data migration method, device, computer equipment and storage medium |
CN112199371A (en) * | 2020-09-18 | 2021-01-08 | 中国建设银行股份有限公司 | Data migration method and device, computer equipment and storage medium |
CN112163941A (en) * | 2020-09-23 | 2021-01-01 | 深圳市富途网络科技有限公司 | Data processing method, device and storage medium |
CN112330431A (en) * | 2020-10-30 | 2021-02-05 | 中国建设银行股份有限公司 | Transaction data processing method and device, computer equipment and storage medium |
CN112506902A (en) * | 2020-11-30 | 2021-03-16 | 派衍信息科技(苏州)有限公司 | Intelligent fund net value processing system |
US11803814B1 (en) * | 2021-05-07 | 2023-10-31 | Asana, Inc. | Systems and methods to facilitate nesting of portfolios within a collaboration environment |
US20230410052A1 (en) * | 2021-05-07 | 2023-12-21 | Asana, Inc. | Systems and methods to facilitate nesting of portfolios within a collaboration environment |
CN113408446A (en) * | 2021-06-24 | 2021-09-17 | 成都新希望金融信息有限公司 | Bill accounting method and device, electronic equipment and storage medium |
CN114418559A (en) * | 2022-01-18 | 2022-04-29 | 北京融威众邦电子技术有限公司 | Automatic payment clearing method and system |
US12124997B2 (en) * | 2023-08-22 | 2024-10-22 | Asana, Inc. | Systems and methods to facilitate nesting of portfolios within a collaboration environment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108961026A (en) | Account calculates processing method, device and electronic equipment | |
CN107679857B (en) | Block chain cross-chain transaction method and storage medium | |
CN108959621B (en) | Method, device, equipment and storage medium for realizing block chain network | |
CN110009489B (en) | Asset transfer method and device based on block chain and electronic equipment | |
WO2020252479A1 (en) | System and method using a fitness-gradient blockchain consensus | |
CN110033377B (en) | Asset sorting method and device based on block chain and electronic equipment | |
CN110020936B (en) | Asset management method and device based on block chain and electronic equipment | |
CN110659887A (en) | Automatic transaction processing system and method based on block chain | |
WO2021042810A1 (en) | Asset settlement method and apparatus employing blockchain, and electronic device | |
CN110163634B (en) | Refund method and device based on blockchain and electronic equipment | |
CN109344987A (en) | Foreign currency reserves enchashment method, client, server, the pre- Ark of the Covenant of foreign currency and system | |
CN111091358B (en) | Unified processing method and system for multiple payment channels | |
CN112308690A (en) | Lease management method and device based on block chain and electronic equipment | |
CN112435129A (en) | Financing method, financing system, device, equipment and storage medium | |
CN110555684A (en) | Account and system based on block chain system | |
CN110060041A (en) | Channel of disbursement cut-in method, system, computer equipment and readable storage medium storing program for executing | |
CN108364230A (en) | A kind of account is withdrawn deposit method, apparatus, terminal device and storage medium | |
US10855617B1 (en) | System and method for controlling access to resources in a multicomputer network | |
CN111401873A (en) | Task creation method and device, storage medium and electronic equipment | |
CN111640006A (en) | Bank payment and receipt method, device, terminal and storage medium | |
KR101520167B1 (en) | Subcontract management system and performing mehtod thereof | |
CN115526722A (en) | Method and device for processing transaction of making positive | |
KR20200032928A (en) | Method, apparatus and computer-readable medium of exchange based on fixed rate using virtual money | |
CN111737262B (en) | Data processing method and device | |
CN114049196A (en) | Method and device for settlement of interest on loan and computer equipment |
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: 20181207 |