CN108230130B - Method and device for verifying daily cutting data and electronic equipment - Google Patents

Method and device for verifying daily cutting data and electronic equipment Download PDF

Info

Publication number
CN108230130B
CN108230130B CN201711255974.4A CN201711255974A CN108230130B CN 108230130 B CN108230130 B CN 108230130B CN 201711255974 A CN201711255974 A CN 201711255974A CN 108230130 B CN108230130 B CN 108230130B
Authority
CN
China
Prior art keywords
accounting
data
target
date
daily cutting
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.)
Active
Application number
CN201711255974.4A
Other languages
Chinese (zh)
Other versions
CN108230130A (en
Inventor
何凡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced Nova Technology Singapore Holdings Ltd
Original Assignee
Advanced New Technologies 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 Advanced New Technologies Co Ltd filed Critical Advanced New Technologies Co Ltd
Priority to CN201711255974.4A priority Critical patent/CN108230130B/en
Publication of CN108230130A publication Critical patent/CN108230130A/en
Application granted granted Critical
Publication of CN108230130B publication Critical patent/CN108230130B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/215Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Quality & Reliability (AREA)
  • Economics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The embodiment of the application discloses a method and a device for verifying daily cutting data and electronic equipment, wherein the method comprises the following steps: recording accounting dates corresponding to target accounting record data and target accounting entry data in a development environment database as a first virtual accounting date; deleting dirty data in the development environment database; when a daily cutting operation command is received, performing daily cutting operation, wherein the daily cutting date of the daily cutting operation is the first virtual accounting date, and the daily cutting data of the daily cutting operation is the target accounting record data and the target accounting entry data; after the daily cutting operation is completed, verifying the target accounting record data and the target accounting entry data.

Description

Method and device for verifying daily cutting data and electronic equipment
Technical Field
The application relates to the field of financial and network payment, in particular to a method and a device for daily data verification and an electronic device.
Background
For business systems in the fields of finance and network payment, switching of accounting dates (called as daily switching for short) is an important mechanism for closing business on the same day and updating the accounting dates of the whole business system. In order to avoid problems after the project is released and on-line, the data is required to be verified day by day or day by day.
At present, an online daily cutting data verification method is generally adopted, namely after a project is published, the daily cutting data verification is carried out by adopting real data in a pre-publishing environment. However, this verification method requires the item to enter the pre-release phase to be possible only if the verification phase is late. On the other hand, items are required to support real transaction in the pre-release environment, but not all items can support real transaction in the pre-release environment, so that the verification method cannot meet the requirements of all items. On the other hand, the data of the pre-release environment is often not the data of all services, so that the reliability of the daily cutting data verification is influenced. Finally, when the daily cutting data verification fails in the production environment, the error reasons need to be checked and analyzed in the production environment, and a compensation measure is taken, so that a large amount of cost is spent, and the daily cutting timeliness of the on-line real data is influenced.
Therefore, a method for daily cutting data verification is needed to overcome the above technical problems.
Disclosure of Invention
The application aims to provide a day-to-day data verification method, a day-to-day data verification device and electronic equipment, the day-to-day data verification can be achieved under a development environment, namely the day-to-day data verification can be achieved on line, real transaction data are not needed, the requirements of all projects can be met, offline test data can cover all business scenes, the reliability of the day-to-day data verification can be guaranteed, when the day-to-day data verification fails, problems can be found in time and adjusted, and online faults are avoided.
In order to solve the above technical problem, the embodiment of the present application is implemented as follows:
in a first aspect, a method for daily cutting data verification is provided, including:
recording accounting dates corresponding to target accounting record data and target accounting entry data in a development environment database as a first virtual accounting date;
deleting dirty data in the development environment database;
when a daily cutting operation command is received, performing daily cutting operation, wherein the daily cutting date of the daily cutting operation is the first virtual accounting date, and the daily cutting data of the daily cutting operation is the target accounting record data and the target accounting entry data;
after the daily cutting operation is completed, verifying the target accounting record data and the target accounting entry data.
In a second aspect, an apparatus for daily cutting data verification is provided, which includes:
the date recording unit is used for recording the target accounting record data in the development environment database and the accounting date corresponding to the target accounting entry data as a first virtual accounting date;
a dirty data deleting unit that deletes dirty data in the development environment database;
a daily cutting unit, configured to perform daily cutting operation when a daily cutting operation command is received, where the daily cutting date of the daily cutting operation is the first virtual accounting date, and the daily cutting data of the daily cutting operation is the target accounting record data and the target accounting entry data;
and the verification unit is used for verifying the target accounting record data and the target accounting entry data after the daily cutting operation is finished.
In a third aspect, an electronic device is provided, including:
a processor; and
a memory arranged to store computer executable instructions that when executed use the processor to perform the following:
recording accounting dates corresponding to target accounting record data and target accounting entry data in a development environment database as a first virtual accounting date;
deleting dirty data in the development environment database;
when a daily cutting operation command is received, performing daily cutting operation, wherein the daily cutting date of the daily cutting operation is the first virtual accounting date, and the daily cutting data of the daily cutting operation is the target accounting record data and the target accounting entry data;
after the daily cutting operation is completed, verifying the target accounting record data and the target accounting entry data.
In a fourth aspect, a computer-readable medium is provided that stores one or more programs that, when executed by an electronic device that includes a plurality of application programs, cause the electronic device to:
recording accounting dates corresponding to target accounting record data and target accounting entry data in a development environment database as a first virtual accounting date;
deleting dirty data in the development environment database;
when a daily cutting operation command is received, performing daily cutting operation, wherein the daily cutting date of the daily cutting operation is the first virtual accounting date, and the daily cutting data of the daily cutting operation is the target accounting record data and the target accounting entry data;
after the daily cutting operation is completed, verifying the target accounting record data and the target accounting entry data.
As can be seen from the above technical solutions provided by the embodiments of the present application, in the embodiments of the present application, by recording accounting dates corresponding to target accounting record data and target accounting entry data in a development environment database as a first virtual accounting date, deleting dirty data in the development environment database, performing a daily cutting operation with the first virtual accounting date as a daily cutting date and the target accounting record data and the target accounting entry data as daily cutting data when a daily cutting operation command is received, and verifying the target accounting record data and the target accounting entry data after the daily cutting operation is completed, daily cutting data verification can be implemented in a development environment, that is, daily cutting data can be implemented on line, real transaction data is not required, requirements of all projects can be met, test data under line can cover all business scenarios, and reliability of daily cutting data verification can be ensured, when the daily data verification fails, the problems can be found and adjusted in time, and online faults are avoided.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative effort.
Fig. 1 is a schematic flow diagram of a method of daily tangential data validation according to one embodiment of the present application.
Fig. 2 is a schematic flow diagram of a method of daily tangential data validation according to another embodiment of the present application.
Fig. 3 is a block diagram of an electronic device according to an embodiment of the present application.
Fig. 4 is a schematic structural diagram of an apparatus for verifying japanese-cut data according to an embodiment of the present application.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the embodiment of the present invention, the development environment database refers to a database corresponding to the development environment. The development environment refers to the environment in the process of developing and testing projects on line, and is isolated from codes and databases in a pre-release environment and a production environment. The data of the development environment can be modified at will, and the data of the development environment is not real data on line. The data of the development environment can cover all business scenarios of the project.
In embodiments of the invention, accounting record data refers to data that records financial type transactions from account dimensions. The accounting record data may record data such as account numbers of both parties who have performed the financial transaction, a date when the financial transaction is completed, and a specific amount of money involved in the financial transaction. The accounting entry data can be called accounting entry or entry for short, and refers to the record of the corresponding relationship between accounts according to the requirements of retest accounting by the account name, accounting direction and amount of money for each financial transaction (economic business).
In the embodiment of the invention, the accounting date refers to the accounting date, and the accounting date is usually different from the actual date.
FIG. 1 is a flow diagram of a method of daily tangential data validation according to one embodiment of the present application. The method 100 of fig. 1 is performed by an apparatus for daily cut data validation.
As illustrated in fig. 1, at S102, accounting dates corresponding to the target accounting record data and the target accounting entry data in the development environment database are recorded as a first virtual accounting date.
It is to be understood that recording the accounting date corresponding to the target accounting record data and the target accounting entry data as the first virtual accounting date is actually modifying the accounting date corresponding to the target accounting record data and the target accounting entry data as the first virtual accounting date. For example, the actual accounting date corresponding to the target accounting record data and the target accounting entry data is 2017, 11 and 10 days, and the first virtual accounting date is 2017, 11 and 11 days, at which time the accounting date corresponding to the target accounting record data and the target accounting entry data needs to be modified to 2017, 11 and 11 days.
Optionally, in some embodiments, the target accounting record data and the target accounting entry data in the development environment database need to be retrieved before an accounting date corresponding to the target accounting record data and the target accounting entry data is recorded as the first virtual accounting date. The specific method for fishing out the target accounting record data and the target accounting entry data may be as follows: acquiring an accounting record identifier of a target accounting type transaction corresponding to the target accounting record data and the target accounting entry data; and according to the financial record identification, fishing target accounting record data and target accounting entry data from a development environment database.
Taking the target financial transaction as the recharging transaction as an example, the financial record identifier of the recharging transaction can be obtained according to information such as a recharging bill number, the financial record data and the meeting score data corresponding to the recharging transaction are retrieved from the development environment database according to the financial record identifier of the recharging transaction, and the accounting date corresponding to the retrieved financial record data and the meeting score data is modified into the first virtual accounting date.
Specifically, in some embodiments, the target financial transaction is a transaction completed through a test account in the development environment, and a real transaction is not required in the development environment, so that the requirements of all projects can be met.
Optionally, in some embodiments, the target financial transaction may be multiple transactions completed through one test account in the development environment, or multiple transactions completed through multiple test accounts in the development environment, which is not limited in this embodiment of the present invention.
Optionally, in some embodiments, after acquiring the financial record identifier of the target accounting record data, writing the financial record identifier into the configuration file, and recording an accounting date corresponding to the financial record identifier as the first virtual accounting date. Therefore, when daily data verification is required, the financial record identifier corresponding to the first virtual accounting date is acquired from the configuration file, and then the target accounting record data and the target accounting entry data are obtained according to the financial record identifier.
At S104, the dirty data in the development environment database is deleted.
It is to be understood that dirty data refers to data that is not generated strictly in accordance with the on-line specification at S104. For example, data inserted directly by manual means or test data in a development environment, etc.
Specifically, in some embodiments, deleting dirty data in the development environment database comprises: deleting all the daily cutting records in the development environment database; and deleting other accounting record data and other accounting entry data of which the corresponding accounting date is the first virtual accounting date in the development environment database. Here, the date-cut record is generally used to record the date-cut date of the latest date-cut operation and the date-cut state, and the date-cut state is used to describe whether the previous date-cut operation was successful. After deleting these dirty data, it can be guaranteed that the daily cutting data of the daily cutting operation is only the target accounting record data and the target accounting entry data described above. The problem that the daily data cannot be verified in a development environment due to the cross-day problem of dirty data can be avoided.
It should be noted that, when deleting dirty data in the development environment database, all daily cutting records in the development environment database may be deleted first, and then other accounting record data and other accounting entry data whose corresponding accounting date is the first virtual accounting date in the development environment database may be deleted; or deleting other accounting record data and other accounting entry data of which the corresponding accounting date is the first virtual accounting date in the database of the development environment, and then deleting all daily cutting records in the database of the development environment. The deletion order is not limited in the embodiments of the present invention.
At S106, when a daily cutting operation command is received, a daily cutting operation is performed, the daily cutting date of the daily cutting operation is a first virtual accounting date, and the daily cutting data of the daily cutting operation is target accounting record data and target accounting entry data.
Specifically, in some embodiments, before the switching operation command is received, a target switching record is generated, the switching date corresponding to the target switching record is a second virtual accounting date, the second virtual accounting date is the day before the first virtual accounting date, and the switching status corresponding to the target switching record is switching success. Therefore, the date of the day-to-day operation triggered by the received day-to-day operation command can be ensured to be the first virtual accounting date.
At S108, after the daily cutting operation is completed, the target accounting record data and the target accounting entry data are verified.
Specifically, in some embodiments, verifying that the target accounting record data and the target accounting entry are actually verifying that the target accounting record data and the target accounting entry data match. When the target accounting record data is matched with the target accounting entry data, determining that the verification is successful; determining that the verification fails when the target accounting record data and the target accounting entry data do not match.
For example, taking a financial transaction as an example of a transaction through a paymate account transfer, if 100 pieces of money are transferred to a paymate account B through the paymate account a in 11 months and 11 days in 2017, if 100 pieces of money are paid out from the paymate account a in 11 months and 11 days in 2017, 100 pieces of money are collected in the paymate account B, and 100 pieces of money are transferred to the paymate account B from the paymate account a in 11 months and 11 days in 2017, after the daily cutting operation is completed, when the accounting record data and the accounting entry data are verified, the accounting record data and the accounting entry data are considered to be consistent, and the verification is successful. Otherwise, if the account record data record 2017 indicates that the bank account number a paid 11 months 11 days indicates 100 pieces of money, the bank account number B takes in 80 pieces of money, and the accounting entry data record 2017 records that the bank account number a paid 11 months 11 days transfers 100 pieces of money to the bank account number B, after the daily cutting operation is completed, when the account record data and the accounting entry data are verified, the account record data and the accounting entry data are considered to be inconsistent, and the verification fails. Under the condition of verification failure, the reason of the verification failure needs to be checked and analyzed, and a compensation measure is taken to repair the problem in time.
Fig. 2 is a schematic flow chart of a method for generating a daily cut data validation according to an embodiment of the present application, where the method 200 of fig. 2 is executed by a device for generating a daily cut data validation, and fig. 2 is described by taking an accounting type transaction as a top-up transaction, which is merely an example.
As shown in fig. 2, at S202, a recharge operation is performed using the test account in the development environment.
Optionally, multiple recharging operations may be performed through one test account, or one or more recharging operations may be performed through each of multiple test accounts, so as to generate multiple recharge bill numbers and corresponding accounting record data and meeting record data.
At S204, the accounting record data in the development environment database is retrieved according to the voucher number, and the accounting record transaction number thereof is recorded.
It is to be understood that in S204, the accounting record transaction number is equivalent to the accounting record identification in the method shown in fig. 1.
At S206, the accounting record number is recorded into the configuration file and a virtual daily accounting date is specified.
For example, if the date planned to perform the daily cutting data verification is 2017, month 1 and day 1, the accounting date corresponding to the account record object number may be recorded in the configuration file as 20170101.
At S208, all the japanese-cut records in the development environment database are deleted.
At S210, other accounting record data and meeting record data corresponding to the specified virtual daily accounting date in the development environment database are deleted.
It should be noted that, although the above embodiment has been described with the step S210 being disposed after the step S208 for convenience of description, the execution order of these two steps may be changed according to the actual situation, that is, the other accounting record data and meeting score record data corresponding to the guide virtual daily accounting date in the development environment database are deleted first, and then all the daily accounting records in the development environment database are deleted.
At S212, a daily success record is inserted in the development environment database.
Wherein, the date cutting date corresponding to the date cutting success record is the previous accounting date of the appointed virtual date cutting accounting date. Therefore, the daily cutting operation corresponding to the appointed virtual daily cutting accounting date can be directly initiated when the daily cutting operation is triggered next time.
At S214, the accounting date corresponding to the accounting record transaction number and the accounting date corresponding to the accounting record data are modified to the designated virtual daily accounting date according to the accounting record transaction number.
Specifically, if the accounting date corresponding to the accounting record transaction number and the accounting date corresponding to the accounting record data are originally the designated virtual daily accounting date, step S214 may not be executed. And if the accounting date corresponding to the accounting record transaction number and the accounting date corresponding to the accounting record data are not originally the appointed virtual daily accounting date, modifying the accounting date corresponding to the accounting record transaction number and the accounting date corresponding to the accounting record data from the original accounting date to the appointed virtual daily accounting date.
At S216, upon receiving the daily cut operation command, the daily cut operation is performed.
Specifically, at S216, the date-cut date of the date-cut operation is the designated virtual date-cut accounting date, and the date-cut data of the date-cut operation is the accounting record data and the accounting record data corresponding to the accounting record transaction number. That is, the daily cutting operation can realize daily cutting only on the designated accounting record data and meeting record data.
At S218, after the daily cutting operation is completed, the daily cutting result is checked.
Specifically, the checking of the daily cutting result is to check the accounting record data and the accounting record data obtained by the daily cutting operation, check whether corresponding data in the two data are matched, if so, the daily cutting is successful, otherwise, the daily cutting is failed.
Furthermore, if the daily cutting fails, the reason of the daily cutting failure is examined and analyzed, and a compensation measure is taken, so that the problem is solved in a development environment, the service of a production environment is not influenced, and the fault after the project is on line is avoided.
According to the technical scheme provided by the embodiment of the application, dirty data in a development environment database are deleted, when a daily cutting operation command is received, designated virtual daily cutting accounting date is taken as the daily cutting date, designated accounting record data and target accounting entry data are taken as the daily cutting data to perform daily cutting operation, and after the daily cutting operation is completed, daily cutting results are checked, daily cutting data verification can be achieved under the development environment, that is, the daily cutting data can be achieved on line, real transaction data is not needed, the requirements of all projects can be met, offline test data can cover all service scenes, the reliability of the daily cutting data verification can be guaranteed, when the daily cutting data verification fails, problems can be found in time and adjusted, and online faults are avoided.
The method for verifying the japanese cut data according to the embodiment of the present application is described in detail above with reference to fig. 1 and 2. An electronic device according to an embodiment of the present application will be described in detail below with reference to fig. 3. Referring to fig. 3, at a hardware level, the electronic device includes a processor, optionally an internal bus, a network interface, and a memory. The Memory may include a Memory, such as a Random-Access Memory (RAM), and may further include a non-volatile Memory, such as at least 1 disk Memory. Of course, the electronic device may also include hardware required for other services.
The processor, the network interface, and the memory may be interconnected by an internal bus, which may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 3, but this does not indicate only one bus or one type of bus.
And the memory is used for storing programs. In particular, the program may include program code comprising computer operating instructions. The memory may include both memory and non-volatile storage and provides instructions and data to the processor.
The processor reads the corresponding computer program from the nonvolatile memory into the memory and then runs the computer program to form a device for verifying the daily cutting data on a logic level. The processor is used for executing the program stored in the memory and is specifically used for executing the following operations:
recording accounting dates corresponding to target accounting record data and target accounting entry data in a development environment database as a first virtual accounting date;
deleting dirty data in the development environment database;
when a daily cutting operation command is received, performing daily cutting operation, wherein the daily cutting date of the daily cutting operation is the first virtual accounting date, and the daily cutting data of the daily cutting operation is the target accounting record data and the target accounting entry data;
after the daily cutting operation is completed, verifying the target accounting record data and the target accounting entry data.
The method performed by the apparatus for verifying japanese-cut data disclosed in the embodiments of fig. 1 and fig. 2 of the present application may be applied to or implemented by a processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor.
The electronic device may further execute the method shown in fig. 1 and fig. 2, and implement the functions of the apparatus for daily data verification in the embodiments shown in fig. 1 and fig. 2, which are not described herein again in the embodiments of the present application.
Of course, besides the software implementation, the electronic device of the present application does not exclude other implementations, such as a logic device or a combination of software and hardware, and the like, that is, the execution subject of the following processing flow is not limited to each logic unit, and may also be hardware or a logic device.
Embodiments of the present application also propose a computer-readable storage medium storing one or more programs, the one or more programs including instructions, which when executed by an electronic device including a plurality of application programs, enable the electronic device to perform the method of the embodiment shown in fig. 1 and 2, and in particular to perform the following method:
recording accounting dates corresponding to target accounting record data and target accounting entry data in a development environment database as a first virtual accounting date;
deleting dirty data in the development environment database;
when a daily cutting operation command is received, performing daily cutting operation, wherein the daily cutting date of the daily cutting operation is the first virtual accounting date, and the daily cutting data of the daily cutting operation is the target accounting record data and the target accounting entry data;
after the daily cutting operation is completed, verifying the target accounting record data and the target accounting entry data.
Fig. 4 is a schematic structural diagram of an apparatus for daily cutting data verification according to an embodiment of the present application. Referring to fig. 4, in a software implementation, an apparatus 400 for daily cut data verification may include: a date recording unit 401, a dirty data deleting unit 402, a date cutting unit 403, and a verifying unit 404, wherein,
a date recording unit 401, which records the target accounting record data in the development environment database and the accounting date corresponding to the target accounting entry data as a first virtual accounting date;
a dirty data deleting unit 402 that deletes dirty data in the development environment database;
a daily cutting unit 403, configured to perform daily cutting operation when receiving a daily cutting operation command, where a daily cutting date of the daily cutting operation is the first virtual accounting date, and daily cutting data of the daily cutting operation is the target accounting record data and the target accounting entry data;
a verification unit 404, configured to verify the target accounting record data and the target accounting entry data after the daily cutting operation is completed.
According to the device for verifying the daily cutting data, dirty data in the development environment database can be deleted, so that the daily cutting operation can be performed by taking the target accounting record data and the target accounting entry data as the daily cutting data, taking the virtual accounting date as the daily cutting date and verifying the daily cutting data after the daily cutting operation is completed when the daily cutting operation command is received. Therefore, the device for daily data verification can achieve daily data verification under a development environment, namely daily data verification can be achieved on line, real transaction data are not needed, the requirements of all projects can be met, test data under the line can cover all service scenes, the reliability of daily data verification can be guaranteed, when the daily data verification fails, problems can be found and adjusted in time, and online faults are avoided.
Optionally, as an embodiment, the dirty data deleting unit 402:
deleting all the daily cutting records in the development environment database;
deleting other accounting record data and other accounting entry data of which the corresponding accounting date in the development environment database is the first virtual accounting date.
Optionally, as an embodiment, after deleting dirty data in the development environment database and before receiving a command to trigger a daily cut operation, the daily cut unit 403:
and generating a target daily cutting record, wherein the daily cutting date corresponding to the target daily cutting record is a second virtual accounting date, the second virtual accounting date is the day before the first virtual accounting date, and the daily cutting state corresponding to the target daily cutting record is a successful daily cutting.
Alternatively, as an embodiment, before the recording of the accounting date corresponding to the target accounting record data and the target accounting entry data in the development environment database as the first virtual accounting date, the date recording unit 401:
acquiring an accounting record identifier of a target accounting type transaction corresponding to the target accounting record data and the target accounting entry data;
and according to the accounting record identification, the target accounting record data and the target accounting entry data are fished from the development environment database.
Optionally, as an embodiment, before the target accounting record data and the target accounting entry data are retrieved from the development environment database according to the accounting record identifier, the date recording unit 401:
writing the accounting record identification into a configuration file, and recording an accounting date corresponding to the financial record identification as the first virtual accounting date.
Optionally, as an embodiment, the verification unit 404:
determining that verification is successful when the target accounting record data matches the target accounting entry data;
determining that validation failed when the target accounting record data and the target accounting entry data do not match.
Optionally, as one embodiment, the target accounting class transaction is a transaction completed by a test account number in a development environment.
The device 400 for verifying the daily cut data can also execute the method in the embodiment shown in fig. 1 and fig. 2, and implement the functions of the device for verifying the daily cut data in the embodiment shown in fig. 1 and fig. 2, which are not described herein again.
In short, the above description is only a preferred embodiment of the present application, and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.

Claims (10)

1. A method of daily tangential data validation, comprising:
recording accounting dates corresponding to target accounting record data and target accounting entry data in a development environment database as a first virtual accounting date;
deleting dirty data in the development environment database;
when a daily cutting operation command is received, performing daily cutting operation, wherein the daily cutting date of the daily cutting operation is the first virtual accounting date, and the daily cutting data of the daily cutting operation is the target accounting record data and the target accounting entry data;
after the daily cutting operation is completed, verifying the target accounting record data and the target accounting entry data.
2. The method of claim 1, the deleting dirty data in the development environment database, comprising:
deleting all the daily cutting records in the development environment database;
deleting other accounting record data and other accounting entry data of which the corresponding accounting date in the development environment database is the first virtual accounting date.
3. The method of claim 1 or 2, after deleting dirty data in the development environment database and before receiving a command to trigger a cut-to-date operation, further comprising:
and generating a target daily cutting record, wherein the daily cutting date corresponding to the target daily cutting record is a second virtual accounting date, the second virtual accounting date is the day before the first virtual accounting date, and the daily cutting state corresponding to the target daily cutting record is a successful daily cutting.
4. The method of claim 1 or 2, further comprising, prior to the recording of the accounting date corresponding to the target accounting record data and the target accounting entry data in the development environment database as the first virtual accounting date:
acquiring an accounting record identifier of a target accounting type transaction corresponding to the target accounting record data and the target accounting entry data;
and according to the accounting record identification, the target accounting record data and the target accounting entry data are fished from the development environment database.
5. The method of claim 4, further comprising, prior to the fetching of the target accounting record data and target accounting entry data from the development environment database in accordance with the accounting record identification:
writing the accounting record identifier into a configuration file, and recording an accounting date corresponding to the accounting record identifier as the first virtual accounting date.
6. The method of claim 1 or 2, the validating the target accounting record data and the target accounting entry data, comprising:
determining that verification is successful when the target accounting record data matches the target accounting entry data;
determining that validation failed when the target accounting record data and the target accounting entry data do not match.
7. The method of claim 4, the target accounting class transaction being a transaction completed by a test account number in a development environment.
8. An apparatus for tangential data validation, comprising:
the date recording unit is used for recording the target accounting record data in the development environment database and the accounting date corresponding to the target accounting entry data as a first virtual accounting date;
a dirty data deleting unit that deletes dirty data in the development environment database;
a daily cutting unit, configured to perform daily cutting operation when a daily cutting operation command is received, where the daily cutting date of the daily cutting operation is the first virtual accounting date, and the daily cutting data of the daily cutting operation is the target accounting record data and the target accounting entry data;
and the verification unit is used for verifying the target accounting record data and the target accounting entry data after the daily cutting operation is finished.
9. An electronic device, comprising:
a processor; and
a memory arranged to store computer executable instructions that when executed use the processor to perform the following:
recording accounting dates corresponding to target accounting record data and target accounting entry data in a development environment database as a first virtual accounting date;
deleting dirty data in the development environment database;
when a daily cutting operation command is received, performing daily cutting operation, wherein the daily cutting date of the daily cutting operation is the first virtual accounting date, and the daily cutting data of the daily cutting operation is the target accounting record data and the target accounting entry data;
after the daily cutting operation is completed, verifying the target accounting record data and the target accounting entry data.
10. A computer readable medium storing one or more programs that, when executed by an electronic device including a plurality of application programs, cause the electronic device to:
recording accounting dates corresponding to target accounting record data and target accounting entry data in a development environment database as a first virtual accounting date;
deleting dirty data in the development environment database;
when a daily cutting operation command is received, performing daily cutting operation, wherein the daily cutting date of the daily cutting operation is the first virtual accounting date, and the daily cutting data of the daily cutting operation is the target accounting record data and the target accounting entry data;
after the daily cutting operation is completed, verifying the target accounting record data and the target accounting entry data.
CN201711255974.4A 2017-12-04 2017-12-04 Method and device for verifying daily cutting data and electronic equipment Active CN108230130B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711255974.4A CN108230130B (en) 2017-12-04 2017-12-04 Method and device for verifying daily cutting data and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711255974.4A CN108230130B (en) 2017-12-04 2017-12-04 Method and device for verifying daily cutting data and electronic equipment

Publications (2)

Publication Number Publication Date
CN108230130A CN108230130A (en) 2018-06-29
CN108230130B true CN108230130B (en) 2021-04-02

Family

ID=62653071

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711255974.4A Active CN108230130B (en) 2017-12-04 2017-12-04 Method and device for verifying daily cutting data and electronic equipment

Country Status (1)

Country Link
CN (1) CN108230130B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109241189B (en) * 2018-09-10 2021-11-19 创新先进技术有限公司 Data storage method, device and equipment
CN109462661B (en) * 2018-12-19 2021-08-10 深圳市卡牛科技有限公司 Data synchronization method and device, computer equipment and storage medium
CN110070418A (en) * 2019-04-22 2019-07-30 深圳乐信软件技术有限公司 A kind of method for processing business, device, equipment and storage medium
CN112199350B (en) * 2020-09-29 2023-10-24 中国平安人寿保险股份有限公司 Function verification method and device based on data screening, computer equipment and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1284683A (en) * 1999-08-11 2001-02-21 国际商业机器中国有限公司 Method and system of integrating kernel business of bank
CN1790416A (en) * 2004-12-17 2006-06-21 兴业银行股份有限公司 Data processing method and data processing system
JP2009086723A (en) * 2007-09-27 2009-04-23 Mizuho Information & Research Institute Inc Due date management support processing system, method, and program
CN102567912A (en) * 2010-12-14 2012-07-11 中国移动通信集团湖南有限公司 Switching method of accounting date and business clearing and settlement system
CN106293940A (en) * 2016-08-08 2017-01-04 浪潮通用软件有限公司 A kind of method of parallel race batch in financial industry
CN107220895A (en) * 2017-05-31 2017-09-29 腾讯科技(深圳)有限公司 The transfer numerical statistic method and device of virtual resource

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100114745A1 (en) * 2008-10-30 2010-05-06 Sap Ag System and method for calculating and applying market data change rate sets

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1284683A (en) * 1999-08-11 2001-02-21 国际商业机器中国有限公司 Method and system of integrating kernel business of bank
CN1790416A (en) * 2004-12-17 2006-06-21 兴业银行股份有限公司 Data processing method and data processing system
JP2009086723A (en) * 2007-09-27 2009-04-23 Mizuho Information & Research Institute Inc Due date management support processing system, method, and program
CN102567912A (en) * 2010-12-14 2012-07-11 中国移动通信集团湖南有限公司 Switching method of accounting date and business clearing and settlement system
CN106293940A (en) * 2016-08-08 2017-01-04 浪潮通用软件有限公司 A kind of method of parallel race batch in financial industry
CN107220895A (en) * 2017-05-31 2017-09-29 腾讯科技(深圳)有限公司 The transfer numerical statistic method and device of virtual resource

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"银行核心系统支持 7×24 小时不间断服务分析";冯华彬;《中国金融电脑》;20130531;全文 *

Also Published As

Publication number Publication date
CN108230130A (en) 2018-06-29

Similar Documents

Publication Publication Date Title
CN108230130B (en) Method and device for verifying daily cutting data and electronic equipment
US20220036350A1 (en) Cross-border resource transfer authenticity verification method, device and electronic equipment
CN110060139B (en) Accounting processing method and device
CN111967958B (en) Drug supply management system and method based on blockchain
CN115545271A (en) User identity state prediction method, device and equipment
CN116823240A (en) Red purse picking method and device based on escrow account and electronic equipment
CN113312259B (en) Interface testing method and device
US20200294057A1 (en) Business processing method, apparatus, and equipment
CN110020795A (en) The method and device of risk control is provided for mutual fund earnings
CN116383052A (en) Automatic testing method, device and equipment for batch processing task and storage medium
CN116842106A (en) Resource clue generation method and device
CN109445758A (en) Data processing method, device, computer equipment and storage medium
CN114490415A (en) Service testing method, computer device, storage medium, and computer program product
CN115203300A (en) Data verification method and device
CN114119243A (en) Pool financing management method, device, medium and electronic equipment based on block chain
CN113449023A (en) Service processing method and device and electronic equipment
CN110688144B (en) Method and device for optimizing service interface configuration and electronic equipment
CN116594904A (en) Financial service automation test system, method, medium and equipment
CN117350872A (en) Data reconciliation method and device
CN116185865A (en) Transaction test processing method and device
CN115049394A (en) Processing method, processing system and processing device for transaction deduction
US20190266602A1 (en) Method and system for overseeing execution of graph-based contracts using hash chains
CN114065722A (en) System, method and device for generating transaction report and electronic equipment
CN116521542A (en) Method and device for service object unlimited, storage medium and electronic equipment
CN115774678A (en) Automatic test method, terminal device and computer readable 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
TA01 Transfer of patent application right

Effective date of registration: 20200921

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman, British Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman, British Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200921

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman, British Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20240218

Address after: Guohao Times City # 20-01, 128 Meizhi Road, Singapore

Patentee after: Advanced Nova Technology (Singapore) Holdings Ltd.

Country or region after: Singapore

Address before: Ky1-9008 business centre, 27 Hospital Road, Georgetown, grand caiman, UK

Patentee before: Innovative advanced technology Co.,Ltd.

Country or region before: Cayman Islands

TR01 Transfer of patent right