CN102446304A - Real-time data processing method and device - Google Patents

Real-time data processing method and device Download PDF

Info

Publication number
CN102446304A
CN102446304A CN2010105000029A CN201010500002A CN102446304A CN 102446304 A CN102446304 A CN 102446304A CN 2010105000029 A CN2010105000029 A CN 2010105000029A CN 201010500002 A CN201010500002 A CN 201010500002A CN 102446304 A CN102446304 A CN 102446304A
Authority
CN
China
Prior art keywords
data
difference
segment
data processing
data segment
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
Application number
CN2010105000029A
Other languages
Chinese (zh)
Other versions
CN102446304B (en
Inventor
王云
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kingdee Software China Co Ltd
Original Assignee
Kingdee Software China Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kingdee Software China Co Ltd filed Critical Kingdee Software China Co Ltd
Priority to CN201010500002.9A priority Critical patent/CN102446304B/en
Publication of CN102446304A publication Critical patent/CN102446304A/en
Application granted granted Critical
Publication of CN102446304B publication Critical patent/CN102446304B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to a real-time data processing method and device. The method comprises the following steps of: after confirming that the added record has a first data segment of the first data, generating a virtual second data segment recording the second data; calculating the difference between the first data and the second data, and storing the difference in the second data segment; and obtaining a data processing rule, and obtaining the difference from the second data segment according to the data processing rule. Through the method and device provided by the invention, the complexity of the data processing process is lowered, the data processing capacity is reduced, the operation performance of systems such as a computer and the like is improved, and the data processing is accurate and faster.

Description

The method of real time data processing and device
Technical field
The present invention relates to field of computer technology, specifically is to utilize computing machine to carry out the method for real time data processing.
Background technology
Relevant regulations according to accounting standards for enterprises; Parent company and subsidiary company, subsidiary company be merchandising each other; The end of term is unrealized for sale and forms assets such as stock, capital assets; When commercial operation revenue and running cost are sold in payment, should the internal sales profit and loss of being unrealized that each item assets are comprised be offseted.When the capital assets that form of merchandising or the internal sales profit and loss of being unrealized that intangible asset comprised are offseted each other to parent company and subsidiary company, subsidiary company, also should offset with the relevant part of the internal sales profit and loss that is unrealized the amount of depreciation of capital assets or the amortization volume of intangible asset.Because this business offset processing is complicated, not only relates to the internal sales profit and loss payment of being unrealized, and relate to the payment of the amount of depreciation or the amortization volume of the internal sales profit and loss of being unrealized.
The user keeps accounts when business takes place, and find out the interior business record that will offset from balance sheet the end of month, and its amount record is supported during an ancient wine vessel made of horn records separately to following:
Borrow: capital assets--original cost x (the unrealized profit and loss amount of money)
Borrow: nonoperation expense x
Borrow: managerial cost y
Borrow: capital assets--accumulated depreciation y (depreciation of unrealized profit and loss or the amortization amount of money)
In ERP system, the inside transaction in assets of a group of enterprises is reflected as the assets accent and pulls out, and the side of accessing reduces assets, generates the cleaning list; The side's of calling in new assets, newly-increased card also are changed to " increasing newly " with its state.The side of accessing is by the single related a kind of new document " voucher " that generates of cleaning; The record transaction takes place in this document the profit and loss subject and the amount of money thereof; The side of calling in is related another new document " voucher " that generates when newly-increased card is examined, the assets accounts and the amount of money thereof of record transaction generation in this document.Each subject and the amount of money thereof of all evidence records are charged to the general ledger account book at last.When group user was worked out inner transaction in assets offset entry at inferior beginning of the month that all inner transactions in assets are accomplished, in the artificial earlier judgement general ledger account book, the service attribute of which transaction was inside or external transaction, found out respective record and the amount of money is inserted offset entry; And then the depreciation information of looking for the newly-increased card of transaction, calculate the amount of depreciation or the amortization volume of the inner assets sales porfit and loss that is unrealized, insert offset entry.
In numerous transaction operation notes, the service attribute of operation note can be discerned; Amount of the offset can utilize and offset card automatic calculating and record when business operation is accomplished, and sets up the incidence relation of the payment card and the newly-increased card of concluding the business simultaneously.This programme adopts the succession mode to generate the payment card through the identification of operation note, sets up and is inherited the incidence relation of card with the payment card, accomplishes payment data real time record when transaction takes place, and depreciation or amortization on schedule.
Not to operation note sign counterpart service unit, cause to distinguish the insider transaction record or the external transaction record of group of enterprises;
Can't calculate and write down the inner assets sales porfit and loss that is unrealized automatically
Can't associate " inner assets sales porfit and loss is unrealized " and newly-increased card, cause to calculate automatically the amount of depreciation or the amortization volume of the inner assets sales porfit and loss that is unrealized.
Therefore in the prior art, to the complex disposal process of above-mentioned various data, the treatment capacity of data is bigger, causes the treatment capacity of data of systems such as computing machine bigger, influenced systems such as computing machine runnability.
Summary of the invention
Fundamental purpose of the present invention provides that a kind of data procedures is simple, data processing amount is little, promotes the method for the real time data processing of system performance such as computing machine.
The technical solution adopted for the present invention to solve the technical problems is:
A kind of method of real time data processing, it comprises:
When confirming to increase first data segment that records first data newly, generate the second virtual data segment that records second data;
Calculate the difference of said first data and second data, and said difference is kept in said second data segment;
Obtain the rule of data processing, from said second data segment, obtain said difference according to said data processing rule.
Preferably, from said second data segment, obtain said difference, afterwards, further comprise according to said data processing rule:
Obtain first data from said first data segment, and obtain second data, said difference, first data and data are preserved in the database from second data segment.
Preferably, said difference, first data and data are preserved in the database, afterwards, further comprise:
Calculate the 3rd data of said first data segment;
Preserve said the 3rd data to said second data segment.
A kind of real-time data processor, it comprises:
Record generation unit when being used to confirm to increase newly first data segment that records first data, generates the second virtual data segment that records second data;
The difference processing unit is used to calculate the difference of said first data and second data, and said difference is kept in said second data segment;
The difference acquiring unit is used to obtain the rule of data processing, from said second data segment, obtains said difference according to said data processing rule.
Preferably, said device also comprises:
First data processing unit is used for obtaining first data from said first data segment, and obtains second data from second data segment, and said difference, first data and data are preserved in the database.
Preferably, said device also comprises:
Second data processing unit is used to calculate the 3rd data of said first data segment, and preserves said the 3rd data.
The technical scheme of embodiment of the present invention; Have following beneficial effect: method and apparatus provided by the invention, reduced the complexity of data handling procedure, reduced data processing amount; Promoted the runnability of systems such as computing machine, and data processing accurately with speed up.
Description of drawings
The method flow diagram that Fig. 1 provides for the embodiment of the invention;
Another process flow diagram of the method that Fig. 2 provides for the embodiment of the invention;
The apparatus structure synoptic diagram that Fig. 3 provides for the embodiment of the invention;
Another structural representation of the device that Fig. 4 provides for the embodiment of the invention;
The process flow diagram of the application implementation example of the method that Fig. 5 provides for the embodiment of the invention;
Another process flow diagram of the application implementation example of the method that Fig. 6 provides for the embodiment of the invention.
The realization of the object of the invention, functional characteristics and advantage will combine embodiment, further specify with reference to accompanying drawing.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
The embodiment of the invention provides a kind of method of real time data processing, and is as shown in Figure 1, and the method comprising the steps of:
S110, when confirming to increase first data segment that records first data newly, generate the second virtual data segment that records second data;
S120, calculate the difference of said first data and second data, and said difference is kept in said second data segment;
S130, obtain the rule of data processing, from said second data segment, obtain said difference according to said data processing rule.
Among other the embodiment, as shown in Figure 2, this method afterwards, further comprises step at above-mentioned steps S130, from said second data segment, obtain said difference according to said data processing rule:
S140, obtain first data, and obtain second data, said difference, first data and data are preserved in the database from second data segment from said first data segment.
Among other the embodiment, as shown in Figure 2, this method is at above-mentioned steps S140, obtain first data from said first data segment; And obtain second data from second data segment; Said difference, first data and data are preserved in the database, afterwards, further comprise:
The 3rd data of S150, said first data segment of calculating;
S160, said the 3rd data of preservation are to said second data segment.
The method that above-mentioned each embodiment provides has reduced the complexity of data handling procedure, has reduced data processing amount, has promoted the runnability of systems such as computing machine, and data processing accurately with speed up.
Enumerate the application implementation example of a said method below, this application implementation example is applied in the process based on the inside assets payment of real-time deal in ERP (Enterprise Resourse Planning, the Enterprise Resources Planning) management system.
The first step: the real-time payment process when accomplishing based on insider transaction, as shown in Figure 5, the real-time payment process in the time of should accomplishing based on insider transaction comprises step:
S511: inner transaction in assets one side (as: the subordinate unit side of accessing) of group company's (being made up of parent company and its whole subsidiary companies) triggers the transaction application through the ERP system in the computing machine, and computing machine utilizes ERP system to generate the transaction document;
S512: group's merging is organized the user to utilize ERP system to examine said transaction business through computing machine and is examined said transaction document (first data in the corresponding the foregoing description of this transaction business).
S513~S514: computing machine is confirmed through this ERP system, and (this card is: a kind of document of record assets because assets are transferred the newly-increased card in the side of calling in of pulling out; Should increase first data segment in the corresponding the foregoing description of card newly) time; Computing machine generates the payment card (second data segment in the corresponding the foregoing description of this payment card) that merges tissue in the newly-increased card in the side of calling in through this ERP system; The initial value field record of the payment card inner assets sales porfit and loss data (second data in the corresponding the foregoing description of these inner assets sales porfit and loss data of being unrealized) that are unrealized; Accumulated depreciation field record 0; Current period amount of depreciation or amortization volume field data are recorded as 0, and other field contents of payment card are inherited the newly-increased card content in the side of calling in.
S515: computing machine pulls out at accent through this ERP system and obtains the card net book value of the side of accessing and the card net book value of the side of calling in when accomplishing respectively; Calculate both difference (promptly not inner transaction in assets unrealized profit and losses; Difference in corresponding the foregoing description), then this difference is inserted the former value field of payment card.
S516: the data of preserving the payment card.
S517: accept user-defined payment rule (also can be the rule of computing machine or other device settings), computing machine is got payment data (this payment data corresponding to first data, second data, difference etc.) by this rule from payment card and relevant form through this ERP system.
S18: computing machine is inserted offset entry through the payment data that this ERP system will obtain, and generates inner assets class transaction offset entry.
Second step: the real-time payment process when accomplishing based on related card depreciation:
The payment of general merchandise transaction is after transaction is accomplished, to offset, and accomplishes the end of transaction at any time after the payment and no longer continues business processing.But, after therefore inner transaction in assets finishes, still need in the serviceable life of assets, carry out depreciation or amortization by the unrealized profit and loss to transaction in assets because assets have certain serviceable life.Real-time payment process in the time of should accomplishing based on related card depreciation is as shown in Figure 6, comprises step:
S521: computing machine carries out computing depreciation volume or amortization volume (this amount of depreciation or amortization volume are corresponding to the 3rd data in the foregoing description) through this ERP system to the newly-increased card in the related side of calling in of payment card.
S522: computing machine through this ERP system according to moon amount of depreciation or after the amortization volume calculates the newly-increased card in the related side of calling in of payment card and calculate moon ratio of depreciation, with the moon ratio of depreciation numerical value copy to the payment card.
S523: computing machine is through the current period amount of depreciation or the amortization volume of this ERP system " amount of depreciation or amortization volume=former value field * month ratio of depreciation field " calculating payment by formula card.
S524: computing machine upgrades through this ERP system preserves payment card current period ratio of depreciation, current period amount of depreciation;
S525: reception user definition payment rule (also can be the rule of computing machine or other device settings); Computing machine is got current period amount of depreciation by the payment rule from database through this ERP system; As the payment data of offset entry unrealized profit and loss project, the depreciation or the amortization of the inner assets profit and loss that realizes being unrealized.
S526: computing machine is inserted offset entry through this ERP system with the payment data of the unrealized profit and loss project that obtains, and generates the offset entry of relevant inner assets class depreciation or amortization.
The embodiment of the invention also provides a kind of real-time data processor, and perhaps other have the device of computing ability to this device for computing machine, and as shown in Figure 3, this device comprises:
Record generation unit 310 when being used to confirm to increase newly first data segment that records first data, generates the second virtual data segment that records second data;
Difference processing unit 320 is used to calculate the difference of said first data and second data, and said difference is kept in said second data segment;
Difference acquiring unit 330 is used to obtain the rule of data processing, from said second data segment, obtains said difference according to said data processing rule.
In other embodiment, as shown in Figure 4, further, said device also comprises:
First data processing unit 340 is used for obtaining first data from said first data segment, and obtains second data from second data segment, and said difference, first data and data are preserved in the database.
In other embodiment, as shown in Figure 4, further, said device also comprises:
Second data processing unit 350 is used to calculate the 3rd data of said first data segment, and preserves said the 3rd data.
The device that above-mentioned each embodiment provides has reduced the complexity of data handling procedure, has reduced data processing amount, has promoted the runnability of systems such as computing machine, and data processing accurately with speed up.
More than above-mentionedly be merely preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of within spirit of the present invention and principle, being done, be equal to and replace and improvement etc., all should be included within protection scope of the present invention.

Claims (6)

1. the method for a real time data processing is characterized in that, comprising:
When confirming to increase first data segment that records first data newly, generate the second virtual data segment that records second data;
Calculate the difference of said first data and second data, and said difference is kept in said second data segment;
Obtain the rule of data processing, from said second data segment, obtain said difference according to said data processing rule.
2. method according to claim 1 is characterized in that, from said second data segment, obtains said difference according to said data processing rule, afterwards, further comprises:
Obtain first data from said first data segment, and obtain second data, said difference, first data and data are preserved in the database from second data segment.
3. like the said method of claim 2, it is characterized in that, said difference, first data and data preserved in the database, afterwards, further comprise:
Calculate the 3rd data of said first data segment;
Preserve said the 3rd data to said second data segment.
4. a real-time data processor is characterized in that, comprising:
Record generation unit when being used to confirm to increase newly first data segment that records first data, generates the second virtual data segment that records second data;
The difference processing unit is used to calculate the difference of said first data and second data, and said difference is kept in said second data segment;
The difference acquiring unit is used to obtain the rule of data processing, from said second data segment, obtains said difference according to said data processing rule.
5. like the said device of claim 4, it is characterized in that, also comprise:
First data processing unit is used for obtaining first data from said first data segment, and obtains second data from second data segment, and said difference, first data and data are preserved in the database.
6. like the said device of claim 5, it is characterized in that, also comprise:
Second data processing unit is used to calculate the 3rd data of said first data segment, and preserves said the 3rd data.
CN201010500002.9A 2010-10-08 2010-10-08 Real-time data processing method and device Active CN102446304B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010500002.9A CN102446304B (en) 2010-10-08 2010-10-08 Real-time data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010500002.9A CN102446304B (en) 2010-10-08 2010-10-08 Real-time data processing method and device

Publications (2)

Publication Number Publication Date
CN102446304A true CN102446304A (en) 2012-05-09
CN102446304B CN102446304B (en) 2015-06-03

Family

ID=46008788

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010500002.9A Active CN102446304B (en) 2010-10-08 2010-10-08 Real-time data processing method and device

Country Status (1)

Country Link
CN (1) CN102446304B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109447769A (en) * 2018-09-07 2019-03-08 杭州小番网络科技有限公司 A kind for the treatment of method and apparatus of financial data

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1627305A (en) * 2003-12-08 2005-06-15 鸿富锦精密工业(深圳)有限公司 Cost diagnostic system and method
CN101236621A (en) * 2007-02-02 2008-08-06 鸿富锦精密工业(深圳)有限公司 Account checking system and method
CN101645158A (en) * 2009-09-07 2010-02-10 浪潮集团山东通用软件有限公司 Method suitable for parallel computation of multi-currency asset depreciation of multiple assets

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1627305A (en) * 2003-12-08 2005-06-15 鸿富锦精密工业(深圳)有限公司 Cost diagnostic system and method
CN101236621A (en) * 2007-02-02 2008-08-06 鸿富锦精密工业(深圳)有限公司 Account checking system and method
CN101645158A (en) * 2009-09-07 2010-02-10 浪潮集团山东通用软件有限公司 Method suitable for parallel computation of multi-currency asset depreciation of multiple assets

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109447769A (en) * 2018-09-07 2019-03-08 杭州小番网络科技有限公司 A kind for the treatment of method and apparatus of financial data

Also Published As

Publication number Publication date
CN102446304B (en) 2015-06-03

Similar Documents

Publication Publication Date Title
KR101836328B1 (en) Server and method for processing cancellation of sales in elenctronic data capture type payment processing
CN107798109A (en) Method, apparatus, computer equipment and the storage medium of reconciliation clearance
JP7373473B2 (en) Accounting processing equipment, accounting processing methods, and accounting processing programs
US20150081499A1 (en) Providing financial transaction data to a user
US20070185791A1 (en) System, method, and computer program product for automatically posting transactions associated with a transaction account into a general ledger
CN110827141A (en) Supply chain financial stock pledge management system and method
WO2017015078A1 (en) Method and system for collecting indirect tax
CN107784595A (en) Declaration form move back expense processing method, device, computer equipment and storage medium
US20150332391A1 (en) Non pre-approved channel filtering for card acquisition
CN111080340A (en) System, method and related device for pushing marketing management message of financial product
CN107358525A (en) A kind of account trading method and apparatus
GB2378543B (en) Real time transaction data processing
US20150046304A1 (en) Analysis of e-receipts for charitable donations
US8655754B2 (en) Intercompany transactions elimination system
WO2017210041A1 (en) System and method for determining subscription information based on payment card transaction data over a payment card network
CN102446304A (en) Real-time data processing method and device
US20230100685A1 (en) Financial product information collecting platform system, financial product information collecting method, and computer program for the same
KR100307119B1 (en) On-line banking systme and method of updating information thereof
JP2012108619A (en) Discount application form preparation support system and discount application form preparation support method
JP4669467B2 (en) Credit card issuance determination method and computer program
CN110852679A (en) Document adjusting method, device and equipment
JP2007317092A (en) Credit payment management system, application server, program, and computer readable recording medium
Dollenmayer A New Economic Frontier and Ohio's Old Tax: Analyzing the Taxability of NFTs under Ohio's Sales and Use Tax
KR101472679B1 (en) Financial goods management method and server performing the same
Zhang et al. The Importance of Data Assets and Its Accounting Confirmation and Measurement Methods

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant