CN109584083A - Business datum and financial data method of calibration, device, equipment and storage medium - Google Patents
Business datum and financial data method of calibration, device, equipment and storage medium Download PDFInfo
- Publication number
- CN109584083A CN109584083A CN201811227780.8A CN201811227780A CN109584083A CN 109584083 A CN109584083 A CN 109584083A CN 201811227780 A CN201811227780 A CN 201811227780A CN 109584083 A CN109584083 A CN 109584083A
- Authority
- CN
- China
- Prior art keywords
- premium
- conversion
- accounting
- business datum
- financial data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/08—Insurance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- 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
Abstract
The invention discloses a kind of business datums and financial data method of calibration, device, equipment and medium, this method comprises: receiving practical premium, obtain the exchange rate, according to practical premium, the exchange rate, each accounting of accepting insurance, first method and second method obtain conversion and pay premium and conversion income premium, N decimals retain after paying premium decimal point to conversion, obtain business datum, N decimals retain after taking in premium decimal point to conversion, obtain second amount of money, each second amount of money is determined as financial data, when business datum and financial data are inconsistent, premium is paid into conversion and is determined as business datum after calculating, the sum of each conversion income premium is determined as financial data after calculating, or N+1 decimals are rounded up to obtain the third amount of money as business datum after calculating after paying premium decimal point to conversion, it will Sum after N+1 decimals are rounded up after the decimal point of conversion income premium guarantees data consistency as financial data after accounting.
Description
Technical field
The present invention relates to big data processing field more particularly to a kind of business datum and financial data method of calibration, device,
Computer equipment and storage medium.
Background technique
Currently, with the accepting insurance jointly of insurance products and the development of international market, being related to two in insurance industry
Or more insurance company accept insurance jointly and situations such as the exchange rate because these situations are frequent occurrence, the data of the premium after conversion
Measure it is huge, so for the ease of recording or calculating, after usually only extracting conversion without the integer part for the premium accepted or rejected
Or integer part adds part decimal etc., is easy to cause inconsistent between premium data.Such as, shipping danger premium is 999 dollars, the exchange rate
It is 6.8814, China Ping'an Insurance company and People's Insurance Company of China is in the company that accepts insurance, China Ping'an Insurance company and China
The accounting of accepting insurance of People's Insurance Agency is 3:1, and standard freight danger premium is 6874.51,999*6.8814=6874.51, according to
The premium that accounting of accepting insurance China Ping'an Insurance company is divided into is 5155.88,999*0.75*6.8814=5155.88, China
The premium that People's Insurance Agency is divided into is 1718.62,999*0.25*6.8814=1718.62, China Ping'an Insurance company
The premium summation being divided into People's Insurance Company of China, namely practical premium are 6874.50,5155.88+1718.62=
6874.50, described 6874.51 be financial data, and described 6874.50 be business datum, and 6874.51 and 6874.50 there are 0.01
Error, it is seen that business premium data and financial premium data are inconsistent.
Therefore, finding a kind of business datum and financial data method of calibration becomes asking for those skilled in the art's urgent need to resolve
Topic.
Summary of the invention
The embodiment of the present invention provides a kind of business datum and financial data method of calibration, device, computer equipment and storage
Medium, it is inconsistent between data and data to solve the problems, such as.
A kind of business datum and financial data method of calibration, comprising:
It receives client and actually pays premium what the charge port of client was paid;
Obtain current foreign exchange rate of the currency type for actually paying premium relative to target currency type;
Premium, the current foreign exchange rate and preset first calculation method are actually paid according to described, calculates conversion
Premium is paid, the currency type for paying premium of converting is the target currency type;
Premium, the current foreign exchange rate, predetermined each accounting and preset of accepting insurance actually are paid according to described
Second calculation method calculates each conversion income premium, each currency type for taking in premium of convert into the target currency type,
Each accounting of accepting insurance and be 1;
The position the N decimal converted after paying the decimal point of premium is retained, obtains first amount of money as business
Data;
Premium is taken in for each conversion, the position the N decimal after the decimal point of conversion income premium is retained, is obtained
Second amount of money, wherein N is greater than zero;
After obtaining the second all amount of money, the sum of each second amount of money is determined as financial data;
When the business datum and the financial data are inconsistent, premium is paid into the conversion and is determined as after calculating
Business datum, and the business datum after the accounting is saved in service database, by each conversion income premium it
Between sum be determined as the financial data after calculating, and the financial data after the accounting is saved in financial database;
Alternatively, when the business datum and the financial data it is inconsistent when, to it is described conversion pay premium decimal point it
The position N+1 decimal afterwards carries out the processing that rounds up, and obtains the third amount of money, and the third amount of money is determined as the business number after calculating
According to, and the business datum after the accounting is saved in service database, premium is taken in for each conversion, to the conversion
The position N+1 decimal after the decimal point of income premium carries out the processing that rounds up, and obtains the 4th amount of money, is obtaining all the 4th
After the amount of money, the sum of each 4th amount of money is determined as the financial data after calculating, and the financial data after the accounting is protected
It is stored in financial database.
A kind of business datum and financial data calibration equipment, comprising:
Receiving module actually pays premium what the charge port of client was paid for receiving client;
First obtains module, converges for obtaining the currency type for actually paying premium relative to the current foreign exchange of target currency type
Rate;
First computing module, by actually paying premium, based on the current foreign exchange rate and preset first according to described
Calculation method calculates conversion and pays premium, and the currency type for paying premium of converting is the target currency type;
Second computing module, for according to the premium, the current foreign exchange rate, predetermined each actually paid
Accounting of accepting insurance and preset second calculation method calculate each conversion income premium, the coin of each conversion income premium
Kind be the target currency type, each accounting of accepting insurance and be 1;
First reservation module, the position the N decimal after decimal point for paying the conversion premium retain, obtain
First amount of money is as business datum;
Second reservation module, for taking in premium for each conversion, to the position N after the decimal point of conversion income premium
Decimal is retained, and second amount of money is obtained, wherein N is greater than zero;
First determining module, for after obtaining the second all amount of money, the sum of each second amount of money to be determined as wealth
Business data;
Second determining module, for when the business datum and the financial data are inconsistent, the conversion to be paid
Premium is determined as the business datum after calculating, and the business datum after the accounting is saved in service database, will be described
Sum between each conversion income premium is determined as the financial data after calculating, and the financial data after the accounting is saved in
In financial database;
Alternatively, paying premium decimal to the conversion for when the business datum and the financial data are inconsistent
The position N+1 decimal after point carries out the processing that rounds up, and obtains the third amount of money, and the third amount of money is determined as the industry after calculating
Business data, and the business datum after the accounting is saved in service database, premium is taken in for each conversion, to described
Conversion income premium decimal point after the position N+1 decimal carry out the processing that rounds up, obtain the 4th amount of money, obtain it is all
After 4th amount of money, the sum of each 4th amount of money is determined as the financial data after calculating, and by the financial number after the accounting
According to being saved in financial database.
A kind of computer equipment, including memory, processor and storage are in the memory and can be in the processing
The computer program run on device, the processor realize above-mentioned business datum and financial data when executing the computer program
The step of method of calibration.
A kind of computer readable storage medium, the computer-readable recording medium storage have computer program, the meter
Calculation machine program realizes the step of above-mentioned business datum and financial data method of calibration when being executed by processor.
Above-mentioned business datum and financial data method of calibration, device, computer equipment and storage medium, because of target currency type
Conversion to pay each conversion income premium of premium and target currency type be all actually paying according to the identical currency type received
Receiving premium, the identical current foreign exchange rate that gets and identical calculation method determines and to obtain, and it is each accept insurance accounting it
Between and be 1, so the sum between each conversion income premium pays premium equal to conversion, when business datum and financial data not
When consistent, which is that the position the N decimal converted after paying the decimal point of premium is retained to obtain, the finance number
According to the sum between the data retained for the position the N decimal after each conversion income premium, it is true that premium is paid into conversion
The business datum being set to after calculating, and the business datum after the accounting is saved in service database, and by the wealth after accounting
Business data are saved in financial database, alternatively, the position the N+1 decimal after paying conversion premium decimal point rounds up
Processing, obtains the third amount of money, which is determined as the business datum after calculating, and the business datum after accounting is saved
Into service database, premium is taken in for each conversion, taking in the conversion will be small in the position N+1 of second amount of money in premium
Number carries out the processing that rounds up, and obtains the 4th amount of money, the sum of each 4th amount of money is determined as the financial data after calculating, and will
Financial data after accounting is saved in financial database, so that the business datum after the accounting in service database and finance
The financial data after accounting in database is consistent, so as to guarantee to be consistent between business datum and financial data.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention
Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention
Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings
Obtain other attached drawings.
Fig. 1 is an application environment schematic diagram of business datum and financial data method of calibration in one embodiment of the invention;
Fig. 2 is a flow chart of business datum and financial data method of calibration in one embodiment of the invention;
Fig. 3 be calculated in business datum and financial data method of calibration in one embodiment of the invention conversion pay premium and
Calculate a flow chart of each conversion income premium;
Fig. 4 is a flow chart of business datum and step S20 in financial data method of calibration in one embodiment of the invention;
Fig. 5 is to determine each accounting of accepting insurance in business datum and financial data method of calibration in one embodiment of the invention
One flow chart;
Fig. 6 is a schematic diagram of business datum and financial data calibration equipment in one embodiment of the invention;
Fig. 7 is a schematic diagram of computer equipment in one embodiment of the invention.
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, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
Business datum provided by the present application and financial data method of calibration, can be applicable in the application environment such as Fig. 1,
In, client is communicated by network with server.Wherein, client can be, but not limited to various personal computers, notes
This computer, smart phone, tablet computer and portable wearable device.Server can be either multiple with independent server
The server cluster of server composition is realized.
In one embodiment, as shown in Fig. 2, providing a kind of business datum and financial data method of calibration, the business datum
It is applied in financial industry with financial data method of calibration, applies be illustrated for the server in Fig. 1 in this way, wrapped
Include following steps:
S10, reception client actually pay premium what the charge port of client was paid;
Specifically, special charge port is set in client first, client can pay in the charge port set
Premium is actually paid, what then server-side reception had been paid actually pays premium.If client is smart phone, port of charging
Logical for one account of application program safety, actually paying premium is 100 dollars, then server-side receives client in the application journey of smart phone
Logical 100 dollars paid of one account of sequence safety.It is understood that actually paying premium has the insurance kind being directed to, such as shipping insurance
Or earthquake insurance etc..
It should be noted that client can be for smart phone or tablet computer etc., client, charge port and insurance kind
Particular content can be set, herein with no restrictions according to practical application.
S20, acquisition actually pay current foreign exchange rate of the currency type relative to target currency type of premium;
In the present embodiment, current foreign exchange rate is real-time newest foreign exchange rate.Current foreign exchange rate is stored in first
In specified database, in the state that can be called at any time, the first specified database saves each currency type relative to each in real time
The current foreign exchange rate of target currency type.
It should be noted that the first specified database can be SQL database or oracle database etc., guarantor is actually paid
The currency type taken can be RMB or dollar etc., and target currency type can be RMB or dollar etc., the first specified database, reality
The currency type of premium and the particular content of target currency type are paid, can be set according to practical application, herein with no restrictions.
Specifically, first store path of the current foreign exchange rate in the first specified database is obtained first, then basis
First store path extracts the current foreign exchange rate, and the currency type for such as actually paying premium is dollar, and target currency type is RMB,
First specified database is MySQL database, which is 6.9181, the first storage in MySQL database
Path be " C: Program Files MySQL MySQL Server 5.0 data ", then obtain first 6.9181 in MySQL
In database " C: Program Files MySQL MySQL Server 5.0 data ", then according to " C: Program
Files MySQL MySQL Server 5.0 data " extract 6.9181.
S30, according to premium, current foreign exchange rate and preset first calculation method is actually paid, calculate conversion and pay
Premium;
In the present embodiment, preset first calculation method is the first calculation method pre-set.Guarantor is paid in conversion
The currency type taken is target currency type, such as RMB.
Specifically, according to received in step S10 actually pay premium, the current foreign exchange got in step S20 converges
Rate and preset first calculation method, calculate conversion and pay premium, and such as actually paying premium is 999 dollars, change and pay premium
Currency type be RMB, current foreign exchange rate is 6.8814, and preset first calculation method is that will actually pay premium and current
Foreign exchange rate substitutes into following formula:
W=x*r
Wherein, w is that premium is paid in conversion, and x is actually to pay premium, and r is current foreign exchange rate, then changes and pay by calculating
Premium is 6874.5186 RMB.
It should be noted that the particular content of default first calculation method, can be set, herein according to practical application
With no restrictions.
S40, according to actually paying premium, current foreign exchange rate, predetermined each accept insurance accounting and preset second
Calculation method calculates each conversion income premium;
In the present embodiment, predetermined each accounting of accepting insurance is to predefine each the accepting insurance for the company that accepts insurance to account for
Than the company that such as accepts insurance is China Ping'an Insurance company and People's Insurance Company of China, the accounting of accepting insurance of China Ping'an Insurance company
ForThe accounting of accepting insurance of People's Insurance Company of China isThe accounting of accepting insurance of each company that accepts insurance can first pass through reality in advance simultaneously
The declaration form that premium is directed to is paid to extract to obtain.
It is understood that it is each convert income premium currency type into target currency type, such as dollar, the sum of each accounting of accepting insurance
Be 1, such as one accept insurance accounting be 75%, another accounting of accepting insurance be 15%, 75% and 15% and be 1.
It should be noted that there are corresponding relationships with conversion income premium for accounting of accepting insurance.
Specifically, according to received in step S10 actually pay premium, the current foreign exchange got in step S20 converges
Rate, predetermined each accept insurance accounting and preset second calculation method calculate each conversion income premium, such as actually pay
Premium of receiving is 999 dollars, converts the currency type of income premium as RMB, current foreign exchange rate is 6.8814, an accounting of accepting insurance
ForAnother accounting isPreset second calculation method is that will actually pay premium and the substitution of current foreign exchange rate or less
Formula:
wi=x*r*zi
Wherein, wiPremium is taken in for the corresponding conversion of i-th of accounting of accepting insurance, x is actually to pay premium, and r is current foreign exchange
The exchange rate, ziFor i-th of accounting of accepting insurance in each accounting of accepting insurance, then income premium is converted as 5155.88895 people by calculating one
People's coin, another converts income premium as 1031.17779 RMB.
It should be noted that the particular content of default second calculation method, can be set, herein according to practical application
With no restrictions.
S50, the position the N decimal paid conversion after the decimal point of premium retain, and obtain first amount of money as business
Data;
In the present embodiment, business datum is without counting for present on business by financial accounting or processing
According to 1000 yuan of premium paid such as client, the digit that the data of the fractional part of premium are paid in conversion be to convert to pay premium
The quantity of the position of the data of fractional part pays premium as converted as 5155.88895 RMB, then 5155.88895 RMB
Fractional part data digit be 5.
Specifically, the digit for converting the data for the fractional part for paying premium, such as 3 are counted first, then judge the position
Whether number is greater than or equal to N, next when the digit is greater than or equal to N, pays premium to conversion calculated in step S30
Decimal point after the position N decimal retained, obtain first amount of money, and first amount of money is determined as business datum, such as turn
Changing and paying premium is 6874.5186 RMB, and N 2 then retains 2 decimals after 6874.5186 decimal point,
6874.51 RMB are obtained, and are determined as business datum for 6874.51, when the digit is less than N, determine the N and the digit
Difference, such as 2, the tail portion supplement difference zero of the fractional part of premium is then paid in conversion, the conversion after being supplemented is paid
It receives premium, next, pays the conversion after the supplement position the N decimal after the decimal point of premium and retain, obtain
One amount of money, and first amount of money is determined as business datum, premium is paid as converted as 6874.5186 RMB, it is clear that
The digit of the data of 6874.5186 fractional part is 4, N 6, it is determined that the difference 2 for going out 6 and 4, then 6874.5186
Tail portion supplements 2 zero, obtains 6874.518600, next, carries out to 6 decimals after 6874.518600 decimal point
Retain, obtains 6874.518600, and be determined as business datum for 6874.518600.
It should be noted that N is the positive integer greater than zero, the particular content of N can be set according to practical application,
Herein with no restrictions.
S60, premium is taken in for each conversion, the position the N decimal after the decimal point of conversion income premium is retained,
Obtain second amount of money;
Specifically, take in premium for each conversion calculated in step S40, to the decimal point of conversion income premium it
The position N decimal afterwards is retained, and second amount of money is obtained, as a conversion calculated in step S40 income premium is
5155.88895 RMB, another converts income premium as 1031.17779 RMB, is 3, then to after 5155.88895
3 decimals retained, obtain 5155.888,3 decimals after 1031.17779 retained, are obtained
1031.177。
S70, after obtaining the second all amount of money, the sum of each second amount of money is determined as financial data;
In the embodiment of the present invention, financial data is the data of the Finance Department of insurance company, as shipping danger premium is
999.98 yuan.
Specifically, after the second all amount of money is obtained in step S60, the sum of each second amount of money is determined as finance
Data, such as one convert income premium as 5155.88, another, which is converted, takes in premium as 1718.62,5155.88 and 1718.62
The sum of be 6874.5, then be determined as financial data for 6874.5.
Further, the expenses of taxation that should be paid also are deducted in financial data, obtain detaining after-tax financial data, it should be in wealth
The expenses of taxation that should be paid are deducted in business data to submit to revenue department.
S80, judge whether business datum and financial data are consistent, when business datum and financial data are inconsistent, execute
Step S90 keeps business datum constant when business datum is consistent with financial data, keeps financial data constant;
Specifically, whether the financial data that business datum obtained in judgment step S50 and step S70 are determined is consistent,
When the financial data that business datum and step S70 obtained in the step S50 are determined is inconsistent, step S90 is executed, step is worked as
It when business datum obtained in S50 is consistent with the financial data that step S70 is determined, keeps business datum constant, keeps finance
Data are constant.
S90, conversion is paid to the business datum after premium is determined as accounting, and the business datum after the accounting is saved in
In service database, the sum between each conversion income premium is determined as the financial data after calculating, and will be after the accounting
Financial data is saved in financial database, or pays conversion four house five of N+1 position decimal progress after premium decimal point
Enter processing, obtain the third amount of money, the third amount of money is determined as the business datum after calculating, and the business datum after the accounting is protected
Be stored in service database, for each conversion take in premium, to conversion income premium decimal point after N+1 position decimal into
Row rounds up processing, obtains the 4th amount of money, and the sum of each 4th amount of money is determined as the financial data after accounting, and by the core
Financial data after calculation is saved in financial database.
Specifically, premium is paid into conversion calculated in step S30 and is determined as the business datum after calculating, by step
Sum in S40 between calculated each conversion income premium is determined as the financial data after accounting, and by the industry after the accounting
Business data are saved in service database, or pay conversion calculated in step S30 the position N+1 after premium decimal point
Decimal carries out the processing that rounds up, and obtains the third amount of money, the third amount of money is determined as the business datum after calculating, for step
Premium is taken in calculated each conversion in S40, carries out four houses five to the N+1 position decimal after the decimal point of conversion income premium
Enter processing, obtain the 4th amount of money, the sum of each 4th amount of money is determined as the financial data after calculating, and by the wealth after the accounting
Business data are saved in financial database, so that in the financial data and financial database after the accounting in service database
Financial data after accounting is equal, and if premium 6874.5186 is paid in conversion, premium is taken in two conversions in total, and a conversion is received
Enter premium be 5155.88895, another convert take in premium into 1718.62965, N 3, the first MySQL number of service database
According to library, financial database is the second MySQL database, then is determined as the business datum after calculating for 6874.5186, and will
6874.5186 are saved in the first MySQL database, and the sum between 5155.88895 and 1718.62965 is determined as after calculating
Financial data, and the sum between 5155.88895 and 1718.62965 is saved in the second MySQL database;Or it is right
3 decimals after 6874.5186 decimal points carry out the processing that rounds up, and obtain 6874.52,6874.52 are determined as calculating
Business datum afterwards, and 6874.52 are saved in the first MySQL database, to 3 after 5155.88895 decimal point
Decimal carries out the processing that rounds up, and obtains 5155.89, carries out four houses five to 3 decimals after 1718.62965 decimal point
Enter processing, obtain 1718.63, the sum between 5155.89 and 1718.63 is determined as the financial data after calculating, by 5155.89
It is saved in the second MySQL database with the sum between 1718.63, so that 6874.5186 in the first MySQL database etc.
In the second MySQL database between 5155.88895 and 1718.62965 and, or so that in the first MySQL database
6874.52 be equal to the second MySQL database between 5155.89 and 1718.63 and.
Further, when the financial data that business datum and step S70 obtained in the step S50 are determined is inconsistent,
It can also determine the difference amount of money between business datum and financial data, then to the Customer Acquisition difference amount of money, next
The difference amount of money that will acquire is filled up in financial data, the financial data after being filled up, to guarantee business datum and fill out
Financial data after benefit is consistent.
In the corresponding embodiment of Fig. 2, S10 to step S90 through the above steps, because guarantor is paid in the conversion of target currency type
Each conversion income premium of expense and target currency type is all actually paying premium, getting according to the identical currency type received
Identical current foreign exchange rate and identical calculation method determine and obtain, and between each accounting of accepting insurance and be 1, so
Sum between each conversion income premium pays premium equal to conversion, when business datum and financial data are inconsistent, the business
Data are that the position the N decimal converted after paying the decimal point of premium is retained to obtain, which is each conversion
Conversion is paid premium and is determined as after calculating by the sum between data that the position the N decimal after income premium is retained
Business datum, and the business datum after the accounting is saved in service database, and the financial data after accounting is saved in
In financial database, alternatively, paying the position the N+1 decimal after premium decimal point to conversion carries out the processing that rounds up, the is obtained
The third amount of money is determined as the business datum after calculating, and the business datum after accounting is saved in business datum by three amount of money
In library, premium is taken in for each conversion, four houses will be carried out in the N+1 position decimal of second amount of money in conversion income premium
Five enter processing, obtain the 4th amount of money, the sum of each 4th amount of money are determined as the financial data after calculating, and by the wealth after accounting
Business data are saved in financial database, so that in the business datum and financial database after the accounting in service database
Financial data after accounting is consistent, so as to guarantee to be consistent between business datum and financial data.
In one embodiment, the business datum and financial data method of calibration are applied in financial industry, are schemed as shown in Figure 3
Conversion is calculated in 2 corresponding embodiments in a kind of business datum and financial data method of calibration to pay premium and calculate each turn
Flow chart of the income premium under an application scenarios is changed, is specifically comprised the following steps:
S301, the target exchange commission rate for obtaining preset appointed bank;
In the present embodiment, preset appointed bank can be Bank of China or the Industrial and Commercial Bank of China, target foreign currency exchange
Formality rate is actually to pay the currency type of premium to convert to the current exchange commission rate of target currency type, such as Bank of China
Target exchange commission rate is 1.5%.The target exchange commission rate of preset appointed bank is stored in rate number
According in library, in the state that can be called at any time, which stores the target exchange commission of all banks
Rate, if the target exchange commission rate of Pudong Development Bank is 2%, the target exchange commission rate of Bank of Communications is
1.75%.
Specifically, of the target exchange commission rate of preset appointed bank in tariff data library is obtained first
Then two store paths extract the target exchange commission rate of the preset appointed bank according to second store path,
Such as, preset appointed bank is Bank of China, and the target exchange commission rate 1.5% of Bank of China, tariff data library is
MySQL database, first store path of the target exchange commission rate of Bank of China in MySQL database be " C:
ProgramFiles MySQL MySQL Server 5.0 data rate ", then obtain first 1.5% in MySQL database
In " C: Program Files MySQL MySQL Server 5.0 data rate ", then according to " C: Program
Files MySQL MySQL Server 5.0 data rate " extract 1.5%.
It should be noted that tariff data library can be SQL database or oracle database etc., tariff data library
Particular content can be set, herein with no restrictions according to practical application.
S302, according to premium, current foreign exchange rate and preset first calculation method is actually paid, calculate conversion and pay
Premium specifically: will actually pay premium, the current foreign exchange rate and target exchange commission rate substitute into preset the
One formula obtains conversion and pays premium;
Specifically, according to received in step S10 actually pay premium, the current foreign exchange got in step S20 converges
Rate and preset first calculation method, calculate conversion and pay premium specifically: actually pay guarantor for what is received in step S10
The current foreign exchange rate and target exchange commission rate got in expense, step S20 substitutes into preset first formula, obtains
Premium is paid in conversion, and preset first formula is specific as follows:
W=x*r* (1-y)
Wherein, w is that premium is paid in conversion, and x is actually to pay premium, and r is current foreign exchange rate, and y is target foreign currency exchange
Formality rate, such as actually paying premium is 999 dollars, converts the currency type for paying premium as RMB, current foreign exchange rate is
6.8814, target exchange commission rate is the exchange commission rate of Bank of China, the foreign currency exchange hand of Bank of China
Renewal rate is 1.5%, then substitutes into above-mentioned first formula for 999,6.8814 and 1.5%, obtain conversion and pay premium be
6771.400821。
It should be noted that the particular content of preset first formula, can be set, herein not according to practical application
It is limited.
S303, according to actually paying premium, current foreign exchange rate, predetermined each accept insurance accounting and preset second
Calculation method calculates each conversion income premium specifically: will actually pay premium, current foreign exchange rate, predetermined
Each accept insurance accounting and preset second formula of target exchange commission rate substitution, obtain each conversion income premium;
Specifically, according to received in step S10 actually pay premium, the current foreign exchange got in step S20 converges
Rate, predetermined each accept insurance accounting and preset second calculation method calculate each conversion income premium specifically: will
What is received in step S10 actually pays premium, the current foreign exchange rate got in step S20, predetermined each holds
It protects accounting and target exchange commission rate and substitutes into preset second formula, obtain each conversion and take in premium, preset the
Two formula are specific as follows:
wi=x*r*zi*(1-y)
Wherein, wiPremium is taken in for the corresponding conversion of i-th of accounting of accepting insurance in each accounting of accepting insurance, x is actually to pay guarantor
Take, r is current foreign exchange rate, and y is target exchange commission rate, ziFor i-th of accounting of accepting insurance in each accounting of accepting insurance, such as
Actually paying premium is 999 dollars, converts the currency type for paying premium as RMB, and current foreign exchange rate is 6.8814, outside target
The hand-off renewal rate of exchange is the exchange commission rate of Bank of China, and the exchange commission rate of Bank of China is 1.5%,
Above-mentioned first formula then is substituted by 999,6.8814 and 1.5%, a predetermined accounting of accepting insurance isAnother, which is accepted insurance, accounts for
Than forThen by 999,6.8814,1.5% andAbove-mentioned second formula is substituted into, obtains 5078.55061575, or by 999,
6.8814,1.5% andAbove-mentioned second formula is substituted into, obtains 1015.71012315.
It should be noted that the particular content of preset second formula, can be set, herein not according to practical application
It is limited.
In the corresponding embodiment of Fig. 3, by obtaining the target exchange commission rate of preset appointed bank, then
It according to premium, current foreign exchange rate and preset first calculation method is actually paid, calculates conversion and pays premium specifically: will
It actually pays premium, current foreign exchange rate and target exchange commission rate and substitutes into preset first formula, obtain conversion and pay
Premium is received, according to actually paying premium, current foreign exchange rate, predetermined each accounting and preset second calculating side of accepting insurance
Method calculates each conversion income premium specifically: will actually pay premium, current foreign exchange rate, predetermined each holds
It protects accounting and target exchange commission rate substitutes into preset second formula, each conversion income premium is obtained, because of target
Exchange commission rate is actually to pay the currency type of premium to convert to the current accurate exchange commission of target currency type
Rate, so substituting into preset first public affairs by will actually pay premium, current foreign exchange rate and target exchange commission rate
Formula obtains current accurate conversion and pays premium, while will actually pay premium, current foreign exchange rate, predetermined each
A accept insurance accounting and preset second formula of target exchange commission rate substitution, obtain current accurate each conversion and receive
Enter premium, therefore improves the timeliness and accuracy for obtaining premium.
In one embodiment, the business datum and financial data method of calibration are applied in financial industry, are schemed as shown in Figure 4
Flow chart of the step S20 under an application scenarios in a kind of business datum and financial data method of calibration in 2 corresponding embodiments,
Specifically comprise the following steps:
S201, the first specified database of connection;
In the present embodiment, each current goal between any two kinds different currency is stored in the first specified database
Foreign exchange rate is 6.9233 relative to the current foreign exchange rate of RMB in the state that can be called at any time, such as dollar, Euro
Current foreign exchange rate relative to RMB is 8.0046.
Specifically, the first specified database is connected using preset sql command, if source database is MySQL database,
The IP of MySQL database are as follows: 172.16.0.220, the entitled root of user, password are that abcd123 then uses MySQL-
The order connection MySQL database of h172.16.0.220-u root-p 123.
It should be noted that the first specified database can be MySQL database or orable database etc., first is specified
The particular content of database can be set, herein with no restrictions according to practical application.
S202, acquisition actually pay the currency type of premium;
Specifically, which is determined as this and practical paid by the unit for actually paying premium received in obtaining step S10
It receives the currency type of premium, if the premium of actually paying received in step S10 is 100 dollars, then dollar is determined as this and practical paid
Receive the currency type of premium.
S203, the currency type for actually paying premium in each current goal foreign exchange rate is extracted in the first specified database
Current foreign exchange rate relative to target currency type.
Specifically, the current foreign exchange rate for actually paying the currency type of premium relative to target currency type is obtained first to refer to first
Determine the third store path in database, then according to the third store path extract the practical currency type for paying premium relative to
The current foreign exchange rate of target currency type is extracted in each current goal foreign exchange rate of the second specified database and actually pays guarantor
Current foreign exchange rate of the currency type taken relative to target currency type.
In the corresponding embodiment of Fig. 4, S201 to step S203 through the above steps, because being deposited in the first specified database
Each current newest target foreign exchange rate between any two kinds different currency is stored up, so being successfully connected the first specified number
According to library, and after obtaining and actually paying the currency type of premium, next can successfully be extracted each work as in the first specified database
Current foreign exchange rate of the currency type for actually paying premium relative to target currency type in preceding target foreign exchange rate ensure that current outer
The exchange rate of converging is newest.
In one embodiment, the business datum and financial data method of calibration are applied in financial industry, are schemed as shown in Figure 5
Determine each accounting of accepting insurance in an application scenarios in a kind of business datum and financial data method of calibration in 2 corresponding embodiments
Under flow chart, specifically comprise the following steps:
S401, target declaration form is obtained from the second specified database;
In the present embodiment, target declaration form is the declaration form actually paying premium and being directed to that client pays, target declaration form record
Each accounting of accepting insurance of each company that accepts insurance, such asWithSecond specified database dedicated for store target declaration form,
In the state that can be called at any time.
Specifically, obtain fourth store path of the target declaration form in the second specified database first, then according to this
Four store paths extract the target declaration form, and such as the second specified database is MySQL database, the target foreign currency exchange of Bank of China
First store path of the formality rate in MySQL database is " C: Program Files MySQL MySQL Server
5.0 data warranty ", then first obtain target declaration form in MySQL database " C: Program Files MySQL
MySQL Server5.0 data warranty ", then according to " C: Program Files MySQL MySQL
Server5.0 data warranty " extract the target declaration form.
S402, each accounting of accepting insurance is extracted from target declaration form.
Specifically, the accounting of accepting insurance of each company that accepts insurance is extracted from the target declaration form got in step S401, such as
The accounting of accepting insurance of China Ping'an Insurance company isThe accounting of accepting insurance of People's Insurance Company of China isOr Chinese safety is protected
The accounting of accepting insurance of dangerous company isThe accounting of accepting insurance of People's Insurance Company of China isAnd China Pacific Insurance Co.
Accounting of accepting insurance is
In the corresponding embodiment of Fig. 5, by obtaining target declaration form from the second specified database, target declaration form is client
The declaration form actually paying premium and being directed to paid, target declaration form has recorded each accounting of accepting insurance of each company that accepts insurance, because of mesh
Mark declaration form is the declaration form actually paying premium and being directed to that client pays, and target declaration form has recorded each each of the company that accepts insurance and accepts insurance
Accounting, target declaration form are the files for having legal effect, so each each of the company that accepts insurance recorded in target declaration form accepts insurance
Accounting is that have the accounting of correctly accepting insurance of legal effect, therefore can guarantee to extract each accounting of accepting insurance from target declaration form
It is correct.
Further, in one embodiment, the business datum and financial data method of calibration are applied in financial industry,
And after the financial data after accounting is saved in financial database, which also wraps with financial data method of calibration
It includes:
Premium, and/or the output third amount of money and each 4th gold medal are taken in S801, the new amount of money summation of output and each conversion
Volume.
Specifically, server-side exports new amount of money summation and premium is taken in each conversion, and/or the output third amount of money with respectively
A 4th amount of money, and the display interface for being sent to client is shown, so that each company of accepting insurance can see the number after verification
According to, such as new amount of money summation be 6874.5186, one convert income premium be 5155.88895, another convert takes in premium
It is 1718.62965, the third amount of money is 6874.52, and the 4th amount of money is 5155.89, another the 4th amount of money 1718.63, then
Server-side output 6874.5186,5155.88895 and 1718.62965 and/or server-side output 6874.52,5155.89,
And 1718.63, and the display interface for being sent to client is shown, to improve the readability of the data after verification.
Further, correcting declaration form is the declaration form file to come into force of not affixing one's seal also, original target declaration form is abolished, according to accounting
Financial data afterwards, which regenerates, corrects declaration form, then will correct declaration form and be sent to the first appointing system and sign, and be signed
Declaration form is corrected after name, declaration form is such as corrected and is sent to safety and easily sign system, sign, correct declaration form after being signed, connect
Get off, the declaration form of correcting after signature is sent to the second appointing system progress seal, corrects declaration form after obtaining seal, the seal
Declaration form of correcting afterwards is the declaration form with legal effect, if the declaration form of correcting after signing is sent to image system progress seal, is obtained
Declaration form is corrected after to seal.Signature and seal are carried out to declaration form is corrected by appointing system, manually can not sign and cover
Chapter improves to come into force and corrects the efficiency of declaration form.
It should be noted that the particular content of the first appointing system and the second appointing system can carry out according to actual needs
Setting, herein with no restrictions.
Further, correcting declaration form and can format after the seal of generation, such as will correct declaration form after seal
It zooms in and out or rotates, correct declaration form after the seal after being converted, correcting declaration form and can guarantee after the seal after conversion
It is normally shown in the display interface of client, improves the readability for correcting declaration form.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process
Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit
It is fixed.
In one embodiment, a kind of business datum and financial data calibration equipment, the business datum and financial data are provided
Business datum and financial data method of calibration correspond in calibration equipment and above-described embodiment.As shown in fig. 6, the business datum
It include that receiving module 601, first obtains module 602, the first computing module 603, second calculates mould with financial data calibration equipment
Block 604, the first reservation module 605, the second reservation module 606, the first determining module 607, judgment module 608 and second determine mould
Block 609.Detailed description are as follows for each functional module:
Receiving module 601 actually pays premium what the charge port of client was paid for receiving client;
First obtains module 602, for obtaining current foreign exchange remittance of the currency type for actually paying premium relative to target currency type
Rate;
First computing module 603, for according to actually paying premium, current foreign exchange rate and preset first calculating side
Method calculates conversion and pays premium, converts the currency type for paying premium as target currency type;
Second computing module 604, for according to actually paying premium, current foreign exchange rate, predetermined each accept insurance
Accounting and preset second calculation method calculate each conversion income premium, and each currency type for converting income premium is target
Currency type, each accounting of accepting insurance and be 1;
First reservation module 605, the position the N decimal after decimal point for paying conversion premium retain, obtain
First amount of money is as business datum;
Second reservation module 606, for taking in premium for each conversion, after the decimal point of conversion income premium
N decimals are retained, and second amount of money is obtained, wherein N is greater than zero;
First determining module 607, for after obtaining the second all amount of money, the sum of each second amount of money to be determined as
Financial data;
Judgment module 608, for judging whether business datum consistent with financial data, when business datum and financial data not
When consistent, the second determining module 609 is triggered, when business datum is consistent with financial data, triggering keeps module 610;
Second determining module 609, for premium being paid in conversion and is determined as when business datum and financial data being inconsistent
Business datum after accounting, and the business datum after the accounting is saved in service database, each conversion is received
Enter the sum between premium and be determined as the financial data after calculating, and the financial data after the accounting is saved in financial database
In;
Alternatively, paying conversion the position the N+1 decimal after premium decimal point when business datum and financial data are inconsistent
The processing that rounds up is carried out, the third amount of money is obtained, the third amount of money is determined as the business datum after calculating, and by the industry after accounting
Business data are saved in service database, take in premium for each conversion, to the N+1 after the decimal point of conversion income premium
Position decimal carry out the processing that rounds up, obtain the 4th amount of money, after obtaining the 4th all amount of money, by each 4th amount of money it
Be determined as the financial data after calculating, and the financial data after accounting is saved in financial database;
Triggering keeps module 610, for keeping business datum constant, keeps financial data constant.
Further, business datum and financial data calibration equipment further include:
Second obtains module 611, for obtaining the target exchange commission rate of preset appointed bank, target foreign exchange
Exchange procedure rate is actually to pay the currency type of premium to convert to the exchange commission rate of target currency type;
First computing module 603 specifically: third computing module 612, for will actually pay premium, the current foreign exchange
The exchange rate and target exchange commission rate substitute into preset first formula, obtain conversion and pay premium;
Preset first formula are as follows:
W=x*r* (1-y)
Wherein, w is that premium is paid in conversion, and x is actually to pay premium, and r is current foreign exchange rate, and y is target foreign currency exchange
Formality rate;
Second computing module 604 specifically: the 4th computing module 613, for will actually pay premium, current foreign exchange converges
Rate, predetermined each accept insurance accounting and preset second formula of target exchange commission rate substitution, obtain each turn
Change income premium;
Preset second formula are as follows:
wi=x*r*zi*(1-y)
Wherein, wiPremium is taken in for the corresponding conversion of i-th of accounting of accepting insurance in each accounting of accepting insurance, x is actually to pay guarantor
Take, r is current foreign exchange rate, and y is target exchange commission rate, ziFor i-th of accounting of accepting insurance in each accounting of accepting insurance.
Further, the first acquisition module 602 includes:
Submodule 6021 is connected, for connecting the first specified database, stores any two kinds of differences in specified database
Each current goal foreign exchange rate between currency;
Submodule 6022 is obtained, for obtaining the currency type for actually paying premium;
Extracting sub-module 6023, for extracting the reality in each current goal foreign exchange rate in the first specified database
Pay current foreign exchange rate of the currency type relative to target currency type of premium.
Further, business datum and financial data calibration equipment further include:
Third obtains module 614, and for obtaining target declaration form from the second specified database, target declaration form is paid for client
The declaration form actually paying premium and being directed to, target declaration form has recorded each accounting of accepting insurance of each company that accepts insurance;
Module 615 is refined, for extracting each accounting of accepting insurance from target declaration form.
Further, business datum and financial data calibration equipment further include:
Output module 616, for exporting each conversion income premium and the financial data after the accounting in financial database;
And/or
Export the third amount of money and each 4th amount of money.
Specific restriction about business datum and financial data calibration equipment may refer to above for business datum and
The restriction of financial data method of calibration, details are not described herein.Each mould in above-mentioned business datum and financial data calibration equipment
Block can be realized fully or partially through software, hardware and combinations thereof.Above-mentioned each module can be embedded in the form of hardware or independence
In processor in computer equipment, it can also be stored in a software form in the memory in computer equipment, in order to
Processor, which calls, executes the corresponding operation of the above modules.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction
Composition can be as shown in Figure 7.The computer equipment include by system bus connect processor, memory, network interface and
Database.Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory packet of the computer equipment
Include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program and data
Library.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating
The data that the database of machine equipment is related to for storage service data and financial data method of calibration.The net of the computer equipment
Network interface is used to communicate with external terminal by network connection.To realize a kind of industry when the computer program is executed by processor
Data of being engaged in and financial data method of calibration.
In one embodiment, a kind of computer equipment is provided, including memory, processor and storage are on a memory
And the computer program that can be run on a processor, processor execute computer program when realize above-described embodiment business datum with
The step of financial data method of calibration, such as step S10 shown in Fig. 2 to step S90.Alternatively, processor executes computer journey
The function of each module/unit of business datum and financial data calibration equipment in above-described embodiment is realized when sequence, such as shown in Fig. 6
The function of 601 to the second determining module 609 of receiving module.To avoid repeating, which is not described herein again.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated
Business datum and financial data method of calibration in above method embodiment are realized when machine program is executed by processor, alternatively, the meter
Realized when calculation machine program is executed by processor in above-mentioned apparatus embodiment each module in business datum and financial data calibration equipment/
The function of unit.To avoid repeating, which is not described herein again.Those of ordinary skill in the art will appreciate that realizing above-described embodiment side
All or part of the process in method is relevant hardware can be instructed to complete by computer program, the computer
Program can be stored in a non-volatile computer read/write memory medium, and the computer program is when being executed, it may include as above
State the process of the embodiment of each method.Wherein, to memory, storage, number used in each embodiment provided herein
According to any reference of library or other media, non-volatile and/or volatile memory may each comprise.Nonvolatile memory can wrap
Include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM
(EEPROM) or flash memory.Volatile memory may include random access memory (RAM) or external cache.Make
To illustrate rather than limit to, RAM is available in many forms, such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram
(SDRAM), double data rate sdram (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronization link (Synchlink) DRAM
(SLDRAM), memory bus (Rambus) directly RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and
Memory bus dynamic ram (RDRAM) etc..
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function
Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing
The all or part of function of description.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality
Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all
It is included within protection scope of the present invention.
Claims (10)
1. a kind of business datum and financial data method of calibration, which is characterized in that the business datum and financial data verification side
Method includes:
It receives client and actually pays premium what the charge port of client was paid;
Obtain current foreign exchange rate of the currency type for actually paying premium relative to target currency type;
Premium, the current foreign exchange rate and preset first calculation method are actually paid according to described, conversion is calculated and pays
Premium, the currency type for paying premium of converting is the target currency type;
Premium, the current foreign exchange rate, predetermined each accept insurance accounting and preset second are actually paid according to described
Calculation method, calculates each conversion income premium, and each currency type for converting income premium is described into the target currency type
Each accounting of accepting insurance and be 1;
The position the N decimal converted after paying the decimal point of premium is retained, obtains first amount of money as business datum;
Premium is taken in for each conversion, the position the N decimal after the decimal point of conversion income premium is retained, obtains second
The amount of money, wherein N is greater than zero;
After obtaining the second all amount of money, the sum of each second amount of money is determined as financial data;
When the business datum and the financial data are inconsistent, premium is paid into the conversion and is determined as the business after calculating
Data, and the business datum after the accounting is saved in service database, it will be between each conversion income premium
Be determined as the financial data after calculating, and the financial data after the accounting is saved in financial database;
Alternatively, paying the conversion N after premium decimal point when the business datum and the financial data are inconsistent
+ 1 decimal carries out the processing that rounds up, and obtains the third amount of money, and the third amount of money is determined as the business datum after calculating, and
Business datum after the accounting is saved in service database, premium is taken in for each conversion, the conversion is taken in
The position N+1 decimal after the decimal point of premium carries out the processing that rounds up, and obtains the 4th amount of money, is obtaining the 4th all amount of money
Later, the sum of each 4th amount of money is determined as the financial data after calculating, and the financial data after the accounting is saved in
In financial database.
2. business datum as described in claim 1 and financial data method of calibration, which is characterized in that accounting and the institute of accepting insurance
Conversion income premium is stated there are corresponding relationship, actually pays premium, the current foreign exchange rate and default according to described described
The first calculation method, calculate before conversion pays premium, the business datum and financial data method of calibration further include:
The target exchange commission rate of preset appointed bank is obtained, the target exchange commission rate is the reality
The currency type that premium is paid on border converts to the exchange commission rate of the target currency type;
Premium, the current foreign exchange rate and preset first calculation method are actually paid according to described, conversion is calculated and pays
Premium specifically: substitute into premium, the current foreign exchange rate and the target exchange commission rate actually paid
Preset first formula obtains the conversion and pays premium;
Preset first formula are as follows:
W=x*r* (1-y)
Wherein, w is that premium is paid in the conversion, and x actually pays premium to be described, and r is the current foreign exchange rate, and y is described
Target exchange commission rate;
Premium, the current foreign exchange rate, predetermined each accept insurance accounting and preset second are actually paid according to described
Calculation method calculates each conversion income premium specifically: by the premium, the current foreign exchange rate, pre- actually paid
Each accept insurance accounting and preset second formula of target exchange commission rate substitution first determined, obtains described each
Conversion income premium;
Preset second formula are as follows:
wi=x*r*zi*(1-y)
Wherein, wiPremium is taken in for the corresponding conversion of i-th of accounting of accepting insurance in each accounting of accepting insurance, x actually pays guarantor to be described
Take, r is the current foreign exchange rate, and y is the target exchange commission rate, ziIt is held for i-th in each accounting of accepting insurance
Protect accounting.
3. business datum as described in claim 1 and financial data method of calibration, which is characterized in that described to obtain the reality
The currency type for paying premium includes: relative to the current foreign exchange rate of the target currency type
The first specified database is connected, store between any two kinds different currency in first specified database each works as
Preceding target foreign exchange rate;
Obtain the currency type for actually paying premium;
That extracts in each current goal foreign exchange rate in first specified database described actually pays premium
Current foreign exchange rate of the currency type relative to the target currency type.
4. business datum as described in claim 1 and financial data method of calibration, which is characterized in that each accounting of accepting insurance
It is predefined and is obtained by following steps:
Target declaration form is obtained from the second specified database, the target declaration form actually pays premium needle for what the client paid
Pair insurance kind declaration form, the target declaration form has recorded each accounting of accepting insurance of each company that accepts insurance;
Each accounting of accepting insurance is extracted from the target declaration form.
5. business datum according to any one of claims 1 to 4 and financial data method of calibration, which is characterized in that in institute
After stating and the financial data after the accounting being saved in financial database, the business datum and financial data verification side
Method further include:
Financial data after exporting the accounting in each conversion income premium and the financial database;
And/or
Export the third amount of money and each 4th amount of money.
6. a kind of business datum and financial data calibration equipment, which is characterized in that the business datum and financial data verification fill
It sets and includes:
Receiving module actually pays premium what the charge port of client was paid for receiving client;
First obtains module, for obtaining current foreign exchange rate of the currency type for actually paying premium relative to target currency type;
First computing module, for actually paying premium, the current foreign exchange rate and preset first calculating side according to described
Method calculates conversion and pays premium, and the currency type for paying premium of converting is the target currency type;
Second computing module, for actually paying premium according to described, the current foreign exchange rate, predetermined each accepting insurance
Accounting and preset second calculation method, calculate each conversion income premium, and the currency type of each conversion income premium is
The target currency type, each accounting of accepting insurance and be 1;
First reservation module, the position the N decimal after decimal point for paying the conversion premium retain, and obtain first
The amount of money is as business datum;
Second reservation module, for taking in premium for each conversion, to the position the N decimal after the decimal point of conversion income premium
Retained, obtain second amount of money, wherein N is greater than zero;
First determining module, for after obtaining the second all amount of money, the sum of each second amount of money to be determined as financial number
According to;
Second determining module, for when the business datum and the financial data are inconsistent, premium to be paid in the conversion
It is determined as the business datum after calculating, and the business datum after the accounting is saved in service database, it will be described each
Sum between conversion income premium is determined as the financial data after calculating, and the financial data after the accounting is saved in finance
In database;
Alternatively, for when the business datum and the financial data it is inconsistent when, to it is described conversion pay premium decimal point it
The position N+1 decimal afterwards carries out the processing that rounds up, and obtains the third amount of money, and the third amount of money is determined as the business number after calculating
According to, and the business datum after the accounting is saved in service database, premium is taken in for each conversion, to the conversion
The position N+1 decimal after the decimal point of income premium carries out the processing that rounds up, and obtains the 4th amount of money, is obtaining all the 4th
After the amount of money, the sum of each 4th amount of money is determined as the financial data after calculating, and the financial data after the accounting is protected
It is stored in financial database.
7. business datum as claimed in claim 6 and financial data calibration equipment, which is characterized in that accounting and the institute of accepting insurance
Stating conversion income premium, there are corresponding relationship, the business datum and financial data calibration equipments further include:
Second obtains module, for obtaining the target exchange commission rate of preset appointed bank, the outer exchange of the target
Hand-off renewal rate is the exchange commission rate that the currency type for actually paying premium converts to the target currency type;
First computing module specifically: third computing module, for actually paying premium, the current foreign exchange remittance for described
Rate and the target exchange commission rate substitute into preset first formula, obtain the conversion and pay premium;
Preset first formula are as follows:
W=x*r* (1-y)
Wherein, w is that premium is paid in the conversion, and x actually pays premium to be described, and r is the current foreign exchange rate, and y is described
Target exchange commission rate;
Second computing module specifically: the 4th computing module, for actually paying premium, the current foreign exchange remittance for described
Rate, predetermined each accept insurance accounting and preset second formula of target exchange commission rate substitution, obtain institute
State each conversion income premium;
Preset second formula are as follows:
wi=x*r*zi*(1-y)
Wherein, wiPremium is taken in for the corresponding conversion of i-th of accounting of accepting insurance in each accounting of accepting insurance, x actually pays guarantor to be described
Take, r is the current foreign exchange rate, and y is the target exchange commission rate, ziIt is held for i-th in each accounting of accepting insurance
Protect accounting.
8. business datum and financial data calibration equipment as described in any one of claim 6 to 7, which is characterized in that described
First, which obtains module, includes:
Submodule is connected, for connecting the first specified database, any two kinds different currency are stored in the specified database
Between each current goal foreign exchange rate;
First obtains submodule, for obtaining the currency type for actually paying premium;
Second obtains submodule, for obtaining the currency type of the target currency type;
Extracting sub-module, described in being extracted in first specified database in each current goal foreign exchange rate
Actually pay current foreign exchange rate of the currency type of premium relative to the target currency type.
9. a kind of computer equipment, including memory, processor and storage are in the memory and can be in the processor
The computer program of upper operation, which is characterized in that the processor realized when executing the computer program as claim 1 to
The step of business datum described in any one of 5 and financial data method of calibration.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In realization business datum and financial number as described in any one of claims 1 to 5 when the computer program is executed by processor
The step of according to method of calibration.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811227780.8A CN109584083B (en) | 2018-10-22 | 2018-10-22 | Business data and financial data verification method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811227780.8A CN109584083B (en) | 2018-10-22 | 2018-10-22 | Business data and financial data verification method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109584083A true CN109584083A (en) | 2019-04-05 |
CN109584083B CN109584083B (en) | 2023-06-06 |
Family
ID=65920252
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811227780.8A Active CN109584083B (en) | 2018-10-22 | 2018-10-22 | Business data and financial data verification method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109584083B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110458688A (en) * | 2019-07-17 | 2019-11-15 | 阿里巴巴集团控股有限公司 | A kind of method for processing business, device and equipment |
CN110874800A (en) * | 2019-11-08 | 2020-03-10 | 腾讯科技(深圳)有限公司 | Data transfer method and device, electronic equipment and computer readable storage medium |
CN111127217A (en) * | 2019-11-13 | 2020-05-08 | 泰康保险集团股份有限公司 | Policy data processing system, method, device, medium and electronic equipment |
CN113867684A (en) * | 2021-12-03 | 2021-12-31 | 江苏金融租赁股份有限公司 | Balancing difference eliminating submission method and equipment based on supervision submission scene |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6224168B1 (en) * | 2016-05-31 | 2017-11-01 | 株式会社三井住友銀行 | Foreign currency exchange system, method and program |
CN107862613A (en) * | 2017-08-24 | 2018-03-30 | 平安科技(深圳)有限公司 | Premium paying method, premium pay equipment and readable storage medium storing program for executing |
CN108428179A (en) * | 2017-02-16 | 2018-08-21 | 平安科技(深圳)有限公司 | A kind of the declaration form fee payment method and device of enterprise staff |
-
2018
- 2018-10-22 CN CN201811227780.8A patent/CN109584083B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6224168B1 (en) * | 2016-05-31 | 2017-11-01 | 株式会社三井住友銀行 | Foreign currency exchange system, method and program |
CN108428179A (en) * | 2017-02-16 | 2018-08-21 | 平安科技(深圳)有限公司 | A kind of the declaration form fee payment method and device of enterprise staff |
CN107862613A (en) * | 2017-08-24 | 2018-03-30 | 平安科技(深圳)有限公司 | Premium paying method, premium pay equipment and readable storage medium storing program for executing |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110458688A (en) * | 2019-07-17 | 2019-11-15 | 阿里巴巴集团控股有限公司 | A kind of method for processing business, device and equipment |
CN110874800A (en) * | 2019-11-08 | 2020-03-10 | 腾讯科技(深圳)有限公司 | Data transfer method and device, electronic equipment and computer readable storage medium |
CN110874800B (en) * | 2019-11-08 | 2023-10-20 | 腾讯科技(深圳)有限公司 | Data transfer method, device, electronic equipment and computer readable storage medium |
CN111127217A (en) * | 2019-11-13 | 2020-05-08 | 泰康保险集团股份有限公司 | Policy data processing system, method, device, medium and electronic equipment |
CN111127217B (en) * | 2019-11-13 | 2023-05-09 | 泰康保险集团股份有限公司 | Policy data processing system, method, device, medium and electronic equipment |
CN113867684A (en) * | 2021-12-03 | 2021-12-31 | 江苏金融租赁股份有限公司 | Balancing difference eliminating submission method and equipment based on supervision submission scene |
Also Published As
Publication number | Publication date |
---|---|
CN109584083B (en) | 2023-06-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109584083A (en) | Business datum and financial data method of calibration, device, equipment and storage medium | |
US20200279328A1 (en) | Multi-party Financial Services Agreements | |
CN109493201A (en) | Account checking method, device, computer equipment and storage medium | |
CN109472585A (en) | Pay invoice generation method, device, equipment and medium based on data analysis | |
CN107909495A (en) | A kind of account checking method, system, medium, electronic equipment | |
CN110147365A (en) | The checking method of business datum and financial data, device, equipment and medium | |
Maiti et al. | A future triple entry accounting framework using blockchain technology | |
CN109767315A (en) | Business reference confirmation method, device, equipment and storage medium based on block chain | |
CN110111208A (en) | Declaration form data processing method, device, computer equipment and storage medium | |
CN109146148B (en) | Method and device for determining reason of balance prediction deviation | |
CN108765120A (en) | Wages distribution method, device, computer equipment and computer readable storage medium | |
Cao et al. | Designing stable coins | |
CN109903145A (en) | Verification of data method, apparatus, equipment and system | |
WO2014055965A1 (en) | Systems and methods for providing computer-automated adjusting entries | |
CN101877098A (en) | Bank credit and debit service report system and entry generating method thereof | |
Sorensen et al. | Valuing private equity | |
US20210097609A1 (en) | Gain and loss computation for certain types of cryptocurrency transactions | |
Katz et al. | The impact of taxation on the development of the mobile broadband sector | |
CN109272410A (en) | Collaboration backup method, system, computer equipment and the storage medium of product data | |
CN109255696A (en) | A kind of refund data determination method, device, server and computer storage medium | |
CN113793115A (en) | Enterprise fund pool management method, device, equipment and storage medium | |
CN114897590A (en) | Form checking method and device, computer equipment and storage medium | |
CN110349016A (en) | Client's accrediting amount measuring method and system | |
CN110599344A (en) | Foundation transaction data processing method and device based on block chain | |
US20240046370A1 (en) | Supplemental Tax Protocol System and Method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |