CN112231465A - Service data resource separation method and device, computer equipment and storage medium - Google Patents

Service data resource separation method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN112231465A
CN112231465A CN202011123962.8A CN202011123962A CN112231465A CN 112231465 A CN112231465 A CN 112231465A CN 202011123962 A CN202011123962 A CN 202011123962A CN 112231465 A CN112231465 A CN 112231465A
Authority
CN
China
Prior art keywords
service data
resource
subjected
resource separation
separation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011123962.8A
Other languages
Chinese (zh)
Inventor
郑灶贤
赵东生
苏抒慧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Southern Power Grid Digital Grid Research Institute Co Ltd
CSG Finance Co Ltd
Original Assignee
Southern Power Grid Digital Grid Research Institute Co Ltd
CSG Finance 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 Southern Power Grid Digital Grid Research Institute Co Ltd, CSG Finance Co Ltd filed Critical Southern Power Grid Digital Grid Research Institute Co Ltd
Priority to CN202011123962.8A priority Critical patent/CN112231465A/en
Publication of CN112231465A publication Critical patent/CN112231465A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/335Filtering based on additional data, e.g. user or group profiles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/35Clustering; Classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/12Accounting
    • G06Q40/125Finance or payroll

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application relates to a method and a device for separating resources of service data, computer equipment and a storage medium. The method comprises the following steps: generating service data to be subjected to resource separation; verifying the service data to be subjected to resource separation; if the service data to be subjected to resource separation passes verification, acquiring a resource separation instruction corresponding to the service data to be subjected to resource separation; and according to the resource separation instruction, performing resource separation processing on the service data to be subjected to resource separation to obtain a resource separation result of the service data to be subjected to resource separation. By adopting the method, the interaction with a peripheral system where the business data is located is not needed in the whole process, and the resource separation is directly carried out at the business data source, so that the resource separation process is simplified, the resource separation efficiency is improved, and the price and tax separation efficiency in the price and tax separation scene is further improved.

Description

Service data resource separation method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a method and an apparatus for separating resources of service data, a computer device, and a storage medium.
Background
The resource separation, such as price and tax separation, means to separate a data item containing value-added tax into two parts of no tax amount and tax amount, and the implicit tax can be separated from the price of the goods or labor based on the price and tax separation to give an understanding to the manufacturer and consumer who buy the goods or labor.
In the traditional technology, generally, when the operation is finished every day, the value-added tax system collects and receives tax-receivable income data from a peripheral system where the business data are located in a unified manner, and price and tax separation is carried out according to specific business so as to realize resource separation; in the process, the value-added tax system needs to continuously interact with peripheral systems, so that the interaction between the systems is more, and the resource separation efficiency is lower.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a method, an apparatus, a computer device, and a storage medium for separating resources of service data, which can improve the efficiency of separating resources.
A resource separation method of service data is applied to a server, and the method comprises the following steps:
generating service data to be subjected to resource separation;
verifying the service data to be subjected to resource separation;
if the service data to be subjected to resource separation passes verification, acquiring a resource separation instruction corresponding to the service data to be subjected to resource separation;
and according to the resource separation instruction, performing resource separation processing on the service data to be subjected to resource separation to obtain a resource separation result of the service data to be subjected to resource separation.
In one embodiment, the generating the service data to be subjected to resource separation includes:
generating service data in a preset period;
extracting a data identifier of the service data;
screening out the service data corresponding to the data identification and the target data identification from the service data, and taking the service data as the service data to be subjected to resource separation; the target data identification is used for identifying service data needing resource separation.
In one embodiment, the extracting the data identifier of the service data includes:
acquiring a preset service type identifier;
and extracting the service type corresponding to the preset service type identifier from the service data to be used as the data identifier of the service data.
In one embodiment, the verifying the service data to be subjected to resource separation includes:
acquiring a verification file of the service data to be subjected to resource separation; the verification file is used for verifying whether the data identification of the service data to be subjected to resource separation is the same as the target data identification;
verifying the service data to be subjected to resource separation according to the verification file;
and if the data identification of the service data to be subjected to resource separation is verified to be the same as the target data identification, confirming that the service data to be subjected to resource separation passes verification.
In one embodiment, the obtaining a resource separation instruction corresponding to the service data to be resource separated if the service data to be resource separated passes verification includes:
if the service data to be subjected to resource separation passes verification, acquiring a data identifier corresponding to the service data to be subjected to resource separation;
inquiring the corresponding relation between the data identification and the resource transfer rate according to the data identification corresponding to the service data to be subjected to resource separation to obtain the resource transfer rate of the service data to be subjected to resource separation;
and generating a resource separation instruction corresponding to the service data to be subjected to resource separation according to the resource transfer rate.
In one embodiment, the performing, according to the resource separation instruction, resource separation processing on the service data to be subjected to resource separation to obtain a resource separation result of the service data to be subjected to resource separation includes:
according to the resource separation instruction, performing resource separation processing on the service data to be subjected to resource separation to obtain a first resource and a second resource of the service data to be subjected to resource separation;
and generating a resource separation result of the service data to be subjected to resource separation according to the first resource and the second resource of the service data to be subjected to resource separation.
In one embodiment, the method further comprises:
sending the resource separation result of the service data to be subjected to resource separation to a corresponding resource processing terminal; and the resource processing terminal is used for processing the service data to be subjected to resource separation according to the resource separation result of the service data to be subjected to resource separation.
An apparatus for resource separation of traffic data, the apparatus comprising:
the data generation module is used for generating service data to be subjected to resource separation;
the data verification module is used for verifying the service data to be subjected to resource separation;
the instruction acquisition module is used for acquiring a resource separation instruction corresponding to the service data to be subjected to resource separation if the service data to be subjected to resource separation passes verification;
and the resource separation module is used for performing resource separation processing on the service data to be subjected to resource separation according to the resource separation instruction to obtain a resource separation result of the service data to be subjected to resource separation.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
generating service data to be subjected to resource separation;
verifying the service data to be subjected to resource separation;
if the service data to be subjected to resource separation passes verification, acquiring a resource separation instruction corresponding to the service data to be subjected to resource separation;
and according to the resource separation instruction, performing resource separation processing on the service data to be subjected to resource separation to obtain a resource separation result of the service data to be subjected to resource separation.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
generating service data to be subjected to resource separation;
verifying the service data to be subjected to resource separation;
if the service data to be subjected to resource separation passes verification, acquiring a resource separation instruction corresponding to the service data to be subjected to resource separation;
and according to the resource separation instruction, performing resource separation processing on the service data to be subjected to resource separation to obtain a resource separation result of the service data to be subjected to resource separation.
The method, the device, the computer equipment and the storage medium for separating the resources of the service data generate the service data to be subjected to resource separation; then, verifying the service data to be subjected to resource separation; if the service data to be subjected to resource separation passes the verification, acquiring a resource separation instruction corresponding to the service data to be subjected to resource separation; finally, according to the resource separation instruction, performing resource separation processing on the service data to be subjected to resource separation to obtain a resource separation result of the service data to be subjected to resource separation; in the whole process, interaction with a peripheral system where the business data are located is not needed, and resource separation is directly carried out at a business data source, so that the resource separation process is simplified, the resource separation efficiency is improved, and the price and tax separation efficiency in a price and tax separation scene is further improved.
Drawings
Fig. 1 is an application environment diagram of a resource separation method of service data in an embodiment;
fig. 2 is a schematic flowchart of a resource separation method of service data in an embodiment;
FIG. 3 is a flowchart illustrating steps of generating service data to be resource separated according to an embodiment;
FIG. 4 is a flow chart illustrating a method for separating pricing and tax of business data according to an embodiment;
fig. 5 is a block diagram showing a configuration of a resource separation apparatus for traffic data according to an embodiment;
FIG. 6 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The method for separating the resources of the service data can be applied to the application environment shown in fig. 1. Referring to fig. 1, the application environment diagram includes a server 110, and the server 110 may be implemented by an independent server or a server cluster composed of a plurality of servers. In fig. 1, the server 110 is an independent server, and referring to fig. 1, the server 110 generates service data to be subjected to resource separation; verifying the service data to be subjected to resource separation; if the service data to be subjected to resource separation passes the verification, acquiring a resource separation instruction corresponding to the service data to be subjected to resource separation; and according to the resource separation instruction, performing resource separation processing on the service data to be subjected to resource separation to obtain a resource separation result of the service data to be subjected to resource separation.
In an embodiment, as shown in fig. 2, a method for separating resources of service data is provided, which is described by taking the method as an example applied to the server in fig. 1, and includes the following steps:
step S201, generating service data to be subjected to resource separation.
The service data to be subjected to resource separation is tax income service data which needs to be subjected to price and tax separation, and the tax income service data is composed of two parts of tax amount and tax amount (such as value-added tax); for example, the tax-receivable business data of the financial company includes interest income business data, cash-in business data, extra-business income business data generated by asset transfer, commission income business data, and exchange profit-loss business data, and all the tax-receivable business data belong to the category of a core system, and can be acquired from a source system of tax-receivable, i.e., the core system.
For example, during the batch operation at the end of the day, the server generates the accounts of the taxable income occurrence amount of the day through an accounting engine of the core system, and captures taxable income data flow needing to be subjected to price and tax separation in the accounts of the taxable income occurrence amount of the day in the core system as business data to be subjected to resource separation.
It should be noted that the daily generated service data is uploaded to the server, so that the service data is stored in the server, and in the process of resource separation, the server directly screens out the service data to be subjected to resource separation from the service data stored in the server without interacting with a peripheral system where the service data is located, so that the resource separation process is simplified, the resource separation efficiency is improved, and the price and tax separation efficiency in the price and tax separation scene is improved.
Step S202, the service data to be subjected to resource separation is verified.
The verifying the service data to be subjected to resource separation means verifying whether the service data to be subjected to resource separation really needs to be subjected to resource separation, such as price and tax separation, so as to filter out the service data which does not need to be subjected to resource separation.
Step S203, if the service data to be subjected to resource separation passes verification, acquiring a resource separation instruction corresponding to the service data to be subjected to resource separation.
The resource separation instruction is an instruction capable of automatically separating resources of service data to be subjected to resource separation, such as a price and tax separation instruction.
For example, after the service data to be subjected to resource separation passes verification, the server obtains a resource separation instruction corresponding to the service data to be subjected to resource separation from the local database.
Step S204, according to the resource separation instruction, performing resource separation processing on the service data to be subjected to resource separation to obtain a resource separation result of the service data to be subjected to resource separation.
For example, if the business data to be subjected to resource separation is that the mobile fund loan contains 106 thousands of taxes, and the tax rate is 6%, then price and tax separation is performed on the mobile fund loan containing the taxes according to the price and tax separation instruction, and the obtained non-tax amount is 106/(1+ 6%) -100 thousands, and the obtained tax amount is 106 × [ 6%/(1 + 6%) ] -6 thousands, that is, the mobile fund loan containing the taxes is separated into 100 thousands of non-tax amount and 6 thousands of tax amount.
In the method for separating the resources of the service data, the service data to be subjected to resource separation is generated; then, verifying the service data to be subjected to resource separation; if the service data to be subjected to resource separation passes the verification, acquiring a resource separation instruction corresponding to the service data to be subjected to resource separation; finally, according to the resource separation instruction, performing resource separation processing on the service data to be subjected to resource separation to obtain a resource separation result of the service data to be subjected to resource separation; in the whole process, interaction with a peripheral system where the business data are located is not needed, and resource separation is directly carried out at a business data source, so that the resource separation process is simplified, the resource separation efficiency is improved, and the price and tax separation efficiency in a price and tax separation scene is further improved.
In an embodiment, as shown in fig. 3, in step S201, generating service data to be subjected to resource separation specifically includes the following steps:
step S301, generating service data in a preset period.
The preset period refers to a summary period of the service data, such as the current day, yesterday, week, month, and the like.
Step S302, extracting the data identification of the service data.
The data identifier refers to unique identification information of the service data, such as a service name, a service type, and the like.
Step S303, screening out service data corresponding to the data identifier and the target data identifier from the service data, wherein the service data is used as service data to be subjected to resource separation; the target data identifier is used for identifying service data needing resource separation.
The target data identification refers to the data identification of business data (such as tax-receivable income data pipelining, which needs to be subjected to price separation) which needs to be subjected to resource separation.
Specifically, the server matches the data identifier of the service data with the target data identifier, and if the matching is successful, the service data is identified as the service data to be subjected to resource separation; with reference to the method, the service data to be subjected to resource separation can be screened from the service data.
According to the technical scheme provided by the embodiment, the service data corresponding to the data identifier and the target data identifier is screened from the service data and is used as the service data to be subjected to resource separation, so that resource separation is conveniently performed on the service data to be subjected to resource separation subsequently, and the resource separation efficiency of the service data is further improved.
In one embodiment, in step S302, extracting the data identifier of the service data includes: acquiring a preset service type identifier; and extracting a service type corresponding to a preset service type identifier from the service data as a data identifier of the service data.
The preset service type identifier is an identifier for identifying a service type.
For example, the server extracts information corresponding to a preset service type identifier from the service data, and uses the information as a service type of the service data, and uses the service type of the service data as a data identifier of the service data.
According to the technical scheme provided by the embodiment, the service type corresponding to the preset service type identifier is extracted from the service data and used as the data identifier of the service data, so that the service data corresponding to the data identifier and the target data identifier can be screened from the service data subsequently and used as the service data to be subjected to resource separation.
In one embodiment, in step S202, verifying the service data to be subjected to resource separation includes: acquiring a verification file of service data to be subjected to resource separation; the verification file is used for verifying whether the data identification of the service data to be subjected to resource separation is the same as the target data identification; according to the verification file, verifying the service data to be subjected to resource separation; and if the data identification of the service data to be subjected to resource separation is verified to be the same as the target data identification, confirming that the service data to be subjected to resource separation passes verification.
Specifically, the server acquires a verification file of the service data to be subjected to resource separation from a local database; and verifying whether the data identifier of the service data to be subjected to resource separation is the same as the target data identifier or not according to the verification file, and if the data identifier of the service data to be subjected to resource separation is verified to be the same as the target data identifier, indicating that the service data to be subjected to resource separation is the service data really required to be subjected to resource separation, and confirming that the service data to be subjected to resource separation passes verification.
The technical scheme provided by the embodiment verifies the service data to be subjected to resource separation, and is favorable for ensuring that the obtained service data is the service data really required to be subjected to resource separation, so that the determination accuracy of the service data to be subjected to resource separation is improved.
In an embodiment, in step S203, if the service data to be resource-separated passes the verification, acquiring a resource separation instruction corresponding to the service data to be resource-separated includes: if the service data to be subjected to resource separation passes verification, acquiring a data identifier corresponding to the service data to be subjected to resource separation; inquiring the corresponding relation between the data identification and the resource transfer rate according to the data identification corresponding to the service data to be subjected to resource separation to obtain the resource transfer rate of the service data to be subjected to resource separation; and generating a resource separation instruction corresponding to the service data to be subjected to resource separation according to the resource transfer rate.
The data identifier corresponding to the service data to be subjected to resource separation may refer to a service name, a service type, and the like. The resource transfer rate refers to a tax rate, and the resource transfer rates corresponding to different service data are different, which indicates that the resource transfer rates corresponding to different data identifiers are different, i.e., there is a one-to-one correspondence relationship between the data identifiers and the resource transfer rates.
Specifically, after the service data to be subjected to resource separation passes verification, the server acquires a data identifier corresponding to the service data to be subjected to resource separation according to a data identifier acquisition instruction; acquiring a corresponding relation between a data identifier and a resource transfer rate, and inquiring the corresponding relation between the data identifier and the resource transfer rate according to the data identifier corresponding to the service data to be subjected to resource separation to obtain the resource transfer rate of the service data to be subjected to resource separation; and importing the resource transfer rate into a resource separation instruction template to generate a resource separation instruction corresponding to the service data to be subjected to resource separation.
For example, if the service data to be resource-separated is a and the resource transfer rate is B, the resource separation instruction corresponding to the service data to be resource-separated is a/(1+ B) and a × [ B/(1+ B) ].
According to the technical scheme provided by the embodiment, the resource transfer rate of the service data to be subjected to resource separation is obtained, and the resource separation instruction corresponding to the service data to be subjected to resource separation is generated according to the resource transfer rate, so that the resource separation result of the service data to be subjected to resource separation can be automatically generated according to the resource separation instruction corresponding to the service data to be subjected to resource separation.
In one embodiment, in step S204, according to the resource separation instruction, performing resource separation processing on the service data to be subjected to resource separation to obtain a resource separation result of the service data to be subjected to resource separation, including: according to the resource separation instruction, performing resource separation processing on the service data to be subjected to resource separation to obtain a first resource and a second resource of the service data to be subjected to resource separation; and generating a resource separation result of the service data to be subjected to resource separation according to the first resource and the second resource of the service data to be subjected to resource separation.
Wherein, the first resource is the amount without tax and the second resource is the amount with tax.
For example, assuming that the service data to be resource segregated is 106 ten thousand of tax-containing income of the floating fund loan, the tax rate is 6%, the service data is respectively substituted into a/(1+ B) and a × [ B/(1+ B) ], so as to obtain that the non-tax amount is 106/(1+ 6%) -100 ten thousand, the tax amount is 106 × [ 6%/(1 + 6%) ] -6 ten thousand, that is, the service data to be resource segregated is segregated into 100 ten thousand of non-tax amount and 6 ten thousand of tax amount, thereby obtaining the resource segregation result corresponding to the service data to be resource segregated.
According to the technical scheme provided by the embodiment, the resource separation processing is automatically performed on the service data to be subjected to resource separation through the resource separation instruction, so that the resource separation result of the service data to be subjected to resource separation is obtained, manual participation is not required, and the resource classification efficiency of the service data is further improved.
In one embodiment, in step S204, after performing resource separation processing on the service data to be subjected to resource separation according to the resource separation instruction to obtain a resource separation result of the service data to be subjected to resource separation, the method further includes the following steps: sending a resource separation result of the service data to be subjected to resource separation to a corresponding resource processing terminal; the resource processing terminal is used for processing the service data to be subjected to resource separation according to the resource separation result of the service data to be subjected to resource separation.
The processing of the business data to be subjected to resource separation refers to performing financial posting or tax declaration on the business data to be subjected to resource separation; the resource processing terminal is an intelligent terminal, such as a financial processing terminal, for performing financial posting or tax declaration on the service data to be subjected to resource separation.
For example, after the price and tax separation is performed on the service data to be subjected to price and tax separation, the server sends the price and tax separation result of the service data to be subjected to price and tax separation to the corresponding financial processing terminal, and the financial processing terminal performs financial posting or tax declaration on the service data to be subjected to price and tax separation according to the price and tax separation result of the service data to be subjected to price and tax separation.
According to the technical scheme provided by the embodiment, after the resource separation processing is performed on the service data to be subjected to resource separation according to the resource separation instruction to obtain the resource separation result of the service data to be subjected to resource separation, the resource separation result of the service data to be subjected to resource separation is sent to the corresponding resource processing terminal, so that the financial posting or tax declaration is favorably performed on the service data to be subjected to resource separation through the resource processing terminal and the resource separation result of the service data to be subjected to resource separation.
In order to clarify the resource separation method of the service data provided in the embodiment of the present application more clearly, a specific example is described below for the resource separation method of the service data; in an embodiment, as shown in fig. 4, a method for separating prices and taxes of business data is provided, which specifically includes the following steps:
(1) and when the batch operation is finished at the end of the day, generating the account of the tax-receivable income generation amount on the day through an accounting engine of the core system.
(2) And capturing tax-applying income data flow needing to be subjected to price and tax separation inside a core system.
(3) And performing price and tax separation on the core system in a combined mode of service parameter configuration and codes.
(4) And separating the price and the tax from the financial assembly line, and sending the price and the tax to the financial system for subsequent processing according to the specified requirements.
For example, the core system captures each transaction flow through the configuration of the accounting engine according to the transaction flow meter stored in the actual transaction place, and forms the accounting flow by using the accounting engine. The system eliminates non-taxable data running water and retains taxable data running water; meanwhile, the price and tax separation of the accounts generated by the transaction flow corresponding to each tax-applying scene is realized by combining the following service parameter table, and the accounts flow after each flow price and tax separation is reserved to the financial system for entering accounts and tax declaration processing.
Price and tax separation calculation formula: tax amount ═ tax amount/(1 + tax rate) ] × tax rate;
the tax amount refers to the tax amount after the price and the tax are separated, and the tax rate refers to the specific tax rate percentage corresponding to the value-added tax service.
For example, assuming that the business data is the floating fund loan product, the accounting scenario is daily interest improvement, the billing frequency is daily, and the income of the floating fund loan which is daily improved by a financial company is 100 ten thousand, the tax amount can be calculated to be 5.66 ten thousand according to the above formula, and the entry is as the following table 1:
borrowing: interest should be collected 100W
Loan: interest income-short term loan interest income 94.34W
Tax due-value added tax due-sales tax amount 5.66W
TABLE 1
The tax type of the price and tax separation may be defined by a tax rate type parameter table as shown in table 2 below:
type of tax rate Description of tax rate types Tax rate validation method
ZZS Value added tax Take effect immediately
TABLE 2
By using the tax rate definition parameter table as shown in the following table 3, the tax rate and the effective date corresponding to the value added tax type can be defined:
tax rate type code Tax rate (%) Date of effective tax rate
ZZS 6 2020-01-01
TABLE 3
By defining the parameter table of the price and tax separation range as shown in the following table 4, the product range, accounting subjects and accounting generated loan signs of the tax-applied products of the core system can be defined.
Figure BDA0002732987740000111
TABLE 4
According to the price and tax separation method for the business data, the price and tax separation of the sales tax is directly carried out on the data source system, so that the dependence of a corresponding tax data acquisition system and unnecessary interaction between systems in the end of a day are reduced, and the overall efficiency of batch operation in the end of the day is optimized.
It should be understood that although the various steps in the flow charts of fig. 2-3 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-3 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
In one embodiment, as shown in fig. 5, there is provided a resource separation apparatus for service data, including: a data generation module 510, a data verification module 520, an instruction acquisition module 530, and a resource separation module 540, wherein:
a data generating module 510, configured to generate service data to be subjected to resource separation.
The data verification module 520 is configured to verify the service data to be subjected to resource separation.
The instruction obtaining module 530 is configured to obtain a resource separation instruction corresponding to the service data to be resource separated if the service data to be resource separated passes verification.
The resource separation module 540 is configured to perform resource separation processing on the service data to be subjected to resource separation according to the resource separation instruction, so as to obtain a resource separation result of the service data to be subjected to resource separation.
In an embodiment, the data generating module 510 is further configured to generate service data in a preset period; extracting a data identifier of the service data; screening out service data corresponding to the data identifier and the target data identifier from the service data, and taking the service data as service data to be subjected to resource separation; the target data identifier is used for identifying service data needing resource separation.
In an embodiment, the data generating module 510 is further configured to obtain a preset service type identifier; and extracting a service type corresponding to a preset service type identifier from the service data as a data identifier of the service data.
In an embodiment, the data verification module 520 is further configured to obtain a verification file of the service data to be subjected to resource separation; the verification file is used for verifying whether the data identification of the service data to be subjected to resource separation is the same as the target data identification; according to the verification file, verifying the service data to be subjected to resource separation; and if the data identification of the service data to be subjected to resource separation is verified to be the same as the target data identification, confirming that the service data to be subjected to resource separation passes verification.
In an embodiment, the instruction obtaining module 530 is further configured to obtain a data identifier corresponding to the service data to be subjected to resource separation if the service data to be subjected to resource separation passes verification; inquiring the corresponding relation between the data identification and the resource transfer rate according to the data identification corresponding to the service data to be subjected to resource separation to obtain the resource transfer rate of the service data to be subjected to resource separation; and generating a resource separation instruction corresponding to the service data to be subjected to resource separation according to the resource transfer rate.
In an embodiment, the resource separation module 540 is further configured to perform resource separation processing on the service data to be subjected to resource separation according to the resource separation instruction, so as to obtain a first resource and a second resource of the service data to be subjected to resource separation; and generating a resource separation result of the service data to be subjected to resource separation according to the first resource and the second resource of the service data to be subjected to resource separation.
In an embodiment, the device for separating resources of service data provided by the present application further includes a result sending module, configured to send a resource separation result of the service data to be subjected to resource separation to a corresponding resource processing terminal; the resource processing terminal is used for processing the service data to be subjected to resource separation according to the resource separation result of the service data to be subjected to resource separation.
For specific limitation of the service data resource separation apparatus, reference may be made to the above limitation on the service data resource separation method, and details are not described herein again. All or part of each module in the service data resource separation device can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 6. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing data such as service data to be subjected to resource separation, resource separation instructions, resource separation results and the like. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of resource separation of business data.
Those skilled in the art will appreciate that the architecture shown in fig. 6 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
generating service data to be subjected to resource separation;
verifying the service data to be subjected to resource separation;
if the service data to be subjected to resource separation passes the verification, acquiring a resource separation instruction corresponding to the service data to be subjected to resource separation;
and according to the resource separation instruction, performing resource separation processing on the service data to be subjected to resource separation to obtain a resource separation result of the service data to be subjected to resource separation.
In one embodiment, the processor, when executing the computer program, further performs the steps of: generating service data in a preset period; extracting a data identifier of the service data; screening out service data corresponding to the data identifier and the target data identifier from the service data, and taking the service data as service data to be subjected to resource separation; the target data identifier is used for identifying service data needing resource separation.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring a preset service type identifier; and extracting a service type corresponding to a preset service type identifier from the service data as a data identifier of the service data.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring a verification file of service data to be subjected to resource separation; the verification file is used for verifying whether the data identification of the service data to be subjected to resource separation is the same as the target data identification; according to the verification file, verifying the service data to be subjected to resource separation; and if the data identification of the service data to be subjected to resource separation is verified to be the same as the target data identification, confirming that the service data to be subjected to resource separation passes verification.
In one embodiment, the processor, when executing the computer program, further performs the steps of: if the service data to be subjected to resource separation passes verification, acquiring a data identifier corresponding to the service data to be subjected to resource separation; inquiring the corresponding relation between the data identification and the resource transfer rate according to the data identification corresponding to the service data to be subjected to resource separation to obtain the resource transfer rate of the service data to be subjected to resource separation; and generating a resource separation instruction corresponding to the service data to be subjected to resource separation according to the resource transfer rate.
In one embodiment, the processor, when executing the computer program, further performs the steps of: according to the resource separation instruction, performing resource separation processing on the service data to be subjected to resource separation to obtain a first resource and a second resource of the service data to be subjected to resource separation; and generating a resource separation result of the service data to be subjected to resource separation according to the first resource and the second resource of the service data to be subjected to resource separation.
In one embodiment, the processor, when executing the computer program, further performs the steps of: sending a resource separation result of the service data to be subjected to resource separation to a corresponding resource processing terminal; the resource processing terminal is used for processing the service data to be subjected to resource separation according to the resource separation result of the service data to be subjected to resource separation.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
generating service data to be subjected to resource separation;
verifying the service data to be subjected to resource separation;
if the service data to be subjected to resource separation passes the verification, acquiring a resource separation instruction corresponding to the service data to be subjected to resource separation;
and according to the resource separation instruction, performing resource separation processing on the service data to be subjected to resource separation to obtain a resource separation result of the service data to be subjected to resource separation.
In one embodiment, the computer program when executed by the processor further performs the steps of: generating service data in a preset period; extracting a data identifier of the service data; screening out service data corresponding to the data identifier and the target data identifier from the service data, and taking the service data as service data to be subjected to resource separation; the target data identifier is used for identifying service data needing resource separation.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring a preset service type identifier; and extracting a service type corresponding to a preset service type identifier from the service data as a data identifier of the service data.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring a verification file of service data to be subjected to resource separation; the verification file is used for verifying whether the data identification of the service data to be subjected to resource separation is the same as the target data identification; according to the verification file, verifying the service data to be subjected to resource separation; and if the data identification of the service data to be subjected to resource separation is verified to be the same as the target data identification, confirming that the service data to be subjected to resource separation passes verification.
In one embodiment, the computer program when executed by the processor further performs the steps of: if the service data to be subjected to resource separation passes verification, acquiring a data identifier corresponding to the service data to be subjected to resource separation; inquiring the corresponding relation between the data identification and the resource transfer rate according to the data identification corresponding to the service data to be subjected to resource separation to obtain the resource transfer rate of the service data to be subjected to resource separation; and generating a resource separation instruction corresponding to the service data to be subjected to resource separation according to the resource transfer rate.
In one embodiment, the computer program when executed by the processor further performs the steps of: according to the resource separation instruction, performing resource separation processing on the service data to be subjected to resource separation to obtain a first resource and a second resource of the service data to be subjected to resource separation; and generating a resource separation result of the service data to be subjected to resource separation according to the first resource and the second resource of the service data to be subjected to resource separation.
In one embodiment, the computer program when executed by the processor further performs the steps of: sending a resource separation result of the service data to be subjected to resource separation to a corresponding resource processing terminal; the resource processing terminal is used for processing the service data to be subjected to resource separation according to the resource separation result of the service data to be subjected to resource separation.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A resource separation method of service data is applied to a server, and the method comprises the following steps:
generating service data to be subjected to resource separation;
verifying the service data to be subjected to resource separation;
if the service data to be subjected to resource separation passes verification, acquiring a resource separation instruction corresponding to the service data to be subjected to resource separation;
and according to the resource separation instruction, performing resource separation processing on the service data to be subjected to resource separation to obtain a resource separation result of the service data to be subjected to resource separation.
2. The method of claim 1, wherein the generating the service data to be subjected to resource separation comprises:
generating service data in a preset period;
extracting a data identifier of the service data;
screening out the service data corresponding to the data identification and the target data identification from the service data, and taking the service data as the service data to be subjected to resource separation; the target data identification is used for identifying service data needing resource separation.
3. The method of claim 2, wherein the extracting the data identifier of the service data comprises:
acquiring a preset service type identifier;
and extracting the service type corresponding to the preset service type identifier from the service data to be used as the data identifier of the service data.
4. The method according to claim 2, wherein the verifying the service data to be subjected to resource separation comprises:
acquiring a verification file of the service data to be subjected to resource separation; the verification file is used for verifying whether the data identification of the service data to be subjected to resource separation is the same as the target data identification;
verifying the service data to be subjected to resource separation according to the verification file;
and if the data identification of the service data to be subjected to resource separation is verified to be the same as the target data identification, confirming that the service data to be subjected to resource separation passes verification.
5. The method according to claim 1, wherein the obtaining of the resource separation instruction corresponding to the service data to be resource-separated if the service data to be resource-separated passes the verification comprises:
if the service data to be subjected to resource separation passes verification, acquiring a data identifier corresponding to the service data to be subjected to resource separation;
inquiring the corresponding relation between the data identification and the resource transfer rate according to the data identification corresponding to the service data to be subjected to resource separation to obtain the resource transfer rate of the service data to be subjected to resource separation;
and generating a resource separation instruction corresponding to the service data to be subjected to resource separation according to the resource transfer rate.
6. The method according to claim 1, wherein the performing resource separation processing on the service data to be subjected to resource separation according to the resource separation instruction to obtain a resource separation result of the service data to be subjected to resource separation comprises:
according to the resource separation instruction, performing resource separation processing on the service data to be subjected to resource separation to obtain a first resource and a second resource of the service data to be subjected to resource separation;
and generating a resource separation result of the service data to be subjected to resource separation according to the first resource and the second resource of the service data to be subjected to resource separation.
7. The method according to any one of claims 1 to 6, further comprising:
sending the resource separation result of the service data to be subjected to resource separation to a corresponding resource processing terminal; and the resource processing terminal is used for processing the service data to be subjected to resource separation according to the resource separation result of the service data to be subjected to resource separation.
8. An apparatus for separating resources of service data, applied to a server, the apparatus comprising:
the data generation module is used for generating service data to be subjected to resource separation;
the data verification module is used for verifying the service data to be subjected to resource separation;
the instruction acquisition module is used for acquiring a resource separation instruction corresponding to the service data to be subjected to resource separation if the service data to be subjected to resource separation passes verification;
and the resource separation module is used for performing resource separation processing on the service data to be subjected to resource separation according to the resource separation instruction to obtain a resource separation result of the service data to be subjected to resource separation.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202011123962.8A 2020-10-20 2020-10-20 Service data resource separation method and device, computer equipment and storage medium Pending CN112231465A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011123962.8A CN112231465A (en) 2020-10-20 2020-10-20 Service data resource separation method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011123962.8A CN112231465A (en) 2020-10-20 2020-10-20 Service data resource separation method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112231465A true CN112231465A (en) 2021-01-15

Family

ID=74118070

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011123962.8A Pending CN112231465A (en) 2020-10-20 2020-10-20 Service data resource separation method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112231465A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101547382A (en) * 2009-05-06 2009-09-30 烽火通信科技股份有限公司 Separation method for active-Standby service resource of different source and sink for grid network
CN103347089A (en) * 2013-07-16 2013-10-09 星云融创(北京)信息技术有限公司 Method and device for separating and accelerating dynamic resources and static resources of website
JP5933795B1 (en) * 2015-08-27 2016-06-15 ウィルベス株式会社 Tax difference refund system and tax difference refund method
US20170017522A1 (en) * 2015-07-15 2017-01-19 Xerox Corporation Methods and systems for assigning resources to a task
CN106504040A (en) * 2016-10-31 2017-03-15 青岛瑞宏科技有限公司 A kind of electronic invoice billing method
CN107909325A (en) * 2017-11-24 2018-04-13 九州通医药集团物流有限公司 The accounting method that becomes more meticulous based on Medicine Enterprises Logistics cost
CN109034920A (en) * 2018-07-06 2018-12-18 中国电力财务有限公司 A kind of valence tax separation method, apparatus and system
CN110335133A (en) * 2019-07-15 2019-10-15 中国工商银行股份有限公司 Processing method, system, electronic equipment and the storage medium of transaction data
CN111383016A (en) * 2020-03-05 2020-07-07 中国银行股份有限公司 Electronic invoice data processing method, device and system based on private chain
CN111625856A (en) * 2020-02-27 2020-09-04 南京理工大学 Traceability and forward security searchable ciphertext medical record system based on national cryptographic algorithm

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101547382A (en) * 2009-05-06 2009-09-30 烽火通信科技股份有限公司 Separation method for active-Standby service resource of different source and sink for grid network
CN103347089A (en) * 2013-07-16 2013-10-09 星云融创(北京)信息技术有限公司 Method and device for separating and accelerating dynamic resources and static resources of website
US20170017522A1 (en) * 2015-07-15 2017-01-19 Xerox Corporation Methods and systems for assigning resources to a task
JP5933795B1 (en) * 2015-08-27 2016-06-15 ウィルベス株式会社 Tax difference refund system and tax difference refund method
CN106504040A (en) * 2016-10-31 2017-03-15 青岛瑞宏科技有限公司 A kind of electronic invoice billing method
CN107909325A (en) * 2017-11-24 2018-04-13 九州通医药集团物流有限公司 The accounting method that becomes more meticulous based on Medicine Enterprises Logistics cost
CN109034920A (en) * 2018-07-06 2018-12-18 中国电力财务有限公司 A kind of valence tax separation method, apparatus and system
CN110335133A (en) * 2019-07-15 2019-10-15 中国工商银行股份有限公司 Processing method, system, electronic equipment and the storage medium of transaction data
CN111625856A (en) * 2020-02-27 2020-09-04 南京理工大学 Traceability and forward security searchable ciphertext medical record system based on national cryptographic algorithm
CN111383016A (en) * 2020-03-05 2020-07-07 中国银行股份有限公司 Electronic invoice data processing method, device and system based on private chain

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
LIU FENG等: "Can the Issue of Invoice Reimbursement in China be Solved Completely through the Integration of Blockchain and IoT Technology?", 《ICBCT\'20: PROCEEDINGS OF THE 2020 THE 2ND INTERNATIONAL CONFERENCE ON BLOCKCHAIN TECHNOLOGY》, 29 May 2020 (2020-05-29), pages 68 - 74 *
张捷: "财务公司增值税价税分离信息化建设的探讨", 《中国商论》, no. 36, pages 144 - 145 *
朱建;: "银行电子发票系统的软件设计方案分析", 数码世界, no. 06, 1 June 2020 (2020-06-01), pages 82 *
牟荻: "某银行增值税管理平台的核心配套改造及优化实施", 中国优秀硕士学位论文全文数据库 (信息科技辑), no. 09, 15 September 2019 (2019-09-15), pages 138 - 351 *

Similar Documents

Publication Publication Date Title
CN110503564B (en) Security case processing method, system, equipment and storage medium based on big data
CN110910230A (en) Accounting method, accounting system and storage medium
CN109583931B (en) Transaction data processing method, device, electronic equipment and readable storage medium
CN112686746A (en) Credit flow configuration method, device and equipment
CN111666346A (en) Information merging method, transaction query method, device, computer and storage medium
CN104376452A (en) System and method for managing payment success rate on basis of international card payment channel
CN113888299A (en) Wind control decision method and device, computer equipment and storage medium
CN111367904A (en) Service processing method and device and server
CN112529687A (en) Loan and repayment bookkeeping method and device, equipment and storage medium thereof
CN109460995A (en) Financial accreditation method, apparatus, computer equipment and storage medium
CN111831682A (en) Method, device, equipment and computer readable medium for processing accumulation fund service
CN109785047A (en) Order method for pushing, device, computer equipment and the storage medium of financial product
CN111405027B (en) Block chain consensus result screening method, device, computer equipment and storage medium
CN117078401A (en) Credit approval data processing method, device, equipment and readable storage medium
CN112231465A (en) Service data resource separation method and device, computer equipment and storage medium
CN111752541A (en) Pay routing method based on Rete algorithm
CN111062766A (en) Block chain-based electronic invoice issuing method and device
CN112613967B (en) Business transaction data processing method and device, computer equipment and storage medium
CN114691768A (en) Data processing method, accounting system and related equipment
CN112734543A (en) Accounting processing method and device, computer equipment and storage medium
CN111429125B (en) Account management method and device, storage medium and electronic equipment
CN112468556A (en) Service product information pushing method and device, computer equipment and medium
CN112838932A (en) Re-rating method and device based on volume accumulated rating and computing equipment
CN111210329A (en) Accounting document generation method and device, storage medium and electronic equipment
CN112418838B (en) Data processing method, device, equipment and storage medium

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